Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

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