MDL-53512 libraries: update google API library to version 1.1.7
authorSimey Lameze <simey@moodle.com>
Fri, 18 Mar 2016 09:16:42 +0000 (17:16 +0800)
committerSimey Lameze <simey@moodle.com>
Tue, 22 Mar 2016 00:38:11 +0000 (08:38 +0800)
64 files changed:
lib/google/readme_moodle.txt
lib/google/src/Google/Auth/OAuth2.php
lib/google/src/Google/Cache/File.php
lib/google/src/Google/Client.php
lib/google/src/Google/Config.php
lib/google/src/Google/Http/MediaFileUpload.php
lib/google/src/Google/IO/Curl.php
lib/google/src/Google/IO/Stream.php
lib/google/src/Google/Service/AdExchangeBuyer.php
lib/google/src/Google/Service/AdSense.php
lib/google/src/Google/Service/AndroidEnterprise.php
lib/google/src/Google/Service/Appengine.php [new file with mode: 0644]
lib/google/src/Google/Service/Books.php
lib/google/src/Google/Service/Calendar.php
lib/google/src/Google/Service/CivicInfo.php
lib/google/src/Google/Service/Classroom.php
lib/google/src/Google/Service/CloudMonitoring.php
lib/google/src/Google/Service/CloudUserAccounts.php
lib/google/src/Google/Service/Cloudbilling.php [new file with mode: 0644]
lib/google/src/Google/Service/Clouddebugger.php [new file with mode: 0644]
lib/google/src/Google/Service/Cloudresourcemanager.php
lib/google/src/Google/Service/Cloudtrace.php [new file with mode: 0644]
lib/google/src/Google/Service/Compute.php
lib/google/src/Google/Service/Container.php
lib/google/src/Google/Service/Coordinate.php
lib/google/src/Google/Service/DataTransfer.php [new file with mode: 0644]
lib/google/src/Google/Service/Dataflow.php
lib/google/src/Google/Service/DeploymentManager.php
lib/google/src/Google/Service/Directory.php
lib/google/src/Google/Service/Dns.php
lib/google/src/Google/Service/DoubleClickBidManager.php
lib/google/src/Google/Service/Doubleclicksearch.php
lib/google/src/Google/Service/Drive.php
lib/google/src/Google/Service/Fitness.php
lib/google/src/Google/Service/Games.php
lib/google/src/Google/Service/GamesManagement.php
lib/google/src/Google/Service/Genomics.php
lib/google/src/Google/Service/Gmail.php
lib/google/src/Google/Service/IdentityToolkit.php
lib/google/src/Google/Service/Logging.php
lib/google/src/Google/Service/Manager.php
lib/google/src/Google/Service/Partners.php [new file with mode: 0644]
lib/google/src/Google/Service/Playmoviespartner.php
lib/google/src/Google/Service/Plus.php
lib/google/src/Google/Service/PlusDomains.php
lib/google/src/Google/Service/Proximitybeacon.php [new file with mode: 0644]
lib/google/src/Google/Service/Pubsub.php
lib/google/src/Google/Service/Replicapool.php
lib/google/src/Google/Service/Replicapoolupdater.php
lib/google/src/Google/Service/Reseller.php
lib/google/src/Google/Service/Resource.php
lib/google/src/Google/Service/Resourceviews.php
lib/google/src/Google/Service/SQLAdmin.php
lib/google/src/Google/Service/ShoppingContent.php
lib/google/src/Google/Service/Storage.php
lib/google/src/Google/Service/Storagetransfer.php [new file with mode: 0644]
lib/google/src/Google/Service/TagManager.php
lib/google/src/Google/Service/Webmasters.php
lib/google/src/Google/Service/YouTube.php
lib/google/src/Google/Service/YouTubeAnalytics.php
lib/google/src/Google/Service/YouTubeReporting.php [new file with mode: 0644]
lib/google/src/Google/autoload.php
lib/thirdpartylibs.xml
lib/upgrade.txt

index 60986b2..c9253a2 100644 (file)
@@ -44,4 +44,4 @@ Repository: https://github.com/google/google-api-php-client
 Documentation: https://developers.google.com/api-client-library/php/
 Global documentation: https://developers.google.com
 
-Downloaded version: 1.1.5
+Downloaded version: 1.1.7
index a604151..40f2076 100644 (file)
@@ -32,6 +32,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
   const AUTH_TOKEN_LIFETIME_SECS = 300; // five minutes in seconds
   const MAX_TOKEN_LIFETIME_SECS = 86400; // one day in seconds
   const OAUTH2_ISSUER = 'accounts.google.com';
+  const OAUTH2_ISSUER_HTTPS = 'https://accounts.google.com';
 
   /** @var Google_Auth_AssertionCredentials $assertionCredentials */
   private $assertionCredentials;
@@ -488,7 +489,12 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
       $audience = $this->client->getClassConfig($this, 'client_id');
     }
 
