PluginProbe
WP Database Backup – Unlimited Database & Files Backup by Backup for WP / 6.2
WP Database Backup – Unlimited Database & Files Backup by Backup for WP v6.2
7.13 7.12 trunk 1.1 2.1.1 5.9 6.0 6.1 6.10 6.11 6.12 6.12.1 6.2 6.3 6.4 6.5 6.5.1 6.6 6.7 6.8 6.9 7.0 7.0.1 7.1 7.10 All 34 releases
wp-database-backup / includes / admin / Destination / Google / google-api-php-client / src / contrib / Google_AdexchangebuyerService.php

Google_AdexchangebuyerService.php in WP Database Backup – Unlimited Database & Files Backup by Backup for WP 6.2, at includes/admin/Destination/Google/google-api-php-client/src/contrib/Google_AdexchangebuyerService.php

706 lines 25.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16
17 /**
18 * The "accounts" collection of methods.
19 * Typical usage is:
20 * <code>
21 * $adexchangebuyerService = new Google_AdexchangebuyerService(...);
22 * $accounts = $adexchangebuyerService->accounts;
23 * </code>
24 */
25 class Google_AccountsServiceResource extends Google_ServiceResource {
26
27 /**
28 * Gets one account by ID. (accounts.get)
29 *
30 * @param int $id The account id
31 * @param array $optParams Optional parameters.
32 * @return Google_Account
33 */
34 public function get($id, $optParams = array()) {
35 $params = array('id' => $id);
36 $params = array_merge($params, $optParams);
37 $data = $this->__call('get', array($params));
38 if ($this->useObjects()) {
39 return new Google_Account($data);
40 } else {
41 return $data;
42 }
43 }
44 /**
45 * Retrieves the authenticated user's list of accounts. (accounts.list)
46 *
47 * @param array $optParams Optional parameters.
48 * @return Google_AccountsList
49 */
50 public function listAccounts($optParams = array()) {
51 $params = array();
52 $params = array_merge($params, $optParams);
53 $data = $this->__call('list', array($params));
54 if ($this->useObjects()) {
55 return new Google_AccountsList($data);
56 } else {
57 return $data;
58 }
59 }
60 /**
61 * Updates an existing account. This method supports patch semantics. (accounts.patch)
62 *
63 * @param int $id The account id
64 * @param Google_Account $postBody
65 * @param array $optParams Optional parameters.
66 * @return Google_Account
67 */
68 public function patch($id, Google_Account $postBody, $optParams = array()) {
69 $params = array('id' => $id, 'postBody' => $postBody);
70 $params = array_merge($params, $optParams);
71 $data = $this->__call('patch', array($params));
72 if ($this->useObjects()) {
73 return new Google_Account($data);
74 } else {
75 return $data;
76 }
77 }
78 /**
79 * Updates an existing account. (accounts.update)
80 *
81 * @param int $id The account id
82 * @param Google_Account $postBody
83 * @param array $optParams Optional parameters.
84 * @return Google_Account
85 */
86 public function update($id, Google_Account $postBody, $optParams = array()) {
87 $params = array('id' => $id, 'postBody' => $postBody);
88 $params = array_merge($params, $optParams);
89 $data = $this->__call('update', array($params));
90 if ($this->useObjects()) {
91 return new Google_Account($data);
92 } else {
93 return $data;
94 }
95 }
96 }
97
98 /**
99 * The "creatives" collection of methods.
100 * Typical usage is:
101 * <code>
102 * $adexchangebuyerService = new Google_AdexchangebuyerService(...);
103 * $creatives = $adexchangebuyerService->creatives;
104 * </code>
105 */
106 class Google_CreativesServiceResource extends Google_ServiceResource {
107
108 /**
109 * Gets the status for a single creative. (creatives.get)
110 *
111 * @param int $accountId The id for the account that will serve this creative.
112 * @param string $buyerCreativeId The buyer-specific id for this creative.
113 * @param array $optParams Optional parameters.
114 * @return Google_Creative
115 */
116 public function get($accountId, $buyerCreativeId, $optParams = array()) {
117 $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
118 $params = array_merge($params, $optParams);
119 $data = $this->__call('get', array($params));
120 if ($this->useObjects()) {
121 return new Google_Creative($data);
122 } else {
123 return $data;
124 }
125 }
126 /**
127 * Submit a new creative. (creatives.insert)
128 *
129 * @param Google_Creative $postBody
130 * @param array $optParams Optional parameters.
131 * @return Google_Creative
132 */
133 public function insert(Google_Creative $postBody, $optParams = array()) {
134 $params = array('postBody' => $postBody);
135 $params = array_merge($params, $optParams);
136 $data = $this->__call('insert', array($params));
137 if ($this->useObjects()) {
138 return new Google_Creative($data);
139 } else {
140 return $data;
141 }
142 }
143 /**
144 * Retrieves a list of the authenticated user's active creatives. (creatives.list)
145 *
146 * @param array $optParams Optional parameters.
147 *
148 * @opt_param string maxResults Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
149 * @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.
150 * @opt_param string statusFilter When specified, only creatives having the given status are returned.
151 * @return Google_CreativesList
152 */
153 public function listCreatives($optParams = array()) {
154 $params = array();
155 $params = array_merge($params, $optParams);
156 $data = $this->__call('list', array($params));
157 if ($this->useObjects()) {
158 return new Google_CreativesList($data);
159 } else {
160 return $data;
161 }
162 }
163 }
164
165 /**
166 * The "directDeals" collection of methods.
167 * Typical usage is:
168 * <code>
169 * $adexchangebuyerService = new Google_AdexchangebuyerService(...);
170 * $directDeals = $adexchangebuyerService->directDeals;
171 * </code>
172 */
173 class Google_DirectDealsServiceResource extends Google_ServiceResource {
174
175 /**
176 * Gets one direct deal by ID. (directDeals.get)
177 *
178 * @param string $id The direct deal id
179 * @param array $optParams Optional parameters.
180 * @return Google_DirectDeal
181 */
182 public function get($id, $optParams = array()) {
183 $params = array('id' => $id);
184 $params = array_merge($params, $optParams);
185 $data = $this->__call('get', array($params));
186 if ($this->useObjects()) {
187 return new Google_DirectDeal($data);
188 } else {
189 return $data;
190 }
191 }
192 /**
193 * Retrieves the authenticated user's list of direct deals. (directDeals.list)
194 *
195 * @param array $optParams Optional parameters.
196 * @return Google_DirectDealsList
197 */
198 public function listDirectDeals($optParams = array()) {
199 $params = array();
200 $params = array_merge($params, $optParams);
201 $data = $this->__call('list', array($params));
202 if ($this->useObjects()) {
203 return new Google_DirectDealsList($data);
204 } else {
205 return $data;
206 }
207 }
208 }
209
210 /**
211 * The "performanceReport" collection of methods.
212 * Typical usage is:
213 * <code>
214 * $adexchangebuyerService = new Google_AdexchangebuyerService(...);
215 * $performanceReport = $adexchangebuyerService->performanceReport;
216 * </code>
217 */
218 class Google_PerformanceReportServiceResource extends Google_ServiceResource {
219
220 /**
221 * Retrieves the authenticated user's list of performance metrics. (performanceReport.list)
222 *
223 * @param string $accountId The account id to get the reports for.
224 * @param string $endDateTime The end time for the reports.
225 * @param string $startDateTime The start time for the reports.
226 * @param array $optParams Optional parameters.
227 * @return Google_PerformanceReportList
228 */
229 public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array()) {
230 $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
231 $params = array_merge($params, $optParams);
232 $data = $this->__call('list', array($params));
233 if ($this->useObjects()) {
234 return new Google_PerformanceReportList($data);
235 } else {
236 return $data;
237 }
238 }
239 }
240
241 /**
242 * Service definition for Google_Adexchangebuyer (v1.2).
243 *
244 * <p>
245 * Lets you manage your Ad Exchange Buyer account.
246 * </p>
247 *
248 * <p>
249 * For more information about this service, see the
250 * <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">API Documentation</a>
251 * </p>
252 *
253 * @author Google, Inc.
254 */
255 class Google_AdexchangebuyerService extends Google_Service {
256 public $accounts;
257 public $creatives;
258 public $directDeals;
259 public $performanceReport;
260 /**
261 * Constructs the internal representation of the Adexchangebuyer service.
262 *
263 * @param Google_Client $client
264 */
265 public function __construct(Google_Client $client) {
266 $this->servicePath = 'adexchangebuyer/v1.2/';
267 $this->version = 'v1.2';
268 $this->serviceName = 'adexchangebuyer';
269
270 $client->addService($this->serviceName, $this->version);
271 $this->accounts = new Google_AccountsServiceResource($this, $this->serviceName, 'accounts', json_decode('{"methods": {"get": {"id": "adexchangebuyer.accounts.get", "path": "accounts/{id}", "httpMethod": "GET", "parameters": {"id": {"type": "integer", "required": true, "format": "int32", "location": "path"}}, "response": {"$ref": "Account"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}, "list": {"id": "adexchangebuyer.accounts.list", "path": "accounts", "httpMethod": "GET", "response": {"$ref": "AccountsList"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}, "patch": {"id": "adexchangebuyer.accounts.patch", "path": "accounts/{id}", "httpMethod": "PATCH", "parameters": {"id": {"type": "integer", "required": true, "format": "int32", "location": "path"}}, "request": {"$ref": "Account"}, "response": {"$ref": "Account"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}, "update": {"id": "adexchangebuyer.accounts.update", "path": "accounts/{id}", "httpMethod": "PUT", "parameters": {"id": {"type": "integer", "required": true, "format": "int32", "location": "path"}}, "request": {"$ref": "Account"}, "response": {"$ref": "Account"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}}}', true));
272 $this->creatives = new Google_CreativesServiceResource($this, $this->serviceName, 'creatives', json_decode('{"methods": {"get": {"id": "adexchangebuyer.creatives.get", "path": "creatives/{accountId}/{buyerCreativeId}", "httpMethod": "GET", "parameters": {"accountId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "buyerCreativeId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Creative"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}, "insert": {"id": "adexchangebuyer.creatives.insert", "path": "creatives", "httpMethod": "POST", "request": {"$ref": "Creative"}, "response": {"$ref": "Creative"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}, "list": {"id": "adexchangebuyer.creatives.list", "path": "creatives", "httpMethod": "GET", "parameters": {"maxResults": {"type": "integer", "format": "uint32", "minimum": "1", "maximum": "1000", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "statusFilter": {"type": "string", "enum": ["approved", "disapproved", "not_checked"], "location": "query"}}, "response": {"$ref": "CreativesList"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}}}', true));
273 $this->directDeals = new Google_DirectDealsServiceResource($this, $this->serviceName, 'directDeals', json_decode('{"methods": {"get": {"id": "adexchangebuyer.directDeals.get", "path": "directdeals/{id}", "httpMethod": "GET", "parameters": {"id": {"type": "string", "required": true, "format": "int64", "location": "path"}}, "response": {"$ref": "DirectDeal"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}, "list": {"id": "adexchangebuyer.directDeals.list", "path": "directdeals", "httpMethod": "GET", "response": {"$ref": "DirectDealsList"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}}}', true));
274 $this->performanceReport = new Google_PerformanceReportServiceResource($this, $this->serviceName, 'performanceReport', json_decode('{"methods": {"list": {"id": "adexchangebuyer.performanceReport.list", "path": "performancereport", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "format": "int64", "location": "query"}, "endDateTime": {"type": "string", "required": true, "format": "int64", "location": "query"}, "startDateTime": {"type": "string", "required": true, "format": "int64", "location": "query"}}, "response": {"$ref": "PerformanceReportList"}, "scopes": ["https://www.googleapis.com/auth/adexchange.buyer"]}}}', true));
275
276 }
277 }
278
279
280
281 class Google_Account extends Google_Model {
282 protected $__bidderLocationType = 'Google_AccountBidderLocation';
283 protected $__bidderLocationDataType = 'array';
284 public $bidderLocation;
285 public $cookieMatchingNid;
286 public $cookieMatchingUrl;
287 public $id;
288 public $kind;
289 public $maximumTotalQps;
290 public function setBidderLocation(/* array(Google_AccountBidderLocation) */ $bidderLocation) {
291 $this->assertIsArray($bidderLocation, 'Google_AccountBidderLocation', __METHOD__);
292 $this->bidderLocation = $bidderLocation;
293 }
294 public function getBidderLocation() {
295 return $this->bidderLocation;
296 }
297 public function setCookieMatchingNid( $cookieMatchingNid) {
298 $this->cookieMatchingNid = $cookieMatchingNid;
299 }
300 public function getCookieMatchingNid() {
301 return $this->cookieMatchingNid;
302 }
303 public function setCookieMatchingUrl( $cookieMatchingUrl) {
304 $this->cookieMatchingUrl = $cookieMatchingUrl;
305 }
306 public function getCookieMatchingUrl() {
307 return $this->cookieMatchingUrl;
308 }
309 public function setId( $id) {
310 $this->id = $id;
311 }
312 public function getId() {
313 return $this->id;
314 }
315 public function setKind( $kind) {
316 $this->kind = $kind;
317 }
318 public function getKind() {
319 return $this->kind;
320 }
321 public function setMaximumTotalQps( $maximumTotalQps) {
322 $this->maximumTotalQps = $maximumTotalQps;
323 }
324 public function getMaximumTotalQps() {
325 return $this->maximumTotalQps;
326 }
327 }
328
329 class Google_AccountBidderLocation extends Google_Model {
330 public $maximumQps;
331 public $region;
332 public $url;
333 public function setMaximumQps( $maximumQps) {
334 $this->maximumQps = $maximumQps;
335 }
336 public function getMaximumQps() {
337 return $this->maximumQps;
338 }
339 public function setRegion( $region) {
340 $this->region = $region;
341 }
342 public function getRegion() {
343 return $this->region;
344 }
345 public function setUrl( $url) {
346 $this->url = $url;
347 }
348 public function getUrl() {
349 return $this->url;
350 }
351 }
352
353 class Google_AccountsList extends Google_Model {
354 protected $__itemsType = 'Google_Account';
355 protected $__itemsDataType = 'array';
356 public $items;
357 public $kind;
358 public function setItems(/* array(Google_Account) */ $items) {
359 $this->assertIsArray($items, 'Google_Account', __METHOD__);
360 $this->items = $items;
361 }
362 public function getItems() {
363 return $this->items;
364 }
365 public function setKind( $kind) {
366 $this->kind = $kind;
367 }
368 public function getKind() {
369 return $this->kind;
370 }
371 }
372
373 class Google_Creative extends Google_Model {
374 public $HTMLSnippet;
375 public $accountId;
376 public $advertiserId;
377 public $advertiserName;
378 public $agencyId;
379 public $attribute;
380 public $buyerCreativeId;
381 public $clickThroughUrl;
382 protected $__disapprovalReasonsType = 'Google_CreativeDisapprovalReasons';
383 protected $__disapprovalReasonsDataType = 'array';
384 public $disapprovalReasons;
385 public $height;
386 public $kind;
387 public $productCategories;
388 public $sensitiveCategories;
389 public $status;
390 public $vendorType;
391 public $videoURL;
392 public $width;
393 public function setHTMLSnippet( $HTMLSnippet) {
394 $this->HTMLSnippet = $HTMLSnippet;
395 }
396 public function getHTMLSnippet() {
397 return $this->HTMLSnippet;
398 }
399 public function setAccountId( $accountId) {
400 $this->accountId = $accountId;
401 }
402 public function getAccountId() {
403 return $this->accountId;
404 }
405 public function setAdvertiserId(/* array(Google_string) */ $advertiserId) {
406 $this->assertIsArray($advertiserId, 'Google_string', __METHOD__);
407 $this->advertiserId = $advertiserId;
408 }
409 public function getAdvertiserId() {
410 return $this->advertiserId;
411 }
412 public function setAdvertiserName( $advertiserName) {
413 $this->advertiserName = $advertiserName;
414 }
415 public function getAdvertiserName() {
416 return $this->advertiserName;
417 }
418 public function setAgencyId( $agencyId) {
419 $this->agencyId = $agencyId;
420 }
421 public function getAgencyId() {
422 return $this->agencyId;
423 }
424 public function setAttribute(/* array(Google_int) */ $attribute) {
425 $this->assertIsArray($attribute, 'Google_int', __METHOD__);
426 $this->attribute = $attribute;
427 }
428 public function getAttribute() {
429 return $this->attribute;
430 }
431 public function setBuyerCreativeId( $buyerCreativeId) {
432 $this->buyerCreativeId = $buyerCreativeId;
433 }
434 public function getBuyerCreativeId() {
435 return $this->buyerCreativeId;
436 }
437 public function setClickThroughUrl(/* array(Google_string) */ $clickThroughUrl) {
438 $this->assertIsArray($clickThroughUrl, 'Google_string', __METHOD__);
439 $this->clickThroughUrl = $clickThroughUrl;
440 }
441 public function getClickThroughUrl() {
442 return $this->clickThroughUrl;
443 }
444 public function setDisapprovalReasons(/* array(Google_CreativeDisapprovalReasons) */ $disapprovalReasons) {
445 $this->assertIsArray($disapprovalReasons, 'Google_CreativeDisapprovalReasons', __METHOD__);
446 $this->disapprovalReasons = $disapprovalReasons;
447 }
448 public function getDisapprovalReasons() {
449 return $this->disapprovalReasons;
450 }
451 public function setHeight( $height) {
452 $this->height = $height;
453 }
454 public function getHeight() {
455 return $this->height;
456 }
457 public function setKind( $kind) {
458 $this->kind = $kind;
459 }
460 public function getKind() {
461 return $this->kind;
462 }
463 public function setProductCategories(/* array(Google_int) */ $productCategories) {
464 $this->assertIsArray($productCategories, 'Google_int', __METHOD__);
465 $this->productCategories = $productCategories;
466 }
467 public function getProductCategories() {
468 return $this->productCategories;
469 }
470 public function setSensitiveCategories(/* array(Google_int) */ $sensitiveCategories) {
471 $this->assertIsArray($sensitiveCategories, 'Google_int', __METHOD__);
472 $this->sensitiveCategories = $sensitiveCategories;
473 }
474 public function getSensitiveCategories() {
475 return $this->sensitiveCategories;
476 }
477 public function setStatus( $status) {
478 $this->status = $status;
479 }
480 public function getStatus() {
481 return $this->status;
482 }
483 public function setVendorType(/* array(Google_int) */ $vendorType) {
484 $this->assertIsArray($vendorType, 'Google_int', __METHOD__);
485 $this->vendorType = $vendorType;
486 }
487 public function getVendorType() {
488 return $this->vendorType;
489 }
490 public function setVideoURL( $videoURL) {
491 $this->videoURL = $videoURL;
492 }
493 public function getVideoURL() {
494 return $this->videoURL;
495 }
496 public function setWidth( $width) {
497 $this->width = $width;
498 }
499 public function getWidth() {
500 return $this->width;
501 }
502 }
503
504 class Google_CreativeDisapprovalReasons extends Google_Model {
505 public $details;
506 public $reason;
507 public function setDetails(/* array(Google_string) */ $details) {
508 $this->assertIsArray($details, 'Google_string', __METHOD__);
509 $this->details = $details;
510 }
511 public function getDetails() {
512 return $this->details;
513 }
514 public function setReason( $reason) {
515 $this->reason = $reason;
516 }
517 public function getReason() {
518 return $this->reason;
519 }
520 }
521
522 class Google_CreativesList extends Google_Model {
523 protected $__itemsType = 'Google_Creative';
524 protected $__itemsDataType = 'array';
525 public $items;
526 public $kind;
527 public $nextPageToken;
528 public function setItems(/* array(Google_Creative) */ $items) {
529 $this->assertIsArray($items, 'Google_Creative', __METHOD__);
530 $this->items = $items;
531 }
532 public function getItems() {
533 return $this->items;
534 }
535 public function setKind( $kind) {
536 $this->kind = $kind;
537 }
538 public function getKind() {
539 return $this->kind;
540 }
541 public function setNextPageToken( $nextPageToken) {
542 $this->nextPageToken = $nextPageToken;
543 }
544 public function getNextPageToken() {
545 return $this->nextPageToken;
546 }
547 }
548
549 class Google_DirectDeal extends Google_Model {
550 public $accountId;
551 public $advertiser;
552 public $currencyCode;
553 public $endTime;
554 public $fixedCpm;
555 public $id;
556 public $kind;
557 public $privateExchangeMinCpm;
558 public $sellerNetwork;
559 public $startTime;
560 public function setAccountId( $accountId) {
561 $this->accountId = $accountId;
562 }
563 public function getAccountId() {
564 return $this->accountId;
565 }
566 public function setAdvertiser( $advertiser) {
567 $this->advertiser = $advertiser;
568 }
569 public function getAdvertiser() {
570 return $this->advertiser;
571 }
572 public function setCurrencyCode( $currencyCode) {
573 $this->currencyCode = $currencyCode;
574 }
575 public function getCurrencyCode() {
576 return $this->currencyCode;
577 }
578 public function setEndTime( $endTime) {
579 $this->endTime = $endTime;
580 }
581 public function getEndTime() {
582 return $this->endTime;
583 }
584 public function setFixedCpm( $fixedCpm) {
585 $this->fixedCpm = $fixedCpm;
586 }
587 public function getFixedCpm() {
588 return $this->fixedCpm;
589 }
590 public function setId( $id) {
591 $this->id = $id;
592 }
593 public function getId() {
594 return $this->id;
595 }
596 public function setKind( $kind) {
597 $this->kind = $kind;
598 }
599 public function getKind() {
600 return $this->kind;
601 }
602 public function setPrivateExchangeMinCpm( $privateExchangeMinCpm) {
603 $this->privateExchangeMinCpm = $privateExchangeMinCpm;
604 }
605 public function getPrivateExchangeMinCpm() {
606 return $this->privateExchangeMinCpm;
607 }
608 public function setSellerNetwork( $sellerNetwork) {
609 $this->sellerNetwork = $sellerNetwork;
610 }
611 public function getSellerNetwork() {
612 return $this->sellerNetwork;
613 }
614 public function setStartTime( $startTime) {
615 $this->startTime = $startTime;
616 }
617 public function getStartTime() {
618 return $this->startTime;
619 }
620 }
621
622 class Google_DirectDealsList extends Google_Model {
623 protected $__directDealsType = 'Google_DirectDeal';
624 protected $__directDealsDataType = 'array';
625 public $directDeals;
626 public $kind;
627 public function setDirectDeals(/* array(Google_DirectDeal) */ $directDeals) {
628 $this->assertIsArray($directDeals, 'Google_DirectDeal', __METHOD__);
629 $this->directDeals = $directDeals;
630 }
631 public function getDirectDeals() {
632 return $this->directDeals;
633 }
634 public function setKind( $kind) {
635 $this->kind = $kind;
636 }
637 public function getKind() {
638 return $this->kind;
639 }
640 }
641
642 class Google_PerformanceReportList extends Google_Model {
643 public $kind;
644 protected $__performance_reportType = 'Google_PerformanceReportListPerformanceReport';
645 protected $__performance_reportDataType = 'array';
646 public $performance_report;
647 public function setKind( $kind) {
648 $this->kind = $kind;
649 }
650 public function getKind() {
651 return $this->kind;
652 }
653 public function setPerformance_report(/* array(Google_PerformanceReportListPerformanceReport) */ $performance_report) {
654 $this->assertIsArray($performance_report, 'Google_PerformanceReportListPerformanceReport', __METHOD__);
655 $this->performance_report = $performance_report;
656 }
657 public function getPerformance_report() {
658 return $this->performance_report;
659 }
660 }
661
662 class Google_PerformanceReportListPerformanceReport extends Google_Model {
663 public $kind;
664 public $latency50thPercentile;
665 public $latency85thPercentile;
666 public $latency95thPercentile;
667 public $region;
668 public $timestamp;
669 public function setKind( $kind) {
670 $this->kind = $kind;
671 }
672 public function getKind() {
673 return $this->kind;
674 }
675 public function setLatency50thPercentile( $latency50thPercentile) {
676 $this->latency50thPercentile = $latency50thPercentile;
677 }
678 public function getLatency50thPercentile() {
679 return $this->latency50thPercentile;
680 }
681 public function setLatency85thPercentile( $latency85thPercentile) {
682 $this->latency85thPercentile = $latency85thPercentile;
683 }
684 public function getLatency85thPercentile() {
685 return $this->latency85thPercentile;
686 }
687 public function setLatency95thPercentile( $latency95thPercentile) {
688 $this->latency95thPercentile = $latency95thPercentile;
689 }
690 public function getLatency95thPercentile() {
691 return $this->latency95thPercentile;
692 }
693 public function setRegion( $region) {
694 $this->region = $region;
695 }
696 public function getRegion() {
697 return $this->region;
698 }
699 public function setTimestamp( $timestamp) {
700 $this->timestamp = $timestamp;
701 }
702 public function getTimestamp() {
703 return $this->timestamp;
704 }
705 }
706