Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 402] [Versions 310 and 403]

   1  <?php
   2  /*
   3   * Copyright 2010 Google Inc.
   4   *
   5   * Licensed under the Apache License, Version 2.0 (the "License"); you may not
   6   * use this file except in compliance with the License. You may obtain a copy of
   7   * the License at
   8   *
   9   * http://www.apache.org/licenses/LICENSE-2.0
  10   *
  11   * Unless required by applicable law or agreed to in writing, software
  12   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14   * License for the specific language governing permissions and limitations under
  15   * the License.
  16   */
  17  
  18  /**
  19   * Service definition for DoubleClickBidManager (v1).
  20   *
  21   * <p>
  22   * API for viewing and managing your reports in DoubleClick Bid Manager.</p>
  23   *
  24   * <p>
  25   * For more information about this service, see the API
  26   * <a href="https://developers.google.com/bid-manager/" target="_blank">Documentation</a>
  27   * </p>
  28   *
  29   * @author Google, Inc.
  30   */
  31  class Google_Service_DoubleClickBidManager extends Google_Service
  32  {
  33  
  34  
  35    public $lineitems;
  36    public $queries;
  37    public $reports;
  38    
  39  
  40    /**
  41     * Constructs the internal representation of the DoubleClickBidManager
  42     * service.
  43     *
  44     * @param Google_Client $client
  45     */
  46    public function __construct(Google_Client $client)
  47    {
  48      parent::__construct($client);
  49      $this->rootUrl = 'https://www.googleapis.com/';
  50      $this->servicePath = 'doubleclickbidmanager/v1/';
  51      $this->version = 'v1';
  52      $this->serviceName = 'doubleclickbidmanager';
  53  
  54      $this->lineitems = new Google_Service_DoubleClickBidManager_Lineitems_Resource(
  55          $this,
  56          $this->serviceName,
  57          'lineitems',
  58          array(
  59            'methods' => array(
  60              'downloadlineitems' => array(
  61                'path' => 'lineitems/downloadlineitems',
  62                'httpMethod' => 'POST',
  63                'parameters' => array(),
  64              ),'uploadlineitems' => array(
  65                'path' => 'lineitems/uploadlineitems',
  66                'httpMethod' => 'POST',
  67                'parameters' => array(),
  68              ),
  69            )
  70          )
  71      );
  72      $this->queries = new Google_Service_DoubleClickBidManager_Queries_Resource(
  73          $this,
  74          $this->serviceName,
  75          'queries',
  76          array(
  77            'methods' => array(
  78              'createquery' => array(
  79                'path' => 'query',
  80                'httpMethod' => 'POST',
  81                'parameters' => array(),
  82              ),'deletequery' => array(
  83                'path' => 'query/{queryId}',
  84                'httpMethod' => 'DELETE',
  85                'parameters' => array(
  86                  'queryId' => array(
  87                    'location' => 'path',
  88                    'type' => 'string',
  89                    'required' => true,
  90                  ),
  91                ),
  92              ),'getquery' => array(
  93                'path' => 'query/{queryId}',
  94                'httpMethod' => 'GET',
  95                'parameters' => array(
  96                  'queryId' => array(
  97                    'location' => 'path',
  98                    'type' => 'string',
  99                    'required' => true,
 100                  ),
 101                ),
 102              ),'listqueries' => array(
 103                'path' => 'queries',
 104                'httpMethod' => 'GET',
 105                'parameters' => array(),
 106              ),'runquery' => array(
 107                'path' => 'query/{queryId}',
 108                'httpMethod' => 'POST',
 109                'parameters' => array(
 110                  'queryId' => array(
 111                    'location' => 'path',
 112                    'type' => 'string',
 113                    'required' => true,
 114                  ),
 115                ),
 116              ),
 117            )
 118          )
 119      );
 120      $this->reports = new Google_Service_DoubleClickBidManager_Reports_Resource(
 121          $this,
 122          $this->serviceName,
 123          'reports',
 124          array(
 125            'methods' => array(
 126              'listreports' => array(
 127                'path' => 'queries/{queryId}/reports',
 128                'httpMethod' => 'GET',
 129                'parameters' => array(
 130                  'queryId' => array(
 131                    'location' => 'path',
 132                    'type' => 'string',
 133                    'required' => true,
 134                  ),
 135                ),
 136              ),
 137            )
 138          )
 139      );
 140    }
 141  }
 142  
 143  
 144  /**
 145   * The "lineitems" collection of methods.
 146   * Typical usage is:
 147   *  <code>
 148   *   $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...);
 149   *   $lineitems = $doubleclickbidmanagerService->lineitems;
 150   *  </code>
 151   */
 152  class Google_Service_DoubleClickBidManager_Lineitems_Resource extends Google_Service_Resource
 153  {
 154  
 155    /**
 156     * Retrieves line items in CSV format. (lineitems.downloadlineitems)
 157     *
 158     * @param Google_DownloadLineItemsRequest $postBody
 159     * @param array $optParams Optional parameters.
 160     * @return Google_Service_DoubleClickBidManager_DownloadLineItemsResponse
 161     */
 162    public function downloadlineitems(Google_Service_DoubleClickBidManager_DownloadLineItemsRequest $postBody, $optParams = array())
 163    {
 164      $params = array('postBody' => $postBody);
 165      $params = array_merge($params, $optParams);
 166      return $this->call('downloadlineitems', array($params), "Google_Service_DoubleClickBidManager_DownloadLineItemsResponse");
 167    }
 168  
 169    /**
 170     * Uploads line items in CSV format. (lineitems.uploadlineitems)
 171     *
 172     * @param Google_UploadLineItemsRequest $postBody
 173     * @param array $optParams Optional parameters.
 174     * @return Google_Service_DoubleClickBidManager_UploadLineItemsResponse
 175     */
 176    public function uploadlineitems(Google_Service_DoubleClickBidManager_UploadLineItemsRequest $postBody, $optParams = array())
 177    {
 178      $params = array('postBody' => $postBody);
 179      $params = array_merge($params, $optParams);
 180      return $this->call('uploadlineitems', array($params), "Google_Service_DoubleClickBidManager_UploadLineItemsResponse");
 181    }
 182  }
 183  
 184  /**
 185   * The "queries" collection of methods.
 186   * Typical usage is:
 187   *  <code>
 188   *   $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...);
 189   *   $queries = $doubleclickbidmanagerService->queries;
 190   *  </code>
 191   */
 192  class Google_Service_DoubleClickBidManager_Queries_Resource extends Google_Service_Resource
 193  {
 194  
 195    /**
 196     * Creates a query. (queries.createquery)
 197     *
 198     * @param Google_Query $postBody
 199     * @param array $optParams Optional parameters.
 200     * @return Google_Service_DoubleClickBidManager_Query
 201     */
 202    public function createquery(Google_Service_DoubleClickBidManager_Query $postBody, $optParams = array())
 203    {
 204      $params = array('postBody' => $postBody);
 205      $params = array_merge($params, $optParams);
 206      return $this->call('createquery', array($params), "Google_Service_DoubleClickBidManager_Query");
 207    }
 208  
 209    /**
 210     * Deletes a stored query as well as the associated stored reports.
 211     * (queries.deletequery)
 212     *
 213     * @param string $queryId Query ID to delete.
 214     * @param array $optParams Optional parameters.
 215     */
 216    public function deletequery($queryId, $optParams = array())
 217    {
 218      $params = array('queryId' => $queryId);
 219      $params = array_merge($params, $optParams);
 220      return $this->call('deletequery', array($params));
 221    }
 222  
 223    /**
 224     * Retrieves a stored query. (queries.getquery)
 225     *
 226     * @param string $queryId Query ID to retrieve.
 227     * @param array $optParams Optional parameters.
 228     * @return Google_Service_DoubleClickBidManager_Query
 229     */
 230    public function getquery($queryId, $optParams = array())
 231    {
 232      $params = array('queryId' => $queryId);
 233      $params = array_merge($params, $optParams);
 234      return $this->call('getquery', array($params), "Google_Service_DoubleClickBidManager_Query");
 235    }
 236  
 237    /**
 238     * Retrieves stored queries. (queries.listqueries)
 239     *
 240     * @param array $optParams Optional parameters.
 241     * @return Google_Service_DoubleClickBidManager_ListQueriesResponse
 242     */
 243    public function listqueries($optParams = array())
 244    {
 245      $params = array();
 246      $params = array_merge($params, $optParams);
 247      return $this->call('listqueries', array($params), "Google_Service_DoubleClickBidManager_ListQueriesResponse");
 248    }
 249  
 250    /**
 251     * Runs a stored query to generate a report. (queries.runquery)
 252     *
 253     * @param string $queryId Query ID to run.
 254     * @param Google_RunQueryRequest $postBody
 255     * @param array $optParams Optional parameters.
 256     */
 257    public function runquery($queryId, Google_Service_DoubleClickBidManager_RunQueryRequest $postBody, $optParams = array())
 258    {
 259      $params = array('queryId' => $queryId, 'postBody' => $postBody);
 260      $params = array_merge($params, $optParams);
 261      return $this->call('runquery', array($params));
 262    }
 263  }
 264  
 265  /**
 266   * The "reports" collection of methods.
 267   * Typical usage is:
 268   *  <code>
 269   *   $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...);
 270   *   $reports = $doubleclickbidmanagerService->reports;
 271   *  </code>
 272   */
 273  class Google_Service_DoubleClickBidManager_Reports_Resource extends Google_Service_Resource
 274  {
 275  
 276    /**
 277     * Retrieves stored reports. (reports.listreports)
 278     *
 279     * @param string $queryId Query ID with which the reports are associated.
 280     * @param array $optParams Optional parameters.
 281     * @return Google_Service_DoubleClickBidManager_ListReportsResponse
 282     */
 283    public function listreports($queryId, $optParams = array())
 284    {
 285      $params = array('queryId' => $queryId);
 286      $params = array_merge($params, $optParams);
 287      return $this->call('listreports', array($params), "Google_Service_DoubleClickBidManager_ListReportsResponse");
 288    }
 289  }
 290  
 291  
 292  
 293  
 294  class Google_Service_DoubleClickBidManager_DownloadLineItemsRequest extends Google_Collection
 295  {
 296    protected $collection_key = 'filterIds';
 297    protected $internal_gapi_mappings = array(
 298    );
 299    public $fileSpec;
 300    public $filterIds;
 301    public $filterType;
 302    public $format;
 303  
 304  
 305    public function setFileSpec($fileSpec)
 306    {
 307      $this->fileSpec = $fileSpec;
 308    }
 309    public function getFileSpec()
 310    {
 311      return $this->fileSpec;
 312    }
 313    public function setFilterIds($filterIds)
 314    {
 315      $this->filterIds = $filterIds;
 316    }
 317    public function getFilterIds()
 318    {
 319      return $this->filterIds;
 320    }
 321    public function setFilterType($filterType)
 322    {
 323      $this->filterType = $filterType;
 324    }
 325    public function getFilterType()
 326    {
 327      return $this->filterType;
 328    }
 329    public function setFormat($format)
 330    {
 331      $this->format = $format;
 332    }
 333    public function getFormat()
 334    {
 335      return $this->format;
 336    }
 337  }
 338  
 339  class Google_Service_DoubleClickBidManager_DownloadLineItemsResponse extends Google_Model
 340  {
 341    protected $internal_gapi_mappings = array(
 342    );
 343    public $lineItems;
 344  
 345  
 346    public function setLineItems($lineItems)
 347    {
 348      $this->lineItems = $lineItems;
 349    }
 350    public function getLineItems()
 351    {
 352      return $this->lineItems;
 353    }
 354  }
 355  
 356  class Google_Service_DoubleClickBidManager_FilterPair extends Google_Model
 357  {
 358    protected $internal_gapi_mappings = array(
 359    );
 360    public $type;
 361    public $value;
 362  
 363  
 364    public function setType($type)
 365    {
 366      $this->type = $type;
 367    }
 368    public function getType()
 369    {
 370      return $this->type;
 371    }
 372    public function setValue($value)
 373    {
 374      $this->value = $value;
 375    }
 376    public function getValue()
 377    {
 378      return $this->value;
 379    }
 380  }
 381  
 382  class Google_Service_DoubleClickBidManager_ListQueriesResponse extends Google_Collection
 383  {
 384    protected $collection_key = 'queries';
 385    protected $internal_gapi_mappings = array(
 386    );
 387    public $kind;
 388    protected $queriesType = 'Google_Service_DoubleClickBidManager_Query';
 389    protected $queriesDataType = 'array';
 390  
 391  
 392    public function setKind($kind)
 393    {
 394      $this->kind = $kind;
 395    }
 396    public function getKind()
 397    {
 398      return $this->kind;
 399    }
 400    public function setQueries($queries)
 401    {
 402      $this->queries = $queries;
 403    }
 404    public function getQueries()
 405    {
 406      return $this->queries;
 407    }
 408  }
 409  
 410  class Google_Service_DoubleClickBidManager_ListReportsResponse extends Google_Collection
 411  {
 412    protected $collection_key = 'reports';
 413    protected $internal_gapi_mappings = array(
 414    );
 415    public $kind;
 416    protected $reportsType = 'Google_Service_DoubleClickBidManager_Report';
 417    protected $reportsDataType = 'array';
 418  
 419  
 420    public function setKind($kind)
 421    {
 422      $this->kind = $kind;
 423    }
 424    public function getKind()
 425    {
 426      return $this->kind;
 427    }
 428    public function setReports($reports)
 429    {
 430      $this->reports = $reports;
 431    }
 432    public function getReports()
 433    {
 434      return $this->reports;
 435    }
 436  }
 437  
 438  class Google_Service_DoubleClickBidManager_Parameters extends Google_Collection
 439  {
 440    protected $collection_key = 'metrics';
 441    protected $internal_gapi_mappings = array(
 442    );
 443    protected $filtersType = 'Google_Service_DoubleClickBidManager_FilterPair';
 444    protected $filtersDataType = 'array';
 445    public $groupBys;
 446    public $includeInviteData;
 447    public $metrics;
 448    public $type;
 449  
 450  
 451    public function setFilters($filters)
 452    {
 453      $this->filters = $filters;
 454    }
 455    public function getFilters()
 456    {
 457      return $this->filters;
 458    }
 459    public function setGroupBys($groupBys)
 460    {
 461      $this->groupBys = $groupBys;
 462    }
 463    public function getGroupBys()
 464    {
 465      return $this->groupBys;
 466    }
 467    public function setIncludeInviteData($includeInviteData)
 468    {
 469      $this->includeInviteData = $includeInviteData;
 470    }
 471    public function getIncludeInviteData()
 472    {
 473      return $this->includeInviteData;
 474    }
 475    public function setMetrics($metrics)
 476    {
 477      $this->metrics = $metrics;
 478    }
 479    public function getMetrics()
 480    {
 481      return $this->metrics;
 482    }
 483    public function setType($type)
 484    {
 485      $this->type = $type;
 486    }
 487    public function getType()
 488    {
 489      return $this->type;
 490    }
 491  }
 492  
 493  class Google_Service_DoubleClickBidManager_Query extends Google_Model
 494  {
 495    protected $internal_gapi_mappings = array(
 496    );
 497    public $kind;
 498    protected $metadataType = 'Google_Service_DoubleClickBidManager_QueryMetadata';
 499    protected $metadataDataType = '';
 500    protected $paramsType = 'Google_Service_DoubleClickBidManager_Parameters';
 501    protected $paramsDataType = '';
 502    public $queryId;
 503    public $reportDataEndTimeMs;
 504    public $reportDataStartTimeMs;
 505    protected $scheduleType = 'Google_Service_DoubleClickBidManager_QuerySchedule';
 506    protected $scheduleDataType = '';
 507    public $timezoneCode;
 508  
 509  
 510    public function setKind($kind)
 511    {
 512      $this->kind = $kind;
 513    }
 514    public function getKind()
 515    {
 516      return $this->kind;
 517    }
 518    public function setMetadata(Google_Service_DoubleClickBidManager_QueryMetadata $metadata)
 519    {
 520      $this->metadata = $metadata;
 521    }
 522    public function getMetadata()
 523    {
 524      return $this->metadata;
 525    }
 526    public function setParams(Google_Service_DoubleClickBidManager_Parameters $params)
 527    {
 528      $this->params = $params;
 529    }
 530    public function getParams()
 531    {
 532      return $this->params;
 533    }
 534    public function setQueryId($queryId)
 535    {
 536      $this->queryId = $queryId;
 537    }
 538    public function getQueryId()
 539    {
 540      return $this->queryId;
 541    }
 542    public function setReportDataEndTimeMs($reportDataEndTimeMs)
 543    {
 544      $this->reportDataEndTimeMs = $reportDataEndTimeMs;
 545    }
 546    public function getReportDataEndTimeMs()
 547    {
 548      return $this->reportDataEndTimeMs;
 549    }
 550    public function setReportDataStartTimeMs($reportDataStartTimeMs)
 551    {
 552      $this->reportDataStartTimeMs = $reportDataStartTimeMs;
 553    }
 554    public function getReportDataStartTimeMs()
 555    {
 556      return $this->reportDataStartTimeMs;
 557    }
 558    public function setSchedule(Google_Service_DoubleClickBidManager_QuerySchedule $schedule)
 559    {
 560      $this->schedule = $schedule;
 561    }
 562    public function getSchedule()
 563    {
 564      return $this->schedule;
 565    }
 566    public function setTimezoneCode($timezoneCode)
 567    {
 568      $this->timezoneCode = $timezoneCode;
 569    }
 570    public function getTimezoneCode()
 571    {
 572      return $this->timezoneCode;
 573    }
 574  }
 575  
 576  class Google_Service_DoubleClickBidManager_QueryMetadata extends Google_Collection
 577  {
 578    protected $collection_key = 'shareEmailAddress';
 579    protected $internal_gapi_mappings = array(
 580    );
 581    public $dataRange;
 582    public $format;
 583    public $googleCloudStoragePathForLatestReport;
 584    public $googleDrivePathForLatestReport;
 585    public $latestReportRunTimeMs;
 586    public $locale;
 587    public $reportCount;
 588    public $running;
 589    public $sendNotification;
 590    public $shareEmailAddress;
 591    public $title;
 592  
 593  
 594    public function setDataRange($dataRange)
 595    {
 596      $this->dataRange = $dataRange;
 597    }
 598    public function getDataRange()
 599    {
 600      return $this->dataRange;
 601    }
 602    public function setFormat($format)
 603    {
 604      $this->format = $format;
 605    }
 606    public function getFormat()
 607    {
 608      return $this->format;
 609    }
 610    public function setGoogleCloudStoragePathForLatestReport($googleCloudStoragePathForLatestReport)
 611    {
 612      $this->googleCloudStoragePathForLatestReport = $googleCloudStoragePathForLatestReport;
 613    }
 614    public function getGoogleCloudStoragePathForLatestReport()
 615    {
 616      return $this->googleCloudStoragePathForLatestReport;
 617    }
 618    public function setGoogleDrivePathForLatestReport($googleDrivePathForLatestReport)
 619    {
 620      $this->googleDrivePathForLatestReport = $googleDrivePathForLatestReport;
 621    }
 622    public function getGoogleDrivePathForLatestReport()
 623    {
 624      return $this->googleDrivePathForLatestReport;
 625    }
 626    public function setLatestReportRunTimeMs($latestReportRunTimeMs)
 627    {
 628      $this->latestReportRunTimeMs = $latestReportRunTimeMs;
 629    }
 630    public function getLatestReportRunTimeMs()
 631    {
 632      return $this->latestReportRunTimeMs;
 633    }
 634    public function setLocale($locale)
 635    {
 636      $this->locale = $locale;
 637    }
 638    public function getLocale()
 639    {
 640      return $this->locale;
 641    }
 642    public function setReportCount($reportCount)
 643    {
 644      $this->reportCount = $reportCount;
 645    }
 646    public function getReportCount()
 647    {
 648      return $this->reportCount;
 649    }
 650    public function setRunning($running)
 651    {
 652      $this->running = $running;
 653    }
 654    public function getRunning()
 655    {
 656      return $this->running;
 657    }
 658    public function setSendNotification($sendNotification)
 659    {
 660      $this->sendNotification = $sendNotification;
 661    }
 662    public function getSendNotification()
 663    {
 664      return $this->sendNotification;
 665    }
 666    public function setShareEmailAddress($shareEmailAddress)
 667    {
 668      $this->shareEmailAddress = $shareEmailAddress;
 669    }
 670    public function getShareEmailAddress()
 671    {
 672      return $this->shareEmailAddress;
 673    }
 674    public function setTitle($title)
 675    {
 676      $this->title = $title;
 677    }
 678    public function getTitle()
 679    {
 680      return $this->title;
 681    }
 682  }
 683  
 684  class Google_Service_DoubleClickBidManager_QuerySchedule extends Google_Model
 685  {
 686    protected $internal_gapi_mappings = array(
 687    );
 688    public $endTimeMs;
 689    public $frequency;
 690    public $nextRunMinuteOfDay;
 691    public $nextRunTimezoneCode;
 692  
 693  
 694    public function setEndTimeMs($endTimeMs)
 695    {
 696      $this->endTimeMs = $endTimeMs;
 697    }
 698    public function getEndTimeMs()
 699    {
 700      return $this->endTimeMs;
 701    }
 702    public function setFrequency($frequency)
 703    {
 704      $this->frequency = $frequency;
 705    }
 706    public function getFrequency()
 707    {
 708      return $this->frequency;
 709    }
 710    public function setNextRunMinuteOfDay($nextRunMinuteOfDay)
 711    {
 712      $this->nextRunMinuteOfDay = $nextRunMinuteOfDay;
 713    }
 714    public function getNextRunMinuteOfDay()
 715    {
 716      return $this->nextRunMinuteOfDay;
 717    }
 718    public function setNextRunTimezoneCode($nextRunTimezoneCode)
 719    {
 720      $this->nextRunTimezoneCode = $nextRunTimezoneCode;
 721    }
 722    public function getNextRunTimezoneCode()
 723    {
 724      return $this->nextRunTimezoneCode;
 725    }
 726  }
 727  
 728  class Google_Service_DoubleClickBidManager_Report extends Google_Model
 729  {
 730    protected $internal_gapi_mappings = array(
 731    );
 732    protected $keyType = 'Google_Service_DoubleClickBidManager_ReportKey';
 733    protected $keyDataType = '';
 734    protected $metadataType = 'Google_Service_DoubleClickBidManager_ReportMetadata';
 735    protected $metadataDataType = '';
 736    protected $paramsType = 'Google_Service_DoubleClickBidManager_Parameters';
 737    protected $paramsDataType = '';
 738  
 739  
 740    public function setKey(Google_Service_DoubleClickBidManager_ReportKey $key)
 741    {
 742      $this->key = $key;
 743    }
 744    public function getKey()
 745    {
 746      return $this->key;
 747    }
 748    public function setMetadata(Google_Service_DoubleClickBidManager_ReportMetadata $metadata)
 749    {
 750      $this->metadata = $metadata;
 751    }
 752    public function getMetadata()
 753    {
 754      return $this->metadata;
 755    }
 756    public function setParams(Google_Service_DoubleClickBidManager_Parameters $params)
 757    {
 758      $this->params = $params;
 759    }
 760    public function getParams()
 761    {
 762      return $this->params;
 763    }
 764  }
 765  
 766  class Google_Service_DoubleClickBidManager_ReportFailure extends Google_Model
 767  {
 768    protected $internal_gapi_mappings = array(
 769    );
 770    public $errorCode;
 771  
 772  
 773    public function setErrorCode($errorCode)
 774    {
 775      $this->errorCode = $errorCode;
 776    }
 777    public function getErrorCode()
 778    {
 779      return $this->errorCode;
 780    }
 781  }
 782  
 783  class Google_Service_DoubleClickBidManager_ReportKey extends Google_Model
 784  {
 785    protected $internal_gapi_mappings = array(
 786    );
 787    public $queryId;
 788    public $reportId;
 789  
 790  
 791    public function setQueryId($queryId)
 792    {
 793      $this->queryId = $queryId;
 794    }
 795    public function getQueryId()
 796    {
 797      return $this->queryId;
 798    }
 799    public function setReportId($reportId)
 800    {
 801      $this->reportId = $reportId;
 802    }
 803    public function getReportId()
 804    {
 805      return $this->reportId;
 806    }
 807  }
 808  
 809  class Google_Service_DoubleClickBidManager_ReportMetadata extends Google_Model
 810  {
 811    protected $internal_gapi_mappings = array(
 812    );
 813    public $googleCloudStoragePath;
 814    public $reportDataEndTimeMs;
 815    public $reportDataStartTimeMs;
 816    protected $statusType = 'Google_Service_DoubleClickBidManager_ReportStatus';
 817    protected $statusDataType = '';
 818  
 819  
 820    public function setGoogleCloudStoragePath($googleCloudStoragePath)
 821    {
 822      $this->googleCloudStoragePath = $googleCloudStoragePath;
 823    }
 824    public function getGoogleCloudStoragePath()
 825    {
 826      return $this->googleCloudStoragePath;
 827    }
 828    public function setReportDataEndTimeMs($reportDataEndTimeMs)
 829    {
 830      $this->reportDataEndTimeMs = $reportDataEndTimeMs;
 831    }
 832    public function getReportDataEndTimeMs()
 833    {
 834      return $this->reportDataEndTimeMs;
 835    }
 836    public function setReportDataStartTimeMs($reportDataStartTimeMs)
 837    {
 838      $this->reportDataStartTimeMs = $reportDataStartTimeMs;
 839    }
 840    public function getReportDataStartTimeMs()
 841    {
 842      return $this->reportDataStartTimeMs;
 843    }
 844    public function setStatus(Google_Service_DoubleClickBidManager_ReportStatus $status)
 845    {
 846      $this->status = $status;
 847    }
 848    public function getStatus()
 849    {
 850      return $this->status;
 851    }
 852  }
 853  
 854  class Google_Service_DoubleClickBidManager_ReportStatus extends Google_Model
 855  {
 856    protected $internal_gapi_mappings = array(
 857    );
 858    protected $failureType = 'Google_Service_DoubleClickBidManager_ReportFailure';
 859    protected $failureDataType = '';
 860    public $finishTimeMs;
 861    public $format;
 862    public $state;
 863  
 864  
 865    public function setFailure(Google_Service_DoubleClickBidManager_ReportFailure $failure)
 866    {
 867      $this->failure = $failure;
 868    }
 869    public function getFailure()
 870    {
 871      return $this->failure;
 872    }
 873    public function setFinishTimeMs($finishTimeMs)
 874    {
 875      $this->finishTimeMs = $finishTimeMs;
 876    }
 877    public function getFinishTimeMs()
 878    {
 879      return $this->finishTimeMs;
 880    }
 881    public function setFormat($format)
 882    {
 883      $this->format = $format;
 884    }
 885    public function getFormat()
 886    {
 887      return $this->format;
 888    }
 889    public function setState($state)
 890    {
 891      $this->state = $state;
 892    }
 893    public function getState()
 894    {
 895      return $this->state;
 896    }
 897  }
 898  
 899  class Google_Service_DoubleClickBidManager_RowStatus extends Google_Collection
 900  {
 901    protected $collection_key = 'errors';
 902    protected $internal_gapi_mappings = array(
 903    );
 904    public $changed;
 905    public $entityId;
 906    public $entityName;
 907    public $errors;
 908    public $persisted;
 909    public $rowNumber;
 910  
 911  
 912    public function setChanged($changed)
 913    {
 914      $this->changed = $changed;
 915    }
 916    public function getChanged()
 917    {
 918      return $this->changed;
 919    }
 920    public function setEntityId($entityId)
 921    {
 922      $this->entityId = $entityId;
 923    }
 924    public function getEntityId()
 925    {
 926      return $this->entityId;
 927    }
 928    public function setEntityName($entityName)
 929    {
 930      $this->entityName = $entityName;
 931    }
 932    public function getEntityName()
 933    {
 934      return $this->entityName;
 935    }
 936    public function setErrors($errors)
 937    {
 938      $this->errors = $errors;
 939    }
 940    public function getErrors()
 941    {
 942      return $this->errors;
 943    }
 944    public function setPersisted($persisted)
 945    {
 946      $this->persisted = $persisted;
 947    }
 948    public function getPersisted()
 949    {
 950      return $this->persisted;
 951    }
 952    public function setRowNumber($rowNumber)
 953    {
 954      $this->rowNumber = $rowNumber;
 955    }
 956    public function getRowNumber()
 957    {
 958      return $this->rowNumber;
 959    }
 960  }
 961  
 962  class Google_Service_DoubleClickBidManager_RunQueryRequest extends Google_Model
 963  {
 964    protected $internal_gapi_mappings = array(
 965    );
 966    public $dataRange;
 967    public $reportDataEndTimeMs;
 968    public $reportDataStartTimeMs;
 969    public $timezoneCode;
 970  
 971  
 972    public function setDataRange($dataRange)
 973    {
 974      $this->dataRange = $dataRange;
 975    }
 976    public function getDataRange()
 977    {
 978      return $this->dataRange;
 979    }
 980    public function setReportDataEndTimeMs($reportDataEndTimeMs)
 981    {
 982      $this->reportDataEndTimeMs = $reportDataEndTimeMs;
 983    }
 984    public function getReportDataEndTimeMs()
 985    {
 986      return $this->reportDataEndTimeMs;
 987    }
 988    public function setReportDataStartTimeMs($reportDataStartTimeMs)
 989    {
 990      $this->reportDataStartTimeMs = $reportDataStartTimeMs;
 991    }
 992    public function getReportDataStartTimeMs()
 993    {
 994      return $this->reportDataStartTimeMs;
 995    }
 996    public function setTimezoneCode($timezoneCode)
 997    {
 998      $this->timezoneCode = $timezoneCode;
 999    }
1000    public function getTimezoneCode()
1001    {
1002      return $this->timezoneCode;
1003    }
1004  }
1005  
1006  class Google_Service_DoubleClickBidManager_UploadLineItemsRequest extends Google_Model
1007  {
1008    protected $internal_gapi_mappings = array(
1009    );
1010    public $dryRun;
1011    public $format;
1012    public $lineItems;
1013  
1014  
1015    public function setDryRun($dryRun)
1016    {
1017      $this->dryRun = $dryRun;
1018    }
1019    public function getDryRun()
1020    {
1021      return $this->dryRun;
1022    }
1023    public function setFormat($format)
1024    {
1025      $this->format = $format;
1026    }
1027    public function getFormat()
1028    {
1029      return $this->format;
1030    }
1031    public function setLineItems($lineItems)
1032    {
1033      $this->lineItems = $lineItems;
1034    }
1035    public function getLineItems()
1036    {
1037      return $this->lineItems;
1038    }
1039  }
1040  
1041  class Google_Service_DoubleClickBidManager_UploadLineItemsResponse extends Google_Model
1042  {
1043    protected $internal_gapi_mappings = array(
1044    );
1045    protected $uploadStatusType = 'Google_Service_DoubleClickBidManager_UploadStatus';
1046    protected $uploadStatusDataType = '';
1047  
1048  
1049    public function setUploadStatus(Google_Service_DoubleClickBidManager_UploadStatus $uploadStatus)
1050    {
1051      $this->uploadStatus = $uploadStatus;
1052    }
1053    public function getUploadStatus()
1054    {
1055      return $this->uploadStatus;
1056    }
1057  }
1058  
1059  class Google_Service_DoubleClickBidManager_UploadStatus extends Google_Collection
1060  {
1061    protected $collection_key = 'rowStatus';
1062    protected $internal_gapi_mappings = array(
1063    );
1064    public $errors;
1065    protected $rowStatusType = 'Google_Service_DoubleClickBidManager_RowStatus';
1066    protected $rowStatusDataType = 'array';
1067  
1068  
1069    public function setErrors($errors)
1070    {
1071      $this->errors = $errors;
1072    }
1073    public function getErrors()
1074    {
1075      return $this->errors;
1076    }
1077    public function setRowStatus($rowStatus)
1078    {
1079      $this->rowStatus = $rowStatus;
1080    }
1081    public function getRowStatus()
1082    {
1083      return $this->rowStatus;
1084    }
1085  }