PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / Partners.php

Partners.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/Partners.php

1,605 lines 44.0 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 * Service definition for Partners (v2).
18 *
19 * <p>
20 * Lets advertisers search certified companies and create contact leads with
21 * them, and also audits the usage of clients.</p>
22 *
23 * <p>
24 * For more information about this service, see the API
25 * <a href="https://developers.google.com/partners/" target="_blank">Documentation</a>
26 * </p>
27 *
28 * @author Google, Inc.
29 */
30 class Google_Service_Partners extends Google_Service
31 {
32
33
34 public $clientMessages;
35 public $companies;
36 public $companies_leads;
37 public $userEvents;
38 public $userStates;
39
40
41 /**
42 * Constructs the internal representation of the Partners service.
43 *
44 * @param Google_Client $client
45 */
46 public function __construct(Google_Client $client)
47 {
48 parent::__construct($client);
49 $this->rootUrl = 'https://partners.googleapis.com/';
50 $this->servicePath = '';
51 $this->version = 'v2';
52 $this->serviceName = 'partners';
53
54 $this->clientMessages = new Google_Service_Partners_ClientMessages_Resource(
55 $this,
56 $this->serviceName,
57 'clientMessages',
58 array(
59 'methods' => array(
60 'log' => array(
61 'path' => 'v2/clientMessages:log',
62 'httpMethod' => 'POST',
63 'parameters' => array(),
64 ),
65 )
66 )
67 );
68 $this->companies = new Google_Service_Partners_Companies_Resource(
69 $this,
70 $this->serviceName,
71 'companies',
72 array(
73 'methods' => array(
74 'get' => array(
75 'path' => 'v2/companies/{companyId}',
76 'httpMethod' => 'GET',
77 'parameters' => array(
78 'companyId' => array(
79 'location' => 'path',
80 'type' => 'string',
81 'required' => true,
82 ),
83 'requestMetadata.userOverrides.ipAddress' => array(
84 'location' => 'query',
85 'type' => 'string',
86 ),
87 'requestMetadata.userOverrides.userId' => array(
88 'location' => 'query',
89 'type' => 'string',
90 ),
91 'requestMetadata.locale' => array(
92 'location' => 'query',
93 'type' => 'string',
94 ),
95 'requestMetadata.partnersSessionId' => array(
96 'location' => 'query',
97 'type' => 'string',
98 ),
99 'requestMetadata.experimentIds' => array(
100 'location' => 'query',
101 'type' => 'string',
102 'repeated' => true,
103 ),
104 'requestMetadata.trafficSource.trafficSourceId' => array(
105 'location' => 'query',
106 'type' => 'string',
107 ),
108 'requestMetadata.trafficSource.trafficSubId' => array(
109 'location' => 'query',
110 'type' => 'string',
111 ),
112 'view' => array(
113 'location' => 'query',
114 'type' => 'string',
115 ),
116 'orderBy' => array(
117 'location' => 'query',
118 'type' => 'string',
119 ),
120 'currencyCode' => array(
121 'location' => 'query',
122 'type' => 'string',
123 ),
124 'address' => array(
125 'location' => 'query',
126 'type' => 'string',
127 ),
128 ),
129 ),'list' => array(
130 'path' => 'v2/companies',
131 'httpMethod' => 'GET',
132 'parameters' => array(
133 'requestMetadata.userOverrides.ipAddress' => array(
134 'location' => 'query',
135 'type' => 'string',
136 ),
137 'requestMetadata.userOverrides.userId' => array(
138 'location' => 'query',
139 'type' => 'string',
140 ),
141 'requestMetadata.locale' => array(
142 'location' => 'query',
143 'type' => 'string',
144 ),
145 'requestMetadata.partnersSessionId' => array(
146 'location' => 'query',
147 'type' => 'string',
148 ),
149 'requestMetadata.experimentIds' => array(
150 'location' => 'query',
151 'type' => 'string',
152 'repeated' => true,
153 ),
154 'requestMetadata.trafficSource.trafficSourceId' => array(
155 'location' => 'query',
156 'type' => 'string',
157 ),
158 'requestMetadata.trafficSource.trafficSubId' => array(
159 'location' => 'query',
160 'type' => 'string',
161 ),
162 'pageSize' => array(
163 'location' => 'query',
164 'type' => 'integer',
165 ),
166 'pageToken' => array(
167 'location' => 'query',
168 'type' => 'string',
169 ),
170 'companyName' => array(
171 'location' => 'query',
172 'type' => 'string',
173 ),
174 'view' => array(
175 'location' => 'query',
176 'type' => 'string',
177 ),
178 'minMonthlyBudget.currencyCode' => array(
179 'location' => 'query',
180 'type' => 'string',
181 ),
182 'minMonthlyBudget.units' => array(
183 'location' => 'query',
184 'type' => 'string',
185 ),
186 'minMonthlyBudget.nanos' => array(
187 'location' => 'query',
188 'type' => 'integer',
189 ),
190 'maxMonthlyBudget.currencyCode' => array(
191 'location' => 'query',
192 'type' => 'string',
193 ),
194 'maxMonthlyBudget.units' => array(
195 'location' => 'query',
196 'type' => 'string',
197 ),
198 'maxMonthlyBudget.nanos' => array(
199 'location' => 'query',
200 'type' => 'integer',
201 ),
202 'industries' => array(
203 'location' => 'query',
204 'type' => 'string',
205 'repeated' => true,
206 ),
207 'services' => array(
208 'location' => 'query',
209 'type' => 'string',
210 'repeated' => true,
211 ),
212 'languageCodes' => array(
213 'location' => 'query',
214 'type' => 'string',
215 'repeated' => true,
216 ),
217 'address' => array(
218 'location' => 'query',
219 'type' => 'string',
220 ),
221 'orderBy' => array(
222 'location' => 'query',
223 'type' => 'string',
224 ),
225 'gpsMotivations' => array(
226 'location' => 'query',
227 'type' => 'string',
228 'repeated' => true,
229 ),
230 'websiteUrl' => array(
231 'location' => 'query',
232 'type' => 'string',
233 ),
234 ),
235 ),
236 )
237 )
238 );
239 $this->companies_leads = new Google_Service_Partners_CompaniesLeads_Resource(
240 $this,
241 $this->serviceName,
242 'leads',
243 array(
244 'methods' => array(
245 'create' => array(
246 'path' => 'v2/companies/{companyId}/leads',
247 'httpMethod' => 'POST',
248 'parameters' => array(
249 'companyId' => array(
250 'location' => 'path',
251 'type' => 'string',
252 'required' => true,
253 ),
254 ),
255 ),
256 )
257 )
258 );
259 $this->userEvents = new Google_Service_Partners_UserEvents_Resource(
260 $this,
261 $this->serviceName,
262 'userEvents',
263 array(
264 'methods' => array(
265 'log' => array(
266 'path' => 'v2/userEvents:log',
267 'httpMethod' => 'POST',
268 'parameters' => array(),
269 ),
270 )
271 )
272 );
273 $this->userStates = new Google_Service_Partners_UserStates_Resource(
274 $this,
275 $this->serviceName,
276 'userStates',
277 array(
278 'methods' => array(
279 'list' => array(
280 'path' => 'v2/userStates',
281 'httpMethod' => 'GET',
282 'parameters' => array(
283 'requestMetadata.userOverrides.ipAddress' => array(
284 'location' => 'query',
285 'type' => 'string',
286 ),
287 'requestMetadata.userOverrides.userId' => array(
288 'location' => 'query',
289 'type' => 'string',
290 ),
291 'requestMetadata.locale' => array(
292 'location' => 'query',
293 'type' => 'string',
294 ),
295 'requestMetadata.partnersSessionId' => array(
296 'location' => 'query',
297 'type' => 'string',
298 ),
299 'requestMetadata.experimentIds' => array(
300 'location' => 'query',
301 'type' => 'string',
302 'repeated' => true,
303 ),
304 'requestMetadata.trafficSource.trafficSourceId' => array(
305 'location' => 'query',
306 'type' => 'string',
307 ),
308 'requestMetadata.trafficSource.trafficSubId' => array(
309 'location' => 'query',
310 'type' => 'string',
311 ),
312 ),
313 ),
314 )
315 )
316 );
317 }
318 }
319
320
321 /**
322 * The "clientMessages" collection of methods.
323 * Typical usage is:
324 * <code>
325 * $partnersService = new Google_Service_Partners(...);
326 * $clientMessages = $partnersService->clientMessages;
327 * </code>
328 */
329 class Google_Service_Partners_ClientMessages_Resource extends Google_Service_Resource
330 {
331
332 /**
333 * Logs a generic message from the client, such as `Failed to render component`,
334 * `Profile page is running slow`, `More than 500 users have accessed this
335 * result.`, etc. (clientMessages.log)
336 *
337 * @param Google_LogMessageRequest $postBody
338 * @param array $optParams Optional parameters.
339 * @return Google_Service_Partners_LogMessageResponse
340 */
341 public function log(Google_Service_Partners_LogMessageRequest $postBody, $optParams = array())
342 {
343 $params = array('postBody' => $postBody);
344 $params = array_merge($params, $optParams);
345 return $this->call('log', array($params), "Google_Service_Partners_LogMessageResponse");
346 }
347 }
348
349 /**
350 * The "companies" collection of methods.
351 * Typical usage is:
352 * <code>
353 * $partnersService = new Google_Service_Partners(...);
354 * $companies = $partnersService->companies;
355 * </code>
356 */
357 class Google_Service_Partners_Companies_Resource extends Google_Service_Resource
358 {
359
360 /**
361 * Gets a company. (companies.get)
362 *
363 * @param string $companyId The ID of the company to retrieve.
364 * @param array $optParams Optional parameters.
365 *
366 * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
367 * instead of the user's geo-located IP address.
368 * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
369 * impersonate instead of the user's ID.
370 * @opt_param string requestMetadata.locale Locale to use for the current
371 * request.
372 * @opt_param string requestMetadata.partnersSessionId Google Partners session
373 * ID.
374 * @opt_param string requestMetadata.experimentIds Experiment IDs the current
375 * request belongs to.
376 * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
377 * indicate where the traffic comes from. An identifier has multiple letters
378 * created by a team which redirected the traffic to us.
379 * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
380 * identifier to indicate where the traffic comes from. An identifier has
381 * multiple letters created by a team which redirected the traffic to us.
382 * @opt_param string view The view of `Company` resource to be returned. This
383 * must not be `COMPANY_VIEW_UNSPECIFIED`.
384 * @opt_param string orderBy How to order addresses within the returned company.
385 * Currently, only `address` and `address desc` is supported which will sorted
386 * by closest to farthest in distance from given address and farthest to closest
387 * distance from given address respectively.
388 * @opt_param string currencyCode If the company's budget is in a different
389 * currency code than this one, then the converted budget is converted to this
390 * currency code.
391 * @opt_param string address The address to use for sorting the company's
392 * addresses by proximity. If not given, the geo-located address of the request
393 * is used. Used when order_by is set.
394 * @return Google_Service_Partners_GetCompanyResponse
395 */
396 public function get($companyId, $optParams = array())
397 {
398 $params = array('companyId' => $companyId);
399 $params = array_merge($params, $optParams);
400 return $this->call('get', array($params), "Google_Service_Partners_GetCompanyResponse");
401 }
402
403 /**
404 * Lists companies. (companies.listCompanies)
405 *
406 * @param array $optParams Optional parameters.
407 *
408 * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
409 * instead of the user's geo-located IP address.
410 * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
411 * impersonate instead of the user's ID.
412 * @opt_param string requestMetadata.locale Locale to use for the current
413 * request.
414 * @opt_param string requestMetadata.partnersSessionId Google Partners session
415 * ID.
416 * @opt_param string requestMetadata.experimentIds Experiment IDs the current
417 * request belongs to.
418 * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
419 * indicate where the traffic comes from. An identifier has multiple letters
420 * created by a team which redirected the traffic to us.
421 * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
422 * identifier to indicate where the traffic comes from. An identifier has
423 * multiple letters created by a team which redirected the traffic to us.
424 * @opt_param int pageSize Requested page size. Server may return fewer
425 * companies than requested. If unspecified, server picks an appropriate
426 * default.
427 * @opt_param string pageToken A token identifying a page of results that the
428 * server returns. Typically, this is the value of
429 * `ListCompaniesResponse.next_page_token` returned from the previous call to
430 * ListCompanies.
431 * @opt_param string companyName Company name to search for.
432 * @opt_param string view The view of the `Company` resource to be returned.
433 * This must not be `COMPANY_VIEW_UNSPECIFIED`.
434 * @opt_param string minMonthlyBudget.currencyCode The 3-letter currency code
435 * defined in ISO 4217.
436 * @opt_param string minMonthlyBudget.units The whole units of the amount. For
437 * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
438 * @opt_param int minMonthlyBudget.nanos Number of nano (10^-9) units of the
439 * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
440 * `units` is positive, `nanos` must be positive or zero. If `units` is zero,
441 * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos`
442 * must be negative or zero. For example $-1.75 is represented as `units`=-1 and
443 * `nanos`=-750,000,000.
444 * @opt_param string maxMonthlyBudget.currencyCode The 3-letter currency code
445 * defined in ISO 4217.
446 * @opt_param string maxMonthlyBudget.units The whole units of the amount. For
447 * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
448 * @opt_param int maxMonthlyBudget.nanos Number of nano (10^-9) units of the
449 * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
450 * `units` is positive, `nanos` must be positive or zero. If `units` is zero,
451 * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos`
452 * must be negative or zero. For example $-1.75 is represented as `units`=-1 and
453 * `nanos`=-750,000,000.
454 * @opt_param string industries List of industries the company can help with.
455 * @opt_param string services List of services the company can help with.
456 * @opt_param string languageCodes List of language codes that company can
457 * support. Only primary language subtags are accepted as defined by BCP 47
458 * (IETF BCP 47, "Tags for Identifying Languages").
459 * @opt_param string address The address to use when searching for companies. If
460 * not given, the geo-located address of the request is used.
461 * @opt_param string orderBy How to order addresses within the returned
462 * companies. Currently, only `address` and `address desc` is supported which
463 * will sorted by closest to farthest in distance from given address and
464 * farthest to closest distance from given address respectively.
465 * @opt_param string gpsMotivations List of reasons for using Google Partner
466 * Search to get companies.
467 * @opt_param string websiteUrl Website URL that will help to find a better
468 * matched company. .
469 * @return Google_Service_Partners_ListCompaniesResponse
470 */
471 public function listCompanies($optParams = array())
472 {
473 $params = array();
474 $params = array_merge($params, $optParams);
475 return $this->call('list', array($params), "Google_Service_Partners_ListCompaniesResponse");
476 }
477 }
478
479 /**
480 * The "leads" collection of methods.
481 * Typical usage is:
482 * <code>
483 * $partnersService = new Google_Service_Partners(...);
484 * $leads = $partnersService->leads;
485 * </code>
486 */
487 class Google_Service_Partners_CompaniesLeads_Resource extends Google_Service_Resource
488 {
489
490 /**
491 * Creates an advertiser lead for the given company ID. (leads.create)
492 *
493 * @param string $companyId The ID of the company to contact.
494 * @param Google_CreateLeadRequest $postBody
495 * @param array $optParams Optional parameters.
496 * @return Google_Service_Partners_CreateLeadResponse
497 */
498 public function create($companyId, Google_Service_Partners_CreateLeadRequest $postBody, $optParams = array())
499 {
500 $params = array('companyId' => $companyId, 'postBody' => $postBody);
501 $params = array_merge($params, $optParams);
502 return $this->call('create', array($params), "Google_Service_Partners_CreateLeadResponse");
503 }
504 }
505
506 /**
507 * The "userEvents" collection of methods.
508 * Typical usage is:
509 * <code>
510 * $partnersService = new Google_Service_Partners(...);
511 * $userEvents = $partnersService->userEvents;
512 * </code>
513 */
514 class Google_Service_Partners_UserEvents_Resource extends Google_Service_Resource
515 {
516
517 /**
518 * Logs a user event. (userEvents.log)
519 *
520 * @param Google_LogUserEventRequest $postBody
521 * @param array $optParams Optional parameters.
522 * @return Google_Service_Partners_LogUserEventResponse
523 */
524 public function log(Google_Service_Partners_LogUserEventRequest $postBody, $optParams = array())
525 {
526 $params = array('postBody' => $postBody);
527 $params = array_merge($params, $optParams);
528 return $this->call('log', array($params), "Google_Service_Partners_LogUserEventResponse");
529 }
530 }
531
532 /**
533 * The "userStates" collection of methods.
534 * Typical usage is:
535 * <code>
536 * $partnersService = new Google_Service_Partners(...);
537 * $userStates = $partnersService->userStates;
538 * </code>
539 */
540 class Google_Service_Partners_UserStates_Resource extends Google_Service_Resource
541 {
542
543 /**
544 * Lists states for current user. (userStates.listUserStates)
545 *
546 * @param array $optParams Optional parameters.
547 *
548 * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
549 * instead of the user's geo-located IP address.
550 * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
551 * impersonate instead of the user's ID.
552 * @opt_param string requestMetadata.locale Locale to use for the current
553 * request.
554 * @opt_param string requestMetadata.partnersSessionId Google Partners session
555 * ID.
556 * @opt_param string requestMetadata.experimentIds Experiment IDs the current
557 * request belongs to.
558 * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
559 * indicate where the traffic comes from. An identifier has multiple letters
560 * created by a team which redirected the traffic to us.
561 * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
562 * identifier to indicate where the traffic comes from. An identifier has
563 * multiple letters created by a team which redirected the traffic to us.
564 * @return Google_Service_Partners_ListUserStatesResponse
565 */
566 public function listUserStates($optParams = array())
567 {
568 $params = array();
569 $params = array_merge($params, $optParams);
570 return $this->call('list', array($params), "Google_Service_Partners_ListUserStatesResponse");
571 }
572 }
573
574
575
576
577 class Google_Service_Partners_CertificationExamStatus extends Google_Model
578 {
579 protected $internal_gapi_mappings = array(
580 );
581 public $numberUsersPass;
582 public $type;
583
584
585 public function setNumberUsersPass($numberUsersPass)
586 {
587 $this->numberUsersPass = $numberUsersPass;
588 }
589 public function getNumberUsersPass()
590 {
591 return $this->numberUsersPass;
592 }
593 public function setType($type)
594 {
595 $this->type = $type;
596 }
597 public function getType()
598 {
599 return $this->type;
600 }
601 }
602
603 class Google_Service_Partners_CertificationStatus extends Google_Collection
604 {
605 protected $collection_key = 'examStatuses';
606 protected $internal_gapi_mappings = array(
607 );
608 protected $examStatusesType = 'Google_Service_Partners_CertificationExamStatus';
609 protected $examStatusesDataType = 'array';
610 public $isCertified;
611 public $type;
612
613
614 public function setExamStatuses($examStatuses)
615 {
616 $this->examStatuses = $examStatuses;
617 }
618 public function getExamStatuses()
619 {
620 return $this->examStatuses;
621 }
622 public function setIsCertified($isCertified)
623 {
624 $this->isCertified = $isCertified;
625 }
626 public function getIsCertified()
627 {
628 return $this->isCertified;
629 }
630 public function setType($type)
631 {
632 $this->type = $type;
633 }
634 public function getType()
635 {
636 return $this->type;
637 }
638 }
639
640 class Google_Service_Partners_Company extends Google_Collection
641 {
642 protected $collection_key = 'services';
643 protected $internal_gapi_mappings = array(
644 );
645 protected $certificationStatusesType = 'Google_Service_Partners_CertificationStatus';
646 protected $certificationStatusesDataType = 'array';
647 protected $convertedMinMonthlyBudgetType = 'Google_Service_Partners_Money';
648 protected $convertedMinMonthlyBudgetDataType = '';
649 public $id;
650 public $industries;
651 protected $localizedInfosType = 'Google_Service_Partners_LocalizedCompanyInfo';
652 protected $localizedInfosDataType = 'array';
653 protected $locationsType = 'Google_Service_Partners_Location';
654 protected $locationsDataType = 'array';
655 public $name;
656 protected $originalMinMonthlyBudgetType = 'Google_Service_Partners_Money';
657 protected $originalMinMonthlyBudgetDataType = '';
658 protected $publicProfileType = 'Google_Service_Partners_PublicProfile';
659 protected $publicProfileDataType = '';
660 protected $ranksType = 'Google_Service_Partners_Rank';
661 protected $ranksDataType = 'array';
662 public $services;
663 public $websiteUrl;
664
665
666 public function setCertificationStatuses($certificationStatuses)
667 {
668 $this->certificationStatuses = $certificationStatuses;
669 }
670 public function getCertificationStatuses()
671 {
672 return $this->certificationStatuses;
673 }
674 public function setConvertedMinMonthlyBudget(Google_Service_Partners_Money $convertedMinMonthlyBudget)
675 {
676 $this->convertedMinMonthlyBudget = $convertedMinMonthlyBudget;
677 }
678 public function getConvertedMinMonthlyBudget()
679 {
680 return $this->convertedMinMonthlyBudget;
681 }
682 public function setId($id)
683 {
684 $this->id = $id;
685 }
686 public function getId()
687 {
688 return $this->id;
689 }
690 public function setIndustries($industries)
691 {
692 $this->industries = $industries;
693 }
694 public function getIndustries()
695 {
696 return $this->industries;
697 }
698 public function setLocalizedInfos($localizedInfos)
699 {
700 $this->localizedInfos = $localizedInfos;
701 }
702 public function getLocalizedInfos()
703 {
704 return $this->localizedInfos;
705 }
706 public function setLocations($locations)
707 {
708 $this->locations = $locations;
709 }
710 public function getLocations()
711 {
712 return $this->locations;
713 }
714 public function setName($name)
715 {
716 $this->name = $name;
717 }
718 public function getName()
719 {
720 return $this->name;
721 }
722 public function setOriginalMinMonthlyBudget(Google_Service_Partners_Money $originalMinMonthlyBudget)
723 {
724 $this->originalMinMonthlyBudget = $originalMinMonthlyBudget;
725 }
726 public function getOriginalMinMonthlyBudget()
727 {
728 return $this->originalMinMonthlyBudget;
729 }
730 public function setPublicProfile(Google_Service_Partners_PublicProfile $publicProfile)
731 {
732 $this->publicProfile = $publicProfile;
733 }
734 public function getPublicProfile()
735 {
736 return $this->publicProfile;
737 }
738 public function setRanks($ranks)
739 {
740 $this->ranks = $ranks;
741 }
742 public function getRanks()
743 {
744 return $this->ranks;
745 }
746 public function setServices($services)
747 {
748 $this->services = $services;
749 }
750 public function getServices()
751 {
752 return $this->services;
753 }
754 public function setWebsiteUrl($websiteUrl)
755 {
756 $this->websiteUrl = $websiteUrl;
757 }
758 public function getWebsiteUrl()
759 {
760 return $this->websiteUrl;
761 }
762 }
763
764 class Google_Service_Partners_CreateLeadRequest extends Google_Model
765 {
766 protected $internal_gapi_mappings = array(
767 );
768 protected $leadType = 'Google_Service_Partners_Lead';
769 protected $leadDataType = '';
770 protected $recaptchaChallengeType = 'Google_Service_Partners_RecaptchaChallenge';
771 protected $recaptchaChallengeDataType = '';
772 protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
773 protected $requestMetadataDataType = '';
774
775
776 public function setLead(Google_Service_Partners_Lead $lead)
777 {
778 $this->lead = $lead;
779 }
780 public function getLead()
781 {
782 return $this->lead;
783 }
784 public function setRecaptchaChallenge(Google_Service_Partners_RecaptchaChallenge $recaptchaChallenge)
785 {
786 $this->recaptchaChallenge = $recaptchaChallenge;
787 }
788 public function getRecaptchaChallenge()
789 {
790 return $this->recaptchaChallenge;
791 }
792 public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
793 {
794 $this->requestMetadata = $requestMetadata;
795 }
796 public function getRequestMetadata()
797 {
798 return $this->requestMetadata;
799 }
800 }
801
802 class Google_Service_Partners_CreateLeadResponse extends Google_Model
803 {
804 protected $internal_gapi_mappings = array(
805 );
806 protected $leadType = 'Google_Service_Partners_Lead';
807 protected $leadDataType = '';
808 public $recaptchaStatus;
809 protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
810 protected $responseMetadataDataType = '';
811
812
813 public function setLead(Google_Service_Partners_Lead $lead)
814 {
815 $this->lead = $lead;
816 }
817 public function getLead()
818 {
819 return $this->lead;
820 }
821 public function setRecaptchaStatus($recaptchaStatus)
822 {
823 $this->recaptchaStatus = $recaptchaStatus;
824 }
825 public function getRecaptchaStatus()
826 {
827 return $this->recaptchaStatus;
828 }
829 public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
830 {
831 $this->responseMetadata = $responseMetadata;
832 }
833 public function getResponseMetadata()
834 {
835 return $this->responseMetadata;
836 }
837 }
838
839 class Google_Service_Partners_DebugInfo extends Google_Model
840 {
841 protected $internal_gapi_mappings = array(
842 );
843 public $serverInfo;
844 public $serverTraceInfo;
845 public $serviceUrl;
846
847
848 public function setServerInfo($serverInfo)
849 {
850 $this->serverInfo = $serverInfo;
851 }
852 public function getServerInfo()
853 {
854 return $this->serverInfo;
855 }
856 public function setServerTraceInfo($serverTraceInfo)
857 {
858 $this->serverTraceInfo = $serverTraceInfo;
859 }
860 public function getServerTraceInfo()
861 {
862 return $this->serverTraceInfo;
863 }
864 public function setServiceUrl($serviceUrl)
865 {
866 $this->serviceUrl = $serviceUrl;
867 }
868 public function getServiceUrl()
869 {
870 return $this->serviceUrl;
871 }
872 }
873
874 class Google_Service_Partners_EventData extends Google_Collection
875 {
876 protected $collection_key = 'values';
877 protected $internal_gapi_mappings = array(
878 );
879 public $key;
880 public $values;
881
882
883 public function setKey($key)
884 {
885 $this->key = $key;
886 }
887 public function getKey()
888 {
889 return $this->key;
890 }
891 public function setValues($values)
892 {
893 $this->values = $values;
894 }
895 public function getValues()
896 {
897 return $this->values;
898 }
899 }
900
901 class Google_Service_Partners_GetCompanyResponse extends Google_Model
902 {
903 protected $internal_gapi_mappings = array(
904 );
905 protected $companyType = 'Google_Service_Partners_Company';
906 protected $companyDataType = '';
907 protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
908 protected $responseMetadataDataType = '';
909
910
911 public function setCompany(Google_Service_Partners_Company $company)
912 {
913 $this->company = $company;
914 }
915 public function getCompany()
916 {
917 return $this->company;
918 }
919 public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
920 {
921 $this->responseMetadata = $responseMetadata;
922 }
923 public function getResponseMetadata()
924 {
925 return $this->responseMetadata;
926 }
927 }
928
929 class Google_Service_Partners_LatLng extends Google_Model
930 {
931 protected $internal_gapi_mappings = array(
932 );
933 public $latitude;
934 public $longitude;
935
936
937 public function setLatitude($latitude)
938 {
939 $this->latitude = $latitude;
940 }
941 public function getLatitude()
942 {
943 return $this->latitude;
944 }
945 public function setLongitude($longitude)
946 {
947 $this->longitude = $longitude;
948 }
949 public function getLongitude()
950 {
951 return $this->longitude;
952 }
953 }
954
955 class Google_Service_Partners_Lead extends Google_Collection
956 {
957 protected $collection_key = 'gpsMotivations';
958 protected $internal_gapi_mappings = array(
959 );
960 public $comments;
961 public $email;
962 public $familyName;
963 public $givenName;
964 public $gpsMotivations;
965 public $id;
966 protected $minMonthlyBudgetType = 'Google_Service_Partners_Money';
967 protected $minMonthlyBudgetDataType = '';
968 public $phoneNumber;
969 public $type;
970 public $websiteUrl;
971
972
973 public function setComments($comments)
974 {
975 $this->comments = $comments;
976 }
977 public function getComments()
978 {
979 return $this->comments;
980 }
981 public function setEmail($email)
982 {
983 $this->email = $email;
984 }
985 public function getEmail()
986 {
987 return $this->email;
988 }
989 public function setFamilyName($familyName)
990 {
991 $this->familyName = $familyName;
992 }
993 public function getFamilyName()
994 {
995 return $this->familyName;
996 }
997 public function setGivenName($givenName)
998 {
999 $this->givenName = $givenName;
1000 }
1001 public function getGivenName()
1002 {
1003 return $this->givenName;
1004 }
1005 public function setGpsMotivations($gpsMotivations)
1006 {
1007 $this->gpsMotivations = $gpsMotivations;
1008 }
1009 public function getGpsMotivations()
1010 {
1011 return $this->gpsMotivations;
1012 }
1013 public function setId($id)
1014 {
1015 $this->id = $id;
1016 }
1017 public function getId()
1018 {
1019 return $this->id;
1020 }
1021 public function setMinMonthlyBudget(Google_Service_Partners_Money $minMonthlyBudget)
1022 {
1023 $this->minMonthlyBudget = $minMonthlyBudget;
1024 }
1025 public function getMinMonthlyBudget()
1026 {
1027 return $this->minMonthlyBudget;
1028 }
1029 public function setPhoneNumber($phoneNumber)
1030 {
1031 $this->phoneNumber = $phoneNumber;
1032 }
1033 public function getPhoneNumber()
1034 {
1035 return $this->phoneNumber;
1036 }
1037 public function setType($type)
1038 {
1039 $this->type = $type;
1040 }
1041 public function getType()
1042 {
1043 return $this->type;
1044 }
1045 public function setWebsiteUrl($websiteUrl)
1046 {
1047 $this->websiteUrl = $websiteUrl;
1048 }
1049 public function getWebsiteUrl()
1050 {
1051 return $this->websiteUrl;
1052 }
1053 }
1054
1055 class Google_Service_Partners_ListCompaniesResponse extends Google_Collection
1056 {
1057 protected $collection_key = 'companies';
1058 protected $internal_gapi_mappings = array(
1059 );
1060 protected $companiesType = 'Google_Service_Partners_Company';
1061 protected $companiesDataType = 'array';
1062 public $nextPageToken;
1063 protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
1064 protected $responseMetadataDataType = '';
1065
1066
1067 public function setCompanies($companies)
1068 {
1069 $this->companies = $companies;
1070 }
1071 public function getCompanies()
1072 {
1073 return $this->companies;
1074 }
1075 public function setNextPageToken($nextPageToken)
1076 {
1077 $this->nextPageToken = $nextPageToken;
1078 }
1079 public function getNextPageToken()
1080 {
1081 return $this->nextPageToken;
1082 }
1083 public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
1084 {
1085 $this->responseMetadata = $responseMetadata;
1086 }
1087 public function getResponseMetadata()
1088 {
1089 return $this->responseMetadata;
1090 }
1091 }
1092
1093 class Google_Service_Partners_ListUserStatesResponse extends Google_Collection
1094 {
1095 protected $collection_key = 'userStates';
1096 protected $internal_gapi_mappings = array(
1097 );
1098 protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
1099 protected $responseMetadataDataType = '';
1100 public $userStates;
1101
1102
1103 public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
1104 {
1105 $this->responseMetadata = $responseMetadata;
1106 }
1107 public function getResponseMetadata()
1108 {
1109 return $this->responseMetadata;
1110 }
1111 public function setUserStates($userStates)
1112 {
1113 $this->userStates = $userStates;
1114 }
1115 public function getUserStates()
1116 {
1117 return $this->userStates;
1118 }
1119 }
1120
1121 class Google_Service_Partners_LocalizedCompanyInfo extends Google_Collection
1122 {
1123 protected $collection_key = 'countryCodes';
1124 protected $internal_gapi_mappings = array(
1125 );
1126 public $countryCodes;
1127 public $displayName;
1128 public $languageCode;
1129 public $overview;
1130
1131
1132 public function setCountryCodes($countryCodes)
1133 {
1134 $this->countryCodes = $countryCodes;
1135 }
1136 public function getCountryCodes()
1137 {
1138 return $this->countryCodes;
1139 }
1140 public function setDisplayName($displayName)
1141 {
1142 $this->displayName = $displayName;
1143 }
1144 public function getDisplayName()
1145 {
1146 return $this->displayName;
1147 }
1148 public function setLanguageCode($languageCode)
1149 {
1150 $this->languageCode = $languageCode;
1151 }
1152 public function getLanguageCode()
1153 {
1154 return $this->languageCode;
1155 }
1156 public function setOverview($overview)
1157 {
1158 $this->overview = $overview;
1159 }
1160 public function getOverview()
1161 {
1162 return $this->overview;
1163 }
1164 }
1165
1166 class Google_Service_Partners_Location extends Google_Model
1167 {
1168 protected $internal_gapi_mappings = array(
1169 );
1170 public $address;
1171 protected $latLngType = 'Google_Service_Partners_LatLng';
1172 protected $latLngDataType = '';
1173
1174
1175 public function setAddress($address)
1176 {
1177 $this->address = $address;
1178 }
1179 public function getAddress()
1180 {
1181 return $this->address;
1182 }
1183 public function setLatLng(Google_Service_Partners_LatLng $latLng)
1184 {
1185 $this->latLng = $latLng;
1186 }
1187 public function getLatLng()
1188 {
1189 return $this->latLng;
1190 }
1191 }
1192
1193 class Google_Service_Partners_LogMessageRequest extends Google_Model
1194 {
1195 protected $internal_gapi_mappings = array(
1196 );
1197 public $clientInfo;
1198 public $details;
1199 public $level;
1200 protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
1201 protected $requestMetadataDataType = '';
1202
1203
1204 public function setClientInfo($clientInfo)
1205 {
1206 $this->clientInfo = $clientInfo;
1207 }
1208 public function getClientInfo()
1209 {
1210 return $this->clientInfo;
1211 }
1212 public function setDetails($details)
1213 {
1214 $this->details = $details;
1215 }
1216 public function getDetails()
1217 {
1218 return $this->details;
1219 }
1220 public function setLevel($level)
1221 {
1222 $this->level = $level;
1223 }
1224 public function getLevel()
1225 {
1226 return $this->level;
1227 }
1228 public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
1229 {
1230 $this->requestMetadata = $requestMetadata;
1231 }
1232 public function getRequestMetadata()
1233 {
1234 return $this->requestMetadata;
1235 }
1236 }
1237
1238 class Google_Service_Partners_LogMessageResponse extends Google_Model
1239 {
1240 protected $internal_gapi_mappings = array(
1241 );
1242 protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
1243 protected $responseMetadataDataType = '';
1244
1245
1246 public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
1247 {
1248 $this->responseMetadata = $responseMetadata;
1249 }
1250 public function getResponseMetadata()
1251 {
1252 return $this->responseMetadata;
1253 }
1254 }
1255
1256 class Google_Service_Partners_LogUserEventRequest extends Google_Collection
1257 {
1258 protected $collection_key = 'eventDatas';
1259 protected $internal_gapi_mappings = array(
1260 );
1261 public $eventAction;
1262 public $eventCategory;
1263 protected $eventDatasType = 'Google_Service_Partners_EventData';
1264 protected $eventDatasDataType = 'array';
1265 public $eventScope;
1266 protected $leadType = 'Google_Service_Partners_Lead';
1267 protected $leadDataType = '';
1268 protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
1269 protected $requestMetadataDataType = '';
1270 public $url;
1271
1272
1273 public function setEventAction($eventAction)
1274 {
1275 $this->eventAction = $eventAction;
1276 }
1277 public function getEventAction()
1278 {
1279 return $this->eventAction;
1280 }
1281 public function setEventCategory($eventCategory)
1282 {
1283 $this->eventCategory = $eventCategory;
1284 }
1285 public function getEventCategory()
1286 {
1287 return $this->eventCategory;
1288 }
1289 public function setEventDatas($eventDatas)
1290 {
1291 $this->eventDatas = $eventDatas;
1292 }
1293 public function getEventDatas()
1294 {
1295 return $this->eventDatas;
1296 }
1297 public function setEventScope($eventScope)
1298 {
1299 $this->eventScope = $eventScope;
1300 }
1301 public function getEventScope()
1302 {
1303 return $this->eventScope;
1304 }
1305 public function setLead(Google_Service_Partners_Lead $lead)
1306 {
1307 $this->lead = $lead;
1308 }
1309 public function getLead()
1310 {
1311 return $this->lead;
1312 }
1313 public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
1314 {
1315 $this->requestMetadata = $requestMetadata;
1316 }
1317 public function getRequestMetadata()
1318 {
1319 return $this->requestMetadata;
1320 }
1321 public function setUrl($url)
1322 {
1323 $this->url = $url;
1324 }
1325 public function getUrl()
1326 {
1327 return $this->url;
1328 }
1329 }
1330
1331 class Google_Service_Partners_LogUserEventResponse extends Google_Model
1332 {
1333 protected $internal_gapi_mappings = array(
1334 );
1335 protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
1336 protected $responseMetadataDataType = '';
1337
1338
1339 public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
1340 {
1341 $this->responseMetadata = $responseMetadata;
1342 }
1343 public function getResponseMetadata()
1344 {
1345 return $this->responseMetadata;
1346 }
1347 }
1348
1349 class Google_Service_Partners_Money extends Google_Model
1350 {
1351 protected $internal_gapi_mappings = array(
1352 );
1353 public $currencyCode;
1354 public $nanos;
1355 public $units;
1356
1357
1358 public function setCurrencyCode($currencyCode)
1359 {
1360 $this->currencyCode = $currencyCode;
1361 }
1362 public function getCurrencyCode()
1363 {
1364 return $this->currencyCode;
1365 }
1366 public function setNanos($nanos)
1367 {
1368 $this->nanos = $nanos;
1369 }
1370 public function getNanos()
1371 {
1372 return $this->nanos;
1373 }
1374 public function setUnits($units)
1375 {
1376 $this->units = $units;
1377 }
1378 public function getUnits()
1379 {
1380 return $this->units;
1381 }
1382 }
1383
1384 class Google_Service_Partners_PublicProfile extends Google_Model
1385 {
1386 protected $internal_gapi_mappings = array(
1387 );
1388 public $displayImageUrl;
1389 public $displayName;
1390 public $id;
1391 public $url;
1392
1393
1394 public function setDisplayImageUrl($displayImageUrl)
1395 {
1396 $this->displayImageUrl = $displayImageUrl;
1397 }
1398 public function getDisplayImageUrl()
1399 {
1400 return $this->displayImageUrl;
1401 }
1402 public function setDisplayName($displayName)
1403 {
1404 $this->displayName = $displayName;
1405 }
1406 public function getDisplayName()
1407 {
1408 return $this->displayName;
1409 }
1410 public function setId($id)
1411 {
1412 $this->id = $id;
1413 }
1414 public function getId()
1415 {
1416 return $this->id;
1417 }
1418 public function setUrl($url)
1419 {
1420 $this->url = $url;
1421 }
1422 public function getUrl()
1423 {
1424 return $this->url;
1425 }
1426 }
1427
1428 class Google_Service_Partners_Rank extends Google_Model
1429 {
1430 protected $internal_gapi_mappings = array(
1431 );
1432 public $type;
1433 public $value;
1434
1435
1436 public function setType($type)
1437 {
1438 $this->type = $type;
1439 }
1440 public function getType()
1441 {
1442 return $this->type;
1443 }
1444 public function setValue($value)
1445 {
1446 $this->value = $value;
1447 }
1448 public function getValue()
1449 {
1450 return $this->value;
1451 }
1452 }
1453
1454 class Google_Service_Partners_RecaptchaChallenge extends Google_Model
1455 {
1456 protected $internal_gapi_mappings = array(
1457 );
1458 public $id;
1459 public $response;
1460
1461
1462 public function setId($id)
1463 {
1464 $this->id = $id;
1465 }
1466 public function getId()
1467 {
1468 return $this->id;
1469 }
1470 public function setResponse($response)
1471 {
1472 $this->response = $response;
1473 }
1474 public function getResponse()
1475 {
1476 return $this->response;
1477 }
1478 }
1479
1480 class Google_Service_Partners_RequestMetadata extends Google_Collection
1481 {
1482 protected $collection_key = 'experimentIds';
1483 protected $internal_gapi_mappings = array(
1484 );
1485 public $experimentIds;
1486 public $locale;
1487 public $partnersSessionId;
1488 protected $trafficSourceType = 'Google_Service_Partners_TrafficSource';
1489 protected $trafficSourceDataType = '';
1490 protected $userOverridesType = 'Google_Service_Partners_UserOverrides';
1491 protected $userOverridesDataType = '';
1492
1493
1494 public function setExperimentIds($experimentIds)
1495 {
1496 $this->experimentIds = $experimentIds;
1497 }
1498 public function getExperimentIds()
1499 {
1500 return $this->experimentIds;
1501 }
1502 public function setLocale($locale)
1503 {
1504 $this->locale = $locale;
1505 }
1506 public function getLocale()
1507 {
1508 return $this->locale;
1509 }
1510 public function setPartnersSessionId($partnersSessionId)
1511 {
1512 $this->partnersSessionId = $partnersSessionId;
1513 }
1514 public function getPartnersSessionId()
1515 {
1516 return $this->partnersSessionId;
1517 }
1518 public function setTrafficSource(Google_Service_Partners_TrafficSource $trafficSource)
1519 {
1520 $this->trafficSource = $trafficSource;
1521 }
1522 public function getTrafficSource()
1523 {
1524 return $this->trafficSource;
1525 }
1526 public function setUserOverrides(Google_Service_Partners_UserOverrides $userOverrides)
1527 {
1528 $this->userOverrides = $userOverrides;
1529 }
1530 public function getUserOverrides()
1531 {
1532 return $this->userOverrides;
1533 }
1534 }
1535
1536 class Google_Service_Partners_ResponseMetadata extends Google_Model
1537 {
1538 protected $internal_gapi_mappings = array(
1539 );
1540 protected $debugInfoType = 'Google_Service_Partners_DebugInfo';
1541 protected $debugInfoDataType = '';
1542
1543
1544 public function setDebugInfo(Google_Service_Partners_DebugInfo $debugInfo)
1545 {
1546 $this->debugInfo = $debugInfo;
1547 }
1548 public function getDebugInfo()
1549 {
1550 return $this->debugInfo;
1551 }
1552 }
1553
1554 class Google_Service_Partners_TrafficSource extends Google_Model
1555 {
1556 protected $internal_gapi_mappings = array(
1557 );
1558 public $trafficSourceId;
1559 public $trafficSubId;
1560
1561
1562 public function setTrafficSourceId($trafficSourceId)
1563 {
1564 $this->trafficSourceId = $trafficSourceId;
1565 }
1566 public function getTrafficSourceId()
1567 {
1568 return $this->trafficSourceId;
1569 }
1570 public function setTrafficSubId($trafficSubId)
1571 {
1572 $this->trafficSubId = $trafficSubId;
1573 }
1574 public function getTrafficSubId()
1575 {
1576 return $this->trafficSubId;
1577 }
1578 }
1579
1580 class Google_Service_Partners_UserOverrides extends Google_Model
1581 {
1582 protected $internal_gapi_mappings = array(
1583 );
1584 public $ipAddress;
1585 public $userId;
1586
1587
1588 public function setIpAddress($ipAddress)
1589 {
1590 $this->ipAddress = $ipAddress;
1591 }
1592 public function getIpAddress()
1593 {
1594 return $this->ipAddress;
1595 }
1596 public function setUserId($userId)
1597 {
1598 $this->userId = $userId;
1599 }
1600 public function getUserId()
1601 {
1602 return $this->userId;
1603 }
1604 }
1605