-    return $this->verifySignedJwtWithCerts($id_token, $certs, $audience, self::OAUTH2_ISSUER);
+    return $this->verifySignedJwtWithCerts(
+        $id_token,
+        $certs,
+        $audience,
+        array(self::OAUTH2_ISSUER, self::OAUTH2_ISSUER_HTTPS)
+    );
   }
 
   /**
@@ -595,13 +601,15 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
       );
     }
 
+    // support HTTP and HTTPS issuers
+    // @see https://developers.google.com/identity/sign-in/web/backend-auth
     $iss = $payload['iss'];
-    if ($issuer && $iss != $issuer) {
+    if ($issuer && !in_array($iss, (array) $issuer)) {
       throw new Google_Auth_Exception(
           sprintf(
-              "Invalid issuer, %s != %s: %s",
+              "Invalid issuer, %s not in %s: %s",
               $iss,
-              $issuer,
+              "[".implode(",", (array) $issuer)."]",
               $json_body
           )
       );
index 30cbeab..47256b8 100644 (file)
@@ -146,7 +146,7 @@ class Google_Cache_File extends Google_Cache_Abstract
     // and thus give some basic amount of scalability
     $storageDir = $this->path . '/' . substr(md5($file), 0, 2);
     if ($forWrite && ! is_dir($storageDir)) {
-      if (! mkdir($storageDir, 0755, true)) {
+      if (! mkdir($storageDir, 0700, true)) {
         $this->client->getLogger()->error(
             'File cache creation failed',
             array('dir' => $storageDir)
@@ -186,6 +186,9 @@ class Google_Cache_File extends Google_Cache_Abstract
       );
       return false;
     }
+    if ($type == LOCK_EX) {
+      chmod($storageFile, 0600);
+    }
     $count = 0;
     while (!flock($this->fh, $type | LOCK_NB)) {
       // Sleep for 10ms.
index fc12a7c..b28abf8 100644 (file)
@@ -21,7 +21,7 @@ if (!class_exists('Google_Client')) {
 
 /**
  * The Google API Client
- * http://code.google.com/p/google-api-php-client/
+ * https://github.com/google/google-api-php-client
  */
 class Google_Client
 {
index d582d83..2f52405 100644 (file)
@@ -58,6 +58,10 @@ class Google_Config
         'Google_IO_Abstract' => array(
           'request_timeout_seconds' => 100,
         ),
+        'Google_IO_Curl' => array(
+          'disable_proxy_workaround' => false,
+          'options' => null,
+        ),
         'Google_Logger_Abstract' => array(
           'level' => 'debug',
           'log_format' => "[%datetime%] %level%: %message% %context%\n",
index e0192ae..02a2f45 100644 (file)
@@ -126,35 +126,16 @@ class Google_Http_MediaFileUpload
   }
 
   /**
-   * Send the next part of the file to upload.
-   * @param [$chunk] the next set of bytes to send. If false will used $data passed
-   * at construct time.
-   */
-  public function nextChunk($chunk = false)
+  * Sends a PUT-Request to google drive and parses the response,
+  * setting the appropiate variables from the response()
+  *
+  * @param Google_Http_Request $httpRequest the Reuqest which will be send
+  *
+  * @return false|mixed false when the upload is unfinished or the decoded http response
+  *
+  */
+  private function makePutRequest(Google_Http_Request $httpRequest)
   {
-    if (false == $this->resumeUri) {
-      $this->resumeUri = $this->getResumeUri();
-    }
-
-    if (false == $chunk) {
-      $chunk = substr($this->data, $this->progress, $this->chunkSize);
-    }
-
-    $lastBytePos = $this->progress + strlen($chunk) - 1;
-    $headers = array(
-      'content-range' => "bytes $this->progress-$lastBytePos/$this->size",
-      'content-type' => $this->request->getRequestHeader('content-type'),
-      'content-length' => $this->chunkSize,
-      'expect' => '',
-    );
-
-    $httpRequest = new Google_Http_Request(
-        $this->resumeUri,
-        'PUT',
-        $headers,
-        $chunk
-    );
-
     if ($this->client->getClassConfig("Google_Http_Request", "enable_gzip_for_uploads")) {
       $httpRequest->enableGzip();
     } else {
@@ -185,8 +166,56 @@ class Google_Http_MediaFileUpload
   }
 
   /**
-   * @param $meta
-   * @param $params
+   * Send the next part of the file to upload.
+   * @param [$chunk] the next set of bytes to send. If false will used $data passed
+   * at construct time.
+   */
+  public function nextChunk($chunk = false)
+  {
+    if (false == $this->resumeUri) {
+      $this->resumeUri = $this->fetchResumeUri();
+    }
+
+    if (false == $chunk) {
+      $chunk = substr($this->data, $this->progress, $this->chunkSize);
+    }
+    $lastBytePos = $this->progress + strlen($chunk) - 1;
+    $headers = array(
+      'content-range' => "bytes $this->progress-$lastBytePos/$this->size",
+      'content-type' => $this->request->getRequestHeader('content-type'),
+      'content-length' => $this->chunkSize,
+      'expect' => '',
+    );
+
+    $httpRequest = new Google_Http_Request(
+        $this->resumeUri,
+        'PUT',
+        $headers,
+        $chunk
+    );
+    return $this->makePutRequest($httpRequest);
+  }
+
+  /**
+   * Resume a previously unfinished upload
+   * @param $resumeUri the resume-URI of the unfinished, resumable upload.
+   */
+  public function resume($resumeUri)
+  {
+     $this->resumeUri = $resumeUri;
+     $headers = array(
+       'content-range' => "bytes */$this->size",
+       'content-length' => 0,
+     );
+     $httpRequest = new Google_Http_Request(
+         $this->resumeUri,
+         'PUT',
+         $headers
+     );
+     return $this->makePutRequest($httpRequest);
+  }
+
+  /**
    * @return array|bool
    * @visible for testing
    */
@@ -263,7 +292,12 @@ class Google_Http_MediaFileUpload
     return self::UPLOAD_MULTIPART_TYPE;
   }
 
-  private function getResumeUri()
+  public function getResumeUri()
+  {
+    return ( $this->resumeUri !== null ? $this->resumeUri : $this->fetchResumeUri() );
+  }
+
+  private function fetchResumeUri()
   {
     $result = null;
     $body = $this->request->getPostBody();
index 7eb681e..b0e8adb 100644 (file)
@@ -32,6 +32,9 @@ class Google_IO_Curl extends Google_IO_Abstract
 
   private $options = array();
 
+  /** @var bool $disableProxyWorkaround */
+  private $disableProxyWorkaround;
+
   public function __construct(Google_Client $client)
   {
     if (!extension_loaded('curl')) {
@@ -41,6 +44,11 @@ class Google_IO_Curl extends Google_IO_Abstract
     }
 
     parent::__construct($client);
+
+    $this->disableProxyWorkaround = $this->client->getClassConfig(
+        'Google_IO_Curl',
+        'disable_proxy_workaround'
+    );
   }
 
   /**
@@ -73,8 +81,11 @@ class Google_IO_Curl extends Google_IO_Abstract
 
     curl_setopt($curl, CURLOPT_FOLLOWLOCATION, false);
     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
-    // 1 is CURL_SSLVERSION_TLSv1, which is not always defined in PHP.
-    curl_setopt($curl, CURLOPT_SSLVERSION, 1);
+
+    // The SSL version will be determined by the underlying library
+    // @see https://github.com/google/google-api-php-client/pull/644
+    //curl_setopt($curl, CURLOPT_SSLVERSION, 1);
+
     curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
     curl_setopt($curl, CURLOPT_HEADER, true);
 
@@ -172,6 +183,10 @@ class Google_IO_Curl extends Google_IO_Abstract
    */
   protected function needsQuirk()
   {
+    if ($this->disableProxyWorkaround) {
+      return false;
+    }
+
     $ver = curl_version();
     $versionNum = $ver['version_number'];
     return $versionNum < Google_IO_Curl::NO_QUIRK_VERSION;
index e79da10..2c5178f 100644 (file)
@@ -87,7 +87,7 @@ class Google_IO_Stream extends Google_IO_Abstract
     $requestSslContext = array_key_exists('ssl', $default_options) ?
         $default_options['ssl'] : array();
 
-    if (!array_key_exists("cafile", $requestSslContext)) {
+    if (!$this->client->isAppEngine() && !array_key_exists("cafile", $requestSslContext)) {
       $requestSslContext["cafile"] = dirname(__FILE__) . '/cacerts.pem';
     }
 
index 8a607f8..84d401c 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 /**
- * Service definition for AdExchangeBuyer (v1.3).
+ * Service definition for AdExchangeBuyer (v1.4).
  *
  * <p>
  * Accesses your bidding-account information, submits creatives for validation,
@@ -38,8 +38,16 @@ class Google_Service_AdExchangeBuyer extends Google_Service
   public $accounts;
   public $billingInfo;
   public $budget;
+  public $clientaccess;
   public $creatives;
-  public $directDeals;
+  public $deals;
+  public $marketplacedeals;
+  public $marketplacenotes;
+  public $marketplaceoffers;
+  public $marketplaceorders;
+  public $negotiationrounds;
+  public $negotiations;
+  public $offers;
   public $performanceReport;
   public $pretargetingConfig;
   
@@ -53,8 +61,8 @@ class Google_Service_AdExchangeBuyer extends Google_Service
   {
     parent::__construct($client);
     $this->rootUrl = 'https://www.googleapis.com/';
-    $this->servicePath = 'adexchangebuyer/v1.3/';
-    $this->version = 'v1.3';
+    $this->servicePath = 'adexchangebuyer/v1.4/';
+    $this->version = 'v1.4';
     $this->serviceName = 'adexchangebuyer';
 
     $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource(
@@ -180,6 +188,93 @@ class Google_Service_AdExchangeBuyer extends Google_Service
           )
         )
     );
+    $this->clientaccess = new Google_Service_AdExchangeBuyer_Clientaccess_Resource(
+        $this,
+        $this->serviceName,
+        'clientaccess',
+        array(
+          'methods' => array(
+            'delete' => array(
+              'path' => 'clientAccess/{clientAccountId}',
+              'httpMethod' => 'DELETE',
+              'parameters' => array(
+                'clientAccountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'sponsorAccountId' => array(
+                  'location' => 'query',
+                  'type' => 'integer',
+                  'required' => true,
+                ),
+              ),
+            ),'get' => array(
+              'path' => 'clientAccess/{clientAccountId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'clientAccountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'sponsorAccountId' => array(
+                  'location' => 'query',
+                  'type' => 'integer',
+                  'required' => true,
+                ),
+              ),
+            ),'insert' => array(
+              'path' => 'clientAccess',
+              'httpMethod' => 'POST',
+              'parameters' => array(
+                'clientAccountId' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+                'sponsorAccountId' => array(
+                  'location' => 'query',
+                  'type' => 'integer',
+                ),
+              ),
+            ),'list' => array(
+              'path' => 'clientAccess',
+              'httpMethod' => 'GET',
+              'parameters' => array(),
+            ),'patch' => array(
+              'path' => 'clientAccess/{clientAccountId}',
+              'httpMethod' => 'PATCH',
+              'parameters' => array(
+                'clientAccountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'sponsorAccountId' => array(
+                  'location' => 'query',
+                  'type' => 'integer',
+                  'required' => true,
+                ),
+              ),
+            ),'update' => array(
+              'path' => 'clientAccess/{clientAccountId}',
+              'httpMethod' => 'PUT',
+              'parameters' => array(
+                'clientAccountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'sponsorAccountId' => array(
+                  'location' => 'query',
+                  'type' => 'integer',
+                  'required' => true,
+                ),
+              ),
+            ),
+          )
+        )
+    );
     $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource(
         $this,
         $this->serviceName,
@@ -209,11 +304,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
               'path' => 'creatives',
               'httpMethod' => 'GET',
               'parameters' => array(
-                'statusFilter' => array(
-                  'location' => 'query',
-                  'type' => 'string',
-                ),
-                'pageToken' => array(
+                'openAuctionStatusFilter' => array(
                   'location' => 'query',
                   'type' => 'string',
                 ),
@@ -221,11 +312,19 @@ class Google_Service_AdExchangeBuyer extends Google_Service
                   'location' => 'query',
                   'type' => 'integer',
                 ),
+                'pageToken' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
                 'buyerCreativeId' => array(
                   'location' => 'query',
                   'type' => 'string',
                   'repeated' => true,
                 ),
+                'dealsStatusFilter' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
                 'accountId' => array(
                   'location' => 'query',
                   'type' => 'integer',
@@ -236,189 +335,443 @@ class Google_Service_AdExchangeBuyer extends Google_Service
           )
         )
     );
-    $this->directDeals = new Google_Service_AdExchangeBuyer_DirectDeals_Resource(
+    $this->deals = new Google_Service_AdExchangeBuyer_Deals_Resource(
         $this,
         $this->serviceName,
-        'directDeals',
+        'deals',
         array(
           'methods' => array(
             'get' => array(
-              'path' => 'directdeals/{id}',
+              'path' => 'deals/{dealId}',
               'httpMethod' => 'GET',
               'parameters' => array(
-                'id' => array(
+                'dealId' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
               ),
-            ),'list' => array(
-              'path' => 'directdeals',
-              'httpMethod' => 'GET',
-              'parameters' => array(),
             ),
           )
         )
     );
-    $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource(
+    $this->marketplacedeals = new Google_Service_AdExchangeBuyer_Marketplacedeals_Resource(
         $this,
         $this->serviceName,
-        'performanceReport',
+        'marketplacedeals',
         array(
           'methods' => array(
-            'list' => array(
-              'path' => 'performancereport',
-              'httpMethod' => 'GET',
+            'delete' => array(
+              'path' => 'marketplaceOrders/{orderId}/deals/delete',
+              'httpMethod' => 'POST',
               'parameters' => array(
-                'accountId' => array(
-                  'location' => 'query',
+                'orderId' => array(
+                  'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
-                'endDateTime' => array(
-                  'location' => 'query',
+              ),
+            ),'insert' => array(
+              'path' => 'marketplaceOrders/{orderId}/deals/insert',
+              'httpMethod' => 'POST',
+              'parameters' => array(
+                'orderId' => array(
+                  'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
-                'startDateTime' => array(
-                  'location' => 'query',
+              ),
+            ),'list' => array(
+              'path' => 'marketplaceOrders/{orderId}/deals',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'orderId' => array(
+                  'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
-                'pageToken' => array(
-                  'location' => 'query',
+              ),
+            ),'update' => array(
+              'path' => 'marketplaceOrders/{orderId}/deals/update',
+              'httpMethod' => 'POST',
+              'parameters' => array(
+                'orderId' => array(
+                  'location' => 'path',
                   'type' => 'string',
-                ),
-                'maxResults' => array(
-                  'location' => 'query',
-                  'type' => 'integer',
+                  'required' => true,
                 ),
               ),
             ),
           )
         )
     );
-    $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource(
+    $this->marketplacenotes = new Google_Service_AdExchangeBuyer_Marketplacenotes_Resource(
         $this,
         $this->serviceName,
-        'pretargetingConfig',
+        'marketplacenotes',
         array(
           'methods' => array(
-            'delete' => array(
-              'path' => 'pretargetingconfigs/{accountId}/{configId}',
-              'httpMethod' => 'DELETE',
+            'insert' => array(
+              'path' => 'marketplaceOrders/{orderId}/notes/insert',
+              'httpMethod' => 'POST',
               'parameters' => array(
-                'accountId' => array(
+                'orderId' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
-                'configId' => array(
+              ),
+            ),'list' => array(
+              'path' => 'marketplaceOrders/{orderId}/notes',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'orderId' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
               ),
-            ),'get' => array(
-              'path' => 'pretargetingconfigs/{accountId}/{configId}',
+            ),
+          )
+        )
+    );
+    $this->marketplaceoffers = new Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource(
+        $this,
+        $this->serviceName,
+        'marketplaceoffers',
+        array(
+          'methods' => array(
+            'get' => array(
+              'path' => 'marketplaceOffers/{offerId}',
               'httpMethod' => 'GET',
               'parameters' => array(
-                'accountId' => array(
+                'offerId' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
-                'configId' => array(
+              ),
+            ),'search' => array(
+              'path' => 'marketplaceOffers/search',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'pqlQuery' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+              ),
+            ),
+          )
+        )
+    );
+    $this->marketplaceorders = new Google_Service_AdExchangeBuyer_Marketplaceorders_Resource(
+        $this,
+        $this->serviceName,
+        'marketplaceorders',
+        array(
+          'methods' => array(
+            'get' => array(
+              'path' => 'marketplaceOrders/{orderId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'orderId' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
               ),
             ),'insert' => array(
-              'path' => 'pretargetingconfigs/{accountId}',
+              'path' => 'marketplaceOrders/insert',
               'httpMethod' => 'POST',
+              'parameters' => array(),
+            ),'patch' => array(
+              'path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}',
+              'httpMethod' => 'PATCH',
               'parameters' => array(
-                'accountId' => array(
+                'orderId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'revisionNumber' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'updateAction' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
               ),
-            ),'list' => array(
-              'path' => 'pretargetingconfigs/{accountId}',
+            ),'search' => array(
+              'path' => 'marketplaceOrders/search',
               'httpMethod' => 'GET',
               'parameters' => array(
-                'accountId' => array(
-                  'location' => 'path',
+                'pqlQuery' => array(
+                  'location' => 'query',
                   'type' => 'string',
-                  'required' => true,
                 ),
               ),
-            ),'patch' => array(
-              'path' => 'pretargetingconfigs/{accountId}/{configId}',
-              'httpMethod' => 'PATCH',
+            ),'update' => array(
+              'path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}',
+              'httpMethod' => 'PUT',
               'parameters' => array(
-                'accountId' => array(
+                'orderId' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
-                'configId' => array(
+                'revisionNumber' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'updateAction' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
               ),
-            ),'update' => array(
-              'path' => 'pretargetingconfigs/{accountId}/{configId}',
-              'httpMethod' => 'PUT',
+            ),
+          )
+        )
+    );
+    $this->negotiationrounds = new Google_Service_AdExchangeBuyer_Negotiationrounds_Resource(
+        $this,
+        $this->serviceName,
+        'negotiationrounds',
+        array(
+          'methods' => array(
+            'insert' => array(
+              'path' => 'negotiations/{negotiationId}/negotiationrounds',
+              'httpMethod' => 'POST',
               'parameters' => array(
-                'accountId' => array(
+                'negotiationId' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
-                'configId' => array(
+              ),
+            ),
+          )
+        )
+    );
+    $this->negotiations = new Google_Service_AdExchangeBuyer_Negotiations_Resource(
+        $this,
+        $this->serviceName,
+        'negotiations',
+        array(
+          'methods' => array(
+            'get' => array(
+              'path' => 'negotiations/{negotiationId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'negotiationId' => array(
                   'location' => 'path',
                   'type' => 'string',
                   'required' => true,
                 ),
               ),
+            ),'insert' => array(
+              'path' => 'negotiations',
+              'httpMethod' => 'POST',
+              'parameters' => array(),
+            ),'list' => array(
+              'path' => 'negotiations',
+              'httpMethod' => 'GET',
+              'parameters' => array(),
             ),
           )
         )
     );
-  }
-}
-
-
-/**
- * The "accounts" collection of methods.
- * Typical usage is:
- *  <code>
- *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
- *   $accounts = $adexchangebuyerService->accounts;
- *  </code>
- */
-class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Resource
-{
-
-  /**
-   * Gets one account by ID. (accounts.get)
-   *
-   * @param int $id The account id
-   * @param array $optParams Optional parameters.
-   * @return Google_Service_AdExchangeBuyer_Account
-   */
-  public function get($id, $optParams = array())
-  {
-    $params = array('id' => $id);
-    $params = array_merge($params, $optParams);
-    return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account");
-  }
-
-  /**
-   * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
+    $this->offers = new Google_Service_AdExchangeBuyer_Offers_Resource(
+        $this,
+        $this->serviceName,
+        'offers',
+        array(
+          'methods' => array(
+            'get' => array(
+              'path' => 'offers/{offerId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'offerId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'insert' => array(
+              'path' => 'offers',
+              'httpMethod' => 'POST',
+              'parameters' => array(),
+            ),'list' => array(
+              'path' => 'offers',
+              'httpMethod' => 'GET',
+              'parameters' => array(),
+            ),
+          )
+        )
+    );
+    $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource(
+        $this,
+        $this->serviceName,
+        'performanceReport',
+        array(
+          'methods' => array(
+            'list' => array(
+              'path' => 'performancereport',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'accountId' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'endDateTime' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'startDateTime' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'pageToken' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+                'maxResults' => array(
+                  'location' => 'query',
+                  'type' => 'integer',
+                ),
+              ),
+            ),
+          )
+        )
+    );
+    $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource(
+        $this,
+        $this->serviceName,
+        'pretargetingConfig',
+        array(
+          'methods' => array(
+            'delete' => array(
+              'path' => 'pretargetingconfigs/{accountId}/{configId}',
+              'httpMethod' => 'DELETE',
+              'parameters' => array(
+                'accountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'configId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'get' => array(
+              'path' => 'pretargetingconfigs/{accountId}/{configId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'accountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'configId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'insert' => array(
+              'path' => 'pretargetingconfigs/{accountId}',
+              'httpMethod' => 'POST',
+              'parameters' => array(
+                'accountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'list' => array(
+              'path' => 'pretargetingconfigs/{accountId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'accountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'patch' => array(
+              'path' => 'pretargetingconfigs/{accountId}/{configId}',
+              'httpMethod' => 'PATCH',
+              'parameters' => array(
+                'accountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'configId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'update' => array(
+              'path' => 'pretargetingconfigs/{accountId}/{configId}',
+              'httpMethod' => 'PUT',
+              'parameters' => array(
+                'accountId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'configId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),
+          )
+        )
+    );
+  }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ *   $accounts = $adexchangebuyerService->accounts;
+ *  </code>
+ */
+class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Gets one account by ID. (accounts.get)
+   *
+   * @param int $id The account id
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_Account
+   */
+  public function get($id, $optParams = array())
+  {
+    $params = array('id' => $id);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account");
+  }
+
+  /**
+   * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
    *
    * @param array $optParams Optional parameters.
    * @return Google_Service_AdExchangeBuyer_AccountsList
@@ -571,6 +924,109 @@ class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Reso
   }
 }
 
+/**
+ * The "clientaccess" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ *   $clientaccess = $adexchangebuyerService->clientaccess;
+ *  </code>
+ */
+class Google_Service_AdExchangeBuyer_Clientaccess_Resource extends Google_Service_Resource
+{
+
+  /**
+   * (clientaccess.delete)
+   *
+   * @param string $clientAccountId
+   * @param int $sponsorAccountId
+   * @param array $optParams Optional parameters.
+   */
+  public function delete($clientAccountId, $sponsorAccountId, $optParams = array())
+  {
+    $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId);
+    $params = array_merge($params, $optParams);
+    return $this->call('delete', array($params));
+  }
+
+  /**
+   * (clientaccess.get)
+   *
+   * @param string $clientAccountId
+   * @param int $sponsorAccountId
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
+   */
+  public function get($clientAccountId, $sponsorAccountId, $optParams = array())
+  {
+    $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
+  }
+
+  /**
+   * (clientaccess.insert)
+   *
+   * @param Google_ClientAccessCapabilities $postBody
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param string clientAccountId
+   * @opt_param int sponsorAccountId
+   * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
+   */
+  public function insert(Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array())
+  {
+    $params = array('postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
+  }
+
+  /**
+   * (clientaccess.listClientaccess)
+   *
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse
+   */
+  public function listClientaccess($optParams = array())
+  {
+    $params = array();
+    $params = array_merge($params, $optParams);
+    return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse");
+  }
+
+  /**
+   * (clientaccess.patch)
+   *
+   * @param string $clientAccountId
+   * @param int $sponsorAccountId
+   * @param Google_ClientAccessCapabilities $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
+   */
+  public function patch($clientAccountId, $sponsorAccountId, Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array())
+  {
+    $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
+  }
+
+  /**
+   * (clientaccess.update)
+   *
+   * @param string $clientAccountId
+   * @param int $sponsorAccountId
+   * @param Google_ClientAccessCapabilities $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
+   */
+  public function update($clientAccountId, $sponsorAccountId, Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array())
+  {
+    $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
+  }
+}
+
 /**
  * The "creatives" collection of methods.
  * Typical usage is:
@@ -618,15 +1074,17 @@ class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_R
    *
    * @param array $optParams Optional parameters.
    *
-   * @opt_param string statusFilter When specified, only creatives having the
-   * given status are returned.
+   * @opt_param string openAuctionStatusFilter When specified, only creatives
+   * having the given open auction status are returned.
+   * @opt_param string maxResults Maximum number of entries returned on one result
+   * page. If not set, the default is 100. Optional.
    * @opt_param string pageToken A continuation token, used to page through ad
    * clients. To retrieve the next page, set this parameter to the value of
    * "nextPageToken" from the previous response. Optional.
-   * @opt_param string maxResults Maximum number of entries returned on one result
-   * page. If not set, the default is 100. Optional.
    * @opt_param string buyerCreativeId When specified, only creatives for the
    * given buyer creative ids are returned.
+   * @opt_param string dealsStatusFilter When specified, only creatives having the
+   * given direct deals status are returned.
    * @opt_param int accountId When specified, only creatives for the given account
    * ids are returned.
    * @return Google_Service_AdExchangeBuyer_CreativesList
@@ -640,42 +1098,415 @@ class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_R
 }
 
 /**
- * The "directDeals" collection of methods.
+ * The "deals" collection of methods.
  * Typical usage is:
  *  <code>
  *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
- *   $directDeals = $adexchangebuyerService->directDeals;
+ *   $deals = $adexchangebuyerService->deals;
  *  </code>
  */
-class Google_Service_AdExchangeBuyer_DirectDeals_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeBuyer_Deals_Resource extends Google_Service_Resource
 {
 
   /**
-   * Gets one direct deal by ID. (directDeals.get)
+   * Gets the requested deal. (deals.get)
    *
-   * @param string $id The direct deal id
+   * @param string $dealId
    * @param array $optParams Optional parameters.
-   * @return Google_Service_AdExchangeBuyer_DirectDeal
+   * @return Google_Service_AdExchangeBuyer_NegotiationDto
    */
-  public function get($id, $optParams = array())
+  public function get($dealId, $optParams = array())
   {
-    $params = array('id' => $id);
+    $params = array('dealId' => $dealId);
     $params = array_merge($params, $optParams);
-    return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_DirectDeal");
+    return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto");
   }
+}
 
-  /**
-   * Retrieves the authenticated user's list of direct deals.
-   * (directDeals.listDirectDeals)
-   *
-   * @param array $optParams Optional parameters.
-   * @return Google_Service_AdExchangeBuyer_DirectDealsList
-   */
-  public function listDirectDeals($optParams = array())
-  {
-    $params = array();
-    $params = array_merge($params, $optParams);
-    return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_DirectDealsList");
+/**
+ * The "marketplacedeals" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ *   $marketplacedeals = $adexchangebuyerService->marketplacedeals;
+ *  </code>
+ */
+class Google_Service_AdExchangeBuyer_Marketplacedeals_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Delete the specified deals from the order (marketplacedeals.delete)
+   *
+   * @param string $orderId The orderId to delete deals from.
+   * @param Google_DeleteOrderDealsRequest $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse
+   */
+  public function delete($orderId, Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody, $optParams = array())
+  {
+    $params = array('orderId' => $orderId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('delete', array($params), "Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse");
+  }
+
+  /**
+   * Add new deals for the specified order (marketplacedeals.insert)
+   *
+   * @param string $orderId OrderId for which deals need to be added.
+   * @param Google_AddOrderDealsRequest $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_AddOrderDealsResponse
+   */
+  public function insert($orderId, Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody, $optParams = array())
+  {
+    $params = array('orderId' => $orderId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderDealsResponse");
+  }
+
+  /**
+   * List all the deals for a given order (marketplacedeals.listMarketplacedeals)
+   *
+   * @param string $orderId The orderId to get deals for.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_GetOrderDealsResponse
+   */
+  public function listMarketplacedeals($orderId, $optParams = array())
+  {
+    $params = array('orderId' => $orderId);
+    $params = array_merge($params, $optParams);
+    return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderDealsResponse");
+  }
+
+  /**
+   * Replaces all the deals in the order with the passed in deals
+   * (marketplacedeals.update)
+   *
+   * @param string $orderId The orderId to edit deals on.
+   * @param Google_EditAllOrderDealsRequest $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse
+   */
+  public function update($orderId, Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody, $optParams = array())
+  {
+    $params = array('orderId' => $orderId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse");
+  }
+}
+
+/**
+ * The "marketplacenotes" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ *   $marketplacenotes = $adexchangebuyerService->marketplacenotes;
+ *  </code>
+ */
+class Google_Service_AdExchangeBuyer_Marketplacenotes_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Add notes to the order (marketplacenotes.insert)
+   *
+   * @param string $orderId The orderId to add notes for.
+   * @param Google_AddOrderNotesRequest $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_AddOrderNotesResponse
+   */
+  public function insert($orderId, Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody, $optParams = array())
+  {
+    $params = array('orderId' => $orderId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderNotesResponse");
+  }
+
+  /**
+   * Get all the notes associated with an order
+   * (marketplacenotes.listMarketplacenotes)
+   *
+   * @param string $orderId The orderId to get notes for.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_GetOrderNotesResponse
+   */
+  public function listMarketplacenotes($orderId, $optParams = array())
+  {
+    $params = array('orderId' => $orderId);
+    $params = array_merge($params, $optParams);
+    return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderNotesResponse");
+  }
+}
+
+/**
+ * The "marketplaceoffers" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ *   $marketplaceoffers = $adexchangebuyerService->marketplaceoffers;
+ *  </code>
+ */
+class Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Gets the requested negotiation. (marketplaceoffers.get)
+   *
+   * @param string $offerId The offerId for the offer to get the head revision
+   * for.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_MarketplaceOffer
+   */
+  public function get($offerId, $optParams = array())
+  {
+    $params = array('offerId' => $offerId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOffer");
+  }
+
+  /**
+   * Gets the requested negotiation. (marketplaceoffers.search)
+   *
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param string pqlQuery The pql query used to query for offers.
+   * @return Google_Service_AdExchangeBuyer_GetOffersResponse
+   */
+  public function search($optParams = array())
+  {
+    $params = array();
+    $params = array_merge($params, $optParams);
+    return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOffersResponse");
+  }
+}
+
+/**
+ * The "marketplaceorders" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ *   $marketplaceorders = $adexchangebuyerService->marketplaceorders;
+ *  </code>
+ */
+class Google_Service_AdExchangeBuyer_Marketplaceorders_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Get an order given its id (marketplaceorders.get)
+   *
+   * @param string $orderId Id of the order to retrieve.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_MarketplaceOrder
+   */
+  public function get($orderId, $optParams = array())
+  {
+    $params = array('orderId' => $orderId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder");
+  }
+
+  /**
+   * Create the given list of orders (marketplaceorders.insert)
+   *
+   * @param Google_CreateOrdersRequest $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_CreateOrdersResponse
+   */
+  public function insert(Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody, $optParams = array())
+  {
+    $params = array('postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_CreateOrdersResponse");
+  }
+
+  /**
+   * Update the given order. This method supports patch semantics.
+   * (marketplaceorders.patch)
+   *
+   * @param string $orderId The order id to update.
+   * @param string $revisionNumber The last known revision number to update. If
+   * the head revision in the marketplace database has since changed, an error
+   * will be thrown. The caller should then fetch the lastest order at head
+   * revision and retry the update at that revision.
+   * @param string $updateAction The proposed action to take on the order.
+   * @param Google_MarketplaceOrder $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_MarketplaceOrder
+   */
+  public function patch($orderId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_MarketplaceOrder $postBody, $optParams = array())
+  {
+    $params = array('orderId' => $orderId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder");
+  }
+
+  /**
+   * Search for orders using pql query (marketplaceorders.search)
+   *
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param string pqlQuery Query string to retrieve specific orders.
+   * @return Google_Service_AdExchangeBuyer_GetOrdersResponse
+   */
+  public function search($optParams = array())
+  {
+    $params = array();
+    $params = array_merge($params, $optParams);
+    return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOrdersResponse");
+  }
+
+  /**
+   * Update the given order (marketplaceorders.update)
+   *
+   * @param string $orderId The order id to update.
+   * @param string $revisionNumber The last known revision number to update. If
+   * the head revision in the marketplace database has since changed, an error
+   * will be thrown. The caller should then fetch the lastest order at head
+   * revision and retry the update at that revision.
+   * @param string $updateAction The proposed action to take on the order.
+   * @param Google_MarketplaceOrder $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_MarketplaceOrder
+   */
+  public function update($orderId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_MarketplaceOrder $postBody, $optParams = array())
+  {
+    $params = array('orderId' => $orderId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder");
+  }
+}
+
+/**
+ * The "negotiationrounds" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ *   $negotiationrounds = $adexchangebuyerService->negotiationrounds;
+ *  </code>
+ */
+class Google_Service_AdExchangeBuyer_Negotiationrounds_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Adds the requested negotiationRound to the requested negotiation.
+   * (negotiationrounds.insert)
+   *
+   * @param string $negotiationId
+   * @param Google_NegotiationRoundDto $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_NegotiationRoundDto
+   */
+  public function insert($negotiationId, Google_Service_AdExchangeBuyer_NegotiationRoundDto $postBody, $optParams = array())
+  {
+    $params = array('negotiationId' => $negotiationId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_NegotiationRoundDto");
+  }
+}
+
+/**
+ * The "negotiations" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ *   $negotiations = $adexchangebuyerService->negotiations;
+ *  </code>
+ */
+class Google_Service_AdExchangeBuyer_Negotiations_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Gets the requested negotiation. (negotiations.get)
+   *
+   * @param string $negotiationId
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_NegotiationDto
+   */
+  public function get($negotiationId, $optParams = array())
+  {
+    $params = array('negotiationId' => $negotiationId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto");
+  }
+
+  /**
+   * Creates or updates the requested negotiation. (negotiations.insert)
+   *
+   * @param Google_NegotiationDto $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_NegotiationDto
+   */
+  public function insert(Google_Service_AdExchangeBuyer_NegotiationDto $postBody, $optParams = array())
+  {
+    $params = array('postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto");
+  }
+
+  /**
+   * Lists all negotiations the authenticated user has access to.
+   * (negotiations.listNegotiations)
+   *
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_GetNegotiationsResponse
+   */
+  public function listNegotiations($optParams = array())
+  {
+    $params = array();
+    $params = array_merge($params, $optParams);
+    return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetNegotiationsResponse");
+  }
+}
+
+/**
+ * The "offers" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ *   $offers = $adexchangebuyerService->offers;
+ *  </code>
+ */
+class Google_Service_AdExchangeBuyer_Offers_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Gets the requested offer. (offers.get)
+   *
+   * @param string $offerId
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_OfferDto
+   */
+  public function get($offerId, $optParams = array())
+  {
+    $params = array('offerId' => $offerId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_OfferDto");
+  }
+
+  /**
+   * Creates or updates the requested offer. (offers.insert)
+   *
+   * @param Google_OfferDto $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_OfferDto
+   */
+  public function insert(Google_Service_AdExchangeBuyer_OfferDto $postBody, $optParams = array())
+  {
+    $params = array('postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_OfferDto");
+  }
+
+  /**
+   * Lists all offers the authenticated user has access to. (offers.listOffers)
+   *
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AdExchangeBuyer_ListOffersResponse
+   */
+  public function listOffers($optParams = array())
+  {
+    $params = array();
+    $params = array_merge($params, $optParams);
+    return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_ListOffersResponse");
   }
 }
 
@@ -972,267 +1803,321 @@ class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
   }
 }
 
-class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
+class Google_Service_AdExchangeBuyer_AdSize extends Google_Model
 {
-  protected $collection_key = 'billingId';
   protected $internal_gapi_mappings = array(
   );
-  public $accountId;
-  public $accountName;
-  public $billingId;
-  public $kind;
+  public $height;
+  public $width;
 
 
-  public function setAccountId($accountId)
+  public function setHeight($height)
   {
-    $this->accountId = $accountId;
+    $this->height = $height;
   }
-  public function getAccountId()
+  public function getHeight()
   {
-    return $this->accountId;
+    return $this->height;
   }
-  public function setAccountName($accountName)
+  public function setWidth($width)
   {
-    $this->accountName = $accountName;
+    $this->width = $width;
   }
-  public function getAccountName()
+  public function getWidth()
   {
-    return $this->accountName;
-  }
-  public function setBillingId($billingId)
-  {
-    $this->billingId = $billingId;
-  }
-  public function getBillingId()
-  {
-    return $this->billingId;
-  }
-  public function setKind($kind)
-  {
-    $this->kind = $kind;
-  }
-  public function getKind()
-  {
-    return $this->kind;
+    return $this->width;
   }
 }
 
-class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
+class Google_Service_AdExchangeBuyer_AdSlotDto extends Google_Model
 {
-  protected $collection_key = 'items';
   protected $internal_gapi_mappings = array(
   );
-  protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
-  protected $itemsDataType = 'array';
-  public $kind;
+  public $channelCode;
+  public $channelId;
+  public $description;
+  public $name;
+  public $size;
+  public $webPropertyId;
 
 
-  public function setItems($items)
+  public function setChannelCode($channelCode)
   {
-    $this->items = $items;
+    $this->channelCode = $channelCode;
   }
-  public function getItems()
+  public function getChannelCode()
   {
-    return $this->items;
+    return $this->channelCode;
   }
-  public function setKind($kind)
+  public function setChannelId($channelId)
   {
-    $this->kind = $kind;
+    $this->channelId = $channelId;
   }
-  public function getKind()
+  public function getChannelId()
   {
-    return $this->kind;
+    return $this->channelId;
+  }
+  public function setDescription($description)
+  {
+    $this->description = $description;
+  }
+  public function getDescription()
+  {
+    return $this->description;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+  public function setSize($size)
+  {
+    $this->size = $size;
+  }
+  public function getSize()
+  {
+    return $this->size;
+  }
+  public function setWebPropertyId($webPropertyId)
+  {
+    $this->webPropertyId = $webPropertyId;
+  }
+  public function getWebPropertyId()
+  {
+    return $this->webPropertyId;
   }
 }
 
-class Google_Service_AdExchangeBuyer_Budget extends Google_Model
+class Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection
 {
+  protected $collection_key = 'deals';
   protected $internal_gapi_mappings = array(
   );
-  public $accountId;
-  public $billingId;
-  public $budgetAmount;
-  public $currencyCode;
-  public $id;
-  public $kind;
+  protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+  protected $dealsDataType = 'array';
+  public $orderRevisionNumber;
+  public $updateAction;
 
 
-  public function setAccountId($accountId)
+  public function setDeals($deals)
   {
-    $this->accountId = $accountId;
+    $this->deals = $deals;
   }
-  public function getAccountId()
+  public function getDeals()
   {
-    return $this->accountId;
+    return $this->deals;
   }
-  public function setBillingId($billingId)
+  public function setOrderRevisionNumber($orderRevisionNumber)
   {
-    $this->billingId = $billingId;
+    $this->orderRevisionNumber = $orderRevisionNumber;
   }
-  public function getBillingId()
+  public function getOrderRevisionNumber()
   {
-    return $this->billingId;
+    return $this->orderRevisionNumber;
   }
-  public function setBudgetAmount($budgetAmount)
+  public function setUpdateAction($updateAction)
   {
-    $this->budgetAmount = $budgetAmount;
+    $this->updateAction = $updateAction;
   }
-  public function getBudgetAmount()
+  public function getUpdateAction()
   {
-    return $this->budgetAmount;
+    return $this->updateAction;
   }
-  public function setCurrencyCode($currencyCode)
+}
+
+class Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection
+{
+  protected $collection_key = 'deals';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+  protected $dealsDataType = 'array';
+  public $orderRevisionNumber;
+
+
+  public function setDeals($deals)
   {
-    $this->currencyCode = $currencyCode;
+    $this->deals = $deals;
   }
-  public function getCurrencyCode()
+  public function getDeals()
   {
-    return $this->currencyCode;
+    return $this->deals;
   }
-  public function setId($id)
+  public function setOrderRevisionNumber($orderRevisionNumber)
   {
-    $this->id = $id;
+    $this->orderRevisionNumber = $orderRevisionNumber;
   }
-  public function getId()
+  public function getOrderRevisionNumber()
   {
-    return $this->id;
+    return $this->orderRevisionNumber;
   }
-  public function setKind($kind)
+}
+
+class Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collection
+{
+  protected $collection_key = 'notes';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
+  protected $notesDataType = 'array';
+
+
+  public function setNotes($notes)
   {
-    $this->kind = $kind;
+    $this->notes = $notes;
   }
-  public function getKind()
+  public function getNotes()
   {
-    return $this->kind;
+    return $this->notes;
   }
 }
 
-class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
+class Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collection
 {
-  protected $collection_key = 'vendorType';
+  protected $collection_key = 'notes';
   protected $internal_gapi_mappings = array(
-        "hTMLSnippet" => "HTMLSnippet",
   );
-  public $hTMLSnippet;
-  public $accountId;
-  public $advertiserId;
-  public $advertiserName;
-  public $agencyId;
-  public $attribute;
-  public $buyerCreativeId;
-  public $clickThroughUrl;
-  protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
-  protected $correctionsDataType = 'array';
-  protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons';
-  protected $disapprovalReasonsDataType = 'array';
-  protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
-  protected $filteringReasonsDataType = '';
-  public $height;
-  public $kind;
-  public $productCategories;
-  public $restrictedCategories;
-  public $sensitiveCategories;
-  public $status;
-  public $vendorType;
-  public $videoURL;
-  public $width;
+  protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
+  protected $notesDataType = 'array';
 
 
-  public function setHTMLSnippet($hTMLSnippet)
+  public function setNotes($notes)
   {
-    $this->hTMLSnippet = $hTMLSnippet;
+    $this->notes = $notes;
   }
-  public function getHTMLSnippet()
+  public function getNotes()
   {
-    return $this->hTMLSnippet;
+    return $this->notes;
   }
-  public function setAccountId($accountId)
+}
+
+class Google_Service_AdExchangeBuyer_AdvertiserDto extends Google_Collection
+{
+  protected $collection_key = 'brands';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $brandsType = 'Google_Service_AdExchangeBuyer_BrandDto';
+  protected $brandsDataType = 'array';
+  public $id;
+  public $name;
+  public $status;
+
+
+  public function setBrands($brands)
   {
-    $this->accountId = $accountId;
+    $this->brands = $brands;
   }
-  public function getAccountId()
+  public function getBrands()
   {
-    return $this->accountId;
+    return $this->brands;
   }
-  public function setAdvertiserId($advertiserId)
+  public function setId($id)
   {
-    $this->advertiserId = $advertiserId;
+    $this->id = $id;
   }
-  public function getAdvertiserId()
+  public function getId()
   {
-    return $this->advertiserId;
+    return $this->id;
   }
-  public function setAdvertiserName($advertiserName)
+  public function setName($name)
   {
-    $this->advertiserName = $advertiserName;
+    $this->name = $name;
   }
-  public function getAdvertiserName()
+  public function getName()
   {
-    return $this->advertiserName;
+    return $this->name;
   }
-  public function setAgencyId($agencyId)
+  public function setStatus($status)
   {
-    $this->agencyId = $agencyId;
+    $this->status = $status;
   }
-  public function getAgencyId()
+  public function getStatus()
   {
-    return $this->agencyId;
+    return $this->status;
   }
-  public function setAttribute($attribute)
+}
+
+class Google_Service_AdExchangeBuyer_AudienceSegment extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $description;
+  public $id;
+  public $name;
+  public $numCookies;
+
+
+  public function setDescription($description)
   {
-    $this->attribute = $attribute;
+    $this->description = $description;
   }
-  public function getAttribute()
+  public function getDescription()
   {
-    return $this->attribute;
+    return $this->description;
   }
-  public function setBuyerCreativeId($buyerCreativeId)
+  public function setId($id)
   {
-    $this->buyerCreativeId = $buyerCreativeId;
+    $this->id = $id;
   }
-  public function getBuyerCreativeId()
+  public function getId()
   {
-    return $this->buyerCreativeId;
+    return $this->id;
   }
-  public function setClickThroughUrl($clickThroughUrl)
+  public function setName($name)
   {
-    $this->clickThroughUrl = $clickThroughUrl;
+    $this->name = $name;
   }
-  public function getClickThroughUrl()
+  public function getName()
   {
-    return $this->clickThroughUrl;
+    return $this->name;
   }
-  public function setCorrections($corrections)
+  public function setNumCookies($numCookies)
   {
-    $this->corrections = $corrections;
+    $this->numCookies = $numCookies;
   }
-  public function getCorrections()
+  public function getNumCookies()
   {
-    return $this->corrections;
+    return $this->numCookies;
   }
-  public function setDisapprovalReasons($disapprovalReasons)
+}
+
+class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
+{
+  protected $collection_key = 'billingId';
+  protected $internal_gapi_mappings = array(
+  );
+  public $accountId;
+  public $accountName;
+  public $billingId;
+  public $kind;
+
+
+  public function setAccountId($accountId)
   {
-    $this->disapprovalReasons = $disapprovalReasons;
+    $this->accountId = $accountId;
   }
-  public function getDisapprovalReasons()
+  public function getAccountId()
   {
-    return $this->disapprovalReasons;
+    return $this->accountId;
   }
-  public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
+  public function setAccountName($accountName)
   {
-    $this->filteringReasons = $filteringReasons;
+    $this->accountName = $accountName;
   }
-  public function getFilteringReasons()
+  public function getAccountName()
   {
-    return $this->filteringReasons;
+    return $this->accountName;
   }
-  public function setHeight($height)
+  public function setBillingId($billingId)
   {
-    $this->height = $height;
+    $this->billingId = $billingId;
   }
-  public function getHeight()
+  public function getBillingId()
   {
-    return $this->height;
+    return $this->billingId;
   }
   public function setKind($kind)
   {
@@ -1242,181 +2127,3720 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
   {
     return $this->kind;
   }
-  public function setProductCategories($productCategories)
+}
+
+class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
+{
+  protected $collection_key = 'items';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
+  protected $itemsDataType = 'array';
+  public $kind;
+
+
+  public function setItems($items)
   {
-    $this->productCategories = $productCategories;
+    $this->items = $items;
   }
-  public function getProductCategories()
+  public function getItems()
   {
-    return $this->productCategories;
+    return $this->items;
   }
-  public function setRestrictedCategories($restrictedCategories)
+  public function setKind($kind)
   {
-    $this->restrictedCategories = $restrictedCategories;
+    $this->kind = $kind;
   }
-  public function getRestrictedCategories()
+  public function getKind()
   {
-    return $this->restrictedCategories;
+    return $this->kind;
   }
-  public function setSensitiveCategories($sensitiveCategories)
+}
+
+class Google_Service_AdExchangeBuyer_BrandDto extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $advertiserId;
+  public $id;
+  public $name;
+
+
+  public function setAdvertiserId($advertiserId)
   {
-    $this->sensitiveCategories = $sensitiveCategories;
+    $this->advertiserId = $advertiserId;
   }
-  public function getSensitiveCategories()
+  public function getAdvertiserId()
   {
-    return $this->sensitiveCategories;
+    return $this->advertiserId;
   }
-  public function setStatus($status)
+  public function setId($id)
   {
-    $this->status = $status;
+    $this->id = $id;
   }
-  public function getStatus()
+  public function getId()
   {
-    return $this->status;
+    return $this->id;
   }
-  public function setVendorType($vendorType)
+  public function setName($name)
   {
-    $this->vendorType = $vendorType;
+    $this->name = $name;
   }
-  public function getVendorType()
+  public function getName()
   {
-    return $this->vendorType;
+    return $this->name;
   }
-  public function setVideoURL($videoURL)
+}
+
+class Google_Service_AdExchangeBuyer_Budget extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $accountId;
+  public $billingId;
+  public $budgetAmount;
+  public $currencyCode;
+  public $id;
+  public $kind;
+
+
+  public function setAccountId($accountId)
   {
-    $this->videoURL = $videoURL;
+    $this->accountId = $accountId;
   }
-  public function getVideoURL()
+  public function getAccountId()
   {
-    return $this->videoURL;
+    return $this->accountId;
   }
-  public function setWidth($width)
+  public function setBillingId($billingId)
   {
-    $this->width = $width;
+    $this->billingId = $billingId;
   }
-  public function getWidth()
+  public function getBillingId()
   {
-    return $this->width;
+    return $this->billingId;
+  }
+  public function setBudgetAmount($budgetAmount)
+  {
+    $this->budgetAmount = $budgetAmount;
+  }
+  public function getBudgetAmount()
+  {
+    return $this->budgetAmount;
+  }
+  public function setCurrencyCode($currencyCode)
+  {
+    $this->currencyCode = $currencyCode;
+  }
+  public function getCurrencyCode()
+  {
+    return $this->currencyCode;
+  }
+  public function setId($id)
+  {
+    $this->id = $id;
+  }
+  public function getId()
+  {
+    return $this->id;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
   }
 }
 
-class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
+class Google_Service_AdExchangeBuyer_Buyer extends Google_Model
 {
-  protected $collection_key = 'details';
   protected $internal_gapi_mappings = array(
   );
-  public $details;
-  public $reason;
+  public $accountId;
 
 
-  public function setDetails($details)
+  public function setAccountId($accountId)
   {
-    $this->details = $details;
+    $this->accountId = $accountId;
   }
-  public function getDetails()
+  public function getAccountId()
   {
-    return $this->details;
+    return $this->accountId;
   }
-  public function setReason($reason)
+}
+
+class Google_Service_AdExchangeBuyer_BuyerDto extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $accountId;
+  public $customerId;
+  public $displayName;
+  public $enabledForInterestTargetingDeals;
+  public $enabledForPreferredDeals;
+  public $id;
+  public $sponsorAccountId;
+
+
+  public function setAccountId($accountId)
   {
-    $this->reason = $reason;
+    $this->accountId = $accountId;
   }
-  public function getReason()
+  public function getAccountId()
   {
-    return $this->reason;
+    return $this->accountId;
+  }
+  public function setCustomerId($customerId)
+  {
+    $this->customerId = $customerId;
+  }
+  public function getCustomerId()
+  {
+    return $this->customerId;
+  }
+  public function setDisplayName($displayName)
+  {
+    $this->displayName = $displayName;
+  }
+  public function getDisplayName()
+  {
+    return $this->displayName;
+  }
+  public function setEnabledForInterestTargetingDeals($enabledForInterestTargetingDeals)
+  {
+    $this->enabledForInterestTargetingDeals = $enabledForInterestTargetingDeals;
+  }
+  public function getEnabledForInterestTargetingDeals()
+  {
+    return $this->enabledForInterestTargetingDeals;
+  }
+  public function setEnabledForPreferredDeals($enabledForPreferredDeals)
+  {
+    $this->enabledForPreferredDeals = $enabledForPreferredDeals;
+  }
+  public function getEnabledForPreferredDeals()
+  {
+    return $this->enabledForPreferredDeals;
+  }
+  public function setId($id)
+  {
+    $this->id = $id;
+  }
+  public function getId()
+  {
+    return $this->id;
+  }
+  public function setSponsorAccountId($sponsorAccountId)
+  {
+    $this->sponsorAccountId = $sponsorAccountId;
+  }
+  public function getSponsorAccountId()
+  {
+    return $this->sponsorAccountId;
   }
 }
 
-class Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons extends Google_Collection
+class Google_Service_AdExchangeBuyer_ClientAccessCapabilities extends Google_Collection
 {
-  protected $collection_key = 'details';
+  protected $collection_key = 'capabilities';
   protected $internal_gapi_mappings = array(
   );
-  public $details;
-  public $reason;
+  public $capabilities;
+  public $clientAccountId;
 
 
-  public function setDetails($details)
+  public function setCapabilities($capabilities)
   {
-    $this->details = $details;
+    $this->capabilities = $capabilities;
   }
-  public function getDetails()
+  public function getCapabilities()
   {
-    return $this->details;
+    return $this->capabilities;
   }
-  public function setReason($reason)
+  public function setClientAccountId($clientAccountId)
   {
-    $this->reason = $reason;
+    $this->clientAccountId = $clientAccountId;
   }
-  public function getReason()
+  public function getClientAccountId()
   {
-    return $this->reason;
+    return $this->clientAccountId;
   }
 }
 
-class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
+class Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model
 {
-  protected $collection_key = 'reasons';
   protected $internal_gapi_mappings = array(
   );
-  public $date;
-  protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
-  protected $reasonsDataType = 'array';
+  public $email;
+  public $name;
 
 
-  public function setDate($date)
+  public function setEmail($email)
   {
-    $this->date = $date;
+    $this->email = $email;
   }
-  public function getDate()
+  public function getEmail()
   {
-    return $this->date;
+    return $this->email;
   }
-  public function setReasons($reasons)
+  public function setName($name)
   {
-    $this->reasons = $reasons;
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Google_Collection
+{
+  protected $collection_key = 'orders';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
+  protected $ordersDataType = 'array';
+  public $webPropertyCode;
+
+
+  public function setOrders($orders)
+  {
+    $this->orders = $orders;
+  }
+  public function getOrders()
+  {
+    return $this->orders;
+  }
+  public function setWebPropertyCode($webPropertyCode)
+  {
+    $this->webPropertyCode = $webPropertyCode;
+  }
+  public function getWebPropertyCode()
+  {
+    return $this->webPropertyCode;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Google_Collection
+{
+  protected $collection_key = 'orders';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
+  protected $ordersDataType = 'array';
+
+
+  public function setOrders($orders)
+  {
+    $this->orders = $orders;
+  }
+  public function getOrders()
+  {
+    return $this->orders;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
+{
+  protected $collection_key = 'vendorType';
+  protected $internal_gapi_mappings = array(
+        "hTMLSnippet" => "HTMLSnippet",
+        "apiUploadTimestamp" => "api_upload_timestamp",
+  );
+  public $hTMLSnippet;
+  public $accountId;
+  public $advertiserId;
+  public $advertiserName;
+  public $agencyId;
+  public $apiUploadTimestamp;
+  public $attribute;
+  public $buyerCreativeId;
+  public $clickThroughUrl;
+  protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
+  protected $correctionsDataType = 'array';
+  public $dealsStatus;
+  protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
+  protected $filteringReasonsDataType = '';
+  public $height;
+  public $impressionTrackingUrl;
+  public $kind;
+  protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd';
+  protected $nativeAdDataType = '';
+  public $openAuctionStatus;
+  public $productCategories;
+  public $restrictedCategories;
+  public $sensitiveCategories;
+  protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
+  protected $servingRestrictionsDataType = 'array';
+  public $vendorType;
+  public $version;
+  public $videoURL;
+  public $width;
+
+
+  public function setHTMLSnippet($hTMLSnippet)
+  {
+    $this->hTMLSnippet = $hTMLSnippet;
+  }
+  public function getHTMLSnippet()
+  {
+    return $this->hTMLSnippet;
+  }
+  public function setAccountId($accountId)
+  {
+    $this->accountId = $accountId;
+  }
+  public function getAccountId()
+  {
+    return $this->accountId;
+  }
+  public function setAdvertiserId($advertiserId)
+  {
+    $this->advertiserId = $advertiserId;
+  }
+  public function getAdvertiserId()
+  {
+    return $this->advertiserId;
+  }
+  public function setAdvertiserName($advertiserName)
+  {
+    $this->advertiserName = $advertiserName;
+  }
+  public function getAdvertiserName()
+  {
+    return $this->advertiserName;
+  }
+  public function setAgencyId($agencyId)
+  {
+    $this->agencyId = $agencyId;
+  }
+  public function getAgencyId()
+  {
+    return $this->agencyId;
+  }
+  public function setApiUploadTimestamp($apiUploadTimestamp)
+  {
+    $this->apiUploadTimestamp = $apiUploadTimestamp;
+  }
+  public function getApiUploadTimestamp()
+  {
+    return $this->apiUploadTimestamp;
+  }
+  public function setAttribute($attribute)
+  {
+    $this->attribute = $attribute;
+  }
+  public function getAttribute()
+  {
+    return $this->attribute;
+  }
+  public function setBuyerCreativeId($buyerCreativeId)
+  {
+    $this->buyerCreativeId = $buyerCreativeId;
+  }
+  public function getBuyerCreativeId()
+  {
+    return $this->buyerCreativeId;
+  }
+  public function setClickThroughUrl($clickThroughUrl)
+  {
+    $this->clickThroughUrl = $clickThroughUrl;
+  }
+  public function getClickThroughUrl()
+  {
+    return $this->clickThroughUrl;
+  }
+  public function setCorrections($corrections)
+  {
+    $this->corrections = $corrections;
+  }
+  public function getCorrections()
+  {
+    return $this->corrections;
+  }
+  public function setDealsStatus($dealsStatus)
+  {
+    $this->dealsStatus = $dealsStatus;
+  }
+  public function getDealsStatus()
+  {
+    return $this->dealsStatus;
+  }
+  public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
+  {
+    $this->filteringReasons = $filteringReasons;
+  }
+  public function getFilteringReasons()
+  {
+    return $this->filteringReasons;
+  }
+  public function setHeight($height)
+  {
+    $this->height = $height;
+  }
+  public function getHeight()
+  {
+    return $this->height;
+  }
+  public function setImpressionTrackingUrl($impressionTrackingUrl)
+  {
+    $this->impressionTrackingUrl = $impressionTrackingUrl;
+  }
+  public function getImpressionTrackingUrl()
+  {
+    return $this->impressionTrackingUrl;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
+  {
+    $this->nativeAd = $nativeAd;
+  }
+  public function getNativeAd()
+  {
+    return $this->nativeAd;
+  }
+  public function setOpenAuctionStatus($openAuctionStatus)
+  {
+    $this->openAuctionStatus = $openAuctionStatus;
+  }
+  public function getOpenAuctionStatus()
+  {
+    return $this->openAuctionStatus;
+  }
+  public function setProductCategories($productCategories)
+  {
+    $this->productCategories = $productCategories;
+  }
+  public function getProductCategories()
+  {
+    return $this->productCategories;
+  }
+  public function setRestrictedCategories($restrictedCategories)
+  {
+    $this->restrictedCategories = $restrictedCategories;
+  }
+  public function getRestrictedCategories()
+  {
+    return $this->restrictedCategories;
+  }
+  public function setSensitiveCategories($sensitiveCategories)
+  {
+    $this->sensitiveCategories = $sensitiveCategories;
+  }
+  public function getSensitiveCategories()
+  {
+    return $this->sensitiveCategories;
+  }
+  public function setServingRestrictions($servingRestrictions)
+  {
+    $this->servingRestrictions = $servingRestrictions;
+  }
+  public function getServingRestrictions()
+  {
+    return $this->servingRestrictions;
+  }
+  public function setVendorType($vendorType)
+  {
+    $this->vendorType = $vendorType;
+  }
+  public function getVendorType()
+  {
+    return $this->vendorType;
+  }
+  public function setVersion($version)
+  {
+    $this->version = $version;
+  }
+  public function getVersion()
+  {
+    return $this->version;
+  }
+  public function setVideoURL($videoURL)
+  {
+    $this->videoURL = $videoURL;
+  }
+  public function getVideoURL()
+  {
+    return $this->videoURL;
+  }
+  public function setWidth($width)
+  {
+    $this->width = $width;
+  }
+  public function getWidth()
+  {
+    return $this->width;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
+{
+  protected $collection_key = 'details';
+  protected $internal_gapi_mappings = array(
+  );
+  public $details;
+  public $reason;
+
+
+  public function setDetails($details)
+  {
+    $this->details = $details;
+  }
+  public function getDetails()
+  {
+    return $this->details;
+  }
+  public function setReason($reason)
+  {
+    $this->reason = $reason;
+  }
+  public function getReason()
+  {
+    return $this->reason;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
+{
+  protected $collection_key = 'reasons';
+  protected $internal_gapi_mappings = array(
+  );
+  public $date;
+  protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
+  protected $reasonsDataType = 'array';
+
+
+  public function setDate($date)
+  {
+    $this->date = $date;
+  }
+  public function getDate()
+  {
+    return $this->date;
+  }
+  public function setReasons($reasons)
+  {
+    $this->reasons = $reasons;
+  }
+  public function getReasons()
+  {
+    return $this->reasons;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $filteringCount;
+  public $filteringStatus;
+
+
+  public function setFilteringCount($filteringCount)
+  {
+    $this->filteringCount = $filteringCount;
+  }
+  public function getFilteringCount()
+  {
+    return $this->filteringCount;
+  }
+  public function setFilteringStatus($filteringStatus)
+  {
+    $this->filteringStatus = $filteringStatus;
+  }
+  public function getFilteringStatus()
+  {
+    return $this->filteringStatus;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
+{
+  protected $collection_key = 'impressionTrackingUrl';
+  protected $internal_gapi_mappings = array(
+  );
+  public $advertiser;
+  protected $appIconType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon';
+  protected $appIconDataType = '';
+  public $body;
+  public $callToAction;
+  public $clickTrackingUrl;
+  public $headline;
+  protected $imageType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage';
+  protected $imageDataType = '';
+  public $impressionTrackingUrl;
+  protected $logoType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo';
+  protected $logoDataType = '';
+  public $price;
+  public $starRating;
+  public $store;
+
+
+  public function setAdvertiser($advertiser)
+  {
+    $this->advertiser = $advertiser;
+  }
+  public function getAdvertiser()
+  {
+    return $this->advertiser;
+  }
+  public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon)
+  {
+    $this->appIcon = $appIcon;
+  }
+  public function getAppIcon()
+  {
+    return $this->appIcon;
+  }
+  public function setBody($body)
+  {
+    $this->body = $body;
+  }
+  public function getBody()
+  {
+    return $this->body;
+  }
+  public function setCallToAction($callToAction)
+  {
+    $this->callToAction = $callToAction;
+  }
+  public function getCallToAction()
+  {
+    return $this->callToAction;
+  }
+  public function setClickTrackingUrl($clickTrackingUrl)
+  {
+    $this->clickTrackingUrl = $clickTrackingUrl;
+  }
+  public function getClickTrackingUrl()
+  {
+    return $this->clickTrackingUrl;
+  }
+  public function setHeadline($headline)
+  {
+    $this->headline = $headline;
+  }
+  public function getHeadline()
+  {
+    return $this->headline;
+  }
+  public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image)
+  {
+    $this->image = $image;
+  }
+  public function getImage()
+  {
+    return $this->image;
+  }
+  public function setImpressionTrackingUrl($impressionTrackingUrl)
+  {
+    $this->impressionTrackingUrl = $impressionTrackingUrl;
+  }
+  public function getImpressionTrackingUrl()
+  {
+    return $this->impressionTrackingUrl;
+  }
+  public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo)
+  {
+    $this->logo = $logo;
+  }
+  public function getLogo()
+  {
+    return $this->logo;
+  }
+  public function setPrice($price)
+  {
+    $this->price = $price;
+  }
+  public function getPrice()
+  {
+    return $this->price;
+  }
+  public function setStarRating($starRating)
+  {
+    $this->starRating = $starRating;
+  }
+  public function getStarRating()
+  {
+    return $this->starRating;
+  }
+  public function setStore($store)
+  {
+    $this->store = $store;
+  }
+  public function getStore()
+  {
+    return $this->store;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $height;
+  public $url;
+  public $width;
+
+
+  public function setHeight($height)
+  {
+    $this->height = $height;
+  }
+  public function getHeight()
+  {
+    return $this->height;
+  }
+  public function setUrl($url)
+  {
+    $this->url = $url;
+  }
+  public function getUrl()
+  {
+    return $this->url;
+  }
+  public function setWidth($width)
+  {
+    $this->width = $width;
+  }
+  public function getWidth()
+  {
+    return $this->width;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $height;
+  public $url;
+  public $width;
+
+
+  public function setHeight($height)
+  {
+    $this->height = $height;
+  }
+  public function getHeight()
+  {
+    return $this->height;
+  }
+  public function setUrl($url)
+  {
+    $this->url = $url;
+  }
+  public function getUrl()
+  {
+    return $this->url;
+  }
+  public function setWidth($width)
+  {
+    $this->width = $width;
+  }
+  public function getWidth()
+  {
+    return $this->width;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $height;
+  public $url;
+  public $width;
+
+
+  public function setHeight($height)
+  {
+    $this->height = $height;
+  }
+  public function getHeight()
+  {
+    return $this->height;
+  }
+  public function setUrl($url)
+  {
+    $this->url = $url;
+  }
+  public function getUrl()
+  {
+    return $this->url;
+  }
+  public function setWidth($width)
+  {
+    $this->width = $width;
+  }
+  public function getWidth()
+  {
+    return $this->width;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Google_Collection
+{
+  protected $collection_key = 'disapprovalReasons';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts';
+  protected $contextsDataType = 'array';
+  protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons';
+  protected $disapprovalReasonsDataType = 'array';
+  public $reason;
+
+
+  public function setContexts($contexts)
+  {
+    $this->contexts = $contexts;
+  }
+  public function getContexts()
+  {
+    return $this->contexts;
+  }
+  public function setDisapprovalReasons($disapprovalReasons)
+  {
+    $this->disapprovalReasons = $disapprovalReasons;
+  }
+  public function getDisapprovalReasons()
+  {
+    return $this->disapprovalReasons;
+  }
+  public function setReason($reason)
+  {
+    $this->reason = $reason;
+  }
+  public function getReason()
+  {
+    return $this->reason;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends Google_Collection
+{
+  protected $collection_key = 'platform';
+  protected $internal_gapi_mappings = array(
+  );
+  public $auctionType;
+  public $contextType;
+  public $geoCriteriaId;
+  public $platform;
+
+
+  public function setAuctionType($auctionType)
+  {
+    $this->auctionType = $auctionType;
+  }
+  public function getAuctionType()
+  {
+    return $this->auctionType;
+  }
+  public function setContextType($contextType)
+  {
+    $this->contextType = $contextType;
+  }
+  public function getContextType()
+  {
+    return $this->contextType;
+  }
+  public function setGeoCriteriaId($geoCriteriaId)
+  {
+    $this->geoCriteriaId = $geoCriteriaId;
+  }
+  public function getGeoCriteriaId()
+  {
+    return $this->geoCriteriaId;
+  }
+  public function setPlatform($platform)
+  {
+    $this->platform = $platform;
+  }
+  public function getPlatform()
+  {
+    return $this->platform;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons extends Google_Collection
+{
+  protected $collection_key = 'details';
+  protected $internal_gapi_mappings = array(
+  );
+  public $details;
+  public $reason;
+
+
+  public function setDetails($details)
+  {
+    $this->details = $details;
+  }
+  public function getDetails()
+  {
+    return $this->details;
+  }
+  public function setReason($reason)
+  {
+    $this->reason = $reason;
+  }
+  public function getReason()
+  {
+    return $this->reason;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
+{
+  protected $collection_key = 'items';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
+  protected $itemsDataType = 'array';
+  public $kind;
+  public $nextPageToken;
+
+
+  public function setItems($items)
+  {
+    $this->items = $items;
+  }
+  public function getItems()
+  {
+    return $this->items;
+  }
+  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;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DateTime extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $day;
+  public $hour;
+  public $minute;
+  public $month;
+  public $second;
+  public $timeZoneId;
+  public $year;
+
+
+  public function setDay($day)
+  {
+    $this->day = $day;
+  }
+  public function getDay()
+  {
+    return $this->day;
+  }
+  public function setHour($hour)
+  {
+    $this->hour = $hour;
+  }
+  public function getHour()
+  {
+    return $this->hour;
+  }
+  public function setMinute($minute)
+  {
+    $this->minute = $minute;
+  }
+  public function getMinute()
+  {
+    return $this->minute;
+  }
+  public function setMonth($month)
+  {
+    $this->month = $month;
+  }
+  public function getMonth()
+  {
+    return $this->month;
+  }
+  public function setSecond($second)
+  {
+    $this->second = $second;
+  }
+  public function getSecond()
+  {
+    return $this->second;
+  }
+  public function setTimeZoneId($timeZoneId)
+  {
+    $this->timeZoneId = $timeZoneId;
+  }
+  public function getTimeZoneId()
+  {
+    return $this->timeZoneId;
+  }
+  public function setYear($year)
+  {
+    $this->year = $year;
+  }
+  public function getYear()
+  {
+    return $this->year;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DealPartyDto extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  protected $buyerType = 'Google_Service_AdExchangeBuyer_BuyerDto';
+  protected $buyerDataType = '';
+  public $buyerSellerRole;
+  public $customerId;
+  public $name;
+  protected $webPropertyType = 'Google_Service_AdExchangeBuyer_WebPropertyDto';
+  protected $webPropertyDataType = '';
+
+
+  public function setBuyer(Google_Service_AdExchangeBuyer_BuyerDto $buyer)
+  {
+    $this->buyer = $buyer;
+  }
+  public function getBuyer()
+  {
+    return $this->buyer;
+  }
+  public function setBuyerSellerRole($buyerSellerRole)
+  {
+    $this->buyerSellerRole = $buyerSellerRole;
+  }
+  public function getBuyerSellerRole()
+  {
+    return $this->buyerSellerRole;
+  }
+  public function setCustomerId($customerId)
+  {
+    $this->customerId = $customerId;
+  }
+  public function getCustomerId()
+  {
+    return $this->customerId;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+  public function setWebProperty(Google_Service_AdExchangeBuyer_WebPropertyDto $webProperty)
+  {
+    $this->webProperty = $webProperty;
+  }
+  public function getWebProperty()
+  {
+    return $this->webProperty;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $description;
+  protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
+  protected $guaranteedFixedPriceTermsDataType = '';
+  protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
+  protected $nonGuaranteedAuctionTermsDataType = '';
+  protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
+  protected $nonGuaranteedFixedPriceTermsDataType = '';
+
+
+  public function setDescription($description)
+  {
+    $this->description = $description;
+  }
+  public function getDescription()
+  {
+    return $this->description;
+  }
+  public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
+  {
+    $this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
+  }
+  public function getGuaranteedFixedPriceTerms()
+  {
+    return $this->guaranteedFixedPriceTerms;
+  }
+  public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
+  {
+    $this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
+  }
+  public function getNonGuaranteedAuctionTerms()
+  {
+    return $this->nonGuaranteedAuctionTerms;
+  }
+  public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
+  {
+    $this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
+  }
+  public function getNonGuaranteedFixedPriceTerms()
+  {
+    return $this->nonGuaranteedFixedPriceTerms;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends Google_Collection
+{
+  protected $collection_key = 'fixedPrices';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
+  protected $fixedPricesDataType = 'array';
+  public $guaranteedImpressions;
+  public $guaranteedLooks;
+
+
+  public function setFixedPrices($fixedPrices)
+  {
+    $this->fixedPrices = $fixedPrices;
+  }
+  public function getFixedPrices()
+  {
+    return $this->fixedPrices;
+  }
+  public function setGuaranteedImpressions($guaranteedImpressions)
+  {
+    $this->guaranteedImpressions = $guaranteedImpressions;
+  }
+  public function getGuaranteedImpressions()
+  {
+    return $this->guaranteedImpressions;
+  }
+  public function setGuaranteedLooks($guaranteedLooks)
+  {
+    $this->guaranteedLooks = $guaranteedLooks;
+  }
+  public function getGuaranteedLooks()
+  {
+    return $this->guaranteedLooks;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Google_Collection
+{
+  protected $collection_key = 'reservePricePerBuyers';
+  protected $internal_gapi_mappings = array(
+  );
+  public $privateAuctionId;
+  protected $reservePricePerBuyersType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
+  protected $reservePricePerBuyersDataType = 'array';
+
+
+  public function setPrivateAuctionId($privateAuctionId)
+  {
+    $this->privateAuctionId = $privateAuctionId;
+  }
+  public function getPrivateAuctionId()
+  {
+    return $this->privateAuctionId;
+  }
+  public function setReservePricePerBuyers($reservePricePerBuyers)
+  {
+    $this->reservePricePerBuyers = $reservePricePerBuyers;
+  }
+  public function getReservePricePerBuyers()
+  {
+    return $this->reservePricePerBuyers;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Google_Collection
+{
+  protected $collection_key = 'fixedPrices';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
+  protected $fixedPricesDataType = 'array';
+
+
+  public function setFixedPrices($fixedPrices)
+  {
+    $this->fixedPrices = $fixedPrices;
+  }
+  public function getFixedPrices()
+  {
+    return $this->fixedPrices;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Google_Collection
+{
+  protected $collection_key = 'dealIds';
+  protected $internal_gapi_mappings = array(
+  );
+  public $dealIds;
+  public $orderRevisionNumber;
+  public $updateAction;
+
+
+  public function setDealIds($dealIds)
+  {
+    $this->dealIds = $dealIds;
+  }
+  public function getDealIds()
+  {
+    return $this->dealIds;
+  }
+  public function setOrderRevisionNumber($orderRevisionNumber)
+  {
+    $this->orderRevisionNumber = $orderRevisionNumber;
+  }
+  public function getOrderRevisionNumber()
+  {
+    return $this->orderRevisionNumber;
+  }
+  public function setUpdateAction($updateAction)
+  {
+    $this->updateAction = $updateAction;
+  }
+  public function getUpdateAction()
+  {
+    return $this->updateAction;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Google_Collection
+{
+  protected $collection_key = 'deals';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+  protected $dealsDataType = 'array';
+  public $orderRevisionNumber;
+
+
+  public function setDeals($deals)
+  {
+    $this->deals = $deals;
+  }
+  public function getDeals()
+  {
+    return $this->deals;
+  }
+  public function setOrderRevisionNumber($orderRevisionNumber)
+  {
+    $this->orderRevisionNumber = $orderRevisionNumber;
+  }
+  public function getOrderRevisionNumber()
+  {
+    return $this->orderRevisionNumber;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection
+{
+  protected $collection_key = 'frequencyCaps';
+  protected $internal_gapi_mappings = array(
+  );
+  public $deliveryRateType;
+  protected $frequencyCapsType = 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap';
+  protected $frequencyCapsDataType = 'array';
+
+
+  public function setDeliveryRateType($deliveryRateType)
+  {
+    $this->deliveryRateType = $deliveryRateType;
+  }
+  public function getDeliveryRateType()
+  {
+    return $this->deliveryRateType;
+  }
+  public function setFrequencyCaps($frequencyCaps)
+  {
+    $this->frequencyCaps = $frequencyCaps;
+  }
+  public function getFrequencyCaps()
+  {
+    return $this->frequencyCaps;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $maxImpressions;
+  public $numTimeUnits;
+  public $timeUnitType;
+
+
+  public function setMaxImpressions($maxImpressions)
+  {
+    $this->maxImpressions = $maxImpressions;
+  }
+  public function getMaxImpressions()
+  {
+    return $this->maxImpressions;
+  }
+  public function setNumTimeUnits($numTimeUnits)
+  {
+    $this->numTimeUnits = $numTimeUnits;
+  }
+  public function getNumTimeUnits()
+  {
+    return $this->numTimeUnits;
+  }
+  public function setTimeUnitType($timeUnitType)
+  {
+    $this->timeUnitType = $timeUnitType;
+  }
+  public function getTimeUnitType()
+  {
+    return $this->timeUnitType;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Google_Collection
+{
+  protected $collection_key = 'deals';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+  protected $dealsDataType = 'array';
+  protected $orderType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
+  protected $orderDataType = '';
+  public $orderRevisionNumber;
+  public $updateAction;
+
+
+  public function setDeals($deals)
+  {
+    $this->deals = $deals;
+  }
+  public function getDeals()
+  {
+    return $this->deals;
+  }
+  public function setOrder(Google_Service_AdExchangeBuyer_MarketplaceOrder $order)
+  {
+    $this->order = $order;
+  }
+  public function getOrder()
+  {
+    return $this->order;
+  }
+  public function setOrderRevisionNumber($orderRevisionNumber)
+  {
+    $this->orderRevisionNumber = $orderRevisionNumber;
+  }
+  public function getOrderRevisionNumber()
+  {
+    return $this->orderRevisionNumber;
+  }
+  public function setUpdateAction($updateAction)
+  {
+    $this->updateAction = $updateAction;
+  }
+  public function getUpdateAction()
+  {
+    return $this->updateAction;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse extends Google_Collection
+{
+  protected $collection_key = 'deals';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+  protected $dealsDataType = 'array';
+
+
+  public function setDeals($deals)
+  {
+    $this->deals = $deals;
+  }
+  public function getDeals()
+  {
+    return $this->deals;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_EditHistoryDto extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $createdByLoginName;
+  public $createdTimeStamp;
+  public $lastUpdateTimeStamp;
+  public $lastUpdatedByLoginName;
+
+
+  public function setCreatedByLoginName($createdByLoginName)
+  {
+    $this->createdByLoginName = $createdByLoginName;
+  }
+  public function getCreatedByLoginName()
+  {
+    return $this->createdByLoginName;
+  }
+  public function setCreatedTimeStamp($createdTimeStamp)
+  {
+    $this->createdTimeStamp = $createdTimeStamp;
+  }
+  public function getCreatedTimeStamp()
+  {
+    return $this->createdTimeStamp;
+  }
+  public function setLastUpdateTimeStamp($lastUpdateTimeStamp)
+  {
+    $this->lastUpdateTimeStamp = $lastUpdateTimeStamp;
+  }
+  public function getLastUpdateTimeStamp()
+  {
+    return $this->lastUpdateTimeStamp;
+  }
+  public function setLastUpdatedByLoginName($lastUpdatedByLoginName)
+  {
+    $this->lastUpdatedByLoginName = $lastUpdatedByLoginName;
+  }
+  public function getLastUpdatedByLoginName()
+  {
+    return $this->lastUpdatedByLoginName;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_GetFinalizedNegotiationByExternalDealIdRequest extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $includePrivateAuctions;
+
+
+  public function setIncludePrivateAuctions($includePrivateAuctions)
+  {
+    $this->includePrivateAuctions = $includePrivateAuctions;
+  }
+  public function getIncludePrivateAuctions()
+  {
+    return $this->includePrivateAuctions;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_GetNegotiationByIdRequest extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $includePrivateAuctions;
+
+
+  public function setIncludePrivateAuctions($includePrivateAuctions)
+  {
+    $this->includePrivateAuctions = $includePrivateAuctions;
+  }
+  public function getIncludePrivateAuctions()
+  {
+    return $this->includePrivateAuctions;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_GetNegotiationsRequest extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $finalized;
+  public $includePrivateAuctions;
+  public $sinceTimestampMillis;
+
+
+  public function setFinalized($finalized)
+  {
+    $this->finalized = $finalized;
+  }
+  public function getFinalized()
+  {
+    return $this->finalized;
+  }
+  public function setIncludePrivateAuctions($includePrivateAuctions)
+  {
+    $this->includePrivateAuctions = $includePrivateAuctions;
+  }
+  public function getIncludePrivateAuctions()
+  {
+    return $this->includePrivateAuctions;
+  }
+  public function setSinceTimestampMillis($sinceTimestampMillis)
+  {
+    $this->sinceTimestampMillis = $sinceTimestampMillis;
+  }
+  public function getSinceTimestampMillis()
+  {
+    return $this->sinceTimestampMillis;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_GetNegotiationsResponse extends Google_Collection
+{
+  protected $collection_key = 'negotiations';
+  protected $internal_gapi_mappings = array(
+  );
+  public $kind;
+  protected $negotiationsType = 'Google_Service_AdExchangeBuyer_NegotiationDto';
+  protected $negotiationsDataType = 'array';
+
+
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setNegotiations($negotiations)
+  {
+    $this->negotiations = $negotiations;
+  }
+  public function getNegotiations()
+  {
+    return $this->negotiations;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_GetOffersResponse extends Google_Collection
+{
+  protected $collection_key = 'offers';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $offersType = 'Google_Service_AdExchangeBuyer_MarketplaceOffer';
+  protected $offersDataType = 'array';
+
+
+  public function setOffers($offers)
+  {
+    $this->offers = $offers;
+  }
+  public function getOffers()
+  {
+    return $this->offers;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_GetOrderDealsResponse extends Google_Collection
+{
+  protected $collection_key = 'deals';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
+  protected $dealsDataType = 'array';
+
+
+  public function setDeals($deals)
+  {
+    $this->deals = $deals;
+  }
+  public function getDeals()
+  {
+    return $this->deals;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_GetOrderNotesResponse extends Google_Collection
+{
+  protected $collection_key = 'notes';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
+  protected $notesDataType = 'array';
+
+
+  public function setNotes($notes)
+  {
+    $this->notes = $notes;
+  }
+  public function getNotes()
+  {
+    return $this->notes;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_GetOrdersResponse extends Google_Collection
+{
+  protected $collection_key = 'orders';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
+  protected $ordersDataType = 'array';
+
+
+  public function setOrders($orders)
+  {
+    $this->orders = $orders;
+  }
+  public function getOrders()
+  {
+    return $this->orders;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_InventorySegmentTargeting extends Google_Collection
+{
+  protected $collection_key = 'positiveXfpPlacements';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $negativeAdSizesType = 'Google_Service_AdExchangeBuyer_AdSize';
+  protected $negativeAdSizesDataType = 'array';
+  public $negativeAdTypeSegments;
+  public $negativeAudienceSegments;
+  public $negativeDeviceCategories;
+  public $negativeIcmBrands;
+  public $negativeIcmInterests;
+  public $negativeInventorySlots;
+  protected $negativeKeyValuesType = 'Google_Service_AdExchangeBuyer_RuleKeyValuePair';
+  protected $negativeKeyValuesDataType = 'array';
+  public $negativeLocations;
+  public $negativeMobileApps;
+  public $negativeOperatingSystemVersions;
+  public $negativeOperatingSystems;
+  public $negativeSiteUrls;
+  public $negativeSizes;
+  public $negativeVideoAdPositionSegments;
+  public $negativeVideoDurationSegments;
+  public $negativeXfpAdSlots;
+  public $negativeXfpPlacements;
+  protected $positiveAdSizesType = 'Google_Service_AdExchangeBuyer_AdSize';
+  protected $positiveAdSizesDataType = 'array';
+  public $positiveAdTypeSegments;
+  public $positiveAudienceSegments;
+  public $positiveDeviceCategories;
+  public $positiveIcmBrands;
+  public $positiveIcmInterests;
+  public $positiveInventorySlots;
+  protected $positiveKeyValuesType = 'Google_Service_AdExchangeBuyer_RuleKeyValuePair';
+  protected $positiveKeyValuesDataType = 'array';
+  public $positiveLocations;
+  public $positiveMobileApps;
+  public $positiveOperatingSystemVersions;
+  public $positiveOperatingSystems;
+  public $positiveSiteUrls;
+  public $positiveSizes;
+  public $positiveVideoAdPositionSegments;
+  public $positiveVideoDurationSegments;
+  public $positiveXfpAdSlots;
+  public $positiveXfpPlacements;
+
+
+  public function setNegativeAdSizes($negativeAdSizes)
+  {
+    $this->negativeAdSizes = $negativeAdSizes;
+  }
+  public function getNegativeAdSizes()
+  {
+    return $this->negativeAdSizes;
+  }
+  public function setNegativeAdTypeSegments($negativeAdTypeSegments)
+  {
+    $this->negativeAdTypeSegments = $negativeAdTypeSegments;
+  }
+  public function getNegativeAdTypeSegments()
+  {
+    return $this->negativeAdTypeSegments;
+  }
+  public function setNegativeAudienceSegments($negativeAudienceSegments)
+  {
+    $this->negativeAudienceSegments = $negativeAudienceSegments;
+  }
+  public function getNegativeAudienceSegments()
+  {
+    return $this->negativeAudienceSegments;
+  }
+  public function setNegativeDeviceCategories($negativeDeviceCategories)
+  {
+    $this->negativeDeviceCategories = $negativeDeviceCategories;
+  }
+  public function getNegativeDeviceCategories()
+  {
+    return $this->negativeDeviceCategories;
+  }
+  public function setNegativeIcmBrands($negativeIcmBrands)
+  {
+    $this->negativeIcmBrands = $negativeIcmBrands;
+  }
+  public function getNegativeIcmBrands()
+  {
+    return $this->negativeIcmBrands;
+  }
+  public function setNegativeIcmInterests($negativeIcmInterests)
+  {
+    $this->negativeIcmInterests = $negativeIcmInterests;
+  }
+  public function getNegativeIcmInterests()
+  {
+    return $this->negativeIcmInterests;
+  }
+  public function setNegativeInventorySlots($negativeInventorySlots)
+  {
+    $this->negativeInventorySlots = $negativeInventorySlots;
+  }
+  public function getNegativeInventorySlots()
+  {
+    return $this->negativeInventorySlots;
+  }
+  public function setNegativeKeyValues($negativeKeyValues)
+  {
+    $this->negativeKeyValues = $negativeKeyValues;
+  }
+  public function getNegativeKeyValues()
+  {
+    return $this->negativeKeyValues;
+  }
+  public function setNegativeLocations($negativeLocations)
+  {
+    $this->negativeLocations = $negativeLocations;
+  }
+  public function getNegativeLocations()
+  {
+    return $this->negativeLocations;
+  }
+  public function setNegativeMobileApps($negativeMobileApps)
+  {
+    $this->negativeMobileApps = $negativeMobileApps;
+  }
+  public function getNegativeMobileApps()
+  {
+    return $this->negativeMobileApps;
+  }
+  public function setNegativeOperatingSystemVersions($negativeOperatingSystemVersions)
+  {
+    $this->negativeOperatingSystemVersions = $negativeOperatingSystemVersions;
+  }
+  public function getNegativeOperatingSystemVersions()
+  {
+    return $this->negativeOperatingSystemVersions;
+  }
+  public function setNegativeOperatingSystems($negativeOperatingSystems)
+  {
+    $this->negativeOperatingSystems = $negativeOperatingSystems;
+  }
+  public function getNegativeOperatingSystems()
+  {
+    return $this->negativeOperatingSystems;
+  }
+  public function setNegativeSiteUrls($negativeSiteUrls)
+  {
+    $this->negativeSiteUrls = $negativeSiteUrls;
+  }
+  public function getNegativeSiteUrls()
+  {
+    return $this->negativeSiteUrls;
+  }
+  public function setNegativeSizes($negativeSizes)
+  {
+    $this->negativeSizes = $negativeSizes;
+  }
+  public function getNegativeSizes()
+  {
+    return $this->negativeSizes;
+  }
+  public function setNegativeVideoAdPositionSegments($negativeVideoAdPositionSegments)
+  {
+    $this->negativeVideoAdPositionSegments = $negativeVideoAdPositionSegments;
+  }
+  public function getNegativeVideoAdPositionSegments()
+  {
+    return $this->negativeVideoAdPositionSegments;
+  }
+  public function setNegativeVideoDurationSegments($negativeVideoDurationSegments)
+  {
+    $this->negativeVideoDurationSegments = $negativeVideoDurationSegments;
+  }
+  public function getNegativeVideoDurationSegments()
+  {
+    return $this->negativeVideoDurationSegments;
+  }
+  public function setNegativeXfpAdSlots($negativeXfpAdSlots)
+  {
+    $this->negativeXfpAdSlots = $negativeXfpAdSlots;
+  }
+  public function getNegativeXfpAdSlots()
+  {
+    return $this->negativeXfpAdSlots;
+  }
+  public function setNegativeXfpPlacements($negativeXfpPlacements)
+  {
+    $this->negativeXfpPlacements = $negativeXfpPlacements;
+  }
+  public function getNegativeXfpPlacements()
+  {
+    return $this->negativeXfpPlacements;
+  }
+  public function setPositiveAdSizes($positiveAdSizes)
+  {
+    $this->positiveAdSizes = $positiveAdSizes;
+  }
+  public function getPositiveAdSizes()
+  {
+    return $this->positiveAdSizes;
+  }
+  public function setPositiveAdTypeSegments($positiveAdTypeSegments)
+  {
+    $this->positiveAdTypeSegments = $positiveAdTypeSegments;
+  }
+  public function getPositiveAdTypeSegments()
+  {
+    return $this->positiveAdTypeSegments;
+  }
+  public function setPositiveAudienceSegments($positiveAudienceSegments)
+  {
+    $this->positiveAudienceSegments = $positiveAudienceSegments;
+  }
+  public function getPositiveAudienceSegments()
+  {
+    return $this->positiveAudienceSegments;
+  }
+  public function setPositiveDeviceCategories($positiveDeviceCategories)
+  {
+    $this->positiveDeviceCategories = $positiveDeviceCategories;
+  }
+  public function getPositiveDeviceCategories()
+  {
+    return $this->positiveDeviceCategories;
+  }
+  public function setPositiveIcmBrands($positiveIcmBrands)
+  {
+    $this->positiveIcmBrands = $positiveIcmBrands;
+  }
+  public function getPositiveIcmBrands()
+  {
+    return $this->positiveIcmBrands;
+  }
+  public function setPositiveIcmInterests($positiveIcmInterests)
+  {
+    $this->positiveIcmInterests = $positiveIcmInterests;
+  }
+  public function getPositiveIcmInterests()
+  {
+    return $this->positiveIcmInterests;
+  }
+  public function setPositiveInventorySlots($positiveInventorySlots)
+  {
+    $this->positiveInventorySlots = $positiveInventorySlots;
+  }
+  public function getPositiveInventorySlots()
+  {
+    return $this->positiveInventorySlots;
+  }
+  public function setPositiveKeyValues($positiveKeyValues)
+  {
+    $this->positiveKeyValues = $positiveKeyValues;
+  }
+  public function getPositiveKeyValues()
+  {
+    return $this->positiveKeyValues;
+  }
+  public function setPositiveLocations($positiveLocations)
+  {
+    $this->positiveLocations = $positiveLocations;
+  }
+  public function getPositiveLocations()
+  {
+    return $this->positiveLocations;
+  }
+  public function setPositiveMobileApps($positiveMobileApps)
+  {
+    $this->positiveMobileApps = $positiveMobileApps;
+  }
+  public function getPositiveMobileApps()
+  {
+    return $this->positiveMobileApps;
+  }
+  public function setPositiveOperatingSystemVersions($positiveOperatingSystemVersions)
+  {
+    $this->positiveOperatingSystemVersions = $positiveOperatingSystemVersions;
+  }
+  public function getPositiveOperatingSystemVersions()
+  {
+    return $this->positiveOperatingSystemVersions;
+  }
+  public function setPositiveOperatingSystems($positiveOperatingSystems)
+  {
+    $this->positiveOperatingSystems = $positiveOperatingSystems;
+  }
+  public function getPositiveOperatingSystems()
+  {
+    return $this->positiveOperatingSystems;
+  }
+  public function setPositiveSiteUrls($positiveSiteUrls)
+  {
+    $this->positiveSiteUrls = $positiveSiteUrls;
+  }
+  public function getPositiveSiteUrls()
+  {
+    return $this->positiveSiteUrls;
+  }
+  public function setPositiveSizes($positiveSizes)
+  {
+    $this->positiveSizes = $positiveSizes;
+  }
+  public function getPositiveSizes()
+  {
+    return $this->positiveSizes;
+  }
+  public function setPositiveVideoAdPositionSegments($positiveVideoAdPositionSegments)
+  {
+    $this->positiveVideoAdPositionSegments = $positiveVideoAdPositionSegments;
+  }
+  public function getPositiveVideoAdPositionSegments()
+  {
+    return $this->positiveVideoAdPositionSegments;
+  }
+  public function setPositiveVideoDurationSegments($positiveVideoDurationSegments)
+  {
+    $this->positiveVideoDurationSegments = $positiveVideoDurationSegments;
+  }
+  public function getPositiveVideoDurationSegments()
+  {
+    return $this->positiveVideoDurationSegments;
+  }
+  public function setPositiveXfpAdSlots($positiveXfpAdSlots)
+  {
+    $this->positiveXfpAdSlots = $positiveXfpAdSlots;
+  }
+  public function getPositiveXfpAdSlots()
+  {
+    return $this->positiveXfpAdSlots;
+  }
+  public function setPositiveXfpPlacements($positiveXfpPlacements)
+  {
+    $this->positiveXfpPlacements = $positiveXfpPlacements;
+  }
+  public function getPositiveXfpPlacements()
+  {
+    return $this->positiveXfpPlacements;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesRequest extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $sponsorAccountId;
+
+
+  public function setSponsorAccountId($sponsorAccountId)
+  {
+    $this->sponsorAccountId = $sponsorAccountId;
+  }
+  public function getSponsorAccountId()
+  {
+    return $this->sponsorAccountId;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse extends Google_Collection
+{
+  protected $collection_key = 'clientAccessPermissions';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $clientAccessPermissionsType = 'Google_Service_AdExchangeBuyer_ClientAccessCapabilities';
+  protected $clientAccessPermissionsDataType = 'array';
+
+
+  public function setClientAccessPermissions($clientAccessPermissions)
+  {
+    $this->clientAccessPermissions = $clientAccessPermissions;
+  }
+  public function getClientAccessPermissions()
+  {
+    return $this->clientAccessPermissions;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_ListOffersRequest extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $sinceTimestampMillis;
+
+
+  public function setSinceTimestampMillis($sinceTimestampMillis)
+  {
+    $this->sinceTimestampMillis = $sinceTimestampMillis;
+  }
+  public function getSinceTimestampMillis()
+  {
+    return $this->sinceTimestampMillis;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_ListOffersResponse extends Google_Collection
+{
+  protected $collection_key = 'offers';
+  protected $internal_gapi_mappings = array(
+  );
+  public $kind;
+  protected $offersType = 'Google_Service_AdExchangeBuyer_OfferDto';
+  protected $offersDataType = 'array';
+
+
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setOffers($offers)
+  {
+    $this->offers = $offers;
+  }
+  public function getOffers()
+  {
+    return $this->offers;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
+{
+  protected $collection_key = 'sharedTargetings';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
+  protected $buyerPrivateDataDataType = '';
+  public $creationTimeMs;
+  public $dealId;
+  protected $deliveryControlType = 'Google_Service_AdExchangeBuyer_DeliveryControl';
+  protected $deliveryControlDataType = '';
+  public $externalDealId;
+  public $flightEndTimeMs;
+  public $flightStartTimeMs;
+  public $inventoryDescription;
+  public $kind;
+  public $lastUpdateTimeMs;
+  public $name;
+  public $offerId;
+  public $offerRevisionNumber;
+  public $orderId;
+  protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
+  protected $sellerContactsDataType = 'array';
+  protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
+  protected $sharedTargetingsDataType = 'array';
+  public $syndicationProduct;
+  protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
+  protected $termsDataType = '';
+  public $webPropertyCode;
+
+
+  public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
+  {
+    $this->buyerPrivateData = $buyerPrivateData;
+  }
+  public function getBuyerPrivateData()
+  {
+    return $this->buyerPrivateData;
+  }
+  public function setCreationTimeMs($creationTimeMs)
+  {
+    $this->creationTimeMs = $creationTimeMs;
+  }
+  public function getCreationTimeMs()
+  {
+    return $this->creationTimeMs;
+  }
+  public function setDealId($dealId)
+  {
+    $this->dealId = $dealId;
+  }
+  public function getDealId()
+  {
+    return $this->dealId;
+  }
+  public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl)
+  {
+    $this->deliveryControl = $deliveryControl;
+  }
+  public function getDeliveryControl()
+  {
+    return $this->deliveryControl;
+  }
+  public function setExternalDealId($externalDealId)
+  {
+    $this->externalDealId = $externalDealId;
+  }
+  public function getExternalDealId()
+  {
+    return $this->externalDealId;
+  }
+  public function setFlightEndTimeMs($flightEndTimeMs)
+  {
+    $this->flightEndTimeMs = $flightEndTimeMs;
+  }
+  public function getFlightEndTimeMs()
+  {
+    return $this->flightEndTimeMs;
+  }
+  public function setFlightStartTimeMs($flightStartTimeMs)
+  {
+    $this->flightStartTimeMs = $flightStartTimeMs;
+  }
+  public function getFlightStartTimeMs()
+  {
+    return $this->flightStartTimeMs;
+  }
+  public function setInventoryDescription($inventoryDescription)
+  {
+    $this->inventoryDescription = $inventoryDescription;
+  }
+  public function getInventoryDescription()
+  {
+    return $this->inventoryDescription;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setLastUpdateTimeMs($lastUpdateTimeMs)
+  {
+    $this->lastUpdateTimeMs = $lastUpdateTimeMs;
+  }
+  public function getLastUpdateTimeMs()
+  {
+    return $this->lastUpdateTimeMs;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+  public function setOfferId($offerId)
+  {
+    $this->offerId = $offerId;
+  }
+  public function getOfferId()
+  {
+    return $this->offerId;
+  }
+  public function setOfferRevisionNumber($offerRevisionNumber)
+  {
+    $this->offerRevisionNumber = $offerRevisionNumber;
+  }
+  public function getOfferRevisionNumber()
+  {
+    return $this->offerRevisionNumber;
+  }
+  public function setOrderId($orderId)
+  {
+    $this->orderId = $orderId;
+  }
+  public function getOrderId()
+  {
+    return $this->orderId;
+  }
+  public function setSellerContacts($sellerContacts)
+  {
+    $this->sellerContacts = $sellerContacts;
+  }
+  public function getSellerContacts()
+  {
+    return $this->sellerContacts;
+  }
+  public function setSharedTargetings($sharedTargetings)
+  {
+    $this->sharedTargetings = $sharedTargetings;
+  }
+  public function getSharedTargetings()
+  {
+    return $this->sharedTargetings;
+  }
+  public function setSyndicationProduct($syndicationProduct)
+  {
+    $this->syndicationProduct = $syndicationProduct;
+  }
+  public function getSyndicationProduct()
+  {
+    return $this->syndicationProduct;
+  }
+  public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
+  {
+    $this->terms = $terms;
+  }
+  public function getTerms()
+  {
+    return $this->terms;
+  }
+  public function setWebPropertyCode($webPropertyCode)
+  {
+    $this->webPropertyCode = $webPropertyCode;
+  }
+  public function getWebPropertyCode()
+  {
+    return $this->webPropertyCode;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_MarketplaceDealParty extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
+  protected $buyerDataType = '';
+  protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
+  protected $sellerDataType = '';
+
+
+  public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
+  {
+    $this->buyer = $buyer;
+  }
+  public function getBuyer()
+  {
+    return $this->buyer;
+  }
+  public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
+  {
+    $this->seller = $seller;
+  }
+  public function getSeller()
+  {
+    return $this->seller;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_MarketplaceLabel extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $accountId;
+  public $createTimeMs;
+  protected $deprecatedMarketplaceDealPartyType = 'Google_Service_AdExchangeBuyer_MarketplaceDealParty';
+  protected $deprecatedMarketplaceDealPartyDataType = '';
+  public $label;
+
+
+  public function setAccountId($accountId)
+  {
+    $this->accountId = $accountId;
+  }
+  public function getAccountId()
+  {
+    return $this->accountId;
+  }
+  public function setCreateTimeMs($createTimeMs)
+  {
+    $this->createTimeMs = $createTimeMs;
+  }
+  public function getCreateTimeMs()
+  {
+    return $this->createTimeMs;
+  }
+  public function setDeprecatedMarketplaceDealParty(Google_Service_AdExchangeBuyer_MarketplaceDealParty $deprecatedMarketplaceDealParty)
+  {
+    $this->deprecatedMarketplaceDealParty = $deprecatedMarketplaceDealParty;
+  }
+  public function getDeprecatedMarketplaceDealParty()
+  {
+    return $this->deprecatedMarketplaceDealParty;
+  }
+  public function setLabel($label)
+  {
+    $this->label = $label;
+  }
+  public function getLabel()
+  {
+    return $this->label;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_MarketplaceNote extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $creatorRole;
+  public $dealId;
+  public $kind;
+  public $note;
+  public $noteId;
+  public $orderId;
+  public $orderRevisionNumber;
+  public $timestampMs;
+
+
+  public function setCreatorRole($creatorRole)
+  {
+    $this->creatorRole = $creatorRole;
+  }
+  public function getCreatorRole()
+  {
+    return $this->creatorRole;
+  }
+  public function setDealId($dealId)
+  {
+    $this->dealId = $dealId;
+  }
+  public function getDealId()
+  {
+    return $this->dealId;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setNote($note)
+  {
+    $this->note = $note;
+  }
+  public function getNote()
+  {
+    return $this->note;
+  }
+  public function setNoteId($noteId)
+  {
+    $this->noteId = $noteId;
+  }
+  public function getNoteId()
+  {
+    return $this->noteId;
+  }
+  public function setOrderId($orderId)
+  {
+    $this->orderId = $orderId;
+  }
+  public function getOrderId()
+  {
+    return $this->orderId;
+  }
+  public function setOrderRevisionNumber($orderRevisionNumber)
+  {
+    $this->orderRevisionNumber = $orderRevisionNumber;
+  }
+  public function getOrderRevisionNumber()
+  {
+    return $this->orderRevisionNumber;
+  }
+  public function setTimestampMs($timestampMs)
+  {
+    $this->timestampMs = $timestampMs;
+  }
+  public function getTimestampMs()
+  {
+    return $this->timestampMs;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_MarketplaceOffer extends Google_Collection
+{
+  protected $collection_key = 'sharedTargetings';
+  protected $internal_gapi_mappings = array(
+  );
+  public $creationTimeMs;
+  protected $creatorContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
+  protected $creatorContactsDataType = 'array';
+  public $flightEndTimeMs;
+  public $flightStartTimeMs;
+  public $hasCreatorSignedOff;
+  public $kind;
+  protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
+  protected $labelsDataType = 'array';
+  public $lastUpdateTimeMs;
+  public $name;
+  public $offerId;
+  public $revisionNumber;
+  protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
+  protected $sellerDataType = '';
+  protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
+  protected $sharedTargetingsDataType = 'array';
+  public $state;
+  public $syndicationProduct;
+  protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
+  protected $termsDataType = '';
+  public $webPropertyCode;
+
+
+  public function setCreationTimeMs($creationTimeMs)
+  {
+    $this->creationTimeMs = $creationTimeMs;
+  }
+  public function getCreationTimeMs()
+  {
+    return $this->creationTimeMs;
+  }
+  public function setCreatorContacts($creatorContacts)
+  {
+    $this->creatorContacts = $creatorContacts;
+  }
+  public function getCreatorContacts()
+  {
+    return $this->creatorContacts;
+  }
+  public function setFlightEndTimeMs($flightEndTimeMs)
+  {
+    $this->flightEndTimeMs = $flightEndTimeMs;
+  }
+  public function getFlightEndTimeMs()
+  {
+    return $this->flightEndTimeMs;
+  }
+  public function setFlightStartTimeMs($flightStartTimeMs)
+  {
+    $this->flightStartTimeMs = $flightStartTimeMs;
+  }
+  public function getFlightStartTimeMs()
+  {
+    return $this->flightStartTimeMs;
+  }
+  public function setHasCreatorSignedOff($hasCreatorSignedOff)
+  {
+    $this->hasCreatorSignedOff = $hasCreatorSignedOff;
+  }
+  public function getHasCreatorSignedOff()
+  {
+    return $this->hasCreatorSignedOff;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setLabels($labels)
+  {
+    $this->labels = $labels;
+  }
+  public function getLabels()
+  {
+    return $this->labels;
+  }
+  public function setLastUpdateTimeMs($lastUpdateTimeMs)
+  {
+    $this->lastUpdateTimeMs = $lastUpdateTimeMs;
+  }
+  public function getLastUpdateTimeMs()
+  {
+    return $this->lastUpdateTimeMs;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+  public function setOfferId($offerId)
+  {
+    $this->offerId = $offerId;
+  }
+  public function getOfferId()
+  {
+    return $this->offerId;
+  }
+  public function setRevisionNumber($revisionNumber)
+  {
+    $this->revisionNumber = $revisionNumber;
+  }
+  public function getRevisionNumber()
+  {
+    return $this->revisionNumber;
+  }
+  public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
+  {
+    $this->seller = $seller;
+  }
+  public function getSeller()
+  {
+    return $this->seller;
+  }
+  public function setSharedTargetings($sharedTargetings)
+  {
+    $this->sharedTargetings = $sharedTargetings;
+  }
+  public function getSharedTargetings()
+  {
+    return $this->sharedTargetings;
+  }
+  public function setState($state)
+  {
+    $this->state = $state;
+  }
+  public function getState()
+  {
+    return $this->state;
+  }
+  public function setSyndicationProduct($syndicationProduct)
+  {
+    $this->syndicationProduct = $syndicationProduct;
+  }
+  public function getSyndicationProduct()
+  {
+    return $this->syndicationProduct;
+  }
+  public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
+  {
+    $this->terms = $terms;
+  }
+  public function getTerms()
+  {
+    return $this->terms;
+  }
+  public function setWebPropertyCode($webPropertyCode)
+  {
+    $this->webPropertyCode = $webPropertyCode;
+  }
+  public function getWebPropertyCode()
+  {
+    return $this->webPropertyCode;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_MarketplaceOrder extends Google_Collection
+{
+  protected $collection_key = 'sellerContacts';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_Buyer';
+  protected $billedBuyerDataType = '';
+  protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
+  protected $buyerDataType = '';
+  protected $buyerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
+  protected $buyerContactsDataType = 'array';
+  protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
+  protected $buyerPrivateDataDataType = '';
+  public $hasBuyerSignedOff;
+  public $hasSellerSignedOff;
+  public $isRenegotiating;
+  public $isSetupComplete;
+  public $kind;
+  protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
+  protected $labelsDataType = 'array';
+  public $lastUpdaterOrCommentorRole;
+  public $lastUpdaterRole;
+  public $name;
+  public $orderId;
+  public $orderState;
+  public $originatorRole;
+  public $revisionNumber;
+  public $revisionTimeMs;
+  protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
+  protected $sellerDataType = '';
+  protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
+  protected $sellerContactsDataType = 'array';
+
+
+  public function setBilledBuyer(Google_Service_AdExchangeBuyer_Buyer $billedBuyer)
+  {
+    $this->billedBuyer = $billedBuyer;
+  }
+  public function getBilledBuyer()
+  {
+    return $this->billedBuyer;
+  }
+  public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
+  {
+    $this->buyer = $buyer;
+  }
+  public function getBuyer()
+  {
+    return $this->buyer;
+  }
+  public function setBuyerContacts($buyerContacts)
+  {
+    $this->buyerContacts = $buyerContacts;
+  }
+  public function getBuyerContacts()
+  {
+    return $this->buyerContacts;
+  }
+  public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
+  {
+    $this->buyerPrivateData = $buyerPrivateData;
+  }
+  public function getBuyerPrivateData()
+  {
+    return $this->buyerPrivateData;
+  }
+  public function setHasBuyerSignedOff($hasBuyerSignedOff)
+  {
+    $this->hasBuyerSignedOff = $hasBuyerSignedOff;
+  }
+  public function getHasBuyerSignedOff()
+  {
+    return $this->hasBuyerSignedOff;
+  }
+  public function setHasSellerSignedOff($hasSellerSignedOff)
+  {
+    $this->hasSellerSignedOff = $hasSellerSignedOff;
+  }
+  public function getHasSellerSignedOff()
+  {
+    return $this->hasSellerSignedOff;
+  }
+  public function setIsRenegotiating($isRenegotiating)
+  {
+    $this->isRenegotiating = $isRenegotiating;
+  }
+  public function getIsRenegotiating()
+  {
+    return $this->isRenegotiating;
+  }
+  public function setIsSetupComplete($isSetupComplete)
+  {
+    $this->isSetupComplete = $isSetupComplete;
+  }
+  public function getIsSetupComplete()
+  {
+    return $this->isSetupComplete;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setLabels($labels)
+  {
+    $this->labels = $labels;
+  }
+  public function getLabels()
+  {
+    return $this->labels;
+  }
+  public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole)
+  {
+    $this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole;
+  }
+  public function getLastUpdaterOrCommentorRole()
+  {
+    return $this->lastUpdaterOrCommentorRole;
+  }
+  public function setLastUpdaterRole($lastUpdaterRole)
+  {
+    $this->lastUpdaterRole = $lastUpdaterRole;
+  }
+  public function getLastUpdaterRole()
+  {
+    return $this->lastUpdaterRole;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+  public function setOrderId($orderId)
+  {
+    $this->orderId = $orderId;
+  }
+  public function getOrderId()
+  {
+    return $this->orderId;
+  }
+  public function setOrderState($orderState)
+  {
+    $this->orderState = $orderState;
+  }
+  public function getOrderState()
+  {
+    return $this->orderState;
+  }
+  public function setOriginatorRole($originatorRole)
+  {
+    $this->originatorRole = $originatorRole;
+  }
+  public function getOriginatorRole()
+  {
+    return $this->originatorRole;
+  }
+  public function setRevisionNumber($revisionNumber)
+  {
+    $this->revisionNumber = $revisionNumber;
+  }
+  public function getRevisionNumber()
+  {
+    return $this->revisionNumber;
+  }
+  public function setRevisionTimeMs($revisionTimeMs)
+  {
+    $this->revisionTimeMs = $revisionTimeMs;
+  }
+  public function getRevisionTimeMs()
+  {
+    return $this->revisionTimeMs;
+  }
+  public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
+  {
+    $this->seller = $seller;
+  }
+  public function getSeller()
+  {
+    return $this->seller;
+  }
+  public function setSellerContacts($sellerContacts)
+  {
+    $this->sellerContacts = $sellerContacts;
+  }
+  public function getSellerContacts()
+  {
+    return $this->sellerContacts;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_MoneyDto extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $currencyCode;
+  public $micros;
+
+
+  public function setCurrencyCode($currencyCode)
+  {
+    $this->currencyCode = $currencyCode;
+  }
+  public function getCurrencyCode()
+  {
+    return $this->currencyCode;
+  }
+  public function setMicros($micros)
+  {
+    $this->micros = $micros;
+  }
+  public function getMicros()
+  {
+    return $this->micros;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_NegotiationDto extends Google_Collection
+{
+  protected $collection_key = 'sellerEmailContacts';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
+  protected $billedBuyerDataType = '';
+  protected $buyerType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
+  protected $buyerDataType = '';
+  public $buyerEmailContacts;
+  public $dealType;
+  public $externalDealId;
+  public $kind;
+  public $labelNames;
+  public $negotiationId;
+  protected $negotiationRoundsType = 'Google_Service_AdExchangeBuyer_NegotiationRoundDto';
+  protected $negotiationRoundsDataType = 'array';
+  public $negotiationState;
+  public $offerId;
+  protected $sellerType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
+  protected $sellerDataType = '';
+  public $sellerEmailContacts;
+  protected $statsType = 'Google_Service_AdExchangeBuyer_StatsDto';
+  protected $statsDataType = '';
+  public $status;
+
+
+  public function setBilledBuyer(Google_Service_AdExchangeBuyer_DealPartyDto $billedBuyer)
+  {
+    $this->billedBuyer = $billedBuyer;
+  }
+  public function getBilledBuyer()
+  {
+    return $this->billedBuyer;
+  }
+  public function setBuyer(Google_Service_AdExchangeBuyer_DealPartyDto $buyer)
+  {
+    $this->buyer = $buyer;
+  }
+  public function getBuyer()
+  {
+    return $this->buyer;
+  }
+  public function setBuyerEmailContacts($buyerEmailContacts)
+  {
+    $this->buyerEmailContacts = $buyerEmailContacts;
+  }
+  public function getBuyerEmailContacts()
+  {
+    return $this->buyerEmailContacts;
+  }
+  public function setDealType($dealType)
+  {
+    $this->dealType = $dealType;
+  }
+  public function getDealType()
+  {
+    return $this->dealType;
+  }
+  public function setExternalDealId($externalDealId)
+  {
+    $this->externalDealId = $externalDealId;
+  }
+  public function getExternalDealId()
+  {
+    return $this->externalDealId;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setLabelNames($labelNames)
+  {
+    $this->labelNames = $labelNames;
+  }
+  public function getLabelNames()
+  {
+    return $this->labelNames;
+  }
+  public function setNegotiationId($negotiationId)
+  {
+    $this->negotiationId = $negotiationId;
+  }
+  public function getNegotiationId()
+  {
+    return $this->negotiationId;
+  }
+  public function setNegotiationRounds($negotiationRounds)
+  {
+    $this->negotiationRounds = $negotiationRounds;
+  }
+  public function getNegotiationRounds()
+  {
+    return $this->negotiationRounds;
+  }
+  public function setNegotiationState($negotiationState)
+  {
+    $this->negotiationState = $negotiationState;
+  }
+  public function getNegotiationState()
+  {
+    return $this->negotiationState;
+  }
+  public function setOfferId($offerId)
+  {
+    $this->offerId = $offerId;
+  }
+  public function getOfferId()
+  {
+    return $this->offerId;
+  }
+  public function setSeller(Google_Service_AdExchangeBuyer_DealPartyDto $seller)
+  {
+    $this->seller = $seller;
+  }
+  public function getSeller()
+  {
+    return $this->seller;
+  }
+  public function setSellerEmailContacts($sellerEmailContacts)
+  {
+    $this->sellerEmailContacts = $sellerEmailContacts;
+  }
+  public function getSellerEmailContacts()
+  {
+    return $this->sellerEmailContacts;
+  }
+  public function setStats(Google_Service_AdExchangeBuyer_StatsDto $stats)
+  {
+    $this->stats = $stats;
+  }
+  public function getStats()
+  {
+    return $this->stats;
+  }
+  public function setStatus($status)
+  {
+    $this->status = $status;
+  }
+  public function getStatus()
+  {
+    return $this->status;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_NegotiationRoundDto extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $action;
+  public $dbmPartnerId;
+  protected $editHistoryType = 'Google_Service_AdExchangeBuyer_EditHistoryDto';
+  protected $editHistoryDataType = '';
+  public $kind;
+  public $negotiationId;
+  public $notes;
+  public $originatorRole;
+  public $roundNumber;
+  protected $termsType = 'Google_Service_AdExchangeBuyer_TermsDto';
+  protected $termsDataType = '';
+
+
+  public function setAction($action)
+  {
+    $this->action = $action;
+  }
+  public function getAction()
+  {
+    return $this->action;
+  }
+  public function setDbmPartnerId($dbmPartnerId)
+  {
+    $this->dbmPartnerId = $dbmPartnerId;
+  }
+  public function getDbmPartnerId()
+  {
+    return $this->dbmPartnerId;
+  }
+  public function setEditHistory(Google_Service_AdExchangeBuyer_EditHistoryDto $editHistory)
+  {
+    $this->editHistory = $editHistory;
+  }
+  public function getEditHistory()
+  {
+    return $this->editHistory;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setNegotiationId($negotiationId)
+  {
+    $this->negotiationId = $negotiationId;
+  }
+  public function getNegotiationId()
+  {
+    return $this->negotiationId;
+  }
+  public function setNotes($notes)
+  {
+    $this->notes = $notes;
+  }
+  public function getNotes()
+  {
+    return $this->notes;
+  }
+  public function setOriginatorRole($originatorRole)
+  {
+    $this->originatorRole = $originatorRole;
+  }
+  public function getOriginatorRole()
+  {
+    return $this->originatorRole;
+  }
+  public function setRoundNumber($roundNumber)
+  {
+    $this->roundNumber = $roundNumber;
+  }
+  public function getRoundNumber()
+  {
+    return $this->roundNumber;
+  }
+  public function setTerms(Google_Service_AdExchangeBuyer_TermsDto $terms)
+  {
+    $this->terms = $terms;
+  }
+  public function getTerms()
+  {
+    return $this->terms;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_OfferDto extends Google_Collection
+{
+  protected $collection_key = 'openToDealParties';
+  protected $internal_gapi_mappings = array(
+  );
+  public $anonymous;
+  protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
+  protected $billedBuyerDataType = '';
+  protected $closedToDealPartiesType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
+  protected $closedToDealPartiesDataType = 'array';
+  protected $creatorType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
+  protected $creatorDataType = '';
+  public $emailContacts;
+  public $isOpen;
+  public $kind;
+  public $labelNames;
+  public $offerId;
+  public $offerState;
+  protected $openToDealPartiesType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
+  protected $openToDealPartiesDataType = 'array';
+  public $pointOfContact;
+  public $status;
+  protected $termsType = 'Google_Service_AdExchangeBuyer_TermsDto';
+  protected $termsDataType = '';
+
+
+  public function setAnonymous($anonymous)
+  {
+    $this->anonymous = $anonymous;
+  }
+  public function getAnonymous()
+  {
+    return $this->anonymous;
+  }
+  public function setBilledBuyer(Google_Service_AdExchangeBuyer_DealPartyDto $billedBuyer)
+  {
+    $this->billedBuyer = $billedBuyer;
+  }
+  public function getBilledBuyer()
+  {
+    return $this->billedBuyer;
+  }
+  public function setClosedToDealParties($closedToDealParties)
+  {
+    $this->closedToDealParties = $closedToDealParties;
+  }
+  public function getClosedToDealParties()
+  {
+    return $this->closedToDealParties;
+  }
+  public function setCreator(Google_Service_AdExchangeBuyer_DealPartyDto $creator)
+  {
+    $this->creator = $creator;
+  }
+  public function getCreator()
+  {
+    return $this->creator;
+  }
+  public function setEmailContacts($emailContacts)
+  {
+    $this->emailContacts = $emailContacts;
+  }
+  public function getEmailContacts()
+  {
+    return $this->emailContacts;
+  }
+  public function setIsOpen($isOpen)
+  {
+    $this->isOpen = $isOpen;
+  }
+  public function getIsOpen()
+  {
+    return $this->isOpen;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setLabelNames($labelNames)
+  {
+    $this->labelNames = $labelNames;
+  }
+  public function getLabelNames()
+  {
+    return $this->labelNames;
+  }
+  public function setOfferId($offerId)
+  {
+    $this->offerId = $offerId;
+  }
+  public function getOfferId()
+  {
+    return $this->offerId;
+  }
+  public function setOfferState($offerState)
+  {
+    $this->offerState = $offerState;
+  }
+  public function getOfferState()
+  {
+    return $this->offerState;
+  }
+  public function setOpenToDealParties($openToDealParties)
+  {
+    $this->openToDealParties = $openToDealParties;
+  }
+  public function getOpenToDealParties()
+  {
+    return $this->openToDealParties;
+  }
+  public function setPointOfContact($pointOfContact)
+  {
+    $this->pointOfContact = $pointOfContact;
+  }
+  public function getPointOfContact()
+  {
+    return $this->pointOfContact;
+  }
+  public function setStatus($status)
+  {
+    $this->status = $status;
+  }
+  public function getStatus()
+  {
+    return $this->status;
+  }
+  public function setTerms(Google_Service_AdExchangeBuyer_TermsDto $terms)
+  {
+    $this->terms = $terms;
+  }
+  public function getTerms()
+  {
+    return $this->terms;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
+{
+  protected $collection_key = 'hostedMatchStatusRate';
+  protected $internal_gapi_mappings = array(
+  );
+  public $bidRate;
+  public $bidRequestRate;
+  public $calloutStatusRate;
+  public $cookieMatcherStatusRate;
+  public $creativeStatusRate;
+  public $filteredBidRate;
+  public $hostedMatchStatusRate;
+  public $inventoryMatchRate;
+  public $kind;
+  public $latency50thPercentile;
+  public $latency85thPercentile;
+  public $latency95thPercentile;
+  public $noQuotaInRegion;
+  public $outOfQuota;
+  public $pixelMatchRequests;
+  public $pixelMatchResponses;
+  public $quotaConfiguredLimit;
+  public $quotaThrottledLimit;
+  public $region;
+  public $successfulRequestRate;
+  public $timestamp;
+  public $unsuccessfulRequestRate;
+
+
+  public function setBidRate($bidRate)
+  {
+    $this->bidRate = $bidRate;
+  }
+  public function getBidRate()
+  {
+    return $this->bidRate;
+  }
+  public function setBidRequestRate($bidRequestRate)
+  {
+    $this->bidRequestRate = $bidRequestRate;
+  }
+  public function getBidRequestRate()
+  {
+    return $this->bidRequestRate;
+  }
+  public function setCalloutStatusRate($calloutStatusRate)
+  {
+    $this->calloutStatusRate = $calloutStatusRate;
+  }
+  public function getCalloutStatusRate()
+  {
+    return $this->calloutStatusRate;
+  }
+  public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
+  {
+    $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
+  }
+  public function getCookieMatcherStatusRate()
+  {
+    return $this->cookieMatcherStatusRate;
+  }
+  public function setCreativeStatusRate($creativeStatusRate)
+  {
+    $this->creativeStatusRate = $creativeStatusRate;
+  }
+  public function getCreativeStatusRate()
+  {
+    return $this->creativeStatusRate;
+  }
+  public function setFilteredBidRate($filteredBidRate)
+  {
+    $this->filteredBidRate = $filteredBidRate;
+  }
+  public function getFilteredBidRate()
+  {
+    return $this->filteredBidRate;
+  }
+  public function setHostedMatchStatusRate($hostedMatchStatusRate)
+  {
+    $this->hostedMatchStatusRate = $hostedMatchStatusRate;
+  }
+  public function getHostedMatchStatusRate()
+  {
+    return $this->hostedMatchStatusRate;
+  }
+  public function setInventoryMatchRate($inventoryMatchRate)
+  {
+    $this->inventoryMatchRate = $inventoryMatchRate;
+  }
+  public function getInventoryMatchRate()
+  {
+    return $this->inventoryMatchRate;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setLatency50thPercentile($latency50thPercentile)
+  {
+    $this->latency50thPercentile = $latency50thPercentile;
+  }
+  public function getLatency50thPercentile()
+  {
+    return $this->latency50thPercentile;
+  }
+  public function setLatency85thPercentile($latency85thPercentile)
+  {
+    $this->latency85thPercentile = $latency85thPercentile;
+  }
+  public function getLatency85thPercentile()
+  {
+    return $this->latency85thPercentile;
+  }
+  public function setLatency95thPercentile($latency95thPercentile)
+  {
+    $this->latency95thPercentile = $latency95thPercentile;
+  }
+  public function getLatency95thPercentile()
+  {
+    return $this->latency95thPercentile;
+  }
+  public function setNoQuotaInRegion($noQuotaInRegion)
+  {
+    $this->noQuotaInRegion = $noQuotaInRegion;
+  }
+  public function getNoQuotaInRegion()
+  {
+    return $this->noQuotaInRegion;
+  }
+  public function setOutOfQuota($outOfQuota)
+  {
+    $this->outOfQuota = $outOfQuota;
+  }
+  public function getOutOfQuota()
+  {
+    return $this->outOfQuota;
+  }
+  public function setPixelMatchRequests($pixelMatchRequests)
+  {
+    $this->pixelMatchRequests = $pixelMatchRequests;
+  }
+  public function getPixelMatchRequests()
+  {
+    return $this->pixelMatchRequests;
+  }
+  public function setPixelMatchResponses($pixelMatchResponses)
+  {
+    $this->pixelMatchResponses = $pixelMatchResponses;
+  }
+  public function getPixelMatchResponses()
+  {
+    return $this->pixelMatchResponses;
+  }
+  public function setQuotaConfiguredLimit($quotaConfiguredLimit)
+  {
+    $this->quotaConfiguredLimit = $quotaConfiguredLimit;
+  }
+  public function getQuotaConfiguredLimit()
+  {
+    return $this->quotaConfiguredLimit;
+  }
+  public function setQuotaThrottledLimit($quotaThrottledLimit)
+  {
+    $this->quotaThrottledLimit = $quotaThrottledLimit;
+  }
+  public function getQuotaThrottledLimit()
+  {
+    return $this->quotaThrottledLimit;
+  }
+  public function setRegion($region)
+  {
+    $this->region = $region;
+  }
+  public function getRegion()
+  {
+    return $this->region;
+  }
+  public function setSuccessfulRequestRate($successfulRequestRate)
+  {
+    $this->successfulRequestRate = $successfulRequestRate;
+  }
+  public function getSuccessfulRequestRate()
+  {
+    return $this->successfulRequestRate;
+  }
+  public function setTimestamp($timestamp)
+  {
+    $this->timestamp = $timestamp;
+  }
+  public function getTimestamp()
+  {
+    return $this->timestamp;
+  }
+  public function setUnsuccessfulRequestRate($unsuccessfulRequestRate)
+  {
+    $this->unsuccessfulRequestRate = $unsuccessfulRequestRate;
+  }
+  public function getUnsuccessfulRequestRate()
+  {
+    return $this->unsuccessfulRequestRate;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
+{
+  protected $collection_key = 'performanceReport';
+  protected $internal_gapi_mappings = array(
+  );
+  public $kind;
+  protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport';
+  protected $performanceReportDataType = 'array';
+
+
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setPerformanceReport($performanceReport)
+  {
+    $this->performanceReport = $performanceReport;
+  }
+  public function getPerformanceReport()
+  {
+    return $this->performanceReport;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
+{
+  protected $collection_key = 'verticals';
+  protected $internal_gapi_mappings = array(
+  );
+  public $billingId;
+  public $configId;
+  public $configName;
+  public $creativeType;
+  protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
+  protected $dimensionsDataType = 'array';
+  public $excludedContentLabels;
+  public $excludedGeoCriteriaIds;
+  protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
+  protected $excludedPlacementsDataType = 'array';
+  public $excludedUserLists;
+  public $excludedVerticals;
+  public $geoCriteriaIds;
+  public $isActive;
+  public $kind;
+  public $languages;
+  public $mobileCarriers;
+  public $mobileDevices;
+  public $mobileOperatingSystemVersions;
+  protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
+  protected $placementsDataType = 'array';
+  public $platforms;
+  public $supportedCreativeAttributes;
+  public $userLists;
+  public $vendorTypes;
+  public $verticals;
+
+
+  public function setBillingId($billingId)
+  {
+    $this->billingId = $billingId;
+  }
+  public function getBillingId()
+  {
+    return $this->billingId;
+  }
+  public function setConfigId($configId)
+  {
+    $this->configId = $configId;
+  }
+  public function getConfigId()
+  {
+    return $this->configId;
+  }
+  public function setConfigName($configName)
+  {
+    $this->configName = $configName;
+  }
+  public function getConfigName()
+  {
+    return $this->configName;
+  }
+  public function setCreativeType($creativeType)
+  {
+    $this->creativeType = $creativeType;
+  }
+  public function getCreativeType()
+  {
+    return $this->creativeType;
+  }
+  public function setDimensions($dimensions)
+  {
+    $this->dimensions = $dimensions;
+  }
+  public function getDimensions()
+  {
+    return $this->dimensions;
+  }
+  public function setExcludedContentLabels($excludedContentLabels)
+  {
+    $this->excludedContentLabels = $excludedContentLabels;
+  }
+  public function getExcludedContentLabels()
+  {
+    return $this->excludedContentLabels;
+  }
+  public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
+  {
+    $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
+  }
+  public function getExcludedGeoCriteriaIds()
+  {
+    return $this->excludedGeoCriteriaIds;
+  }
+  public function setExcludedPlacements($excludedPlacements)
+  {
+    $this->excludedPlacements = $excludedPlacements;
+  }
+  public function getExcludedPlacements()
+  {
+    return $this->excludedPlacements;
+  }
+  public function setExcludedUserLists($excludedUserLists)
+  {
+    $this->excludedUserLists = $excludedUserLists;
+  }
+  public function getExcludedUserLists()
+  {
+    return $this->excludedUserLists;
+  }
+  public function setExcludedVerticals($excludedVerticals)
+  {
+    $this->excludedVerticals = $excludedVerticals;
+  }
+  public function getExcludedVerticals()
+  {
+    return $this->excludedVerticals;
+  }
+  public function setGeoCriteriaIds($geoCriteriaIds)
+  {
+    $this->geoCriteriaIds = $geoCriteriaIds;
+  }
+  public function getGeoCriteriaIds()
+  {
+    return $this->geoCriteriaIds;
+  }
+  public function setIsActive($isActive)
+  {
+    $this->isActive = $isActive;
+  }
+  public function getIsActive()
+  {
+    return $this->isActive;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setLanguages($languages)
+  {
+    $this->languages = $languages;
+  }
+  public function getLanguages()
+  {
+    return $this->languages;
+  }
+  public function setMobileCarriers($mobileCarriers)
+  {
+    $this->mobileCarriers = $mobileCarriers;
+  }
+  public function getMobileCarriers()
+  {
+    return $this->mobileCarriers;
+  }
+  public function setMobileDevices($mobileDevices)
+  {
+    $this->mobileDevices = $mobileDevices;
+  }
+  public function getMobileDevices()
+  {
+    return $this->mobileDevices;
+  }
+  public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
+  {
+    $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
+  }
+  public function getMobileOperatingSystemVersions()
+  {
+    return $this->mobileOperatingSystemVersions;
+  }
+  public function setPlacements($placements)
+  {
+    $this->placements = $placements;
+  }
+  public function getPlacements()
+  {
+    return $this->placements;
+  }
+  public function setPlatforms($platforms)
+  {
+    $this->platforms = $platforms;
+  }
+  public function getPlatforms()
+  {
+    return $this->platforms;
+  }
+  public function setSupportedCreativeAttributes($supportedCreativeAttributes)
+  {
+    $this->supportedCreativeAttributes = $supportedCreativeAttributes;
+  }
+  public function getSupportedCreativeAttributes()
+  {
+    return $this->supportedCreativeAttributes;
+  }
+  public function setUserLists($userLists)
+  {
+    $this->userLists = $userLists;
+  }
+  public function getUserLists()
+  {
+    return $this->userLists;
+  }
+  public function setVendorTypes($vendorTypes)
+  {
+    $this->vendorTypes = $vendorTypes;
+  }
+  public function getVendorTypes()
+  {
+    return $this->vendorTypes;
+  }
+  public function setVerticals($verticals)
+  {
+    $this->verticals = $verticals;
+  }
+  public function getVerticals()
+  {
+    return $this->verticals;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $height;
+  public $width;
+
+
+  public function setHeight($height)
+  {
+    $this->height = $height;
+  }
+  public function getHeight()
+  {
+    return $this->height;
+  }
+  public function setWidth($width)
+  {
+    $this->width = $width;
   }
-  public function getReasons()
+  public function getWidth()
   {
-    return $this->reasons;
+    return $this->width;
   }
 }
 
-class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
+class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
 {
   protected $internal_gapi_mappings = array(
   );
-  public $filteringCount;
-  public $filteringStatus;
+  public $token;
+  public $type;
 
 
-  public function setFilteringCount($filteringCount)
+  public function setToken($token)
   {
-    $this->filteringCount = $filteringCount;
+    $this->token = $token;
   }
-  public function getFilteringCount()
+  public function getToken()
   {
-    return $this->filteringCount;
+    return $this->token;
   }
-  public function setFilteringStatus($filteringStatus)
+  public function setType($type)
   {
-    $this->filteringStatus = $filteringStatus;
+    $this->type = $type;
   }
-  public function getFilteringStatus()
+  public function getType()
   {
-    return $this->filteringStatus;
+    return $this->type;
   }
 }
 
-class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
+class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
 {
   protected $collection_key = 'items';
   protected $internal_gapi_mappings = array(
   );
-  protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
+  protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
   protected $itemsDataType = 'array';
   public $kind;
-  public $nextPageToken;
 
 
   public function setItems($items)
@@ -1435,49 +5859,49 @@ class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
   {
     return $this->kind;
   }
-  public function setNextPageToken($nextPageToken)
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $token;
+  public $type;
+
+
+  public function setToken($token)
   {
-    $this->nextPageToken = $nextPageToken;
+    $this->token = $token;
   }
-  public function getNextPageToken()
+  public function getToken()
   {
-    return $this->nextPageToken;
+    return $this->token;
+  }
+  public function setType($type)
+  {
+    $this->type = $type;
+  }
+  public function getType()
+  {
+    return $this->type;
   }
 }
 
-class Google_Service_AdExchangeBuyer_DirectDeal extends Google_Model
+class Google_Service_AdExchangeBuyer_Price extends Google_Model
 {
   protected $internal_gapi_mappings = array(
   );
-  public $accountId;
-  public $advertiser;
+  public $amountMicros;
   public $currencyCode;
-  public $endTime;
-  public $fixedCpm;
-  public $id;
-  public $kind;
-  public $name;
-  public $privateExchangeMinCpm;
-  public $publisherBlocksOverriden;
-  public $sellerNetwork;
-  public $startTime;
 
 
-  public function setAccountId($accountId)
-  {
-    $this->accountId = $accountId;
-  }
-  public function getAccountId()
-  {
-    return $this->accountId;
-  }
-  public function setAdvertiser($advertiser)
+  public function setAmountMicros($amountMicros)
   {
-    $this->advertiser = $advertiser;
+    $this->amountMicros = $amountMicros;
   }
-  public function getAdvertiser()
+  public function getAmountMicros()
   {
-    return $this->advertiser;
+    return $this->amountMicros;
   }
   public function setCurrencyCode($currencyCode)
   {
@@ -1487,664 +5911,736 @@ class Google_Service_AdExchangeBuyer_DirectDeal extends Google_Model
   {
     return $this->currencyCode;
   }
-  public function setEndTime($endTime)
-  {
-    $this->endTime = $endTime;
-  }
-  public function getEndTime()
-  {
-    return $this->endTime;
-  }
-  public function setFixedCpm($fixedCpm)
-  {
-    $this->fixedCpm = $fixedCpm;
-  }
-  public function getFixedCpm()
-  {
-    return $this->fixedCpm;
-  }
-  public function setId($id)
-  {
-    $this->id = $id;
-  }
-  public function getId()
-  {
-    return $this->id;
-  }
-  public function setKind($kind)
+}
+
+class Google_Service_AdExchangeBuyer_PricePerBuyer extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
+  protected $buyerDataType = '';
+  protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
+  protected $priceDataType = '';
+
+
+  public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
   {
-    $this->kind = $kind;
+    $this->buyer = $buyer;
   }
-  public function getKind()
+  public function getBuyer()
   {
-    return $this->kind;
+    return $this->buyer;
   }
-  public function setName($name)
+  public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
   {
-    $this->name = $name;
+    $this->price = $price;
   }
-  public function getName()
+  public function getPrice()
   {
-    return $this->name;
+    return $this->price;
   }
-  public function setPrivateExchangeMinCpm($privateExchangeMinCpm)
+}
+
+class Google_Service_AdExchangeBuyer_PrivateData extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $referenceId;
+  public $referencePayload;
+
+
+  public function setReferenceId($referenceId)
   {
-    $this->privateExchangeMinCpm = $privateExchangeMinCpm;
+    $this->referenceId = $referenceId;
   }
-  public function getPrivateExchangeMinCpm()
+  public function getReferenceId()
   {
-    return $this->privateExchangeMinCpm;
+    return $this->referenceId;
   }
-  public function setPublisherBlocksOverriden($publisherBlocksOverriden)
+  public function setReferencePayload($referencePayload)
   {
-    $this->publisherBlocksOverriden = $publisherBlocksOverriden;
+    $this->referencePayload = $referencePayload;
   }
-  public function getPublisherBlocksOverriden()
+  public function getReferencePayload()
   {
-    return $this->publisherBlocksOverriden;
+    return $this->referencePayload;
   }
-  public function setSellerNetwork($sellerNetwork)
+}
+
+class Google_Service_AdExchangeBuyer_RuleKeyValuePair extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $keyName;
+  public $value;
+
+
+  public function setKeyName($keyName)
   {
-    $this->sellerNetwork = $sellerNetwork;
+    $this->keyName = $keyName;
   }
-  public function getSellerNetwork()
+  public function getKeyName()
   {
-    return $this->sellerNetwork;
+    return $this->keyName;
   }
-  public function setStartTime($startTime)
+  public function setValue($value)
   {
-    $this->startTime = $startTime;
+    $this->value = $value;
   }
-  public function getStartTime()
+  public function getValue()
   {
-    return $this->startTime;
+    return $this->value;
   }
 }
 
-class Google_Service_AdExchangeBuyer_DirectDealsList extends Google_Collection
+class Google_Service_AdExchangeBuyer_Seller extends Google_Model
 {
-  protected $collection_key = 'directDeals';
   protected $internal_gapi_mappings = array(
   );
-  protected $directDealsType = 'Google_Service_AdExchangeBuyer_DirectDeal';
-  protected $directDealsDataType = 'array';
-  public $kind;
+  public $accountId;
+  public $subAccountId;
 
 
-  public function setDirectDeals($directDeals)
+  public function setAccountId($accountId)
   {
-    $this->directDeals = $directDeals;
+    $this->accountId = $accountId;
   }
-  public function getDirectDeals()
+  public function getAccountId()
   {
-    return $this->directDeals;
+    return $this->accountId;
   }
-  public function setKind($kind)
+  public function setSubAccountId($subAccountId)
   {
-    $this->kind = $kind;
+    $this->subAccountId = $subAccountId;
   }
-  public function getKind()
+  public function getSubAccountId()
   {
-    return $this->kind;
+    return $this->subAccountId;
   }
 }
 
-class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
+class Google_Service_AdExchangeBuyer_SharedTargeting extends Google_Collection
 {
-  protected $collection_key = 'hostedMatchStatusRate';
+  protected $collection_key = 'inclusions';
   protected $internal_gapi_mappings = array(
   );
-  public $bidRate;
-  public $bidRequestRate;
-  public $calloutStatusRate;
-  public $cookieMatcherStatusRate;
-  public $creativeStatusRate;
-  public $filteredBidRate;
-  public $hostedMatchStatusRate;
-  public $inventoryMatchRate;
-  public $kind;
-  public $latency50thPercentile;
-  public $latency85thPercentile;
-  public $latency95thPercentile;
-  public $noQuotaInRegion;
-  public $outOfQuota;
-  public $pixelMatchRequests;
-  public $pixelMatchResponses;
-  public $quotaConfiguredLimit;
-  public $quotaThrottledLimit;
-  public $region;
-  public $successfulRequestRate;
-  public $timestamp;
-  public $unsuccessfulRequestRate;
+  protected $exclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue';
+  protected $exclusionsDataType = 'array';
+  protected $inclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue';
+  protected $inclusionsDataType = 'array';
+  public $key;
 
 
-  public function setBidRate($bidRate)
+  public function setExclusions($exclusions)
   {
-    $this->bidRate = $bidRate;
+    $this->exclusions = $exclusions;
   }
-  public function getBidRate()
+  public function getExclusions()
   {
-    return $this->bidRate;
+    return $this->exclusions;
   }
-  public function setBidRequestRate($bidRequestRate)
+  public function setInclusions($inclusions)
   {
-    $this->bidRequestRate = $bidRequestRate;
+    $this->inclusions = $inclusions;
   }
-  public function getBidRequestRate()
+  public function getInclusions()
   {
-    return $this->bidRequestRate;
+    return $this->inclusions;
   }
-  public function setCalloutStatusRate($calloutStatusRate)
+  public function setKey($key)
   {
-    $this->calloutStatusRate = $calloutStatusRate;
+    $this->key = $key;
   }
-  public function getCalloutStatusRate()
+  public function getKey()
   {
-    return $this->calloutStatusRate;
+    return $this->key;
   }
-  public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
+}
+
+class Google_Service_AdExchangeBuyer_StatsDto extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $bids;
+  public $goodBids;
+  public $impressions;
+  public $requests;
+  protected $revenueType = 'Google_Service_AdExchangeBuyer_MoneyDto';
+  protected $revenueDataType = '';
+  protected $spendType = 'Google_Service_AdExchangeBuyer_MoneyDto';
+  protected $spendDataType = '';
+
+
+  public function setBids($bids)
   {
-    $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
+    $this->bids = $bids;
   }
-  public function getCookieMatcherStatusRate()
+  public function getBids()
   {
-    return $this->cookieMatcherStatusRate;
+    return $this->bids;
   }
-  public function setCreativeStatusRate($creativeStatusRate)
+  public function setGoodBids($goodBids)
   {
-    $this->creativeStatusRate = $creativeStatusRate;
+    $this->goodBids = $goodBids;
   }
-  public function getCreativeStatusRate()
+  public function getGoodBids()
   {
-    return $this->creativeStatusRate;
+    return $this->goodBids;
   }
-  public function setFilteredBidRate($filteredBidRate)
+  public function setImpressions($impressions)
   {
-    $this->filteredBidRate = $filteredBidRate;
+    $this->impressions = $impressions;
   }
-  public function getFilteredBidRate()
+  public function getImpressions()
   {
-    return $this->filteredBidRate;
+    return $this->impressions;
   }
-  public function setHostedMatchStatusRate($hostedMatchStatusRate)
+  public function setRequests($requests)
   {
-    $this->hostedMatchStatusRate = $hostedMatchStatusRate;
+    $this->requests = $requests;
   }
-  public function getHostedMatchStatusRate()
+  public function getRequests()
   {
-    return $this->hostedMatchStatusRate;
+    return $this->requests;
   }
-  public function setInventoryMatchRate($inventoryMatchRate)
+  public function setRevenue(Google_Service_AdExchangeBuyer_MoneyDto $revenue)
   {
-    $this->inventoryMatchRate = $inventoryMatchRate;
+    $this->revenue = $revenue;
   }
-  public function getInventoryMatchRate()
+  public function getRevenue()
   {
-    return $this->inventoryMatchRate;
+    return $this->revenue;
   }
-  public function setKind($kind)
+  public function setSpend(Google_Service_AdExchangeBuyer_MoneyDto $spend)
   {
-    $this->kind = $kind;
+    $this->spend = $spend;
   }
-  public function getKind()
+  public function getSpend()
   {
-    return $this->kind;
+    return $this->spend;
   }
-  public function setLatency50thPercentile($latency50thPercentile)
+}
+
+class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  protected $creativeSizeValueType = 'Google_Service_AdExchangeBuyer_TargetingValueCreativeSize';
+  protected $creativeSizeValueDataType = '';
+  protected $dayPartTargetingValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting';
+  protected $dayPartTargetingValueDataType = '';
+  public $longValue;
+  public $stringValue;
+
+
+  public function setCreativeSizeValue(Google_Service_AdExchangeBuyer_TargetingValueCreativeSize $creativeSizeValue)
   {
-    $this->latency50thPercentile = $latency50thPercentile;
+    $this->creativeSizeValue = $creativeSizeValue;
   }
-  public function getLatency50thPercentile()
+  public function getCreativeSizeValue()
   {
-    return $this->latency50thPercentile;
+    return $this->creativeSizeValue;
   }
-  public function setLatency85thPercentile($latency85thPercentile)
+  public function setDayPartTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting $dayPartTargetingValue)
   {
-    $this->latency85thPercentile = $latency85thPercentile;
+    $this->dayPartTargetingValue = $dayPartTargetingValue;
   }
-  public function getLatency85thPercentile()
+  public function getDayPartTargetingValue()
   {
-    return $this->latency85thPercentile;
+    return $this->dayPartTargetingValue;
   }
-  public function setLatency95thPercentile($latency95thPercentile)
+  public function setLongValue($longValue)
   {
-    $this->latency95thPercentile = $latency95thPercentile;
+    $this->longValue = $longValue;
   }
-  public function getLatency95thPercentile()
+  public function getLongValue()
   {
-    return $this->latency95thPercentile;
+    return $this->longValue;
   }
-  public function setNoQuotaInRegion($noQuotaInRegion)
+  public function setStringValue($stringValue)
   {
-    $this->noQuotaInRegion = $noQuotaInRegion;
+    $this->stringValue = $stringValue;
   }
-  public function getNoQuotaInRegion()
+  public function getStringValue()
   {
-    return $this->noQuotaInRegion;
+    return $this->stringValue;
   }
-  public function setOutOfQuota($outOfQuota)
+}
+
+class Google_Service_AdExchangeBuyer_TargetingValueCreativeSize extends Google_Collection
+{
+  protected $collection_key = 'companionSizes';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $companionSizesType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
+  protected $companionSizesDataType = 'array';
+  public $creativeSizeType;
+  protected $sizeType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
+  protected $sizeDataType = '';
+
+
+  public function setCompanionSizes($companionSizes)
   {
-    $this->outOfQuota = $outOfQuota;
+    $this->companionSizes = $companionSizes;
   }
-  public function getOutOfQuota()
+  public function getCompanionSizes()
   {
-    return $this->outOfQuota;
+    return $this->companionSizes;
   }
-  public function setPixelMatchRequests($pixelMatchRequests)
+  public function setCreativeSizeType($creativeSizeType)
   {
-    $this->pixelMatchRequests = $pixelMatchRequests;
+    $this->creativeSizeType = $creativeSizeType;
   }
-  public function getPixelMatchRequests()
+  public function getCreativeSizeType()
   {
-    return $this->pixelMatchRequests;
+    return $this->creativeSizeType;
   }
-  public function setPixelMatchResponses($pixelMatchResponses)
+  public function setSize(Google_Service_AdExchangeBuyer_TargetingValueSize $size)
   {
-    $this->pixelMatchResponses = $pixelMatchResponses;
+    $this->size = $size;
   }
-  public function getPixelMatchResponses()
+  public function getSize()
   {
-    return $this->pixelMatchResponses;
+    return $this->size;
   }
-  public function setQuotaConfiguredLimit($quotaConfiguredLimit)
+}
+
+class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting extends Google_Collection
+{
+  protected $collection_key = 'dayParts';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $dayPartsType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart';
+  protected $dayPartsDataType = 'array';
+  public $timeZoneType;
+
+
+  public function setDayParts($dayParts)
   {
-    $this->quotaConfiguredLimit = $quotaConfiguredLimit;
+    $this->dayParts = $dayParts;
   }
-  public function getQuotaConfiguredLimit()
+  public function getDayParts()
   {
-    return $this->quotaConfiguredLimit;
+    return $this->dayParts;
   }
-  public function setQuotaThrottledLimit($quotaThrottledLimit)
+  public function setTimeZoneType($timeZoneType)
+  {
+    $this->timeZoneType = $timeZoneType;
+  }
+  public function getTimeZoneType()
+  {
+    return $this->timeZoneType;
+  }
+}
+
+class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $dayOfWeek;
+  public $endHour;
+  public $endMinute;
+  public $startHour;
+  public $startMinute;
+
+
+  public function setDayOfWeek($dayOfWeek)
   {
-    $this->quotaThrottledLimit = $quotaThrottledLimit;
+    $this->dayOfWeek = $dayOfWeek;
   }
-  public function getQuotaThrottledLimit()
+  public function getDayOfWeek()
   {
-    return $this->quotaThrottledLimit;
+    return $this->dayOfWeek;
   }
-  public function setRegion($region)
+  public function setEndHour($endHour)
   {
-    $this->region = $region;
+    $this->endHour = $endHour;
   }
-  public function getRegion()
+  public function getEndHour()
   {
-    return $this->region;
+    return $this->endHour;
   }
-  public function setSuccessfulRequestRate($successfulRequestRate)
+  public function setEndMinute($endMinute)
   {
-    $this->successfulRequestRate = $successfulRequestRate;
+    $this->endMinute = $endMinute;
   }
-  public function getSuccessfulRequestRate()
+  public function getEndMinute()
   {
-    return $this->successfulRequestRate;
+    return $this->endMinute;
   }
-  public function setTimestamp($timestamp)
+  public function setStartHour($startHour)
   {
-    $this->timestamp = $timestamp;
+    $this->startHour = $startHour;
   }
-  public function getTimestamp()
+  public function getStartHour()
   {
-    return $this->timestamp;
+    return $this->startHour;
   }
-  public function setUnsuccessfulRequestRate($unsuccessfulRequestRate)
+  public function setStartMinute($startMinute)
   {
-    $this->unsuccessfulRequestRate = $unsuccessfulRequestRate;
+    $this->startMinute = $startMinute;
   }
-  public function getUnsuccessfulRequestRate()
+  public function getStartMinute()
   {
-    return $this->unsuccessfulRequestRate;
+    return $this->startMinute;
   }
 }
 
-class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
+class Google_Service_AdExchangeBuyer_TargetingValueSize extends Google_Model
 {
-  protected $collection_key = 'performanceReport';
   protected $internal_gapi_mappings = array(
   );
-  public $kind;
-  protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport';
-  protected $performanceReportDataType = 'array';
+  public $height;
+  public $width;
 
 
-  public function setKind($kind)
+  public function setHeight($height)
   {
-    $this->kind = $kind;
+    $this->height = $height;
   }
-  public function getKind()
+  public function getHeight()
   {
-    return $this->kind;
+    return $this->height;
   }
-  public function setPerformanceReport($performanceReport)
+  public function setWidth($width)
   {
-    $this->performanceReport = $performanceReport;
+    $this->width = $width;
   }
-  public function getPerformanceReport()
+  public function getWidth()
   {
-    return $this->performanceReport;
+    return $this->width;
   }
 }
 
-class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
+class Google_Service_AdExchangeBuyer_TermsDto extends Google_Collection
 {
-  protected $collection_key = 'verticals';
+  protected $collection_key = 'urls';
   protected $internal_gapi_mappings = array(
   );
-  public $billingId;
-  public $configId;
-  public $configName;
-  public $creativeType;
-  protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
-  protected $dimensionsDataType = 'array';
-  public $excludedContentLabels;
-  public $excludedGeoCriteriaIds;
-  protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
-  protected $excludedPlacementsDataType = 'array';
-  public $excludedUserLists;
-  public $excludedVerticals;
-  public $geoCriteriaIds;
-  public $isActive;
-  public $kind;
-  public $languages;
-  public $mobileCarriers;
-  public $mobileDevices;
-  public $mobileOperatingSystemVersions;
-  protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
-  protected $placementsDataType = 'array';
-  public $platforms;
-  public $supportedCreativeAttributes;
-  public $userLists;
-  public $vendorTypes;
-  public $verticals;
+  protected $adSlotsType = 'Google_Service_AdExchangeBuyer_AdSlotDto';
+  protected $adSlotsDataType = 'array';
+  protected $advertisersType = 'Google_Service_AdExchangeBuyer_AdvertiserDto';
+  protected $advertisersDataType = 'array';
+  protected $audienceSegmentType = 'Google_Service_AdExchangeBuyer_AudienceSegment';
+  protected $audienceSegmentDataType = '';
+  public $audienceSegmentDescription;
+  public $billingTerms;
+  public $buyerBillingType;
+  protected $cpmType = 'Google_Service_AdExchangeBuyer_MoneyDto';
+  protected $cpmDataType = '';
+  public $creativeBlockingLevel;
+  public $creativeReviewPolicy;
+  protected $dealPremiumType = 'Google_Service_AdExchangeBuyer_MoneyDto';
+  protected $dealPremiumDataType = '';
+  public $description;
+  public $descriptiveName;
+  protected $endDateType = 'Google_Service_AdExchangeBuyer_DateTime';
+  protected $endDateDataType = '';
+  public $estimatedImpressionsPerDay;
+  protected $estimatedSpendType = 'Google_Service_AdExchangeBuyer_MoneyDto';
+  protected $estimatedSpendDataType = '';
+  public $finalizeAutomatically;
+  protected $inventorySegmentTargetingType = 'Google_Service_AdExchangeBuyer_InventorySegmentTargeting';
+  protected $inventorySegmentTargetingDataType = '';
+  public $isReservation;
+  public $minimumSpendMicros;
+  public $minimumTrueLooks;
+  public $monetizerType;
+  public $semiTransparent;
+  protected $startDateType = 'Google_Service_AdExchangeBuyer_DateTime';
+  protected $startDateDataType = '';
+  public $targetByDealId;
+  public $targetingAllAdSlots;
+  public $termsAttributes;
+  public $urls;
 
 
-  public function setBillingId($billingId)
+  public function setAdSlots($adSlots)
   {
-    $this->billingId = $billingId;
+    $this->adSlots = $adSlots;
   }
-  public function getBillingId()
+  public function getAdSlots()
   {
-    return $this->billingId;
+    return $this->adSlots;
   }
-  public function setConfigId($configId)
+  public function setAdvertisers($advertisers)
   {
-    $this->configId = $configId;
+    $this->advertisers = $advertisers;
   }
-  public function getConfigId()
+  public function getAdvertisers()
   {
-    return $this->configId;
+    return $this->advertisers;
   }
-  public function setConfigName($configName)
+  public function setAudienceSegment(Google_Service_AdExchangeBuyer_AudienceSegment $audienceSegment)
   {
-    $this->configName = $configName;
+    $this->audienceSegment = $audienceSegment;
   }
-  public function getConfigName()
+  public function getAudienceSegment()
   {
-    return $this->configName;
+    return $this->audienceSegment;
   }
-  public function setCreativeType($creativeType)
+  public function setAudienceSegmentDescription($audienceSegmentDescription)
   {
-    $this->creativeType = $creativeType;
+    $this->audienceSegmentDescription = $audienceSegmentDescription;
   }
-  public function getCreativeType()
+  public function getAudienceSegmentDescription()
   {
-    return $this->creativeType;
+    return $this->audienceSegmentDescription;
   }
-  public function setDimensions($dimensions)
+  public function setBillingTerms($billingTerms)
   {
-    $this->dimensions = $dimensions;
+    $this->billingTerms = $billingTerms;
   }
-  public function getDimensions()
+  public function getBillingTerms()
   {
-    return $this->dimensions;
+    return $this->billingTerms;
   }
-  public function setExcludedContentLabels($excludedContentLabels)
+  public function setBuyerBillingType($buyerBillingType)
   {
-    $this->excludedContentLabels = $excludedContentLabels;
+    $this->buyerBillingType = $buyerBillingType;
   }
-  public function getExcludedContentLabels()
+  public function getBuyerBillingType()
   {
-    return $this->excludedContentLabels;
+    return $this->buyerBillingType;
   }
-  public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
+  public function setCpm(Google_Service_AdExchangeBuyer_MoneyDto $cpm)
   {
-    $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
+    $this->cpm = $cpm;
   }
-  public function getExcludedGeoCriteriaIds()
+  public function getCpm()
   {
-    return $this->excludedGeoCriteriaIds;
+    return $this->cpm;
   }
-  public function setExcludedPlacements($excludedPlacements)
+  public function setCreativeBlockingLevel($creativeBlockingLevel)
   {
-    $this->excludedPlacements = $excludedPlacements;
+    $this->creativeBlockingLevel = $creativeBlockingLevel;
   }
-  public function getExcludedPlacements()
+  public function getCreativeBlockingLevel()
   {
-    return $this->excludedPlacements;
+    return $this->creativeBlockingLevel;
   }
-  public function setExcludedUserLists($excludedUserLists)
+  public function setCreativeReviewPolicy($creativeReviewPolicy)
   {
-    $this->excludedUserLists = $excludedUserLists;
+    $this->creativeReviewPolicy = $creativeReviewPolicy;
   }
-  public function getExcludedUserLists()
+  public function getCreativeReviewPolicy()
   {
-    return $this->excludedUserLists;
+    return $this->creativeReviewPolicy;
   }
-  public function setExcludedVerticals($excludedVerticals)
+  public function setDealPremium(Google_Service_AdExchangeBuyer_MoneyDto $dealPremium)
   {
-    $this->excludedVerticals = $excludedVerticals;
+    $this->dealPremium = $dealPremium;
   }
-  public function getExcludedVerticals()
+  public function getDealPremium()
   {
-    return $this->excludedVerticals;
+    return $this->dealPremium;
   }
-  public function setGeoCriteriaIds($geoCriteriaIds)
+  public function setDescription($description)
   {
-    $this->geoCriteriaIds = $geoCriteriaIds;
+    $this->description = $description;
   }
-  public function getGeoCriteriaIds()
+  public function getDescription()
   {
-    return $this->geoCriteriaIds;
+    return $this->description;
   }
-  public function setIsActive($isActive)
+  public function setDescriptiveName($descriptiveName)
   {
-    $this->isActive = $isActive;
+    $this->descriptiveName = $descriptiveName;
   }
-  public function getIsActive()
+  public function getDescriptiveName()
   {
-    return $this->isActive;
+    return $this->descriptiveName;
   }
-  public function setKind($kind)
+  public function setEndDate(Google_Service_AdExchangeBuyer_DateTime $endDate)
   {
-    $this->kind = $kind;
+    $this->endDate = $endDate;
   }
-  public function getKind()
+  public function getEndDate()
   {
-    return $this->kind;
+    return $this->endDate;
   }
-  public function setLanguages($languages)
+  public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
   {
-    $this->languages = $languages;
+    $this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
   }
-  public function getLanguages()
+  public function getEstimatedImpressionsPerDay()
   {
-    return $this->languages;
+    return $this->estimatedImpressionsPerDay;
   }
-  public function setMobileCarriers($mobileCarriers)
+  public function setEstimatedSpend(Google_Service_AdExchangeBuyer_MoneyDto $estimatedSpend)
   {
-    $this->mobileCarriers = $mobileCarriers;
+    $this->estimatedSpend = $estimatedSpend;
   }
-  public function getMobileCarriers()
+  public function getEstimatedSpend()
   {
-    return $this->mobileCarriers;
+    return $this->estimatedSpend;
   }
-  public function setMobileDevices($mobileDevices)
+  public function setFinalizeAutomatically($finalizeAutomatically)
   {
-    $this->mobileDevices = $mobileDevices;
+    $this->finalizeAutomatically = $finalizeAutomatically;
   }
-  public function getMobileDevices()
+  public function getFinalizeAutomatically()
   {
-    return $this->mobileDevices;
+    return $this->finalizeAutomatically;
   }
-  public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
+  public function setInventorySegmentTargeting(Google_Service_AdExchangeBuyer_InventorySegmentTargeting $inventorySegmentTargeting)
   {
-    $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
+    $this->inventorySegmentTargeting = $inventorySegmentTargeting;
   }
-  public function getMobileOperatingSystemVersions()
+  public function getInventorySegmentTargeting()
   {
-    return $this->mobileOperatingSystemVersions;
+    return $this->inventorySegmentTargeting;
   }
-  public function setPlacements($placements)
+  public function setIsReservation($isReservation)
   {
-    $this->placements = $placements;
+    $this->isReservation = $isReservation;
   }
-  public function getPlacements()
+  public function getIsReservation()
   {
-    return $this->placements;
+    return $this->isReservation;
   }
-  public function setPlatforms($platforms)
+  public function setMinimumSpendMicros($minimumSpendMicros)
   {
-    $this->platforms = $platforms;
+    $this->minimumSpendMicros = $minimumSpendMicros;
   }
-  public function getPlatforms()
+  public function getMinimumSpendMicros()
   {
-    return $this->platforms;
+    return $this->minimumSpendMicros;
   }
-  public function setSupportedCreativeAttributes($supportedCreativeAttributes)
+  public function setMinimumTrueLooks($minimumTrueLooks)
   {
-    $this->supportedCreativeAttributes = $supportedCreativeAttributes;
+    $this->minimumTrueLooks = $minimumTrueLooks;
   }
-  public function getSupportedCreativeAttributes()
+  public function getMinimumTrueLooks()
   {
-    return $this->supportedCreativeAttributes;
+    return $this->minimumTrueLooks;
   }
-  public function setUserLists($userLists)
+  public function setMonetizerType($monetizerType)
   {
-    $this->userLists = $userLists;
+    $this->monetizerType = $monetizerType;
   }
-  public function getUserLists()
+  public function getMonetizerType()
   {
-    return $this->userLists;
+    return $this->monetizerType;
   }
-  public function setVendorTypes($vendorTypes)
+  public function setSemiTransparent($semiTransparent)
   {
-    $this->vendorTypes = $vendorTypes;
+    $this->semiTransparent = $semiTransparent;
   }
-  public function getVendorTypes()
+  public function getSemiTransparent()
   {
-    return $this->vendorTypes;
+    return $this->semiTransparent;
   }
-  public function setVerticals($verticals)
+  public function setStartDate(Google_Service_AdExchangeBuyer_DateTime $startDate)
   {
-    $this->verticals = $verticals;
+    $this->startDate = $startDate;
   }
-  public function getVerticals()
+  public function getStartDate()
   {
-    return $this->verticals;
+    return $this->startDate;
   }
-}
-
-class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
-{
-  protected $internal_gapi_mappings = array(
-  );
-  public $height;
-  public $width;
-
-
-  public function setHeight($height)
+  public function setTargetByDealId($targetByDealId)
   {
-    $this->height = $height;
+    $this->targetByDealId = $targetByDealId;
   }
-  public function getHeight()
+  public function getTargetByDealId()
   {
-    return $this->height;
+    return $this->targetByDealId;
   }
-  public function setWidth($width)
+  public function setTargetingAllAdSlots($targetingAllAdSlots)
   {
-    $this->width = $width;
+    $this->targetingAllAdSlots = $targetingAllAdSlots;
   }
-  public function getWidth()
+  public function getTargetingAllAdSlots()
   {
-    return $this->width;
+    return $this->targetingAllAdSlots;
   }
-}
-
-class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
-{
-  protected $internal_gapi_mappings = array(
-  );
-  public $token;
-  public $type;
-
-
-  public function setToken($token)
+  public function setTermsAttributes($termsAttributes)
   {
-    $this->token = $token;
+    $this->termsAttributes = $termsAttributes;
   }
-  public function getToken()
+  public function getTermsAttributes()
   {
-    return $this->token;
+    return $this->termsAttributes;
   }
-  public function setType($type)
+  public function setUrls($urls)
   {
-    $this->type = $type;
+    $this->urls = $urls;
   }
-  public function getType()
+  public function getUrls()
   {
-    return $this->type;
+    return $this->urls;
   }
 }
 
-class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
+class Google_Service_AdExchangeBuyer_WebPropertyDto extends Google_Collection
 {
-  protected $collection_key = 'items';
+  protected $collection_key = 'siteUrls';
   protected $internal_gapi_mappings = array(
   );
-  protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
-  protected $itemsDataType = 'array';
-  public $kind;
+  public $allowInterestTargetedAds;
+  public $enabledForPreferredDeals;
+  public $id;
+  public $name;
+  public $propertyCode;
+  public $siteUrls;
+  public $syndicationProduct;
 
 
-  public function setItems($items)
+  public function setAllowInterestTargetedAds($allowInterestTargetedAds)
   {
-    $this->items = $items;
+    $this->allowInterestTargetedAds = $allowInterestTargetedAds;
   }
-  public function getItems()
+  public function getAllowInterestTargetedAds()
   {
-    return $this->items;
+    return $this->allowInterestTargetedAds;
   }
-  public function setKind($kind)
+  public function setEnabledForPreferredDeals($enabledForPreferredDeals)
   {
-    $this->kind = $kind;
+    $this->enabledForPreferredDeals = $enabledForPreferredDeals;
   }
-  public function getKind()
+  public function getEnabledForPreferredDeals()
   {
-    return $this->kind;
+    return $this->enabledForPreferredDeals;
   }
-}
-
-class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
-{
-  protected $internal_gapi_mappings = array(
-  );
-  public $token;
-  public $type;
-
-
-  public function setToken($token)
+  public function setId($id)
   {
-    $this->token = $token;
+    $this->id = $id;
   }
-  public function getToken()
+  public function getId()
   {
-    return $this->token;
+    return $this->id;
   }
-  public function setType($type)
+  public function setName($name)
   {
-    $this->type = $type;
+    $this->name = $name;
   }
-  public function getType()
+  public function getName()
   {
-    return $this->type;
+    return $this->name;
+  }
+  public function setPropertyCode($propertyCode)
+  {
+    $this->propertyCode = $propertyCode;
+  }
+  public function getPropertyCode()
+  {
+    return $this->propertyCode;
+  }
+  public function setSiteUrls($siteUrls)
+  {
+    $this->siteUrls = $siteUrls;
+  }
+  public function getSiteUrls()
+  {
+    return $this->siteUrls;
+  }
+  public function setSyndicationProduct($syndicationProduct)
+  {
+    $this->syndicationProduct = $syndicationProduct;
+  }
+  public function getSyndicationProduct()
+  {
+    return $this->syndicationProduct;
   }
 }
index 8e36a13..3979ff3 100644 (file)
@@ -2119,7 +2119,9 @@ class Google_Service_AdSense_Account extends Google_Collection
 {
   protected $collection_key = 'subAccounts';
   protected $internal_gapi_mappings = array(
+        "creationTime" => "creation_time",
   );
+  public $creationTime;
   public $id;
   public $kind;
   public $name;
@@ -2129,6 +2131,14 @@ class Google_Service_AdSense_Account extends Google_Collection
   public $timezone;
 
 
+  public function setCreationTime($creationTime)
+  {
+    $this->creationTime = $creationTime;
+  }
+  public function getCreationTime()
+  {
+    return $this->creationTime;
+  }
   public function setId($id)
   {
     $this->id = $id;
index 541b765..8499619 100644 (file)
@@ -24,7 +24,7 @@
  *
  * <p>
  * For more information about this service, see the API
- * <a href="" target="_blank">Documentation</a>
+ * <a href="https://developers.google.com/play/enterprise" target="_blank">Documentation</a>
  * </p>
  *
  * @author Google, Inc.
@@ -397,6 +397,16 @@ class Google_Service_AndroidEnterprise extends Google_Service
                   'required' => true,
                 ),
               ),
+            ),'sendTestPushNotification' => array(
+              'path' => 'enterprises/{enterpriseId}/sendTestPushNotification',
+              'httpMethod' => 'POST',
+              'parameters' => array(
+                'enterpriseId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
             ),'setAccount' => array(
               'path' => 'enterprises/{enterpriseId}/account',
               'httpMethod' => 'PUT',
@@ -896,6 +906,21 @@ class Google_Service_AndroidEnterprise extends Google_Service
                   'required' => true,
                 ),
               ),
+            ),'getAvailableProductSet' => array(
+              'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'enterpriseId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'userId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
             ),'list' => array(
               'path' => 'enterprises/{enterpriseId}/users',
               'httpMethod' => 'GET',
@@ -926,6 +951,21 @@ class Google_Service_AndroidEnterprise extends Google_Service
                   'required' => true,
                 ),
               ),
+            ),'setAvailableProductSet' => array(
+              'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet',
+              'httpMethod' => 'PUT',
+              'parameters' => array(
+                'enterpriseId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'userId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
             ),
           )
         )
@@ -1315,6 +1355,22 @@ class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Servi
     return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EnterprisesListResponse");
   }
 
+  /**
+   * Sends a test push notification to validate the MDM integration with the
+   * Google Cloud Pub/Sub service for this enterprise.
+   * (enterprises.sendTestPushNotification)
+   *
+   * @param string $enterpriseId The ID of the enterprise.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse
+   */
+  public function sendTestPushNotification($enterpriseId, $optParams = array())
+  {
+    $params = array('enterpriseId' => $enterpriseId);
+    $params = array_merge($params, $optParams);
+    return $this->call('sendTestPushNotification', array($params), "Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse");
+  }
+
   /**
    * Set the account that will be used to authenticate to the API as the
    * enterprise. (enterprises.setAccount)
@@ -1693,17 +1749,22 @@ class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_
   }
 
   /**
-   * Generates a URL that can be used to display an iframe to view the product's
-   * permissions (if any) and approve the product. This URL can be used to approve
-   * the product for a limited time (currently 1 hour) using the Products.approve
-   * call. (products.generateApprovalUrl)
+   * Generates a URL that can be rendered in an iframe to display the permissions
+   * (if any) of a product. An enterprise admin must view these permissions and
+   * accept them on behalf of their organization in order to approve that product.
+   *
+   * Admins should accept the displayed permissions by interacting with a separate
+   * UI element in the EMM console, which in turn should trigger the use of this
+   * URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to
+   * approve the product. This URL can only be used to display permissions for up
+   * to 1 day. (products.generateApprovalUrl)
    *
    * @param string $enterpriseId The ID of the enterprise.
    * @param string $productId The ID of the product.
    * @param array $optParams Optional parameters.
    *
-   * @opt_param string languageCode The language code that will be used for
-   * permission names and descriptions in the returned iframe.
+   * @opt_param string languageCode The BCP 47 language code used for permission
+   * names and descriptions in the returned iframe, for instance "en-US".
    * @return Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse
    */
   public function generateApprovalUrl($enterpriseId, $productId, $optParams = array())
@@ -1830,6 +1891,22 @@ class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Res
     return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User");
   }
 
+  /**
+   * Retrieves the set of products a user is entitled to access.
+   * (users.getAvailableProductSet)
+   *
+   * @param string $enterpriseId The ID of the enterprise.
+   * @param string $userId The ID of the user.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AndroidEnterprise_ProductSet
+   */
+  public function getAvailableProductSet($enterpriseId, $userId, $optParams = array())
+  {
+    $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+    $params = array_merge($params, $optParams);
+    return $this->call('getAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet");
+  }
+
   /**
    * Looks up a user by email address. (users.listUsers)
    *
@@ -1859,6 +1936,23 @@ class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Res
     $params = array_merge($params, $optParams);
     return $this->call('revokeToken', array($params));
   }
+
+  /**
+   * Modifies the set of products a user is entitled to access.
+   * (users.setAvailableProductSet)
+   *
+   * @param string $enterpriseId The ID of the enterprise.
+   * @param string $userId The ID of the user.
+   * @param Google_ProductSet $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_AndroidEnterprise_ProductSet
+   */
+  public function setAvailableProductSet($enterpriseId, $userId, Google_Service_AndroidEnterprise_ProductSet $postBody, $optParams = array())
+  {
+    $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('setAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet");
+  }
 }
 
 
@@ -1869,10 +1963,19 @@ class Google_Service_AndroidEnterprise_AppRestrictionsSchema extends Google_Coll
   protected $collection_key = 'restrictions';
   protected $internal_gapi_mappings = array(
   );
+  public $kind;
   protected $restrictionsType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction';
   protected $restrictionsDataType = 'array';
 
 
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
   public function setRestrictions($restrictions)
   {
     $this->restrictions = $restrictions;
@@ -2359,6 +2462,32 @@ class Google_Service_AndroidEnterprise_EnterprisesListResponse extends Google_Co
   }
 }
 
+class Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $messageId;
+  public $topicName;
+
+
+  public function setMessageId($messageId)
+  {
+    $this->messageId = $messageId;
+  }
+  public function getMessageId()
+  {
+    return $this->messageId;
+  }
+  public function setTopicName($topicName)
+  {
+    $this->topicName = $topicName;
+  }
+  public function getTopicName()
+  {
+    return $this->topicName;
+  }
+}
+
 class Google_Service_AndroidEnterprise_Entitlement extends Google_Model
 {
   protected $internal_gapi_mappings = array(
@@ -2819,6 +2948,33 @@ class Google_Service_AndroidEnterprise_ProductPermissions extends Google_Collect
   }
 }
 
+class Google_Service_AndroidEnterprise_ProductSet extends Google_Collection
+{
+  protected $collection_key = 'productId';
+  protected $internal_gapi_mappings = array(
+  );
+  public $kind;
+  public $productId;
+
+
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setProductId($productId)
+  {
+    $this->productId = $productId;
+  }
+  public function getProductId()
+  {
+    return $this->productId;
+  }
+}
+
 class Google_Service_AndroidEnterprise_ProductsApproveRequest extends Google_Model
 {
   protected $internal_gapi_mappings = array(
diff --git a/lib/google/src/Google/Service/Appengine.php b/lib/google/src/Google/Service/Appengine.php
new file mode 100644 (file)
index 0000000..e990eb4
--- /dev/null
@@ -0,0 +1,2032 @@
+<?php
+/*
+ * Copyright 2010 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.
+ */
+
+/**
+ * Service definition for Appengine (v1beta4).
+ *
+ * <p>
+ * The Google App Engine Admin API enables developers to provision and manage
+ * their App Engine applications.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/appengine/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Appengine extends Google_Service
+{
+  /** View and manage your data across Google Cloud Platform services. */
+  const CLOUD_PLATFORM =
+      "https://www.googleapis.com/auth/cloud-platform";
+
+  public $apps;
+  public $apps_modules;
+  public $apps_modules_versions;
+  public $apps_operations;
+
+
+  /**
+   * Constructs the internal representation of the Appengine service.
+   *
+   * @param Google_Client $client
+   */
+  public function __construct(Google_Client $client)
+  {
+    parent::__construct($client);
+    $this->rootUrl = 'https://appengine.googleapis.com/';
+    $this->servicePath = '';
+    $this->version = 'v1beta4';
+    $this->serviceName = 'appengine';
+
+    $this->apps = new Google_Service_Appengine_Apps_Resource(
+        $this,
+        $this->serviceName,
+        'apps',
+        array(
+          'methods' => array(
+            'get' => array(
+              'path' => 'v1beta4/apps/{appsId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'ensureResourcesExist' => array(
+                  'location' => 'query',
+                  'type' => 'boolean',
+                ),
+              ),
+            ),
+          )
+        )
+    );
+    $this->apps_modules = new Google_Service_Appengine_AppsModules_Resource(
+        $this,
+        $this->serviceName,
+        'modules',
+        array(
+          'methods' => array(
+            'delete' => array(
+              'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}',
+              'httpMethod' => 'DELETE',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'modulesId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'get' => array(
+              'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'modulesId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'list' => array(
+              'path' => 'v1beta4/apps/{appsId}/modules',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'pageSize' => array(
+                  'location' => 'query',
+                  'type' => 'integer',
+                ),
+                'pageToken' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+              ),
+            ),'patch' => array(
+              'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}',
+              'httpMethod' => 'PATCH',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'modulesId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'migrateTraffic' => array(
+                  'location' => 'query',
+                  'type' => 'boolean',
+                ),
+                'mask' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+              ),
+            ),
+          )
+        )
+    );
+    $this->apps_modules_versions = new Google_Service_Appengine_AppsModulesVersions_Resource(
+        $this,
+        $this->serviceName,
+        'versions',
+        array(
+          'methods' => array(
+            'create' => array(
+              'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions',
+              'httpMethod' => 'POST',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'modulesId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'delete' => array(
+              'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}',
+              'httpMethod' => 'DELETE',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'modulesId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'versionsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'get' => array(
+              'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'modulesId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'versionsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'view' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+              ),
+            ),'list' => array(
+              'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'modulesId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'pageToken' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+                'pageSize' => array(
+                  'location' => 'query',
+                  'type' => 'integer',
+                ),
+                'view' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+              ),
+            ),
+          )
+        )
+    );
+    $this->apps_operations = new Google_Service_Appengine_AppsOperations_Resource(
+        $this,
+        $this->serviceName,
+        'operations',
+        array(
+          'methods' => array(
+            'get' => array(
+              'path' => 'v1beta4/apps/{appsId}/operations/{operationsId}',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'operationsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+              ),
+            ),'list' => array(
+              'path' => 'v1beta4/apps/{appsId}/operations',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'appsId' => array(
+                  'location' => 'path',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'filter' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+                'pageSize' => array(
+                  'location' => 'query',
+                  'type' => 'integer',
+                ),
+                'pageToken' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+              ),
+            ),
+          )
+        )
+    );
+  }
+}
+
+
+/**
+ * The "apps" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $appengineService = new Google_Service_Appengine(...);
+ *   $apps = $appengineService->apps;
+ *  </code>
+ */
+class Google_Service_Appengine_Apps_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Gets information about an application. (apps.get)
+   *
+   * @param string $appsId Part of `name`. Name of the application to get. For
+   * example: "apps/myapp".
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param bool ensureResourcesExist Certain resources associated with an
+   * application are created on-demand. Controls whether these resources should be
+   * created when performing the `GET` operation. If specified and any resources
+   * cloud not be created, the request will fail with an error code.
+   * @return Google_Service_Appengine_Application
+   */
+  public function get($appsId, $optParams = array())
+  {
+    $params = array('appsId' => $appsId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_Appengine_Application");
+  }
+}
+
+/**
+ * The "modules" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $appengineService = new Google_Service_Appengine(...);
+ *   $modules = $appengineService->modules;
+ *  </code>
+ */
+class Google_Service_Appengine_AppsModules_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Deletes a module and all enclosed versions. (modules.delete)
+   *
+   * @param string $appsId Part of `name`. Name of the resource requested. For
+   * example: "apps/myapp/modules/default".
+   * @param string $modulesId Part of `name`. See documentation of `appsId`.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_Appengine_Operation
+   */
+  public function delete($appsId, $modulesId, $optParams = array())
+  {
+    $params = array('appsId' => $appsId, 'modulesId' => $modulesId);
+    $params = array_merge($params, $optParams);
+    return $this->call('delete', array($params), "Google_Service_Appengine_Operation");
+  }
+
+  /**
+   * Gets the current configuration of the module. (modules.get)
+   *
+   * @param string $appsId Part of `name`. Name of the resource requested. For
+   * example: "apps/myapp/modules/default".
+   * @param string $modulesId Part of `name`. See documentation of `appsId`.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_Appengine_Module
+   */
+  public function get($appsId, $modulesId, $optParams = array())
+  {
+    $params = array('appsId' => $appsId, 'modulesId' => $modulesId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_Appengine_Module");
+  }
+
+  /**
+   * Lists all the modules in the application. (modules.listAppsModules)
+   *
+   * @param string $appsId Part of `name`. Name of the resource requested. For
+   * example: "apps/myapp".
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param int pageSize Maximum results to return per page.
+   * @opt_param string pageToken Continuation token for fetching the next page of
+   * results.
+   * @return Google_Service_Appengine_ListModulesResponse
+   */
+  public function listAppsModules($appsId, $optParams = array())
+  {
+    $params = array('appsId' => $appsId);
+    $params = array_merge($params, $optParams);
+    return $this->call('list', array($params), "Google_Service_Appengine_ListModulesResponse");
+  }
+
+  /**
+   * Updates the configuration of the specified module. (modules.patch)
+   *
+   * @param string $appsId Part of `name`. Name of the resource to update. For
+   * example: "apps/myapp/modules/default".
+   * @param string $modulesId Part of `name`. See documentation of `appsId`.
+   * @param Google_Module $postBody
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param bool migrateTraffic Whether to use Traffic Migration to shift
+   * traffic gradually. Traffic can only be migrated from a single version to
+   * another single version.
+   * @opt_param string mask Standard field mask for the set of fields to be
+   * updated.
+   * @return Google_Service_Appengine_Operation
+   */
+  public function patch($appsId, $modulesId, Google_Service_Appengine_Module $postBody, $optParams = array())
+  {
+    $params = array('appsId' => $appsId, 'modulesId' => $modulesId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('patch', array($params), "Google_Service_Appengine_Operation");
+  }
+}
+
+/**
+ * The "versions" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $appengineService = new Google_Service_Appengine(...);
+ *   $versions = $appengineService->versions;
+ *  </code>
+ */
+class Google_Service_Appengine_AppsModulesVersions_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Deploys new code and resource files to a version. (versions.create)
+   *
+   * @param string $appsId Part of `name`. Name of the resource to update. For
+   * example: "apps/myapp/modules/default".
+   * @param string $modulesId Part of `name`. See documentation of `appsId`.
+   * @param Google_Version $postBody
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_Appengine_Operation
+   */
+  public function create($appsId, $modulesId, Google_Service_Appengine_Version $postBody, $optParams = array())
+  {
+    $params = array('appsId' => $appsId, 'modulesId' => $modulesId, 'postBody' => $postBody);
+    $params = array_merge($params, $optParams);
+    return $this->call('create', array($params), "Google_Service_Appengine_Operation");
+  }
+
+  /**
+   * Deletes an existing version. (versions.delete)
+   *
+   * @param string $appsId Part of `name`. Name of the resource requested. For
+   * example: "apps/myapp/modules/default/versions/v1".
+   * @param string $modulesId Part of `name`. See documentation of `appsId`.
+   * @param string $versionsId Part of `name`. See documentation of `appsId`.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_Appengine_Operation
+   */
+  public function delete($appsId, $modulesId, $versionsId, $optParams = array())
+  {
+    $params = array('appsId' => $appsId, 'modulesId' => $modulesId, 'versionsId' => $versionsId);
+    $params = array_merge($params, $optParams);
+    return $this->call('delete', array($params), "Google_Service_Appengine_Operation");
+  }
+
+  /**
+   * Gets application deployment information. (versions.get)
+   *
+   * @param string $appsId Part of `name`. Name of the resource requested. For
+   * example: "apps/myapp/modules/default/versions/v1".
+   * @param string $modulesId Part of `name`. See documentation of `appsId`.
+   * @param string $versionsId Part of `name`. See documentation of `appsId`.
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param string view Controls the set of fields returned in the `Get`
+   * response.
+   * @return Google_Service_Appengine_Version
+   */
+  public function get($appsId, $modulesId, $versionsId, $optParams = array())
+  {
+    $params = array('appsId' => $appsId, 'modulesId' => $modulesId, 'versionsId' => $versionsId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_Appengine_Version");
+  }
+
+  /**
+   * Lists the versions of a module. (versions.listAppsModulesVersions)
+   *
+   * @param string $appsId Part of `name`. Name of the resource requested. For
+   * example: "apps/myapp/modules/default".
+   * @param string $modulesId Part of `name`. See documentation of `appsId`.
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param string pageToken Continuation token for fetching the next page of
+   * results.
+   * @opt_param int pageSize Maximum results to return per page.
+   * @opt_param string view Controls the set of fields returned in the `List`
+   * response.
+   * @return Google_Service_Appengine_ListVersionsResponse
+   */
+  public function listAppsModulesVersions($appsId, $modulesId, $optParams = array())
+  {
+    $params = array('appsId' => $appsId, 'modulesId' => $modulesId);
+    $params = array_merge($params, $optParams);
+    return $this->call('list', array($params), "Google_Service_Appengine_ListVersionsResponse");
+  }
+}
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $appengineService = new Google_Service_Appengine(...);
+ *   $operations = $appengineService->operations;
+ *  </code>
+ */
+class Google_Service_Appengine_AppsOperations_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Gets the latest state of a long-running operation. Clients can use this
+   * method to poll the operation result at intervals as recommended by the API
+   * service. (operations.get)
+   *
+   * @param string $appsId Part of `name`. The name of the operation resource.
+   * @param string $operationsId Part of `name`. See documentation of `appsId`.
+   * @param array $optParams Optional parameters.
+   * @return Google_Service_Appengine_Operation
+   */
+  public function get($appsId, $operationsId, $optParams = array())
+  {
+    $params = array('appsId' => $appsId, 'operationsId' => $operationsId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_Appengine_Operation");
+  }
+
+  /**
+   * Lists operations that match the specified filter in the request. If the
+   * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
+   * `name` binding below allows API services to override the binding to use
+   * different resource name schemes, such as `users/operations`.
+   * (operations.listAppsOperations)
+   *
+   * @param string $appsId Part of `name`. The name of the operation collection.
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param string filter The standard list filter.
+   * @opt_param int pageSize The standard list page size.
+   * @opt_param string pageToken The standard list page token.
+   * @return Google_Service_Appengine_ListOperationsResponse
+   */
+  public function listAppsOperations($appsId, $optParams = array())
+  {
+    $params = array('appsId' => $appsId);
+    $params = array_merge($params, $optParams);
+    return $this->call('list', array($params), "Google_Service_Appengine_ListOperationsResponse");
+  }
+}
+
+
+
+
+class Google_Service_Appengine_ApiConfigHandler extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $authFailAction;
+  public $login;
+  public $script;
+  public $securityLevel;
+  public $url;
+
+
+  public function setAuthFailAction($authFailAction)
+  {
+    $this->authFailAction = $authFailAction;
+  }
+  public function getAuthFailAction()
+  {
+    return $this->authFailAction;
+  }
+  public function setLogin($login)
+  {
+    $this->login = $login;
+  }
+  public function getLogin()
+  {
+    return $this->login;
+  }
+  public function setScript($script)
+  {
+    $this->script = $script;
+  }
+  public function getScript()
+  {
+    return $this->script;
+  }
+  public function setSecurityLevel($securityLevel)
+  {
+    $this->securityLevel = $securityLevel;
+  }
+  public function getSecurityLevel()
+  {
+    return $this->securityLevel;
+  }
+  public function setUrl($url)
+  {
+    $this->url = $url;
+  }
+  public function getUrl()
+  {
+    return $this->url;
+  }
+}
+
+class Google_Service_Appengine_ApiEndpointHandler extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $scriptPath;
+
+
+  public function setScriptPath($scriptPath)
+  {
+    $this->scriptPath = $scriptPath;
+  }
+  public function getScriptPath()
+  {
+    return $this->scriptPath;
+  }
+}
+
+class Google_Service_Appengine_Application extends Google_Collection
+{
+  protected $collection_key = 'dispatchRules';
+  protected $internal_gapi_mappings = array(
+  );
+  public $codeBucket;
+  protected $dispatchRulesType = 'Google_Service_Appengine_UrlDispatchRule';
+  protected $dispatchRulesDataType = 'array';
+  public $id;
+  public $location;
+  public $name;
+
+
+  public function setCodeBucket($codeBucket)
+  {
+    $this->codeBucket = $codeBucket;
+  }
+  public function getCodeBucket()
+  {
+    return $this->codeBucket;
+  }
+  public function setDispatchRules($dispatchRules)
+  {
+    $this->dispatchRules = $dispatchRules;
+  }
+  public function getDispatchRules()
+  {
+    return $this->dispatchRules;
+  }
+  public function setId($id)
+  {
+    $this->id = $id;
+  }
+  public function getId()
+  {
+    return $this->id;
+  }
+  public function setLocation($location)
+  {
+    $this->location = $location;
+  }
+  public function getLocation()
+  {
+    return $this->location;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+}
+
+class Google_Service_Appengine_AutomaticScaling extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $coolDownPeriod;
+  protected $cpuUtilizationType = 'Google_Service_Appengine_CpuUtilization';
+  protected $cpuUtilizationDataType = '';
+  public $maxConcurrentRequests;
+  public $maxIdleInstances;
+  public $maxPendingLatency;
+  public $maxTotalInstances;
+  public $minIdleInstances;
+  public $minPendingLatency;
+  public $minTotalInstances;
+
+
+  public function setCoolDownPeriod($coolDownPeriod)
+  {
+    $this->coolDownPeriod = $coolDownPeriod;
+  }
+  public function getCoolDownPeriod()
+  {
+    return $this->coolDownPeriod;
+  }
+  public function setCpuUtilization(Google_Service_Appengine_CpuUtilization $cpuUtilization)
+  {
+    $this->cpuUtilization = $cpuUtilization;
+  }
+  public function getCpuUtilization()
+  {
+    return $this->cpuUtilization;
+  }
+  public function setMaxConcurrentRequests($maxConcurrentRequests)
+  {
+    $this->maxConcurrentRequests = $maxConcurrentRequests;
+  }
+  public function getMaxConcurrentRequests()
+  {
+    return $this->maxConcurrentRequests;
+  }
+  public function setMaxIdleInstances($maxIdleInstances)
+  {
+    $this->maxIdleInstances = $maxIdleInstances;
+  }
+  public function getMaxIdleInstances()
+  {
+    return $this->maxIdleInstances;
+  }
+  public function setMaxPendingLatency($maxPendingLatency)
+  {
+    $this->maxPendingLatency = $maxPendingLatency;
+  }
+  public function getMaxPendingLatency()
+  {
+    return $this->maxPendingLatency;
+  }
+  public function setMaxTotalInstances($maxTotalInstances)
+  {
+    $this->maxTotalInstances = $maxTotalInstances;
+  }
+  public function getMaxTotalInstances()
+  {
+    return $this->maxTotalInstances;
+  }
+  public function setMinIdleInstances($minIdleInstances)
+  {
+    $this->minIdleInstances = $minIdleInstances;
+  }
+  public function getMinIdleInstances()
+  {
+    return $this->minIdleInstances;
+  }
+  public function setMinPendingLatency($minPendingLatency)
+  {
+    $this->minPendingLatency = $minPendingLatency;
+  }
+  public function getMinPendingLatency()
+  {
+    return $this->minPendingLatency;
+  }
+  public function setMinTotalInstances($minTotalInstances)
+  {
+    $this->minTotalInstances = $minTotalInstances;
+  }
+  public function getMinTotalInstances()
+  {
+    return $this->minTotalInstances;
+  }
+}
+
+class Google_Service_Appengine_BasicScaling extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $idleTimeout;
+  public $maxInstances;
+
+
+  public function setIdleTimeout($idleTimeout)
+  {
+    $this->idleTimeout = $idleTimeout;
+  }
+  public function getIdleTimeout()
+  {
+    return $this->idleTimeout;
+  }
+  public function setMaxInstances($maxInstances)
+  {
+    $this->maxInstances = $maxInstances;
+  }
+  public function getMaxInstances()
+  {
+    return $this->maxInstances;
+  }
+}
+
+class Google_Service_Appengine_ContainerInfo extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $image;
+
+
+  public function setImage($image)
+  {
+    $this->image = $image;
+  }
+  public function getImage()
+  {
+    return $this->image;
+  }
+}
+
+class Google_Service_Appengine_CpuUtilization extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $aggregationWindowLength;
+  public $targetUtilization;
+
+
+  public function setAggregationWindowLength($aggregationWindowLength)
+  {
+    $this->aggregationWindowLength = $aggregationWindowLength;
+  }
+  public function getAggregationWindowLength()
+  {
+    return $this->aggregationWindowLength;
+  }
+  public function setTargetUtilization($targetUtilization)
+  {
+    $this->targetUtilization = $targetUtilization;
+  }
+  public function getTargetUtilization()
+  {
+    return $this->targetUtilization;
+  }
+}
+
+class Google_Service_Appengine_Deployment extends Google_Collection
+{
+  protected $collection_key = 'sourceReferences';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $containerType = 'Google_Service_Appengine_ContainerInfo';
+  protected $containerDataType = '';
+  protected $filesType = 'Google_Service_Appengine_FileInfo';
+  protected $filesDataType = 'map';
+  protected $sourceReferencesType = 'Google_Service_Appengine_SourceReference';
+  protected $sourceReferencesDataType = 'array';
+
+
+  public function setContainer(Google_Service_Appengine_ContainerInfo $container)
+  {
+    $this->container = $container;
+  }
+  public function getContainer()
+  {
+    return $this->container;
+  }
+  public function setFiles($files)
+  {
+    $this->files = $files;
+  }
+  public function getFiles()
+  {
+    return $this->files;
+  }
+  public function setSourceReferences($sourceReferences)
+  {
+    $this->sourceReferences = $sourceReferences;
+  }
+  public function getSourceReferences()
+  {
+    return $this->sourceReferences;
+  }
+}
+
+class Google_Service_Appengine_DeploymentFiles extends Google_Model
+{
+}
+
+class Google_Service_Appengine_ErrorHandler extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $errorCode;
+  public $mimeType;
+  public $staticFile;
+
+
+  public function setErrorCode($errorCode)
+  {
+    $this->errorCode = $errorCode;
+  }
+  public function getErrorCode()
+  {
+    return $this->errorCode;
+  }
+  public function setMimeType($mimeType)
+  {
+    $this->mimeType = $mimeType;
+  }
+  public function getMimeType()
+  {
+    return $this->mimeType;
+  }
+  public function setStaticFile($staticFile)
+  {
+    $this->staticFile = $staticFile;
+  }
+  public function getStaticFile()
+  {
+    return $this->staticFile;
+  }
+}
+
+class Google_Service_Appengine_FileInfo extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $mimeType;
+  public $sha1Sum;
+  public $sourceUrl;
+
+
+  public function setMimeType($mimeType)
+  {
+    $this->mimeType = $mimeType;
+  }
+  public function getMimeType()
+  {
+    return $this->mimeType;
+  }
+  public function setSha1Sum($sha1Sum)
+  {
+    $this->sha1Sum = $sha1Sum;
+  }
+  public function getSha1Sum()
+  {
+    return $this->sha1Sum;
+  }
+  public function setSourceUrl($sourceUrl)
+  {
+    $this->sourceUrl = $sourceUrl;
+  }
+  public function getSourceUrl()
+  {
+    return $this->sourceUrl;
+  }
+}
+
+class Google_Service_Appengine_HealthCheck extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $checkInterval;
+  public $disableHealthCheck;
+  public $healthyThreshold;
+  public $host;
+  public $restartThreshold;
+  public $timeout;
+  public $unhealthyThreshold;
+
+
+  public function setCheckInterval($checkInterval)
+  {
+    $this->checkInterval = $checkInterval;
+  }
+  public function getCheckInterval()
+  {
+    return $this->checkInterval;
+  }
+  public function setDisableHealthCheck($disableHealthCheck)
+  {
+    $this->disableHealthCheck = $disableHealthCheck;
+  }
+  public function getDisableHealthCheck()
+  {
+    return $this->disableHealthCheck;
+  }
+  public function setHealthyThreshold($healthyThreshold)
+  {
+    $this->healthyThreshold = $healthyThreshold;
+  }
+  public function getHealthyThreshold()
+  {
+    return $this->healthyThreshold;
+  }
+  public function setHost($host)
+  {
+    $this->host = $host;
+  }
+  public function getHost()
+  {
+    return $this->host;
+  }
+  public function setRestartThreshold($restartThreshold)
+  {
+    $this->restartThreshold = $restartThreshold;
+  }
+  public function getRestartThreshold()
+  {
+    return $this->restartThreshold;
+  }
+  public function setTimeout($timeout)
+  {
+    $this->timeout = $timeout;
+  }
+  public function getTimeout()
+  {
+    return $this->timeout;
+  }
+  public function setUnhealthyThreshold($unhealthyThreshold)
+  {
+    $this->unhealthyThreshold = $unhealthyThreshold;
+  }
+  public function getUnhealthyThreshold()
+  {
+    return $this->unhealthyThreshold;
+  }
+}
+
+class Google_Service_Appengine_Library extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $name;
+  public $version;
+
+
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+  public function setVersion($version)
+  {
+    $this->version = $version;
+  }
+  public function getVersion()
+  {
+    return $this->version;
+  }
+}
+
+class Google_Service_Appengine_ListModulesResponse extends Google_Collection
+{
+  protected $collection_key = 'modules';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $modulesType = 'Google_Service_Appengine_Module';
+  protected $modulesDataType = 'array';
+  public $nextPageToken;
+
+
+  public function setModules($modules)
+  {
+    $this->modules = $modules;
+  }
+  public function getModules()
+  {
+    return $this->modules;
+  }
+  public function setNextPageToken($nextPageToken)
+  {
+    $this->nextPageToken = $nextPageToken;
+  }
+  public function getNextPageToken()
+  {
+    return $this->nextPageToken;
+  }
+}
+
+class Google_Service_Appengine_ListOperationsResponse extends Google_Collection
+{
+  protected $collection_key = 'operations';
+  protected $internal_gapi_mappings = array(
+  );
+  public $nextPageToken;
+  protected $operationsType = 'Google_Service_Appengine_Operation';
+  protected $operationsDataType = 'array';
+
+
+  public function setNextPageToken($nextPageToken)
+  {
+    $this->nextPageToken = $nextPageToken;
+  }
+  public function getNextPageToken()
+  {
+    return $this->nextPageToken;
+  }
+  public function setOperations($operations)
+  {
+    $this->operations = $operations;
+  }
+  public function getOperations()
+  {
+    return $this->operations;
+  }
+}
+
+class Google_Service_Appengine_ListVersionsResponse extends Google_Collection
+{
+  protected $collection_key = 'versions';
+  protected $internal_gapi_mappings = array(
+  );
+  public $nextPageToken;
+  protected $versionsType = 'Google_Service_Appengine_Version';
+  protected $versionsDataType = 'array';
+
+
+  public function setNextPageToken($nextPageToken)
+  {
+    $this->nextPageToken = $nextPageToken;
+  }
+  public function getNextPageToken()
+  {
+    return $this->nextPageToken;
+  }
+  public function setVersions($versions)
+  {
+    $this->versions = $versions;
+  }
+  public function getVersions()
+  {
+    return $this->versions;
+  }
+}
+
+class Google_Service_Appengine_ManualScaling extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $instances;
+
+
+  public function setInstances($instances)
+  {
+    $this->instances = $instances;
+  }
+  public function getInstances()
+  {
+    return $this->instances;
+  }
+}
+
+class Google_Service_Appengine_Module extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $id;
+  public $name;
+  protected $splitType = 'Google_Service_Appengine_TrafficSplit';
+  protected $splitDataType = '';
+
+
+  public function setId($id)
+  {
+    $this->id = $id;
+  }
+  public function getId()
+  {
+    return $this->id;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+  public function setSplit(Google_Service_Appengine_TrafficSplit $split)
+  {
+    $this->split = $split;
+  }
+  public function getSplit()
+  {
+    return $this->split;
+  }
+}
+
+class Google_Service_Appengine_Network extends Google_Collection
+{
+  protected $collection_key = 'forwardedPorts';
+  protected $internal_gapi_mappings = array(
+  );
+  public $forwardedPorts;
+  public $instanceTag;
+  public $name;
+
+
+  public function setForwardedPorts($forwardedPorts)
+  {
+    $this->forwardedPorts = $forwardedPorts;
+  }
+  public function getForwardedPorts()
+  {
+    return $this->forwardedPorts;
+  }
+  public function setInstanceTag($instanceTag)
+  {
+    $this->instanceTag = $instanceTag;
+  }
+  public function getInstanceTag()
+  {
+    return $this->instanceTag;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+}
+
+class Google_Service_Appengine_Operation extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $done;
+  protected $errorType = 'Google_Service_Appengine_Status';
+  protected $errorDataType = '';
+  public $metadata;
+  public $name;
+  public $response;
+
+
+  public function setDone($done)
+  {
+    $this->done = $done;
+  }
+  public function getDone()
+  {
+    return $this->done;
+  }
+  public function setError(Google_Service_Appengine_Status $error)
+  {
+    $this->error = $error;
+  }
+  public function getError()
+  {
+    return $this->error;
+  }
+  public function setMetadata($metadata)
+  {
+    $this->metadata = $metadata;
+  }
+  public function getMetadata()
+  {
+    return $this->metadata;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+  public function setResponse($response)
+  {
+    $this->response = $response;
+  }
+  public function getResponse()
+  {
+    return $this->response;
+  }
+}
+
+class Google_Service_Appengine_OperationMetadata extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $endTime;
+  public $insertTime;
+  public $method;
+  public $operationType;
+  public $target;
+  public $user;
+
+
+  public function setEndTime($endTime)
+  {
+    $this->endTime = $endTime;
+  }
+  public function getEndTime()
+  {
+    return $this->endTime;
+  }
+  public function setInsertTime($insertTime)
+  {
+    $this->insertTime = $insertTime;
+  }
+  public function getInsertTime()
+  {
+    return $this->insertTime;
+  }
+  public function setMethod($method)
+  {
+    $this->method = $method;
+  }
+  public function getMethod()
+  {
+    return $this->method;
+  }
+  public function setOperationType($operationType)
+  {
+    $this->operationType = $operationType;
+  }
+  public function getOperationType()
+  {
+    return $this->operationType;
+  }
+  public function setTarget($target)
+  {
+    $this->target = $target;
+  }
+  public function getTarget()
+  {
+    return $this->target;
+  }
+  public function setUser($user)
+  {
+    $this->user = $user;
+  }
+  public function getUser()
+  {
+    return $this->user;
+  }
+}
+
+class Google_Service_Appengine_OperationResponse extends Google_Model
+{
+}
+
+class Google_Service_Appengine_Resources extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $cpu;
+  public $diskGb;
+  public $memoryGb;
+
+
+  public function setCpu($cpu)
+  {
+    $this->cpu = $cpu;
+  }
+  public function getCpu()
+  {
+    return $this->cpu;
+  }
+  public function setDiskGb($diskGb)
+  {
+    $this->diskGb = $diskGb;
+  }
+  public function getDiskGb()
+  {
+    return $this->diskGb;
+  }
+  public function setMemoryGb($memoryGb)
+  {
+    $this->memoryGb = $memoryGb;
+  }
+  public function getMemoryGb()
+  {
+    return $this->memoryGb;
+  }
+}
+
+class Google_Service_Appengine_ScriptHandler extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $scriptPath;
+
+
+  public function setScriptPath($scriptPath)
+  {
+    $this->scriptPath = $scriptPath;
+  }
+  public function getScriptPath()
+  {
+    return $this->scriptPath;
+  }
+}
+
+class Google_Service_Appengine_SourceReference extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $repository;
+  public $revisionId;
+
+
+  public function setRepository($repository)
+  {
+    $this->repository = $repository;
+  }
+  public function getRepository()
+  {
+    return $this->repository;
+  }
+  public function setRevisionId($revisionId)
+  {
+    $this->revisionId = $revisionId;
+  }
+  public function getRevisionId()
+  {
+    return $this->revisionId;
+  }
+}
+
+class Google_Service_Appengine_StaticDirectoryHandler extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $applicationReadable;
+  public $directory;
+  public $expiration;
+  public $httpHeaders;
+  public $mimeType;
+  public $requireMatchingFile;
+
+
+  public function setApplicationReadable($applicationReadable)
+  {
+    $this->applicationReadable = $applicationReadable;
+  }
+  public function getApplicationReadable()
+  {
+    return $this->applicationReadable;
+  }
+  public function setDirectory($directory)
+  {
+    $this->directory = $directory;
+  }
+  public function getDirectory()
+  {
+    return $this->directory;
+  }
+  public function setExpiration($expiration)
+  {
+    $this->expiration = $expiration;
+  }
+  public function getExpiration()
+  {
+    return $this->expiration;
+  }
+  public function setHttpHeaders($httpHeaders)
+  {
+    $this->httpHeaders = $httpHeaders;
+  }
+  public function getHttpHeaders()
+  {
+    return $this->httpHeaders;
+  }
+  public function setMimeType($mimeType)
+  {
+    $this->mimeType = $mimeType;
+  }
+  public function getMimeType()
+  {
+    return $this->mimeType;
+  }
+  public function setRequireMatchingFile($requireMatchingFile)
+  {
+    $this->requireMatchingFile = $requireMatchingFile;
+  }
+  public function getRequireMatchingFile()
+  {
+    return $this->requireMatchingFile;
+  }
+}
+
+class Google_Service_Appengine_StaticDirectoryHandlerHttpHeaders extends Google_Model
+{
+}
+
+class Google_Service_Appengine_StaticFilesHandler extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $applicationReadable;
+  public $expiration;
+  public $httpHeaders;
+  public $mimeType;
+  public $path;
+  public $requireMatchingFile;
+  public $uploadPathRegex;
+
+
+  public function setApplicationReadable($applicationReadable)
+  {
+    $this->applicationReadable = $applicationReadable;
+  }
+  public function getApplicationReadable()
+  {
+    return $this->applicationReadable;
+  }
+  public function setExpiration($expiration)
+  {
+    $this->expiration = $expiration;
+  }
+  public function getExpiration()
+  {
+    return $this->expiration;
+  }
+  public function setHttpHeaders($httpHeaders)
+  {
+    $this->httpHeaders = $httpHeaders;
+  }
+  public function getHttpHeaders()
+  {
+    return $this->httpHeaders;
+  }
+  public function setMimeType($mimeType)
+  {
+    $this->mimeType = $mimeType;
+  }
+  public function getMimeType()
+  {
+    return $this->mimeType;
+  }
+  public function setPath($path)
+  {
+    $this->path = $path;
+  }
+  public function getPath()
+  {
+    return $this->path;
+  }
+  public function setRequireMatchingFile($requireMatchingFile)
+  {
+    $this->requireMatchingFile = $requireMatchingFile;
+  }
+  public function getRequireMatchingFile()
+  {
+    return $this->requireMatchingFile;
+  }
+  public function setUploadPathRegex($uploadPathRegex)
+  {
+    $this->uploadPathRegex = $uploadPathRegex;
+  }
+  public function getUploadPathRegex()
+  {
+    return $this->uploadPathRegex;
+  }
+}
+
+class Google_Service_Appengine_StaticFilesHandlerHttpHeaders extends Google_Model
+{
+}
+
+class Google_Service_Appengine_Status extends Google_Collection
+{
+  protected $collection_key = 'details';
+  protected $internal_gapi_mappings = array(
+  );
+  public $code;
+  public $details;
+  public $message;
+
+
+  public function setCode($code)
+  {
+    $this->code = $code;
+  }
+  public function getCode()
+  {
+    return $this->code;
+  }
+  public function setDetails($details)
+  {
+    $this->details = $details;
+  }
+  public function getDetails()
+  {
+    return $this->details;
+  }
+  public function setMessage($message)
+  {
+    $this->message = $message;
+  }
+  public function getMessage()
+  {
+    return $this->message;
+  }
+}
+
+class Google_Service_Appengine_StatusDetails extends Google_Model
+{
+}
+
+class Google_Service_Appengine_TrafficSplit extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $allocations;
+  public $shardBy;
+
+
+  public function setAllocations($allocations)
+  {
+    $this->allocations = $allocations;
+  }
+  public function getAllocations()
+  {
+    return $this->allocations;
+  }
+  public function setShardBy($shardBy)
+  {
+    $this->shardBy = $shardBy;
+  }
+  public function getShardBy()
+  {
+    return $this->shardBy;
+  }
+}
+
+class Google_Service_Appengine_TrafficSplitAllocations extends Google_Model
+{
+}
+
+class Google_Service_Appengine_UrlDispatchRule extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $domain;
+  public $module;
+  public $path;
+
+
+  public function setDomain($domain)
+  {
+    $this->domain = $domain;
+  }
+  public function getDomain()
+  {
+    return $this->domain;
+  }
+  public function setModule($module)
+  {
+    $this->module = $module;
+  }
+  public function getModule()
+  {
+    return $this->module;
+  }
+  public function setPath($path)
+  {
+    $this->path = $path;
+  }
+  public function getPath()
+  {
+    return $this->path;
+  }
+}
+
+class Google_Service_Appengine_UrlMap extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  protected $apiEndpointType = 'Google_Service_Appengine_ApiEndpointHandler';
+  protected $apiEndpointDataType = '';
+  public $authFailAction;
+  public $login;
+  public $redirectHttpResponseCode;
+  protected $scriptType = 'Google_Service_Appengine_ScriptHandler';
+  protected $scriptDataType = '';
+  public $securityLevel;
+  protected $staticDirectoryType = 'Google_Service_Appengine_StaticDirectoryHandler';
+  protected $staticDirectoryDataType = '';
+  protected $staticFilesType = 'Google_Service_Appengine_StaticFilesHandler';
+  protected $staticFilesDataType = '';
+  public $urlRegex;
+
+
+  public function setApiEndpoint(Google_Service_Appengine_ApiEndpointHandler $apiEndpoint)
+  {
+    $this->apiEndpoint = $apiEndpoint;
+  }
+  public function getApiEndpoint()
+  {
+    return $this->apiEndpoint;
+  }
+  public function setAuthFailAction($authFailAction)
+  {
+    $this->authFailAction = $authFailAction;
+  }
+  public function getAuthFailAction()
+  {
+    return $this->authFailAction;
+  }
+  public function setLogin($login)
+  {
+    $this->login = $login;
+  }
+  public function getLogin()
+  {
+    return $this->login;
+  }
+  public function setRedirectHttpResponseCode($redirectHttpResponseCode)
+  {
+    $this->redirectHttpResponseCode = $redirectHttpResponseCode;
+  }
+  public function getRedirectHttpResponseCode()
+  {
+    return $this->redirectHttpResponseCode;
+  }
+  public function setScript(Google_Service_Appengine_ScriptHandler $script)
+  {
+    $this->script = $script;
+  }
+  public function getScript()
+  {
+    return $this->script;
+  }
+  public function setSecurityLevel($securityLevel)
+  {
+    $this->securityLevel = $securityLevel;
+  }
+  public function getSecurityLevel()
+  {
+    return $this->securityLevel;
+  }
+  public function setStaticDirectory(Google_Service_Appengine_StaticDirectoryHandler $staticDirectory)
+  {
+    $this->staticDirectory = $staticDirectory;
+  }
+  public function getStaticDirectory()
+  {
+    return $this->staticDirectory;
+  }
+  public function setStaticFiles(Google_Service_Appengine_StaticFilesHandler $staticFiles)
+  {
+    $this->staticFiles = $staticFiles;
+  }
+  public function getStaticFiles()
+  {
+    return $this->staticFiles;
+  }
+  public function setUrlRegex($urlRegex)
+  {
+    $this->urlRegex = $urlRegex;
+  }
+  public function getUrlRegex()
+  {
+    return $this->urlRegex;
+  }
+}
+
+class Google_Service_Appengine_Version extends Google_Collection
+{
+  protected $collection_key = 'libraries';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $apiConfigType = 'Google_Service_Appengine_ApiConfigHandler';
+  protected $apiConfigDataType = '';
+  protected $automaticScalingType = 'Google_Service_Appengine_AutomaticScaling';
+  protected $automaticScalingDataType = '';
+  protected $basicScalingType = 'Google_Service_Appengine_BasicScaling';
+  protected $basicScalingDataType = '';
+  public $betaSettings;
+  public $creationTime;
+  public $defaultExpiration;
+  public $deployer;
+  protected $deploymentType = 'Google_Service_Appengine_Deployment';
+  protected $deploymentDataType = '';
+  public $env;
+  public $envVariables;
+  protected $errorHandlersType = 'Google_Service_Appengine_ErrorHandler';
+  protected $errorHandlersDataType = 'array';
+  protected $handlersType = 'Google_Service_Appengine_UrlMap';
+  protected $handlersDataType = 'array';
+  protected $healthCheckType = 'Google_Service_Appengine_HealthCheck';
+  protected $healthCheckDataType = '';
+  public $id;
+  public $inboundServices;
+  public $instanceClass;
+  protected $librariesType = 'Google_Service_Appengine_Library';
+  protected $librariesDataType = 'array';
+  protected $manualScalingType = 'Google_Service_Appengine_ManualScaling';
+  protected $manualScalingDataType = '';
+  public $name;
+  protected $networkType = 'Google_Service_Appengine_Network';
+  protected $networkDataType = '';
+  public $nobuildFilesRegex;
+  protected $resourcesType = 'Google_Service_Appengine_Resources';
+  protected $resourcesDataType = '';
+  public $runtime;
+  public $servingStatus;
+  public $threadsafe;
+  public $vm;
+
+
+  public function setApiConfig(Google_Service_Appengine_ApiConfigHandler $apiConfig)
+  {
+    $this->apiConfig = $apiConfig;
+  }
+  public function getApiConfig()
+  {
+    return $this->apiConfig;
+  }
+  public function setAutomaticScaling(Google_Service_Appengine_AutomaticScaling $automaticScaling)
+  {
+    $this->automaticScaling = $automaticScaling;
+  }
+  public function getAutomaticScaling()
+  {
+    return $this->automaticScaling;
+  }
+  public function setBasicScaling(Google_Service_Appengine_BasicScaling $basicScaling)
+  {
+    $this->basicScaling = $basicScaling;
+  }
+  public function getBasicScaling()
+  {
+    return $this->basicScaling;
+  }
+  public function setBetaSettings($betaSettings)
+  {
+    $this->betaSettings = $betaSettings;
+  }
+  public function getBetaSettings()
+  {
+    return $this->betaSettings;
+  }
+  public function setCreationTime($creationTime)
+  {
+    $this->creationTime = $creationTime;
+  }
+  public function getCreationTime()
+  {
+    return $this->creationTime;
+  }
+  public function setDefaultExpiration($defaultExpiration)
+  {
+    $this->defaultExpiration = $defaultExpiration;
+  }
+  public function getDefaultExpiration()
+  {
+    return $this->defaultExpiration;
+  }
+  public function setDeployer($deployer)
+  {
+    $this->deployer = $deployer;
+  }
+  public function getDeployer()
+  {
+    return $this->deployer;
+  }
+  public function setDeployment(Google_Service_Appengine_Deployment $deployment)
+  {
+    $this->deployment = $deployment;
+  }
+  public function getDeployment()
+  {
+    return $this->deployment;
+  }
+  public function setEnv($env)
+  {
+    $this->env = $env;
+  }
+  public function getEnv()
+  {
+    return $this->env;
+  }
+  public function setEnvVariables($envVariables)
+  {
+    $this->envVariables = $envVariables;
+  }
+  public function getEnvVariables()
+  {
+    return $this->envVariables;
+  }
+  public function setErrorHandlers($errorHandlers)
+  {
+    $this->errorHandlers = $errorHandlers;
+  }
+  public function getErrorHandlers()
+  {
+    return $this->errorHandlers;
+  }
+  public function setHandlers($handlers)
+  {
+    $this->handlers = $handlers;
+  }
+  public function getHandlers()
+  {
+    return $this->handlers;
+  }
+  public function setHealthCheck(Google_Service_Appengine_HealthCheck $healthCheck)
+  {
+    $this->healthCheck = $healthCheck;
+  }
+  public function getHealthCheck()
+  {
+    return $this->healthCheck;
+  }
+  public function setId($id)
+  {
+    $this->id = $id;
+  }
+  public function getId()
+  {
+    return $this->id;
+  }
+  public function setInboundServices($inboundServices)
+  {
+    $this->inboundServices = $inboundServices;
+  }
+  public function getInboundServices()
+  {
+    return $this->inboundServices;
+  }
+  public function setInstanceClass($instanceClass)
+  {
+    $this->instanceClass = $instanceClass;
+  }
+  public function getInstanceClass()
+  {
+    return $this->instanceClass;
+  }
+  public function setLibraries($libraries)
+  {
+    $this->libraries = $libraries;
+  }
+  public function getLibraries()
+  {
+    return $this->libraries;
+  }
+  public function setManualScaling(Google_Service_Appengine_ManualScaling $manualScaling)
+  {
+    $this->manualScaling = $manualScaling;
+  }
+  public function getManualScaling()
+  {
+    return $this->manualScaling;
+  }
+  public function setName($name)
+  {
+    $this->name = $name;
+  }
+  public function getName()
+  {
+    return $this->name;
+  }
+  public function setNetwork(Google_Service_Appengine_Network $network)
+  {
+    $this->network = $network;
+  }
+  public function getNetwork()
+  {
+    return $this->network;
+  }
+  public function setNobuildFilesRegex($nobuildFilesRegex)
+  {
+    $this->nobuildFilesRegex = $nobuildFilesRegex;
+  }
+  public function getNobuildFilesRegex()
+  {
+    return $this->nobuildFilesRegex;
+  }
+  public function setResources(Google_Service_Appengine_Resources $resources)
+  {
+    $this->resources = $resources;
+  }
+  public function getResources()
+  {
+    return $this->resources;
+  }
+  public function setRuntime($runtime)
+  {
+    $this->runtime = $runtime;
+  }
+  public function getRuntime()
+  {
+    return $this->runtime;
+  }
+  public function setServingStatus($servingStatus)
+  {
+    $this->servingStatus = $servingStatus;
+  }
+  public function getServingStatus()
+  {
+    return $this->servingStatus;
+  }
+  public function setThreadsafe($threadsafe)
+  {
+    $this->threadsafe = $threadsafe;
+  }
+  public function getThreadsafe()
+  {
+    return $this->threadsafe;
+  }
+  public function setVm($vm)
+  {
+    $this->vm = $vm;
+  }
+  public function getVm()
+  {
+    return $this->vm;
+  }
+}
+
+class Google_Service_Appengine_VersionBetaSettings extends Google_Model
+{
+}
+
+class Google_Service_Appengine_VersionEnvVariables extends Google_Model
+{
+}
index 6f2c167..c8c4c63 100644 (file)
@@ -46,7 +46,9 @@ class Google_Service_Books extends Google_Service
   public $mylibrary_bookshelves;
   public $mylibrary_bookshelves_volumes;
   public $mylibrary_readingpositions;
+  public $notification;
   public $onboarding;
+  public $personalizedstream;
   public $promooffer;
   public $volumes;
   public $volumes_associated;
@@ -961,6 +963,34 @@ class Google_Service_Books extends Google_Service
           )
         )
     );
+    $this->notification = new Google_Service_Books_Notification_Resource(
+        $this,
+        $this->serviceName,
+        'notification',
+        array(
+          'methods' => array(
+            'get' => array(
+              'path' => 'notification/get',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'notification_id' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                  'required' => true,
+                ),
+                'locale' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+                'source' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+              ),
+            ),
+          )
+        )
+    );
     $this->onboarding = new Google_Service_Books_Onboarding_Resource(
         $this,
         $this->serviceName,
@@ -1006,6 +1036,33 @@ class Google_Service_Books extends Google_Service
           )
         )
     );
+    $this->personalizedstream = new Google_Service_Books_Personalizedstream_Resource(
+        $this,
+        $this->serviceName,
+        'personalizedstream',
+        array(
+          'methods' => array(
+            'get' => array(
+              'path' => 'personalizedstream/get',
+              'httpMethod' => 'GET',
+              'parameters' => array(
+                'locale' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+                'source' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+                'maxAllowedMaturityRating' => array(
+                  'location' => 'query',
+                  'type' => 'string',
+                ),
+              ),
+            ),
+          )
+        )
+    );
     $this->promooffer = new Google_Service_Books_Promooffer_Resource(
         $this,
         $this->serviceName,
@@ -1539,7 +1596,7 @@ class Google_Service_Books_Dictionary_Resource extends Google_Service_Resource
 {
 
   /**
-   * Returns a list of offline dictionary meatadata available
+   * Returns a list of offline dictionary metadata available
    * (dictionary.listOfflineMetadata)
    *
    * @param string $cpksver The device/version ID from which to request the data.
@@ -2191,6 +2248,36 @@ class Google_Service_Books_MylibraryReadingpositions_Resource extends Google_Ser
   }
 }
 
+/**
+ * The "notification" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $booksService = new Google_Service_Books(...);
+ *   $notification = $booksService->notification;
+ *  </code>
+ */
+class Google_Service_Books_Notification_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Returns notification details for a given notification id. (notification.get)
+   *
+   * @param string $notificationId String to identify the notification.
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
+   * 'en_US'. Used for generating notification title and body.
+   * @opt_param string source String to identify the originator of this request.
+   * @return Google_Service_Books_Notification
+   */
+  public function get($notificationId, $optParams = array())
+  {
+    $params = array('notification_id' => $notificationId);
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_Books_Notification");
+  }
+}
+
 /**
  * The "onboarding" collection of methods.
  * Typical usage is:
@@ -2244,6 +2331,38 @@ class Google_Service_Books_Onboarding_Resource extends Google_Service_Resource
   }
 }
 
+/**
+ * The "personalizedstream" collection of methods.
+ * Typical usage is:
+ *  <code>
+ *   $booksService = new Google_Service_Books(...);
+ *   $personalizedstream = $booksService->personalizedstream;
+ *  </code>
+ */
+class Google_Service_Books_Personalizedstream_Resource extends Google_Service_Resource
+{
+
+  /**
+   * Returns a stream of personalized book clusters (personalizedstream.get)
+   *
+   * @param array $optParams Optional parameters.
+   *
+   * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
+   * 'en_US'. Used for generating recommendations.
+   * @opt_param string source String to identify the originator of this request.
+   * @opt_param string maxAllowedMaturityRating The maximum allowed maturity
+   * rating of returned recommendations. Books with a higher maturity rating are
+   * filtered out.
+   * @return Google_Service_Books_Discoveryclusters
+   */
+  public function get($optParams = array())
+  {
+    $params = array();
+    $params = array_merge($params, $optParams);
+    return $this->call('get', array($params), "Google_Service_Books_Discoveryclusters");
+  }
+}
+
 /**
  * The "promooffer" collection of methods.
  * Typical usage is:
@@ -4080,6 +4199,171 @@ class Google_Service_Books_DictlayerdataDictWordsSource extends Google_Model
   }
 }
 
+class Google_Service_Books_Discoveryclusters extends Google_Collection
+{
+  protected $collection_key = 'clusters';
+  protected $internal_gapi_mappings = array(
+  );
+  protected $clustersType = 'Google_Service_Books_DiscoveryclustersClusters';
+  protected $clustersDataType = 'array';
+  public $kind;
+  public $totalClusters;
+
+
+  public function setClusters($clusters)
+  {
+    $this->clusters = $clusters;
+  }
+  public function getClusters()
+  {
+    return $this->clusters;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setTotalClusters($totalClusters)
+  {
+    $this->totalClusters = $totalClusters;
+  }
+  public function getTotalClusters()
+  {
+    return $this->totalClusters;
+  }
+}
+
+class Google_Service_Books_DiscoveryclustersClusters extends Google_Collection
+{
+  protected $collection_key = 'volumes';
+  protected $internal_gapi_mappings = array(
+        "bannerWithContentContainer" => "banner_with_content_container",
+  );
+  protected $bannerWithContentContainerType = 'Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer';
+  protected $bannerWithContentContainerDataType = '';
+  public $subTitle;
+  public $title;
+  public $totalVolumes;
+  public $uid;
+  protected $volumesType = 'Google_Service_Books_Volume';
+  protected $volumesDataType = 'array';
+
+
+  public function setBannerWithContentContainer(Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer $bannerWithContentContainer)
+  {
+    $this->bannerWithContentContainer = $bannerWithContentContainer;
+  }
+  public function getBannerWithContentContainer()
+  {
+    return $this->bannerWithContentContainer;
+  }
+  public function setSubTitle($subTitle)
+  {
+    $this->subTitle = $subTitle;
+  }
+  public function getSubTitle()
+  {
+    return $this->subTitle;
+  }
+  public function setTitle($title)
+  {
+    $this->title = $title;
+  }
+  public function getTitle()
+  {
+    return $this->title;
+  }
+  public function setTotalVolumes($totalVolumes)
+  {
+    $this->totalVolumes = $totalVolumes;
+  }
+  public function getTotalVolumes()
+  {
+    return $this->totalVolumes;
+  }
+  public function setUid($uid)
+  {
+    $this->uid = $uid;
+  }
+  public function getUid()
+  {
+    return $this->uid;
+  }
+  public function setVolumes($volumes)
+  {
+    $this->volumes = $volumes;
+  }
+  public function getVolumes()
+  {
+    return $this->volumes;
+  }
+}
+
+class Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $fillColorArgb;
+  public $imageUrl;
+  public $maskColorArgb;
+  public $moreButtonText;
+  public $moreButtonUrl;
+  public $textColorArgb;
+
+
+  public function setFillColorArgb($fillColorArgb)
+  {
+    $this->fillColorArgb = $fillColorArgb;
+  }
+  public function getFillColorArgb()
+  {
+    return $this->fillColorArgb;
+  }
+  public function setImageUrl($imageUrl)
+  {
+    $this->imageUrl = $imageUrl;
+  }
+  public function getImageUrl()
+  {
+    return $this->imageUrl;
+  }
+  public function setMaskColorArgb($maskColorArgb)
+  {
+    $this->maskColorArgb = $maskColorArgb;
+  }
+  public function getMaskColorArgb()
+  {
+    return $this->maskColorArgb;
+  }
+  public function setMoreButtonText($moreButtonText)
+  {
+    $this->moreButtonText = $moreButtonText;
+  }
+  public function getMoreButtonText()
+  {
+    return $this->moreButtonText;
+  }
+  public function setMoreButtonUrl($moreButtonUrl)
+  {
+    $this->moreButtonUrl = $moreButtonUrl;
+  }
+  public function getMoreButtonUrl()
+  {
+    return $this->moreButtonUrl;
+  }
+  public function setTextColorArgb($textColorArgb)
+  {
+    $this->textColorArgb = $textColorArgb;
+  }
+  public function getTextColorArgb()
+  {
+    return $this->textColorArgb;
+  }
+}
+
 class Google_Service_Books_DownloadAccessRestriction extends Google_Model
 {
   protected $internal_gapi_mappings = array(
@@ -4749,6 +5033,59 @@ class Google_Service_Books_MetadataItems extends Google_Model
   }
 }
 
+class Google_Service_Books_Notification extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  public $body;
+  public $iconUrl;
+  public $kind;
+  public $linkUrl;
+  public $title;
+
+
+  public function setBody($body)
+  {
+    $this->body = $body;
+  }
+  public function getBody()
+  {
+    return $this->body;
+  }
+  public function setIconUrl($iconUrl)
+  {
+    $this->iconUrl = $iconUrl;
+  }
+  public function getIconUrl()
+  {
+    return $this->iconUrl;
+  }
+  public function setKind($kind)
+  {
+    $this->kind = $kind;
+  }
+  public function getKind()
+  {
+    return $this->kind;
+  }
+  public function setLinkUrl($linkUrl)
+  {
+    $this->linkUrl = $linkUrl;
+  }
+  public function getLinkUrl()
+  {
+    return $this->linkUrl;
+  }
+  public function setTitle($title)
+  {
+    $this->title = $title;
+  }
+  public function getTitle()
+  {
+    return $this->title;
+  }
+}
+
 class Google_Service_Books_Offers extends Google_Collection
 {
   protected $collection_key = 'items';
@@ -5152,6 +5489,8 @@ class Google_Service_Books_Usersettings extends Google_Model
   public $kind;
   protected $notesExportType = 'Google_Service_Books_UsersettingsNotesExport';
   protected $notesExportDataType = '';
+  protected $notificationType = 'Google_Service_Books_UsersettingsNotification';
+  protected $notificationDataType = '';
 
 
   public function setKind($kind)
@@ -5170,6 +5509,14 @@ class Google_Service_Books_Usersettings extends Google_Model
   {
     return $this->notesExport;
   }
+  public function setNotification(Google_Service_Books_UsersettingsNotification $notification)
+  {
+    $this->notification = $notification;
+  }
+  public function getNotification()
+  {
+    return $this->notification;
+  }
 }
 
 class Google_Service_Books_UsersettingsNotesExport extends Google_Model
@@ -5198,6 +5545,42 @@ class Google_Service_Books_UsersettingsNotesExport extends Google_Model
   }
 }
 
+class Google_Service_Books_UsersettingsNotification extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+  );
+  protected $moreFromAuthorsType = 'Google_Service_Books_UsersettingsNotificationMoreFromAuthors';
+  protected $moreFromAuthorsDataType = '';
+
+
+  public function setMoreFromAuthors(Google_Service_Books_UsersettingsNotificationMoreFromAuthors $moreFromAuthors)
+  {
+    $this->moreFromAuthors = $moreFromAuthors;
+  }
+  public function getMoreFromAuthors()
+  {
+    return $this->moreFromAuthors;
+  }
+}
+
+class Google_Service_Books_UsersettingsNotificationMoreFromAuthors extends Google_Model
+{
+  protected $internal_gapi_mappings = array(
+        "optedState" => "opted_state",
+  );
+  public $optedState;
+
+
+  public function setOptedState($optedState)
+  {
+    $this->optedState = $optedState;
+  }
+  public function getOptedState()
+  {
+    return $this->optedState;
+  }
+}
+
 class Google_Service_Books_Volume extends Google_Model
 {
   protected $internal_gapi_mappings = array(
@@ -5900,8 +6283,10 @@ class Google_Service_Books_VolumeUserInfo extends Google_Model
 {
   protected $internal_gapi_mappings = array(
   );
+  public $acquisitionType;
   protected $copyType = 'Google_Service_Books_VolumeUserInfoCopy';
   protected $copyDataType = '';
+  public $entitlementType;
   public $isInMyBooks;
   public $isPreordered;
   public $isPurchased;
@@ -5918,6 +6303,14 @@ class Google_Service_Books_VolumeUserInfo extends Google_Model
   protected $userUploadedVolumeInfoDataType = '';
 
 
+  public function setAcquisitionType($acquisitionType)
+  {
+    $this->acquisitionType = $acquisitionType;
+  }
+  public function getAcquisitionType()
+  {
+    return $this->acquisitionType;
+  }
   public function setCopy(Google_Service_Books_VolumeUserInfoCopy $copy)
   {
     $this->copy = $copy;
@@ -5926,6 +6319,14 @@ class Google_Service_Books_VolumeUserInfo extends Google_Model
   {
     return $this->copy;
   }
+  public function setEntitlementType($entitlementType)
+  {
+    $this->entitlementType = $entitlementType;
+  }
+  public function getEntitlementType()
+  {
+    return $this->entitlementType;
+  }
   public function setIsInMyBooks($isInMyBooks)
   {
     $this->isInMyBooks = $isInMyBooks;
index 377357f..5105c78 100644 (file)
@@ -903,7 +903,9 @@ class Google_Service_Calendar_Acl_Resource extends Google_Service_Resource
   /**
    * Deletes an access control rule. (acl.delete)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $ruleId ACL rule identifier.
    * @param array $optParams Optional parameters.
    */
@@ -917,7 +919,9 @@ class Google_Service_Calendar_Acl_Resource extends Google_Service_Resource
   /**
    * Returns an access control rule. (acl.get)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $ruleId ACL rule identifier.
    * @param array $optParams Optional parameters.
    * @return Google_Service_Calendar_AclRule
@@ -932,7 +936,9 @@ class Google_Service_Calendar_Acl_Resource extends Google_Service_Resource
   /**
    * Creates an access control rule. (acl.insert)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param Google_AclRule $postBody
    * @param array $optParams Optional parameters.
    * @return Google_Service_Calendar_AclRule
@@ -947,7 +953,9 @@ class Google_Service_Calendar_Acl_Resource extends Google_Service_Resource
   /**
    * Returns the rules in the access control list for the calendar. (acl.listAcl)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param array $optParams Optional parameters.
    *
    * @opt_param string pageToken Token specifying which result page to return.
@@ -980,7 +988,9 @@ class Google_Service_Calendar_Acl_Resource extends Google_Service_Resource
    * Updates an access control rule. This method supports patch semantics.
    * (acl.patch)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $ruleId ACL rule identifier.
    * @param Google_AclRule $postBody
    * @param array $optParams Optional parameters.
@@ -996,7 +1006,9 @@ class Google_Service_Calendar_Acl_Resource extends Google_Service_Resource
   /**
    * Updates an access control rule. (acl.update)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $ruleId ACL rule identifier.
    * @param Google_AclRule $postBody
    * @param array $optParams Optional parameters.
@@ -1012,7 +1024,9 @@ class Google_Service_Calendar_Acl_Resource extends Google_Service_Resource
   /**
    * Watch for changes to ACL resources. (acl.watch)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param Google_Channel $postBody
    * @param array $optParams Optional parameters.
    *
@@ -1057,7 +1071,9 @@ class Google_Service_Calendar_CalendarList_Resource extends Google_Service_Resou
   /**
    * Deletes an entry on the user's calendar list. (calendarList.delete)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param array $optParams Optional parameters.
    */
   public function delete($calendarId, $optParams = array())
@@ -1070,7 +1086,9 @@ class Google_Service_Calendar_CalendarList_Resource extends Google_Service_Resou
   /**
    * Returns an entry on the user's calendar list. (calendarList.get)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param array $optParams Optional parameters.
    * @return Google_Service_Calendar_CalendarListEntry
    */
@@ -1141,7 +1159,9 @@ class Google_Service_Calendar_CalendarList_Resource extends Google_Service_Resou
    * Updates an entry on the user's calendar list. This method supports patch
    * semantics. (calendarList.patch)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param Google_CalendarListEntry $postBody
    * @param array $optParams Optional parameters.
    *
@@ -1161,7 +1181,9 @@ class Google_Service_Calendar_CalendarList_Resource extends Google_Service_Resou
   /**
    * Updates an entry on the user's calendar list. (calendarList.update)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param Google_CalendarListEntry $postBody
    * @param array $optParams Optional parameters.
    *
@@ -1232,7 +1254,9 @@ class Google_Service_Calendar_Calendars_Resource extends Google_Service_Resource
    * Clears a primary calendar. This operation deletes all events associated with
    * the primary calendar of an account. (calendars.clear)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param array $optParams Optional parameters.
    */
   public function clear($calendarId, $optParams = array())
@@ -1246,7 +1270,9 @@ class Google_Service_Calendar_Calendars_Resource extends Google_Service_Resource
    * Deletes a secondary calendar. Use calendars.clear for clearing all events on
    * primary calendars. (calendars.delete)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param array $optParams Optional parameters.
    */
   public function delete($calendarId, $optParams = array())
@@ -1259,7 +1285,9 @@ class Google_Service_Calendar_Calendars_Resource extends Google_Service_Resource
   /**
    * Returns metadata for a calendar. (calendars.get)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param array $optParams Optional parameters.
    * @return Google_Service_Calendar_Calendar
    */
@@ -1288,7 +1316,9 @@ class Google_Service_Calendar_Calendars_Resource extends Google_Service_Resource
    * Updates metadata for a calendar. This method supports patch semantics.
    * (calendars.patch)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param Google_Calendar $postBody
    * @param array $optParams Optional parameters.
    * @return Google_Service_Calendar_Calendar
@@ -1303,7 +1333,9 @@ class Google_Service_Calendar_Calendars_Resource extends Google_Service_Resource
   /**
    * Updates metadata for a calendar. (calendars.update)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param Google_Calendar $postBody
    * @param array $optParams Optional parameters.
    * @return Google_Service_Calendar_Calendar
@@ -1380,7 +1412,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
   /**
    * Deletes an event. (events.delete)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $eventId Event identifier.
    * @param array $optParams Optional parameters.
    *
@@ -1397,7 +1431,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
   /**
    * Returns an event. (events.get)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $eventId Event identifier.
    * @param array $optParams Optional parameters.
    *
@@ -1425,7 +1461,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
    * Imports an event. This operation is used to add a private copy of an existing
    * event to a calendar. (events.import)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param Google_Event $postBody
    * @param array $optParams Optional parameters.
    *
@@ -1443,7 +1481,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
   /**
    * Creates an event. (events.insert)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param Google_Event $postBody
    * @param array $optParams Optional parameters.
    *
@@ -1466,7 +1506,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
   /**
    * Returns instances of the specified recurring event. (events.instances)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $eventId Recurring event identifier.
    * @param array $optParams Optional parameters.
    *
@@ -1475,7 +1517,8 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
    * will still be included if singleEvents is False. Optional. The default is
    * False.
    * @opt_param string timeMax Upper bound (exclusive) for an event's start time
-   * to filter by. Optional. The default is not to filter by start time.
+   * to filter by. Optional. The default is not to filter by start time. Must be
+   * an RFC3339 timestamp with mandatory time zone offset.
    * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
    * email field for the organizer, creator and attendees, even if no real email
    * is available (i.e. a generated, non-working value will be provided). The use
@@ -1488,7 +1531,8 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
    * @opt_param string pageToken Token specifying which result page to return.
    * Optional.
    * @opt_param string timeMin Lower bound (inclusive) for an event's end time to
-   * filter by. Optional. The default is not to filter by end time.
+   * filter by. Optional. The default is not to filter by end time. Must be an
+   * RFC3339 timestamp with mandatory time zone offset.
    * @opt_param string timeZone Time zone used in the response. Optional. The
    * default is the time zone of the calendar.
    * @opt_param string originalStart The original start time of the instance in
@@ -1508,7 +1552,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
   /**
    * Returns events on the specified calendar. (events.listEvents)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param array $optParams Optional parameters.
    *
    * @opt_param string orderBy The order of the events returned in the result.
@@ -1538,7 +1584,7 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
    * @opt_param string iCalUID Specifies event ID in the iCalendar format to be
    * included in the response. Optional.
    * @opt_param string updatedMin Lower bound for an event's last modification
-   * time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted
+   * time (as a RFC3339 timestamp) to filter by. When specified, entries deleted
    * since this time will always be included regardless of showDeleted. Optional.
    * The default is not to filter by last modification time.
    * @opt_param bool singleEvents Whether to expand recurring events into
@@ -1546,7 +1592,10 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
    * events, but not the underlying recurring events themselves. Optional. The
    * default is False.
    * @opt_param string timeMax Upper bound (exclusive) for an event's start time
-   * to filter by. Optional. The default is not to filter by start time.
+   * to filter by. Optional. The default is not to filter by start time. Must be
+   * an RFC3339 timestamp with mandatory time zone offset, e.g.,
+   * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
+   * but will be ignored.
    * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
    * email field for the organizer, creator and attendees, even if no real email
    * is available (i.e. a generated, non-working value will be provided). The use
@@ -1561,7 +1610,10 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
    * @opt_param string pageToken Token specifying which result page to return.
    * Optional.
    * @opt_param string timeMin Lower bound (inclusive) for an event's end time to
-   * filter by. Optional. The default is not to filter by end time.
+   * filter by. Optional. The default is not to filter by end time. Must be an
+   * RFC3339 timestamp with mandatory time zone offset, e.g.,
+   * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
+   * but will be ignored.
    * @opt_param string timeZone Time zone used in the response. Optional. The
    * default is the time zone of the calendar.
    * @opt_param string privateExtendedProperty Extended properties constraint
@@ -1609,7 +1661,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
   /**
    * Updates an event. This method supports patch semantics. (events.patch)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $eventId Event identifier.
    * @param Google_Event $postBody
    * @param array $optParams Optional parameters.
@@ -1640,7 +1694,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
   /**
    * Creates an event based on a simple text string. (events.quickAdd)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $text The text describing the event to be created.
    * @param array $optParams Optional parameters.
    *
@@ -1658,7 +1714,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
   /**
    * Updates an event. (events.update)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param string $eventId Event identifier.
    * @param Google_Event $postBody
    * @param array $optParams Optional parameters.
@@ -1689,7 +1747,9 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
   /**
    * Watch for changes to Events resources. (events.watch)
    *
-   * @param string $calendarId Calendar identifier.
+   * @param string $calendarId Calendar identifier. To retrieve calendar IDs call
+   * the calendarList.list method. If you want to access the primary calendar of
+   * the currently logged in user, use the "primary" keyword.
    * @param Google_Channel $postBody
    * @param array $optParams Optional parameters.
    *
@@ -1720,7 +1780,7 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
    * @opt_param string iCalUID Specifies event ID in the iCalendar format to be
    * included in the response. Optional.
    * @opt_param string updatedMin Lower bound for an event's last modification
-   * time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted
+   * time (as a RFC3339 timestamp) to filter by. When specified, entries deleted
    * since this time will always be included regardless of showDeleted. Optional.
    * The default is not to filter by last modification time.
    * @opt_param bool singleEvents Whether to expand recurring events into
@@ -1728,7 +1788,10 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
    * events, but not the underlying recurring events themselves. Optional. The
    * default is False.
    * @opt_param string timeMax Upper bound (exclusive) for an event's start time
-   * to filter by. Optional. The default is not to filter by start time.
+   * to filter by. Optional. The default is not to filter by start time. Must be
+   * an RFC3339 timestamp with mandatory time zone offset, e.g.,
+   * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
+   * but will be ignored.
    * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
    * email field for the organizer, creator and attendees, even if no real email
    * is available (i.e. a generated, non-working value will be provided). The use
@@ -1743,7 +1806,10 @@ class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
    * @opt_param string pageToken Token specifying which result page to return.
    * Optional.
    * @opt_param string timeMin Lower bound (inclusive) for an event's end time to
-   * filter by. Optional. The default is not to filter by end time.
+   * filter by. Optional. The default is not to filter by end time. Must be an
+   * RFC3339 timestamp with mandatory time zone offset, e.g.,
+   * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
+   * but will be ignored.
    * @opt_param string timeZone Time zone used in the response. Optional. The
    * default is the time zone of the calendar.
    * @opt_param string privateExtendedProperty Extended properties constraint
@@ -2919,12 +2985,21 @@ class Google_Service_Calendar_EventAttachment extends Google_Model
 {
   protected $internal_gapi_mappings = array(
   );
+  public $fileId;
   public $fileUrl;
   public $iconLink;
   public $mimeType;
   public $title;
 
 
+  public function setFileId($fileId)
+  {
+    $this->fileId = $fileId;
+  }
+  public function getFileId()
+  {
+    return $this->fileId;
+  }
   public function setFileUrl($fileUrl)
   {
     $this->fileUrl = $fileUrl;
index 5d69642..683cefe 100644 (file)
@@ -621,7 +621,14 @@ class Google_Service_CivicInfo_Contest extends Google_Collection
   public $numberVotingFor;
   public $office;
   public $primaryParty;
+  public $referendumBallotResponses;
+  public $referendumBrief;
+  public $referendumConStatement;
+  public $referendumEffectOfAbstain;
+  public $referendumPassageThreshold;
+  public $referendumProStatement;
   public $referendumSubtitle;
+  public $referendumText;
   public $referendumTitle;
   public $referendumUrl;
   public $roles;
@@ -711,6 +718,54 @@ class Google_Service_CivicInfo_Contest extends Google_Collection
   {
     return $this->primaryParty;
   }
+  public function setReferendumBallotResponses($referendumBallotResponses)
+  {
+    $this->referendumBallotResponses = $referendumBallotResponses;
+  }
+  public function getReferendumBallotResponses()
+  {
+    return $this->referendumBallotResponses;
+  }
+  public function setReferendumBrief($referendumBrief)
+  {
+    $this->referendumBrief = $referendumBrief;
+  }
+  public function getReferendumBrief()
+  {
+    return $this->referendumBrief;
+  }
+  public function setReferendumConStatement($referendumConStatement)
+  {
+    $this->referendumConStatement = $referendumConStatement;
+  }
+  public function getReferendumConStatement()
+  {
+    return $this->referendumConStatement;
+  }
+  public function setReferendumEffectOfAbstain($referendumEffectOfAbstain)
+  {
+    $this->referendumEffectOfAbstain = $referendumEffectOfAbstain;
+  }
+  public function getReferendumEffectOfAbstain()
+  {
+    return $this->referendumEffectOfAbstain;
+  }
+  public function setReferendumPassageThreshold($referendumPassageThreshold)
+  {
+    $this->referendumPassageThreshold = $referendumPassageThreshold;
+  }
+  public function getReferendumPassageThreshold()
+  {
+    return $this->referendumPassageThreshold;
+  }
+  public function setReferendumProStatement($referendumProStatement)
+  {
+    $this->referendumProStatement = $referendumProStatement;
+  }
+  public function getReferendumProStatement()
+  {
+    return $this->referendumProStatement;
+  }
   public function setReferendumSubtitle($referendumSubtitle)
   {
     $this->referendumSubtitle = $referendumSubtitle;
@@ -719,6 +774,14 @@ class Google_Service_CivicInfo_Contest extends Google_Collection
   {
     return $this->referendumSubtitle;
   }
+  public function setReferendumText($referendumText)
+  {
+    $this->referendumText = $referendumText;
+  }
+  public function getReferendumText()
+  {
+    return $this->referendumText;
+  }
   public function setReferendumTitle($referendumTitle)
   {
     $this->referendumTitle = $referendumTitle;
@@ -840,6 +903,7 @@ class Google_Service_CivicInfo_Election extends Google_Model
   public $electionDay;
   public $id;
   public $name;
+  public $ocdDivisionId;
 
 
   public function setElectionDay($electionDay)
@@ -866,6 +930,14 @@ class Google_Service_CivicInfo_Election extends Google_Model
   {
     return $this->name;
   }
+  public function setOcdDivisionId($ocdDivisionId)
+  {
+    $this->ocdDivisionId = $ocdDivisionId;
+  }
+  public function getOcdDivisionId()
+  {
+    return $this->ocdDivisionId;
+  }
 }
 
 class Google_Service_CivicInfo_ElectionOfficial extends Google_Model
@@ -1475,6 +1547,7 @@ class Google_Service_CivicInfo_VoterInfoResponse extends Google_Collection
   protected $electionType = 'Google_Service_CivicInfo_Election';
   protected $electionDataType = '';
   public $kind;
+  public $mailOnly;
   protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType';
   protected $normalizedInputDataType = '';
   protected $otherElectionsType = 'Google_Service_CivicInfo_Election';
@@ -1526,6 +1599,14 @@ class Google_Service_CivicInfo_VoterInfoResponse extends Google_Collection
   {
     return $this->kind;
   }
+  public function setMailOnly($mailOnly)
+  {
+    $this->mailOnly = $mailOnly;
+  }
+  public function getMailOnly()
+  {
+    return $this->mailOnly;
+  }
   public function setNormalizedInput(Google_Service_CivicInfo_SimpleAddressType $normalizedInput)
   {
     $this->normalizedInput = $normalizedInput;
index 109fb83..96771d5 100644 (file)
@@ -23,7 +23,7 @@
  *
  * <p>
  * For more information about this service, see the API
- * <a href="" target="_blank">Documentation</a>
+ * <a href="https://developers.google.com/classroom/" target="_blank">Documentation</a>
  * </p>
  *
  * @author Google, Inc.
@@ -443,12 +443,14 @@ class Google_Service_Classroom_Courses_Resource extends Google_Service_Resource
 {
 
   /**
-   * Creates a course. The user specified as the primary teacher in
-   * `primary_teacher_id` is the owner of the created course and added as a
-   * teacher. This method returns the following error codes: * `PERMISSION_DENIED`
-   * if the requesting user is not permitted to create courses. * `NOT_FOUND` if
-   * the primary teacher is not a valid user. * `ALREADY_EXISTS` if an alias was
-   * specified and already exists. (courses.create)
+   * Creates a course. The user specified in `ownerId` is the owner of the created
+   * course and added as a teacher. This method returns the following error codes:
+   * * `PERMISSION_DENIED` if the requesting user is not permitted to create
+   * courses or for access errors. * `NOT_FOUND` if the primary teacher is not a
+   * valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled
+   * or for the following request errors: * UserGroupsMembershipLimitReached *
+   * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists.
+   * (courses.create)
    *
    * @param Google_Course $postBody
    * @param array $optParams Optional parameters.
@@ -464,11 +466,11 @@ class Google_Service_Classroom_Courses_Resource extends Google_Service_Resource
   /**
    * Deletes a course. This method returns the following error codes: *
    * `PERMISSION_DENIED` if the requesting user is not permitted to delete the
-   * requested course. * `NOT_FOUND` if no course exists with the requested ID.
-   * (courses.delete)
+   * requested course or for access errors. * `NOT_FOUND` if no course exists with
+   * the requested ID. (courses.delete)
    *
-   * @param string $id Identifier of the course to delete. This may either be the
-   * Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].
+   * @param string $id Identifier of the course to delete. This identifier can be
+   * either the Classroom-assigned identifier or an alias.
    * @param array $optParams Optional parameters.
    * @return Google_Service_Classroom_Empty
    */
@@ -482,11 +484,11 @@ class Google_Service_Classroom_Courses_Resource extends Google_Service_Resource
   /**
    * Returns a course. This method returns the following error codes: *
    * `PERMISSION_DENIED` if the requesting user is not permitted to access the
-   * requested course. * `NOT_FOUND` if no course exists with the requested ID.
-   * (courses.get)
+   * requested course or for access errors. * `NOT_FOUND` if no course exists with
+   * the requested ID. (courses.get)
    *
-   * @param string $id Identifier of the course to return. This may either be the
-   * Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].
+   * @param string $id Identifier of the course to return. This identifier can be
+   * either the Classroom-assigned identifier or an alias.
    * @param array $optParams Optional parameters.
    * @return Google_Service_Classroom_Course
    */
@@ -500,27 +502,24 @@ class Google_Service_Classroom_Courses_Resource extends Google_Service_Resource
   /**
    * Returns a list of courses that the requesting user is permitted to view,
    * restricted to those that match the request. This method returns the following
-   * error codes: * `INVALID_ARGUMENT` if the query argument is malformed. *
-   * `NOT_FOUND` if any users specified in the query arguments do not exist.
-   * (courses.listCourses)
+   * error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if
+   * the query argument is malformed. * `NOT_FOUND` if any users specified in the
+   * query arguments do not exist. (courses.listCourses)
    *
    * @param array $optParams Optional parameters.
    *
    * @opt_param string teacherId Restricts returned courses to those having a
-   * teacher with the specified identifier, or an alias that identifies a teacher.
-   * The following aliases are supported: * the e-mail address of the user * the
-   * string literal `"me"`, indicating that the requesting user
-   * @opt_param string pageToken
-   * [nextPageToken][google.classroom.v1.ListCoursesResponse.next_page_token]
-   * value returned from a previous
-   * [list][google.classroom.v1.Courses.ListCourses] call, indicating that the
-   * subsequent page of results should be returned. The
-   * [list][google.classroom.v1.Courses.ListCourses] request must be identical to
-   * the one which resulted in this token.
+   * teacher with the specified identifier. The identifier can be one of the
+   * following: * the numeric identifier for the user * the email address of the
+   * user * the string literal `"me"`, indicating the requesting user
+   * @opt_param string pageToken nextPageToken value returned from a previous list
+   * call, indicating that the subsequent page of results should be returned. The
+   * list request must be otherwise identical to the one that resulted in this
+   * token.
    * @opt_param string studentId Restricts returned courses to those having a
-   * student with the specified identifier, or an alias that identifies a student.
-   * The following aliases are supported: * the e-mail address of the user * the
-   * string literal `"me"`, indicating that the requesting user
+   * student with the specified identifier. The identifier can be one of the
+   * following: * the numeric identifier for the user * the email address of the
+   * user * the string literal `"me"`, indicating the requesting user
    * @opt_param int pageSize Maximum number of items to return. Zero or
    * unspecified indicates that the server may assign a maximum. The server may
    * return fewer than the specified number of results.
@@ -534,22 +533,25 @@ class Google_Service_Classroom_Courses_Resource extends Google_Service_Resource
   }
 
   /**
-   * Updates one or more fields a course. This method returns the following error
-   * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
-   * modify the requested course. * `NOT_FOUND` if no course exists with the
-   * requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the
-   * update mask or if no update mask is supplied. (courses.patch)
+   * Updates one or more fields in a course. This method returns the following
+   * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+   * modify the requested course or for access errors. * `NOT_FOUND` if no course
+   * exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are
+   * specified in the update mask or if no update mask is supplied. *
+   * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable
+   * (courses.patch)
    *
-   * @param string $id Identifier of the course to update. This may either be the
-   * Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].
+   * @param string $id Identifier of the course to update. This identifier can be
+   * either the Classroom-assigned identifier or an alias.
    * @param Google_Course $postBody
    * @param array $optParams Optional parameters.
    *
-   * @opt_param string updateMask Mask which identifies which fields on the course
+   * @opt_param string updateMask Mask that identifies which fields on the course
    * to update. This field is required to do an update. The update will fail if
-   * invalid fields are specified. Valid fields are listed below: * `name` *
+   * invalid fields are specified. The following fields are valid: * `name` *
    * `section` * `descriptionHeading` * `description` * `room` * `courseState`
-   * When set in a query parameter, this should be specified as `updateMask=,,...`
+   * When set in a query parameter, this field should be specified as
+   * `updateMask=,,...`
    * @return Google_Service_Classroom_Course
    */
   public function patch($id, Google_Service_Classroom_Course $postBody, $optParams = array())
@@ -562,11 +564,12 @@ class Google_Service_Classroom_Courses_Resource extends Google_Service_Resource
   /**
    * Updates a course. This method returns the following error codes: *
    * `PERMISSION_DENIED` if the requesting user is not permitted to modify the
-   * requested course. * `NOT_FOUND` if no course exists with the requested ID.
-   * (courses.update)
+   * requested course or for access errors. * `NOT_FOUND` if no course exists with
+   * the requested ID. * `FAILED_PRECONDITION` for the following request errors: *
+   * CourseNotModifiable (courses.update)
    *
-   * @param string $id Identifier of the course to update. This may either be the
-   * Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias].
+   * @param string $id Identifier of the course to update. This identifier can be
+   * either the Classroom-assigned identifier or an alias.
    * @param Google_Course $postBody
    * @param array $optParams Optional parameters.
    * @return Google_Service_Classroom_Course
@@ -591,14 +594,13 @@ class Google_Service_Classroom_CoursesAliases_Resource extends Google_Service_Re
 {
 
   /**
-   * Creates an alias to a course. This method returns the following error codes:
+   * Creates an alias for a course. This method returns the following error codes:
    * * `PERMISSION_DENIED` if the requesting user is not permitted to create the
-   * alias. * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the
-   * alias already exists. (aliases.create)
+   * alias or for access errors. * `NOT_FOUND` if the course does not exist. *
+   * `ALREADY_EXISTS` if the alias already exists. (aliases.create)
    *
-   * @param string $courseId The identifier of the course to alias. This may
-   * either be the Classroom-assigned identifier or an
-   * [alias][google.classroom.v1.CourseAlias].
+   * @param string $courseId Identifier of the course to alias. This identifier
+   * can be either the Classroom-assigned identifier or an alias.
    * @param Google_CourseAlias $postBody
    * @param array $optParams Optional parameters.
    * @return Google_Service_Classroom_CourseAlias
@@ -613,13 +615,14 @@ class Google_Service_Classroom_CoursesAliases_Resource extends Google_Service_Re
   /**
    * Deletes an alias of a course. This method returns the following error codes:
    * * `PERMISSION_DENIED` if the requesting user is not permitted to remove the
-   * alias. * `NOT_FOUND` if the alias does not exist. (aliases.delete)
+   * alias or for access errors. * `NOT_FOUND` if the alias does not exist.
+   * (aliases.delete)
    *
-   * @param string $courseId The identifier of the course whose alias should be
-   * deleted. This may either be the Classroom-assigned identifier or an
-   * [alias][google.classroom.v1.CourseAlias].
-   * @param string $alias The alias to delete. This may not be the Classroom-
-   * assigned identifier.
+   * @param string $courseId Identifier of the course whose alias should be
+   * deleted. This identifier can be either the Classroom-assigned identifier or
+   * an alias.
+   * @param string $alias Alias to delete. This may not be the Classroom-assigned
+   * identifier.
    * @param array $optParams Optional parameters.
    * @return Google_Service_Classroom_Empty
    */
@@ -631,21 +634,19 @@ class Google_Service_Classroom_CoursesAliases_Resource extends Google_Service_Re
   }
 
   /**
-   * Lists the aliases of a course. This method returns the following error codes:
-   * * `PERMISSION_DENIED` if the requesting user is not permitted to access the
-   * course. * `NOT_FOUND` if the course does not exist.
-   * (aliases.listCoursesAliases)
+   * Returns a list of aliases for a course. This method returns the following
+   * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
+   * access the course or for access errors. * `NOT_FOUND` if the course does not
+   * exist. (aliases.listCoursesAliases)
    *
-   * @param string $courseId The identifier of