PageRenderTime 61ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 1ms

/lib/google/src/Google/Service/PlusDomains.php

https://bitbucket.org/moodle/moodle
PHP | 3929 lines | 3388 code | 221 blank | 320 comment | 0 complexity | 86034909fd7ab6466be975173483a071 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.1, BSD-3-Clause, MIT, GPL-3.0

Large files files are truncated, but you can click here to view the full file

  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. * Service definition for PlusDomains (v1).
  19. *
  20. * <p>
  21. * The Google+ API enables developers to build on top of the Google+ platform.</p>
  22. *
  23. * <p>
  24. * For more information about this service, see the API
  25. * <a href="https://developers.google.com/+/domains/" target="_blank">Documentation</a>
  26. * </p>
  27. *
  28. * @author Google, Inc.
  29. */
  30. class Google_Service_PlusDomains extends Google_Service
  31. {
  32. /** View your circles and the people and pages in them. */
  33. const PLUS_CIRCLES_READ =
  34. "https://www.googleapis.com/auth/plus.circles.read";
  35. /** Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.. */
  36. const PLUS_CIRCLES_WRITE =
  37. "https://www.googleapis.com/auth/plus.circles.write";
  38. /** Know your basic profile info and list of people in your circles.. */
  39. const PLUS_LOGIN =
  40. "https://www.googleapis.com/auth/plus.login";
  41. /** Know who you are on Google. */
  42. const PLUS_ME =
  43. "https://www.googleapis.com/auth/plus.me";
  44. /** Send your photos and videos to Google+. */
  45. const PLUS_MEDIA_UPLOAD =
  46. "https://www.googleapis.com/auth/plus.media.upload";
  47. /** View your own Google+ profile and profiles visible to you. */
  48. const PLUS_PROFILES_READ =
  49. "https://www.googleapis.com/auth/plus.profiles.read";
  50. /** View your Google+ posts, comments, and stream. */
  51. const PLUS_STREAM_READ =
  52. "https://www.googleapis.com/auth/plus.stream.read";
  53. /** Manage your Google+ posts, comments, and stream. */
  54. const PLUS_STREAM_WRITE =
  55. "https://www.googleapis.com/auth/plus.stream.write";
  56. /** View your email address. */
  57. const USERINFO_EMAIL =
  58. "https://www.googleapis.com/auth/userinfo.email";
  59. /** View your basic profile info. */
  60. const USERINFO_PROFILE =
  61. "https://www.googleapis.com/auth/userinfo.profile";
  62. public $activities;
  63. public $audiences;
  64. public $circles;
  65. public $comments;
  66. public $media;
  67. public $people;
  68. /**
  69. * Constructs the internal representation of the PlusDomains service.
  70. *
  71. * @param Google_Client $client
  72. */
  73. public function __construct(Google_Client $client)
  74. {
  75. parent::__construct($client);
  76. $this->rootUrl = 'https://www.googleapis.com/';
  77. $this->servicePath = 'plusDomains/v1/';
  78. $this->version = 'v1';
  79. $this->serviceName = 'plusDomains';
  80. $this->activities = new Google_Service_PlusDomains_Activities_Resource(
  81. $this,
  82. $this->serviceName,
  83. 'activities',
  84. array(
  85. 'methods' => array(
  86. 'get' => array(
  87. 'path' => 'activities/{activityId}',
  88. 'httpMethod' => 'GET',
  89. 'parameters' => array(
  90. 'activityId' => array(
  91. 'location' => 'path',
  92. 'type' => 'string',
  93. 'required' => true,
  94. ),
  95. ),
  96. ),'insert' => array(
  97. 'path' => 'people/{userId}/activities',
  98. 'httpMethod' => 'POST',
  99. 'parameters' => array(
  100. 'userId' => array(
  101. 'location' => 'path',
  102. 'type' => 'string',
  103. 'required' => true,
  104. ),
  105. 'preview' => array(
  106. 'location' => 'query',
  107. 'type' => 'boolean',
  108. ),
  109. ),
  110. ),'list' => array(
  111. 'path' => 'people/{userId}/activities/{collection}',
  112. 'httpMethod' => 'GET',
  113. 'parameters' => array(
  114. 'userId' => array(
  115. 'location' => 'path',
  116. 'type' => 'string',
  117. 'required' => true,
  118. ),
  119. 'collection' => array(
  120. 'location' => 'path',
  121. 'type' => 'string',
  122. 'required' => true,
  123. ),
  124. 'pageToken' => array(
  125. 'location' => 'query',
  126. 'type' => 'string',
  127. ),
  128. 'maxResults' => array(
  129. 'location' => 'query',
  130. 'type' => 'integer',
  131. ),
  132. ),
  133. ),
  134. )
  135. )
  136. );
  137. $this->audiences = new Google_Service_PlusDomains_Audiences_Resource(
  138. $this,
  139. $this->serviceName,
  140. 'audiences',
  141. array(
  142. 'methods' => array(
  143. 'list' => array(
  144. 'path' => 'people/{userId}/audiences',
  145. 'httpMethod' => 'GET',
  146. 'parameters' => array(
  147. 'userId' => array(
  148. 'location' => 'path',
  149. 'type' => 'string',
  150. 'required' => true,
  151. ),
  152. 'pageToken' => array(
  153. 'location' => 'query',
  154. 'type' => 'string',
  155. ),
  156. 'maxResults' => array(
  157. 'location' => 'query',
  158. 'type' => 'integer',
  159. ),
  160. ),
  161. ),
  162. )
  163. )
  164. );
  165. $this->circles = new Google_Service_PlusDomains_Circles_Resource(
  166. $this,
  167. $this->serviceName,
  168. 'circles',
  169. array(
  170. 'methods' => array(
  171. 'addPeople' => array(
  172. 'path' => 'circles/{circleId}/people',
  173. 'httpMethod' => 'PUT',
  174. 'parameters' => array(
  175. 'circleId' => array(
  176. 'location' => 'path',
  177. 'type' => 'string',
  178. 'required' => true,
  179. ),
  180. 'userId' => array(
  181. 'location' => 'query',
  182. 'type' => 'string',
  183. 'repeated' => true,
  184. ),
  185. 'email' => array(
  186. 'location' => 'query',
  187. 'type' => 'string',
  188. 'repeated' => true,
  189. ),
  190. ),
  191. ),'get' => array(
  192. 'path' => 'circles/{circleId}',
  193. 'httpMethod' => 'GET',
  194. 'parameters' => array(
  195. 'circleId' => array(
  196. 'location' => 'path',
  197. 'type' => 'string',
  198. 'required' => true,
  199. ),
  200. ),
  201. ),'insert' => array(
  202. 'path' => 'people/{userId}/circles',
  203. 'httpMethod' => 'POST',
  204. 'parameters' => array(
  205. 'userId' => array(
  206. 'location' => 'path',
  207. 'type' => 'string',
  208. 'required' => true,
  209. ),
  210. ),
  211. ),'list' => array(
  212. 'path' => 'people/{userId}/circles',
  213. 'httpMethod' => 'GET',
  214. 'parameters' => array(
  215. 'userId' => array(
  216. 'location' => 'path',
  217. 'type' => 'string',
  218. 'required' => true,
  219. ),
  220. 'pageToken' => array(
  221. 'location' => 'query',
  222. 'type' => 'string',
  223. ),
  224. 'maxResults' => array(
  225. 'location' => 'query',
  226. 'type' => 'integer',
  227. ),
  228. ),
  229. ),'patch' => array(
  230. 'path' => 'circles/{circleId}',
  231. 'httpMethod' => 'PATCH',
  232. 'parameters' => array(
  233. 'circleId' => array(
  234. 'location' => 'path',
  235. 'type' => 'string',
  236. 'required' => true,
  237. ),
  238. ),
  239. ),'remove' => array(
  240. 'path' => 'circles/{circleId}',
  241. 'httpMethod' => 'DELETE',
  242. 'parameters' => array(
  243. 'circleId' => array(
  244. 'location' => 'path',
  245. 'type' => 'string',
  246. 'required' => true,
  247. ),
  248. ),
  249. ),'removePeople' => array(
  250. 'path' => 'circles/{circleId}/people',
  251. 'httpMethod' => 'DELETE',
  252. 'parameters' => array(
  253. 'circleId' => array(
  254. 'location' => 'path',
  255. 'type' => 'string',
  256. 'required' => true,
  257. ),
  258. 'userId' => array(
  259. 'location' => 'query',
  260. 'type' => 'string',
  261. 'repeated' => true,
  262. ),
  263. 'email' => array(
  264. 'location' => 'query',
  265. 'type' => 'string',
  266. 'repeated' => true,
  267. ),
  268. ),
  269. ),'update' => array(
  270. 'path' => 'circles/{circleId}',
  271. 'httpMethod' => 'PUT',
  272. 'parameters' => array(
  273. 'circleId' => array(
  274. 'location' => 'path',
  275. 'type' => 'string',
  276. 'required' => true,
  277. ),
  278. ),
  279. ),
  280. )
  281. )
  282. );
  283. $this->comments = new Google_Service_PlusDomains_Comments_Resource(
  284. $this,
  285. $this->serviceName,
  286. 'comments',
  287. array(
  288. 'methods' => array(
  289. 'get' => array(
  290. 'path' => 'comments/{commentId}',
  291. 'httpMethod' => 'GET',
  292. 'parameters' => array(
  293. 'commentId' => array(
  294. 'location' => 'path',
  295. 'type' => 'string',
  296. 'required' => true,
  297. ),
  298. ),
  299. ),'insert' => array(
  300. 'path' => 'activities/{activityId}/comments',
  301. 'httpMethod' => 'POST',
  302. 'parameters' => array(
  303. 'activityId' => array(
  304. 'location' => 'path',
  305. 'type' => 'string',
  306. 'required' => true,
  307. ),
  308. ),
  309. ),'list' => array(
  310. 'path' => 'activities/{activityId}/comments',
  311. 'httpMethod' => 'GET',
  312. 'parameters' => array(
  313. 'activityId' => array(
  314. 'location' => 'path',
  315. 'type' => 'string',
  316. 'required' => true,
  317. ),
  318. 'pageToken' => array(
  319. 'location' => 'query',
  320. 'type' => 'string',
  321. ),
  322. 'sortOrder' => array(
  323. 'location' => 'query',
  324. 'type' => 'string',
  325. ),
  326. 'maxResults' => array(
  327. 'location' => 'query',
  328. 'type' => 'integer',
  329. ),
  330. ),
  331. ),
  332. )
  333. )
  334. );
  335. $this->media = new Google_Service_PlusDomains_Media_Resource(
  336. $this,
  337. $this->serviceName,
  338. 'media',
  339. array(
  340. 'methods' => array(
  341. 'insert' => array(
  342. 'path' => 'people/{userId}/media/{collection}',
  343. 'httpMethod' => 'POST',
  344. 'parameters' => array(
  345. 'userId' => array(
  346. 'location' => 'path',
  347. 'type' => 'string',
  348. 'required' => true,
  349. ),
  350. 'collection' => array(
  351. 'location' => 'path',
  352. 'type' => 'string',
  353. 'required' => true,
  354. ),
  355. ),
  356. ),
  357. )
  358. )
  359. );
  360. $this->people = new Google_Service_PlusDomains_People_Resource(
  361. $this,
  362. $this->serviceName,
  363. 'people',
  364. array(
  365. 'methods' => array(
  366. 'get' => array(
  367. 'path' => 'people/{userId}',
  368. 'httpMethod' => 'GET',
  369. 'parameters' => array(
  370. 'userId' => array(
  371. 'location' => 'path',
  372. 'type' => 'string',
  373. 'required' => true,
  374. ),
  375. ),
  376. ),'list' => array(
  377. 'path' => 'people/{userId}/people/{collection}',
  378. 'httpMethod' => 'GET',
  379. 'parameters' => array(
  380. 'userId' => array(
  381. 'location' => 'path',
  382. 'type' => 'string',
  383. 'required' => true,
  384. ),
  385. 'collection' => array(
  386. 'location' => 'path',
  387. 'type' => 'string',
  388. 'required' => true,
  389. ),
  390. 'orderBy' => array(
  391. 'location' => 'query',
  392. 'type' => 'string',
  393. ),
  394. 'pageToken' => array(
  395. 'location' => 'query',
  396. 'type' => 'string',
  397. ),
  398. 'maxResults' => array(
  399. 'location' => 'query',
  400. 'type' => 'integer',
  401. ),
  402. ),
  403. ),'listByActivity' => array(
  404. 'path' => 'activities/{activityId}/people/{collection}',
  405. 'httpMethod' => 'GET',
  406. 'parameters' => array(
  407. 'activityId' => array(
  408. 'location' => 'path',
  409. 'type' => 'string',
  410. 'required' => true,
  411. ),
  412. 'collection' => array(
  413. 'location' => 'path',
  414. 'type' => 'string',
  415. 'required' => true,
  416. ),
  417. 'pageToken' => array(
  418. 'location' => 'query',
  419. 'type' => 'string',
  420. ),
  421. 'maxResults' => array(
  422. 'location' => 'query',
  423. 'type' => 'integer',
  424. ),
  425. ),
  426. ),'listByCircle' => array(
  427. 'path' => 'circles/{circleId}/people',
  428. 'httpMethod' => 'GET',
  429. 'parameters' => array(
  430. 'circleId' => array(
  431. 'location' => 'path',
  432. 'type' => 'string',
  433. 'required' => true,
  434. ),
  435. 'pageToken' => array(
  436. 'location' => 'query',
  437. 'type' => 'string',
  438. ),
  439. 'maxResults' => array(
  440. 'location' => 'query',
  441. 'type' => 'integer',
  442. ),
  443. ),
  444. ),
  445. )
  446. )
  447. );
  448. }
  449. }
  450. /**
  451. * The "activities" collection of methods.
  452. * Typical usage is:
  453. * <code>
  454. * $plusDomainsService = new Google_Service_PlusDomains(...);
  455. * $activities = $plusDomainsService->activities;
  456. * </code>
  457. */
  458. class Google_Service_PlusDomains_Activities_Resource extends Google_Service_Resource
  459. {
  460. /**
  461. * Get an activity. (activities.get)
  462. *
  463. * @param string $activityId The ID of the activity to get.
  464. * @param array $optParams Optional parameters.
  465. * @return Google_Service_PlusDomains_Activity
  466. */
  467. public function get($activityId, $optParams = array())
  468. {
  469. $params = array('activityId' => $activityId);
  470. $params = array_merge($params, $optParams);
  471. return $this->call('get', array($params), "Google_Service_PlusDomains_Activity");
  472. }
  473. /**
  474. * Create a new activity for the authenticated user. (activities.insert)
  475. *
  476. * @param string $userId The ID of the user to create the activity on behalf of.
  477. * Its value should be "me", to indicate the authenticated user.
  478. * @param Google_Activity $postBody
  479. * @param array $optParams Optional parameters.
  480. *
  481. * @opt_param bool preview If "true", extract the potential media attachments
  482. * for a URL. The response will include all possible attachments for a URL,
  483. * including video, photos, and articles based on the content of the page.
  484. * @return Google_Service_PlusDomains_Activity
  485. */
  486. public function insert($userId, Google_Service_PlusDomains_Activity $postBody, $optParams = array())
  487. {
  488. $params = array('userId' => $userId, 'postBody' => $postBody);
  489. $params = array_merge($params, $optParams);
  490. return $this->call('insert', array($params), "Google_Service_PlusDomains_Activity");
  491. }
  492. /**
  493. * List all of the activities in the specified collection for a particular user.
  494. * (activities.listActivities)
  495. *
  496. * @param string $userId The ID of the user to get activities for. The special
  497. * value "me" can be used to indicate the authenticated user.
  498. * @param string $collection The collection of activities to list.
  499. * @param array $optParams Optional parameters.
  500. *
  501. * @opt_param string pageToken The continuation token, which is used to page
  502. * through large result sets. To get the next page of results, set this
  503. * parameter to the value of "nextPageToken" from the previous response.
  504. * @opt_param string maxResults The maximum number of activities to include in
  505. * the response, which is used for paging. For any response, the actual number
  506. * returned might be less than the specified maxResults.
  507. * @return Google_Service_PlusDomains_ActivityFeed
  508. */
  509. public function listActivities($userId, $collection, $optParams = array())
  510. {
  511. $params = array('userId' => $userId, 'collection' => $collection);
  512. $params = array_merge($params, $optParams);
  513. return $this->call('list', array($params), "Google_Service_PlusDomains_ActivityFeed");
  514. }
  515. }
  516. /**
  517. * The "audiences" collection of methods.
  518. * Typical usage is:
  519. * <code>
  520. * $plusDomainsService = new Google_Service_PlusDomains(...);
  521. * $audiences = $plusDomainsService->audiences;
  522. * </code>
  523. */
  524. class Google_Service_PlusDomains_Audiences_Resource extends Google_Service_Resource
  525. {
  526. /**
  527. * List all of the audiences to which a user can share.
  528. * (audiences.listAudiences)
  529. *
  530. * @param string $userId The ID of the user to get audiences for. The special
  531. * value "me" can be used to indicate the authenticated user.
  532. * @param array $optParams Optional parameters.
  533. *
  534. * @opt_param string pageToken The continuation token, which is used to page
  535. * through large result sets. To get the next page of results, set this
  536. * parameter to the value of "nextPageToken" from the previous response.
  537. * @opt_param string maxResults The maximum number of circles to include in the
  538. * response, which is used for paging. For any response, the actual number
  539. * returned might be less than the specified maxResults.
  540. * @return Google_Service_PlusDomains_AudiencesFeed
  541. */
  542. public function listAudiences($userId, $optParams = array())
  543. {
  544. $params = array('userId' => $userId);
  545. $params = array_merge($params, $optParams);
  546. return $this->call('list', array($params), "Google_Service_PlusDomains_AudiencesFeed");
  547. }
  548. }
  549. /**
  550. * The "circles" collection of methods.
  551. * Typical usage is:
  552. * <code>
  553. * $plusDomainsService = new Google_Service_PlusDomains(...);
  554. * $circles = $plusDomainsService->circles;
  555. * </code>
  556. */
  557. class Google_Service_PlusDomains_Circles_Resource extends Google_Service_Resource
  558. {
  559. /**
  560. * Add a person to a circle. Google+ limits certain circle operations, including
  561. * the number of circle adds. Learn More. (circles.addPeople)
  562. *
  563. * @param string $circleId The ID of the circle to add the person to.
  564. * @param array $optParams Optional parameters.
  565. *
  566. * @opt_param string userId IDs of the people to add to the circle. Optional,
  567. * can be repeated.
  568. * @opt_param string email Email of the people to add to the circle. Optional,
  569. * can be repeated.
  570. * @return Google_Service_PlusDomains_Circle
  571. */
  572. public function addPeople($circleId, $optParams = array())
  573. {
  574. $params = array('circleId' => $circleId);
  575. $params = array_merge($params, $optParams);
  576. return $this->call('addPeople', array($params), "Google_Service_PlusDomains_Circle");
  577. }
  578. /**
  579. * Get a circle. (circles.get)
  580. *
  581. * @param string $circleId The ID of the circle to get.
  582. * @param array $optParams Optional parameters.
  583. * @return Google_Service_PlusDomains_Circle
  584. */
  585. public function get($circleId, $optParams = array())
  586. {
  587. $params = array('circleId' => $circleId);
  588. $params = array_merge($params, $optParams);
  589. return $this->call('get', array($params), "Google_Service_PlusDomains_Circle");
  590. }
  591. /**
  592. * Create a new circle for the authenticated user. (circles.insert)
  593. *
  594. * @param string $userId The ID of the user to create the circle on behalf of.
  595. * The value "me" can be used to indicate the authenticated user.
  596. * @param Google_Circle $postBody
  597. * @param array $optParams Optional parameters.
  598. * @return Google_Service_PlusDomains_Circle
  599. */
  600. public function insert($userId, Google_Service_PlusDomains_Circle $postBody, $optParams = array())
  601. {
  602. $params = array('userId' => $userId, 'postBody' => $postBody);
  603. $params = array_merge($params, $optParams);
  604. return $this->call('insert', array($params), "Google_Service_PlusDomains_Circle");
  605. }
  606. /**
  607. * List all of the circles for a user. (circles.listCircles)
  608. *
  609. * @param string $userId The ID of the user to get circles for. The special
  610. * value "me" can be used to indicate the authenticated user.
  611. * @param array $optParams Optional parameters.
  612. *
  613. * @opt_param string pageToken The continuation token, which is used to page
  614. * through large result sets. To get the next page of results, set this
  615. * parameter to the value of "nextPageToken" from the previous response.
  616. * @opt_param string maxResults The maximum number of circles to include in the
  617. * response, which is used for paging. For any response, the actual number
  618. * returned might be less than the specified maxResults.
  619. * @return Google_Service_PlusDomains_CircleFeed
  620. */
  621. public function listCircles($userId, $optParams = array())
  622. {
  623. $params = array('userId' => $userId);
  624. $params = array_merge($params, $optParams);
  625. return $this->call('list', array($params), "Google_Service_PlusDomains_CircleFeed");
  626. }
  627. /**
  628. * Update a circle's description. This method supports patch semantics.
  629. * (circles.patch)
  630. *
  631. * @param string $circleId The ID of the circle to update.
  632. * @param Google_Circle $postBody
  633. * @param array $optParams Optional parameters.
  634. * @return Google_Service_PlusDomains_Circle
  635. */
  636. public function patch($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array())
  637. {
  638. $params = array('circleId' => $circleId, 'postBody' => $postBody);
  639. $params = array_merge($params, $optParams);
  640. return $this->call('patch', array($params), "Google_Service_PlusDomains_Circle");
  641. }
  642. /**
  643. * Delete a circle. (circles.remove)
  644. *
  645. * @param string $circleId The ID of the circle to delete.
  646. * @param array $optParams Optional parameters.
  647. */
  648. public function remove($circleId, $optParams = array())
  649. {
  650. $params = array('circleId' => $circleId);
  651. $params = array_merge($params, $optParams);
  652. return $this->call('remove', array($params));
  653. }
  654. /**
  655. * Remove a person from a circle. (circles.removePeople)
  656. *
  657. * @param string $circleId The ID of the circle to remove the person from.
  658. * @param array $optParams Optional parameters.
  659. *
  660. * @opt_param string userId IDs of the people to remove from the circle.
  661. * Optional, can be repeated.
  662. * @opt_param string email Email of the people to add to the circle. Optional,
  663. * can be repeated.
  664. */
  665. public function removePeople($circleId, $optParams = array())
  666. {
  667. $params = array('circleId' => $circleId);
  668. $params = array_merge($params, $optParams);
  669. return $this->call('removePeople', array($params));
  670. }
  671. /**
  672. * Update a circle's description. (circles.update)
  673. *
  674. * @param string $circleId The ID of the circle to update.
  675. * @param Google_Circle $postBody
  676. * @param array $optParams Optional parameters.
  677. * @return Google_Service_PlusDomains_Circle
  678. */
  679. public function update($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array())
  680. {
  681. $params = array('circleId' => $circleId, 'postBody' => $postBody);
  682. $params = array_merge($params, $optParams);
  683. return $this->call('update', array($params), "Google_Service_PlusDomains_Circle");
  684. }
  685. }
  686. /**
  687. * The "comments" collection of methods.
  688. * Typical usage is:
  689. * <code>
  690. * $plusDomainsService = new Google_Service_PlusDomains(...);
  691. * $comments = $plusDomainsService->comments;
  692. * </code>
  693. */
  694. class Google_Service_PlusDomains_Comments_Resource extends Google_Service_Resource
  695. {
  696. /**
  697. * Get a comment. (comments.get)
  698. *
  699. * @param string $commentId The ID of the comment to get.
  700. * @param array $optParams Optional parameters.
  701. * @return Google_Service_PlusDomains_Comment
  702. */
  703. public function get($commentId, $optParams = array())
  704. {
  705. $params = array('commentId' => $commentId);
  706. $params = array_merge($params, $optParams);
  707. return $this->call('get', array($params), "Google_Service_PlusDomains_Comment");
  708. }
  709. /**
  710. * Create a new comment in reply to an activity. (comments.insert)
  711. *
  712. * @param string $activityId The ID of the activity to reply to.
  713. * @param Google_Comment $postBody
  714. * @param array $optParams Optional parameters.
  715. * @return Google_Service_PlusDomains_Comment
  716. */
  717. public function insert($activityId, Google_Service_PlusDomains_Comment $postBody, $optParams = array())
  718. {
  719. $params = array('activityId' => $activityId, 'postBody' => $postBody);
  720. $params = array_merge($params, $optParams);
  721. return $this->call('insert', array($params), "Google_Service_PlusDomains_Comment");
  722. }
  723. /**
  724. * List all of the comments for an activity. (comments.listComments)
  725. *
  726. * @param string $activityId The ID of the activity to get comments for.
  727. * @param array $optParams Optional parameters.
  728. *
  729. * @opt_param string pageToken The continuation token, which is used to page
  730. * through large result sets. To get the next page of results, set this
  731. * parameter to the value of "nextPageToken" from the previous response.
  732. * @opt_param string sortOrder The order in which to sort the list of comments.
  733. * @opt_param string maxResults The maximum number of comments to include in the
  734. * response, which is used for paging. For any response, the actual number
  735. * returned might be less than the specified maxResults.
  736. * @return Google_Service_PlusDomains_CommentFeed
  737. */
  738. public function listComments($activityId, $optParams = array())
  739. {
  740. $params = array('activityId' => $activityId);
  741. $params = array_merge($params, $optParams);
  742. return $this->call('list', array($params), "Google_Service_PlusDomains_CommentFeed");
  743. }
  744. }
  745. /**
  746. * The "media" collection of methods.
  747. * Typical usage is:
  748. * <code>
  749. * $plusDomainsService = new Google_Service_PlusDomains(...);
  750. * $media = $plusDomainsService->media;
  751. * </code>
  752. */
  753. class Google_Service_PlusDomains_Media_Resource extends Google_Service_Resource
  754. {
  755. /**
  756. * Add a new media item to an album. The current upload size limitations are
  757. * 36MB for a photo and 1GB for a video. Uploads do not count against quota if
  758. * photos are less than 2048 pixels on their longest side or videos are less
  759. * than 15 minutes in length. (media.insert)
  760. *
  761. * @param string $userId The ID of the user to create the activity on behalf of.
  762. * @param string $collection
  763. * @param Google_Media $postBody
  764. * @param array $optParams Optional parameters.
  765. * @return Google_Service_PlusDomains_Media
  766. */
  767. public function insert($userId, $collection, Google_Service_PlusDomains_Media $postBody, $optParams = array())
  768. {
  769. $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody);
  770. $params = array_merge($params, $optParams);
  771. return $this->call('insert', array($params), "Google_Service_PlusDomains_Media");
  772. }
  773. }
  774. /**
  775. * The "people" collection of methods.
  776. * Typical usage is:
  777. * <code>
  778. * $plusDomainsService = new Google_Service_PlusDomains(...);
  779. * $people = $plusDomainsService->people;
  780. * </code>
  781. */
  782. class Google_Service_PlusDomains_People_Resource extends Google_Service_Resource
  783. {
  784. /**
  785. * Get a person's profile. (people.get)
  786. *
  787. * @param string $userId The ID of the person to get the profile for. The
  788. * special value "me" can be used to indicate the authenticated user.
  789. * @param array $optParams Optional parameters.
  790. * @return Google_Service_PlusDomains_Person
  791. */
  792. public function get($userId, $optParams = array())
  793. {
  794. $params = array('userId' => $userId);
  795. $params = array_merge($params, $optParams);
  796. return $this->call('get', array($params), "Google_Service_PlusDomains_Person");
  797. }
  798. /**
  799. * List all of the people in the specified collection. (people.listPeople)
  800. *
  801. * @param string $userId Get the collection of people for the person identified.
  802. * Use "me" to indicate the authenticated user.
  803. * @param string $collection The collection of people to list.
  804. * @param array $optParams Optional parameters.
  805. *
  806. * @opt_param string orderBy The order to return people in.
  807. * @opt_param string pageToken The continuation token, which is used to page
  808. * through large result sets. To get the next page of results, set this
  809. * parameter to the value of "nextPageToken" from the previous response.
  810. * @opt_param string maxResults The maximum number of people to include in the
  811. * response, which is used for paging. For any response, the actual number
  812. * returned might be less than the specified maxResults.
  813. * @return Google_Service_PlusDomains_PeopleFeed
  814. */
  815. public function listPeople($userId, $collection, $optParams = array())
  816. {
  817. $params = array('userId' => $userId, 'collection' => $collection);
  818. $params = array_merge($params, $optParams);
  819. return $this->call('list', array($params), "Google_Service_PlusDomains_PeopleFeed");
  820. }
  821. /**
  822. * List all of the people in the specified collection for a particular activity.
  823. * (people.listByActivity)
  824. *
  825. * @param string $activityId The ID of the activity to get the list of people
  826. * for.
  827. * @param string $collection The collection of people to list.
  828. * @param array $optParams Optional parameters.
  829. *
  830. * @opt_param string pageToken The continuation token, which is used to page
  831. * through large result sets. To get the next page of results, set this
  832. * parameter to the value of "nextPageToken" from the previous response.
  833. * @opt_param string maxResults The maximum number of people to include in the
  834. * response, which is used for paging. For any response, the actual number
  835. * returned might be less than the specified maxResults.
  836. * @return Google_Service_PlusDomains_PeopleFeed
  837. */
  838. public function listByActivity($activityId, $collection, $optParams = array())
  839. {
  840. $params = array('activityId' => $activityId, 'collection' => $collection);
  841. $params = array_merge($params, $optParams);
  842. return $this->call('listByActivity', array($params), "Google_Service_PlusDomains_PeopleFeed");
  843. }
  844. /**
  845. * List all of the people who are members of a circle. (people.listByCircle)
  846. *
  847. * @param string $circleId The ID of the circle to get the members of.
  848. * @param array $optParams Optional parameters.
  849. *
  850. * @opt_param string pageToken The continuation token, which is used to page
  851. * through large result sets. To get the next page of results, set this
  852. * parameter to the value of "nextPageToken" from the previous response.
  853. * @opt_param string maxResults The maximum number of people to include in the
  854. * response, which is used for paging. For any response, the actual number
  855. * returned might be less than the specified maxResults.
  856. * @return Google_Service_PlusDomains_PeopleFeed
  857. */
  858. public function listByCircle($circleId, $optParams = array())
  859. {
  860. $params = array('circleId' => $circleId);
  861. $params = array_merge($params, $optParams);
  862. return $this->call('listByCircle', array($params), "Google_Service_PlusDomains_PeopleFeed");
  863. }
  864. }
  865. class Google_Service_PlusDomains_Acl extends Google_Collection
  866. {
  867. protected $collection_key = 'items';
  868. protected $internal_gapi_mappings = array(
  869. );
  870. public $description;
  871. public $domainRestricted;
  872. protected $itemsType = 'Google_Service_PlusDomains_PlusDomainsAclentryResource';
  873. protected $itemsDataType = 'array';
  874. public $kind;
  875. public function setDescription($description)
  876. {
  877. $this->description = $description;
  878. }
  879. public function getDescription()
  880. {
  881. return $this->description;
  882. }
  883. public function setDomainRestricted($domainRestricted)
  884. {
  885. $this->domainRestricted = $domainRestricted;
  886. }
  887. public function getDomainRestricted()
  888. {
  889. return $this->domainRestricted;
  890. }
  891. public function setItems($items)
  892. {
  893. $this->items = $items;
  894. }
  895. public function getItems()
  896. {
  897. return $this->items;
  898. }
  899. public function setKind($kind)
  900. {
  901. $this->kind = $kind;
  902. }
  903. public function getKind()
  904. {
  905. return $this->kind;
  906. }
  907. }
  908. class Google_Service_PlusDomains_Activity extends Google_Model
  909. {
  910. protected $internal_gapi_mappings = array(
  911. );
  912. protected $accessType = 'Google_Service_PlusDomains_Acl';
  913. protected $accessDataType = '';
  914. protected $actorType = 'Google_Service_PlusDomains_ActivityActor';
  915. protected $actorDataType = '';
  916. public $address;
  917. public $annotation;
  918. public $crosspostSource;
  919. public $etag;
  920. public $geocode;
  921. public $id;
  922. public $kind;
  923. protected $locationType = 'Google_Service_PlusDomains_Place';
  924. protected $locationDataType = '';
  925. protected $objectType = 'Google_Service_PlusDomains_ActivityObject';
  926. protected $objectDataType = '';
  927. public $placeId;
  928. public $placeName;
  929. protected $providerType = 'Google_Service_PlusDomains_ActivityProvider';
  930. protected $providerDataType = '';
  931. public $published;
  932. public $radius;
  933. public $title;
  934. public $updated;
  935. public $url;
  936. public $verb;
  937. public function setAccess(Google_Service_PlusDomains_Acl $access)
  938. {
  939. $this->access = $access;
  940. }
  941. public function getAccess()
  942. {
  943. return $this->access;
  944. }
  945. public function setActor(Google_Service_PlusDomains_ActivityActor $actor)
  946. {
  947. $this->actor = $actor;
  948. }
  949. public function getActor()
  950. {
  951. return $this->actor;
  952. }
  953. public function setAddress($address)
  954. {
  955. $this->address = $address;
  956. }
  957. public function getAddress()
  958. {
  959. return $this->address;
  960. }
  961. public function setAnnotation($annotation)
  962. {
  963. $this->annotation = $annotation;
  964. }
  965. public function getAnnotation()
  966. {
  967. return $this->annotation;
  968. }
  969. public function setCrosspostSource($crosspostSource)
  970. {
  971. $this->crosspostSource = $crosspostSource;
  972. }
  973. public function getCrosspostSource()
  974. {
  975. return $this->crosspostSource;
  976. }
  977. public function setEtag($etag)
  978. {
  979. $this->etag = $etag;
  980. }
  981. public function getEtag()
  982. {
  983. return $this->etag;
  984. }
  985. public function setGeocode($geocode)
  986. {
  987. $this->geocode = $geocode;
  988. }
  989. public function getGeocode()
  990. {
  991. return $this->geocode;
  992. }
  993. public function setId($id)
  994. {
  995. $this->id = $id;
  996. }
  997. public function getId()
  998. {
  999. return $this->id;
  1000. }
  1001. public function setKind($kind)
  1002. {
  1003. $this->kind = $kind;
  1004. }
  1005. public function getKind()
  1006. {
  1007. return $this->kind;
  1008. }
  1009. public function setLocation(Google_Service_PlusDomains_Place $location)
  1010. {
  1011. $this->location = $location;
  1012. }
  1013. public function getLocation()
  1014. {
  1015. return $this->location;
  1016. }
  1017. public function setObject(Google_Service_PlusDomains_ActivityObject $object)
  1018. {
  1019. $this->object = $object;
  1020. }
  1021. public function getObject()
  1022. {
  1023. return $this->object;
  1024. }
  1025. public function setPlaceId($placeId)
  1026. {
  1027. $this->placeId = $placeId;
  1028. }
  1029. public function getPlaceId()
  1030. {
  1031. return $this->placeId;
  1032. }
  1033. public function setPlaceName($placeName)
  1034. {
  1035. $this->placeName = $placeName;
  1036. }
  1037. public function getPlaceName()
  1038. {
  1039. return $this->placeName;
  1040. }
  1041. public function setProvider(Google_Service_PlusDomains_ActivityProvider $provider)
  1042. {
  1043. $this->provider = $provider;
  1044. }
  1045. public function getProvider()
  1046. {
  1047. return $this->provider;
  1048. }
  1049. public function setPublished($published)
  1050. {
  1051. $this->published = $published;
  1052. }
  1053. public function getPublished()
  1054. {
  1055. return $this->published;
  1056. }
  1057. public function setRadius($radius)
  1058. {
  1059. $this->radius = $radius;
  1060. }
  1061. public function getRadius()
  1062. {
  1063. return $this->radius;
  1064. }
  1065. public function setTitle($title)
  1066. {
  1067. $this->title = $title;
  1068. }
  1069. public function getTitle()
  1070. {
  1071. return $this->title;
  1072. }
  1073. public function setUpdated($updated)
  1074. {
  1075. $this->updated = $updated;
  1076. }
  1077. public function getUpdated()
  1078. {
  1079. return $this->updated;
  1080. }
  1081. public function setUrl($url)
  1082. {
  1083. $this->url = $url;
  1084. }
  1085. public function getUrl()
  1086. {
  1087. return $this->url;
  1088. }
  1089. public function setVerb($verb)
  1090. {
  1091. $this->verb = $verb;
  1092. }
  1093. public function getVerb()
  1094. {
  1095. return $this->verb;
  1096. }
  1097. }
  1098. class Google_Service_PlusDomains_ActivityActor extends Google_Model
  1099. {
  1100. protected $internal_gapi_mappings = array(
  1101. );
  1102. protected $clientSpecificActorInfoType = 'Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo';
  1103. protected $clientSpecificActorInfoDataType = '';
  1104. public $displayName;
  1105. public $id;
  1106. protected $imageType = 'Google_Service_PlusDomains_ActivityActorImage';
  1107. protected $imageDataType = '';
  1108. protected $nameType = 'Google_Service_PlusDomains_ActivityActorName';
  1109. protected $nameDataType = '';
  1110. public $url;
  1111. protected $verificationType = 'Google_Service_PlusDomains_ActivityActorVerification';
  1112. protected $verificationDataType = '';
  1113. public function setClientSpecificActorInfo(Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo $clientSpecificActorInfo)
  1114. {
  1115. $this->clientSpecificActorInfo = $clientSpecificActorInfo;
  1116. }
  1117. public function getClientSpecificActorInfo()
  1118. {
  1119. return $this->clientSpecificActorInfo;
  1120. }
  1121. public function setDisplayName($displayName)
  1122. {
  1123. $this->displayName = $displayName;
  1124. }
  1125. public function getDisplayName()
  1126. {
  1127. return $this->displayName;
  1128. }
  1129. public function setId($id)
  1130. {
  1131. $this->id = $id;
  1132. }
  1133. public function getId()
  1134. {
  1135. return $this->id;
  1136. }
  1137. public function setImage(Google_Service_PlusDomains_ActivityActorImage $image)
  1138. {
  1139. $this->image = $image;
  1140. }
  1141. public function getImage()
  1142. {
  1143. return $this->image;
  1144. }
  1145. public function setName(Google_Service_PlusDomains_ActivityActorName $name)
  1146. {
  1147. $this->name = $name;
  1148. }
  1149. public function getName()
  1150. {
  1151. return $this->name;
  1152. }
  1153. public function setUrl($url)
  1154. {
  1155. $this->url = $url;
  1156. }
  1157. public function getUrl()
  1158. {
  1159. return $this->url;
  1160. }
  1161. public function setVerification(Google_Service_PlusDomains_ActivityActorVerification $verification)
  1162. {
  1163. $this->verification = $verification;
  1164. }
  1165. public function getVerification()
  1166. {
  1167. return $this->verification;
  1168. }
  1169. }
  1170. class Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo extends Google_Model
  1171. {
  1172. protected $internal_gapi_mappings = array(
  1173. );
  1174. protected $youtubeActorInfoType = 'Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo';
  1175. protected $youtubeActorInfoDataType = '';
  1176. public function setYoutubeActorInfo(Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
  1177. {
  1178. $this->youtubeActorInfo = $youtubeActorInfo;
  1179. }
  1180. public function getYoutubeActorInfo()
  1181. {
  1182. return $this->youtubeActorInfo;
  1183. }
  1184. }
  1185. class Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
  1186. {
  1187. protected $internal_gapi_mappings = array(
  1188. );
  1189. public $channelId;
  1190. public function setChannelId($channelId)
  1191. {
  1192. $this->channelId = $channelId;
  1193. }
  1194. public function getChannelId()
  1195. {
  1196. return $this->channelId;
  1197. }
  1198. }
  1199. class Google_Service_PlusDomains_ActivityActorImage extends Google_Model
  1200. {
  1201. protected $internal_gapi_mappings = array(
  1202. );
  1203. public $url;
  1204. public function setUrl($url)
  1205. {
  1206. $this->url = $url;
  1207. }
  1208. public function getUrl()
  1209. {
  1210. return $this->url;
  1211. }
  1212. }
  1213. class Google_Service_PlusDomains_ActivityActorName extends Google_Model
  1214. {
  1215. protected $internal_gapi_mappings = array(
  1216. );
  1217. public $familyName;
  1218. public $givenName;
  1219. public function setFamilyName($familyName)
  1220. {
  1221. $this->familyName = $familyName;
  1222. }
  1223. public function getFamilyName()
  1224. {
  1225. return $this->familyName;
  1226. }
  1227. public function setGivenName($givenName)
  1228. {
  1229. $this->givenName = $givenName;
  1230. }
  1231. public function getGivenName()
  1232. {
  1233. return $this->givenName;
  1234. }
  1235. }
  1236. class Google_Service_PlusDomains_ActivityActorVerification extends Google_Model
  1237. {
  1238. protected $internal_gapi_mappings = array(
  1239. );
  1240. public $adHocVerified;
  1241. public function setAdHocVerified($adHocVerified)
  1242. {
  1243. $this->adHocVerified = $adHocVerified;
  1244. }
  1245. public function getAdHocVerified()
  1246. {
  1247. return $this->adHocVerified;
  1248. }
  1249. }
  1250. class Google_Service_PlusDomains_ActivityFeed extends Google_Collection
  1251. {
  1252. protected $collection_key = 'items';
  1253. protected $internal_gapi_mappings = array(
  1254. );
  1255. public $etag;
  1256. public $id;
  1257. protected $itemsType = 'Google_Service_PlusDomains_Activity';
  1258. protected $itemsDataType = 'array';
  1259. public $kind;
  1260. public $nextLink;
  1261. public $nextPageToken;
  1262. public $selfLink;
  1263. public $title;
  1264. public $updated;
  1265. public function setEtag($etag)
  1266. {
  1267. $this->etag = $etag;
  1268. }
  1269. public function getEtag()
  1270. {
  1271. return $this->etag;
  1272. }
  1273. public function setId($id)
  1274. {
  1275. $this->id = $id;
  1276. }
  1277. public function getId()
  1278. {
  1279. return $this->id;
  1280. }
  1281. public function setItems($items)
  1282. {
  1283. $this->items = $items;
  1284. }
  1285. public function getItems()
  1286. {
  1287. return $this->items;
  1288. }
  1289. public function setKind($kind)
  1290. {
  1291. $this->kind = $kind;
  1292. }
  1293. public function getKind()
  1294. {
  1295. return $this->kind;
  1296. }
  1297. public function setNextLink($nextLink)
  1298. {
  1299. $this->nextLink = $nextLink;
  1300. }
  1301. public function getNextLink()
  1302. {
  1303. return $this->nextLink;
  1304. }
  1305. public function setNextPageToken($nextPageToken)
  1306. {
  1307. $this->nextPageToken = $nextPageToken;
  1308. }
  1309. public function getNextPageToken()
  1310. {
  1311. return $this->nextPageToken;
  1312. }
  1313. public function setSelfLink($selfLink)
  1314. {
  1315. $this->selfLink = $selfLink;
  1316. }
  1317. public function getSelfLink()
  1318. {
  1319. return $this->selfLink;
  1320. }
  1321. public function setTitle($title)
  1322. {
  1323. $this->title = $title;
  1324. }
  1325. public function getTitle()
  1326. {
  1327. return $this->title;
  1328. }
  1329. public function setUpdated($updated)
  1330. {
  1331. $this->updated = $updated;
  1332. }
  1333. public function getUpdated()
  1334. {
  1335. return $this->updated;
  1336. }
  1337. }
  1338. class Google_Service_PlusDomains_ActivityObject extends Google_Collection
  1339. {
  1340. protected $collection_key = 'attachments';
  1341. protected $internal_gapi_mappings = array(
  1342. );
  1343. protected $actorType = 'Google_Service_PlusDomains_ActivityObjectActor';
  1344. protected $actorDataType = '';
  1345. protected $attachmentsType = 'Google_Service_PlusDomains_ActivityObjectAttachments';
  1346. protected $attachmentsDataType = 'array';
  1347. public $content;
  1348. public $id;
  1349. public $objectType;
  1350. public $originalContent;
  1351. protected $plusonersType = 'Google_Service_PlusDomains_ActivityObjectPlusoners';
  1352. protected $plusonersDataType = '';
  1353. protected $repliesType = 'Google_Service_PlusDomains_ActivityObjectReplies';
  1354. protected $repliesDataType = '';
  1355. protected $resharersType = 'Google_Service_PlusDomains_ActivityObjectResharers';
  1356. protected $resharersDataType = '';
  1357. protected $statusForViewerType = 'Google_Service_PlusDomains_ActivityObjectStatusForViewer';
  1358. protected $statusForViewerDataType = '';
  1359. public $url;
  1360. public function setActor(Google_Service_PlusDomains_ActivityObjectActor $actor)
  1361. {
  1362. $this->actor = $actor;
  1363. }
  1364. public function getActor()
  1365. {
  1366. return $this->actor;
  1367. }
  1368. public function setAttachments($attachments)
  1369. {
  1370. $this->attachments = $attachments;
  1371. }
  1372. public function getAttachments()
  1373. {
  1374. return $this->attachments;
  1375. }
  1376. public function setContent($content)
  1377. {
  1378. $this->content = $content;
  1379. }
  1380. public function getContent()
  1381. {
  1382. return $this->content;
  1383. }
  1384. public function setId($id)
  1385. {
  1386. $this->id = $id;
  1387. }
  1388. public function getId()
  1389. {
  1390. return $this->id;
  1391. }
  1392. public function setObjectType($objectType)
  1393. {
  1394. $this->objectType = $objectType;
  1395. }
  1396. public function getObjectType()
  1397. {
  1398. return $this->objectType;
  1399. }
  1400. public function setOriginalContent($originalContent)
  1401. {
  1402. $this->originalContent = $originalContent;
  1403. }
  1404. public function getOriginalContent()
  1405. {
  1406. return $this->originalContent;
  1407. }
  1408. public function setPlusoners(Google_Service_PlusDomains_ActivityObjectPlusoners $plusoners)
  1409. {
  1410. $this->plusoners = $plusoners;
  1411. }
  1412. public function getPlusoners()
  1413. {
  1414. return $this->plusoners;
  1415. }
  1416. public function setReplies(Google_Service_PlusDomains_ActivityObjectReplies $replies)
  1417. {
  1418. $this->replies = $replies;
  1419. }
  1420. public function getReplies()
  1421. {
  1422. return $this->replies;
  1423. }
  1424. public function setResharers(Google_Service_PlusDomains_ActivityObjectResharers $resharers)
  1425. {
  1426. $this->resharers = $resharers;
  1427. }
  1428. public function getResharers()
  1429. {
  1430. return $this->resharers;
  1431. }
  1432. public function setStatusForViewer(Google_Service_PlusDomains_ActivityObjectStatusForViewer $statusForViewer)
  1433. {
  1434. $this->statusForViewer = $statusForViewer;
  1435. }
  1436. public function getStatusForViewer()
  1437. {
  1438. return $this->statusForViewer;
  1439. }
  1440. public function setUrl($url)
  1441. {
  1442. $this->url = $url;
  1443. }
  1444. public function getUrl()
  1445. {
  1446. return $this->url;
  1447. }
  1448. }
  1449. class Google_Service_PlusDomains_ActivityObjectActor extends Google_Model
  1450. {
  1451. protected $internal_gapi_mappings = array(
  1452. );
  1453. protected $clientSpecificActorInfoType = 'Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo';
  1454. protected $clientSpecificActorInfoDataType = '';
  1455. public $displayName;
  1456. public $id;
  1457. protected $imageType = 'Google_Service_PlusDomains_ActivityObjectActorImage';
  1458. protected $imageDataType = '';
  1459. public $url;
  1460. protected $verificationType = 'Google_Service_PlusDomains_ActivityObjectActorVerification';
  1461. protected $verificationDataType = '';
  1462. public function setClientSpecificActorInfo(Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo $clientSpecificActorInfo)
  1463. {
  1464. $this->clientSpecificActorInfo = $clientSpecificActorInfo;
  1465. }
  1466. public function getClientSpecificActorInfo()
  1467. {
  1468. return $this->clientSpecificActorInfo;
  1469. }
  1470. public function setDisplayName($displayName)
  1471. {
  1472. $this->displayName = $displayName;
  1473. }
  1474. public function getDisplayName()
  1475. {
  1476. return $this->displayName;
  1477. }
  1478. public function setId($id)
  1479. {
  1480. $this->id = $id;
  1481. }
  1482. public function getId()
  1483. {
  1484. return $this->id;
  1485. }
  1486. public function setImage(Google_Service_PlusDomains_ActivityObjectActorImage $image)
  1487. {
  1488. $this->image = $image;
  1489. }
  1490. public function getImage()
  1491. {
  1492. return $this->image;
  1493. }
  1494. public function setUrl($url)
  1495. {
  1496. $this->url = $url;
  1497. }
  1498. public function getUrl()
  1499. {
  1500. return $this->url;
  1501. }
  1502. public function setVerification(Google_Service_PlusDomains_ActivityObjectActorVerification $verification)
  1503. {
  1504. $this->verification = $verification;
  1505. }
  1506. public function getVerification()
  1507. {
  1508. return $this->verification;
  1509. }
  1510. }
  1511. class Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo extends Google_Model
  1512. {
  1513. protected $internal_gapi_mappings = array(
  1514. );
  1515. protected $youtubeActorInfoType = 'Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo';
  1516. protected $youtubeActorInfoDataType = '';
  1517. public function setYoutubeActorInfo(Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
  1518. {
  1519. $this->youtubeActorInfo = $youtubeActorInfo;
  1520. }
  1521. public function getYoutubeActorInfo()
  1522. {
  1523. return $this->youtubeActorInfo;
  1524. }
  1525. }
  1526. class Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
  1527. {
  1528. protected $internal_gapi_mappings = array(
  1529. );
  1530. public $channelId;
  1531. public function setChannelId($channelId)
  1532. {
  1533. $this->channelId = $channelId;
  1534. }
  1535. public function getChannelId()
  1536. {
  1537. return $this->channelId;
  1538. }
  1539. }
  1540. class Google_Service_PlusDomains_ActivityObjectActorImage extends Google_Model
  1541. {
  1542. protected $internal_gapi_mappings = array(
  1543. );
  1544. public $url;
  1545. public function setUrl($url)
  1546. {
  1547. $this->url = $url;
  1548. }
  1549. public function getUrl()
  1550. {
  1551. return $this->url;
  1552. }
  1553. }
  1554. class Google_Service_PlusDomains_ActivityObjectActorVerification extends Google_Model
  1555. {
  1556. protected $internal_gapi_mappings = array(
  1557. );
  1558. public $adHocVerified;
  1559. public function setAdHocVerified($adHocVerified)
  1560. {
  1561. $this->adHocVerified = $adHocVerified;
  1562. }
  1563. public function getAdHocVerified()
  1564. {
  1565. return $this->adHocVerified;
  1566. }
  1567. }
  1568. class Google_Service_PlusDomains_ActivityObjectAttachments extends Google_Collection
  1569. {
  1570. protected $collection_key = 'thumbnails';
  1571. protected $internal_gapi_mappings = array(
  1572. );
  1573. public $content;
  1574. public $displayName;
  1575. protected $embedType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed';
  1576. protected $embedDataType = '';
  1577. protected $fullImageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage';
  1578. protected $fullImageDataType = '';
  1579. public $id;
  1580. protected $imageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsImage';
  1581. protected $imageDataType = '';
  1582. public $objectType;
  1583. protected $previewThumbnailsType = 'Google_Ser…

Large files files are truncated, but you can click here to view the full file