Google_Service_PlusDomains

Service definition for PlusDomains (v1).

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/PlusDomains.php  
  1. class Google_Service_PlusDomains extends Google_Service 
  2. /** View your circles and the people and pages in them. */ 
  3. const PLUS_CIRCLES_READ = 
  4. "https://www.googleapis.com/auth/plus.circles.read"; 
  5. /** 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.. */ 
  6. const PLUS_CIRCLES_WRITE = 
  7. "https://www.googleapis.com/auth/plus.circles.write"; 
  8. /** Know your basic profile info and list of people in your circles.. */ 
  9. const PLUS_LOGIN = 
  10. "https://www.googleapis.com/auth/plus.login"; 
  11. /** Know who you are on Google. */ 
  12. const PLUS_ME = 
  13. "https://www.googleapis.com/auth/plus.me"; 
  14. /** Send your photos and videos to Google+. */ 
  15. const PLUS_MEDIA_UPLOAD = 
  16. "https://www.googleapis.com/auth/plus.media.upload"; 
  17. /** View your own Google+ profile and profiles visible to you. */ 
  18. const PLUS_PROFILES_READ = 
  19. "https://www.googleapis.com/auth/plus.profiles.read"; 
  20. /** View your Google+ posts, comments, and stream. */ 
  21. const PLUS_STREAM_READ = 
  22. "https://www.googleapis.com/auth/plus.stream.read"; 
  23. /** Manage your Google+ posts, comments, and stream. */ 
  24. const PLUS_STREAM_WRITE = 
  25. "https://www.googleapis.com/auth/plus.stream.write"; 
  26. /** View your email address. */ 
  27. const USERINFO_EMAIL = 
  28. "https://www.googleapis.com/auth/userinfo.email"; 
  29. /** View your basic profile info. */ 
  30. const USERINFO_PROFILE = 
  31. "https://www.googleapis.com/auth/userinfo.profile"; 
  32.  
  33. public $activities; 
  34. public $audiences; 
  35. public $circles; 
  36. public $comments; 
  37. public $media; 
  38. public $people; 
  39.  
  40.  
  41. /** 
  42. * Constructs the internal representation of the PlusDomains service. 
  43. * @param Google_Client $client 
  44. */ 
  45. public function __construct(Google_Client $client) 
  46. parent::__construct($client); 
  47. $this->servicePath = 'plusDomains/v1/'; 
  48. $this->version = 'v1'; 
  49. $this->serviceName = 'plusDomains'; 
  50.  
  51. $this->activities = new Google_Service_PlusDomains_Activities_Resource( 
  52. $this,  
  53. $this->serviceName,  
  54. 'activities',  
  55. array( 
  56. 'methods' => array( 
  57. 'get' => array( 
  58. 'path' => 'activities/{activityId}',  
  59. 'httpMethod' => 'GET',  
  60. 'parameters' => array( 
  61. 'activityId' => array( 
  62. 'location' => 'path',  
  63. 'type' => 'string',  
  64. 'required' => true,  
  65. ),  
  66. ),  
  67. ), 'insert' => array( 
  68. 'path' => 'people/{userId}/activities',  
  69. 'httpMethod' => 'POST',  
  70. 'parameters' => array( 
  71. 'userId' => array( 
  72. 'location' => 'path',  
  73. 'type' => 'string',  
  74. 'required' => true,  
  75. ),  
  76. 'preview' => array( 
  77. 'location' => 'query',  
  78. 'type' => 'boolean',  
  79. ),  
  80. ),  
  81. ), 'list' => array( 
  82. 'path' => 'people/{userId}/activities/{collection}',  
  83. 'httpMethod' => 'GET',  
  84. 'parameters' => array( 
  85. 'userId' => array( 
  86. 'location' => 'path',  
  87. 'type' => 'string',  
  88. 'required' => true,  
  89. ),  
  90. 'collection' => array( 
  91. 'location' => 'path',  
  92. 'type' => 'string',  
  93. 'required' => true,  
  94. ),  
  95. 'pageToken' => array( 
  96. 'location' => 'query',  
  97. 'type' => 'string',  
  98. ),  
  99. 'maxResults' => array( 
  100. 'location' => 'query',  
  101. 'type' => 'integer',  
  102. ),  
  103. ),  
  104. ),  
  105. ); 
  106. $this->audiences = new Google_Service_PlusDomains_Audiences_Resource( 
  107. $this,  
  108. $this->serviceName,  
  109. 'audiences',  
  110. array( 
  111. 'methods' => array( 
  112. 'list' => array( 
  113. 'path' => 'people/{userId}/audiences',  
  114. 'httpMethod' => 'GET',  
  115. 'parameters' => array( 
  116. 'userId' => array( 
  117. 'location' => 'path',  
  118. 'type' => 'string',  
  119. 'required' => true,  
  120. ),  
  121. 'pageToken' => array( 
  122. 'location' => 'query',  
  123. 'type' => 'string',  
  124. ),  
  125. 'maxResults' => array( 
  126. 'location' => 'query',  
  127. 'type' => 'integer',  
  128. ),  
  129. ),  
  130. ),  
  131. ); 
  132. $this->circles = new Google_Service_PlusDomains_Circles_Resource( 
  133. $this,  
  134. $this->serviceName,  
  135. 'circles',  
  136. array( 
  137. 'methods' => array( 
  138. 'addPeople' => array( 
  139. 'path' => 'circles/{circleId}/people',  
  140. 'httpMethod' => 'PUT',  
  141. 'parameters' => array( 
  142. 'circleId' => array( 
  143. 'location' => 'path',  
  144. 'type' => 'string',  
  145. 'required' => true,  
  146. ),  
  147. 'userId' => array( 
  148. 'location' => 'query',  
  149. 'type' => 'string',  
  150. 'repeated' => true,  
  151. ),  
  152. 'email' => array( 
  153. 'location' => 'query',  
  154. 'type' => 'string',  
  155. 'repeated' => true,  
  156. ),  
  157. ),  
  158. ), 'get' => array( 
  159. 'path' => 'circles/{circleId}',  
  160. 'httpMethod' => 'GET',  
  161. 'parameters' => array( 
  162. 'circleId' => array( 
  163. 'location' => 'path',  
  164. 'type' => 'string',  
  165. 'required' => true,  
  166. ),  
  167. ),  
  168. ), 'insert' => array( 
  169. 'path' => 'people/{userId}/circles',  
  170. 'httpMethod' => 'POST',  
  171. 'parameters' => array( 
  172. 'userId' => array( 
  173. 'location' => 'path',  
  174. 'type' => 'string',  
  175. 'required' => true,  
  176. ),  
  177. ),  
  178. ), 'list' => array( 
  179. 'path' => 'people/{userId}/circles',  
  180. 'httpMethod' => 'GET',  
  181. 'parameters' => array( 
  182. 'userId' => array( 
  183. 'location' => 'path',  
  184. 'type' => 'string',  
  185. 'required' => true,  
  186. ),  
  187. 'pageToken' => array( 
  188. 'location' => 'query',  
  189. 'type' => 'string',  
  190. ),  
  191. 'maxResults' => array( 
  192. 'location' => 'query',  
  193. 'type' => 'integer',  
  194. ),  
  195. ),  
  196. ), 'patch' => array( 
  197. 'path' => 'circles/{circleId}',  
  198. 'httpMethod' => 'PATCH',  
  199. 'parameters' => array( 
  200. 'circleId' => array( 
  201. 'location' => 'path',  
  202. 'type' => 'string',  
  203. 'required' => true,  
  204. ),  
  205. ),  
  206. ), 'remove' => array( 
  207. 'path' => 'circles/{circleId}',  
  208. 'httpMethod' => 'DELETE',  
  209. 'parameters' => array( 
  210. 'circleId' => array( 
  211. 'location' => 'path',  
  212. 'type' => 'string',  
  213. 'required' => true,  
  214. ),  
  215. ),  
  216. ), 'removePeople' => array( 
  217. 'path' => 'circles/{circleId}/people',  
  218. 'httpMethod' => 'DELETE',  
  219. 'parameters' => array( 
  220. 'circleId' => array( 
  221. 'location' => 'path',  
  222. 'type' => 'string',  
  223. 'required' => true,  
  224. ),  
  225. 'userId' => array( 
  226. 'location' => 'query',  
  227. 'type' => 'string',  
  228. 'repeated' => true,  
  229. ),  
  230. 'email' => array( 
  231. 'location' => 'query',  
  232. 'type' => 'string',  
  233. 'repeated' => true,  
  234. ),  
  235. ),  
  236. ), 'update' => array( 
  237. 'path' => 'circles/{circleId}',  
  238. 'httpMethod' => 'PUT',  
  239. 'parameters' => array( 
  240. 'circleId' => array( 
  241. 'location' => 'path',  
  242. 'type' => 'string',  
  243. 'required' => true,  
  244. ),  
  245. ),  
  246. ),  
  247. ); 
  248. $this->comments = new Google_Service_PlusDomains_Comments_Resource( 
  249. $this,  
  250. $this->serviceName,  
  251. 'comments',  
  252. array( 
  253. 'methods' => array( 
  254. 'get' => array( 
  255. 'path' => 'comments/{commentId}',  
  256. 'httpMethod' => 'GET',  
  257. 'parameters' => array( 
  258. 'commentId' => array( 
  259. 'location' => 'path',  
  260. 'type' => 'string',  
  261. 'required' => true,  
  262. ),  
  263. ),  
  264. ), 'insert' => array( 
  265. 'path' => 'activities/{activityId}/comments',  
  266. 'httpMethod' => 'POST',  
  267. 'parameters' => array( 
  268. 'activityId' => array( 
  269. 'location' => 'path',  
  270. 'type' => 'string',  
  271. 'required' => true,  
  272. ),  
  273. ),  
  274. ), 'list' => array( 
  275. 'path' => 'activities/{activityId}/comments',  
  276. 'httpMethod' => 'GET',  
  277. 'parameters' => array( 
  278. 'activityId' => array( 
  279. 'location' => 'path',  
  280. 'type' => 'string',  
  281. 'required' => true,  
  282. ),  
  283. 'pageToken' => array( 
  284. 'location' => 'query',  
  285. 'type' => 'string',  
  286. ),  
  287. 'sortOrder' => array( 
  288. 'location' => 'query',  
  289. 'type' => 'string',  
  290. ),  
  291. 'maxResults' => array( 
  292. 'location' => 'query',  
  293. 'type' => 'integer',  
  294. ),  
  295. ),  
  296. ),  
  297. ); 
  298. $this->media = new Google_Service_PlusDomains_Media_Resource( 
  299. $this,  
  300. $this->serviceName,  
  301. 'media',  
  302. array( 
  303. 'methods' => array( 
  304. 'insert' => array( 
  305. 'path' => 'people/{userId}/media/{collection}',  
  306. 'httpMethod' => 'POST',  
  307. 'parameters' => array( 
  308. 'userId' => array( 
  309. 'location' => 'path',  
  310. 'type' => 'string',  
  311. 'required' => true,  
  312. ),  
  313. 'collection' => array( 
  314. 'location' => 'path',  
  315. 'type' => 'string',  
  316. 'required' => true,  
  317. ),  
  318. ),  
  319. ),  
  320. ); 
  321. $this->people = new Google_Service_PlusDomains_People_Resource( 
  322. $this,  
  323. $this->serviceName,  
  324. 'people',  
  325. array( 
  326. 'methods' => array( 
  327. 'get' => array( 
  328. 'path' => 'people/{userId}',  
  329. 'httpMethod' => 'GET',  
  330. 'parameters' => array( 
  331. 'userId' => array( 
  332. 'location' => 'path',  
  333. 'type' => 'string',  
  334. 'required' => true,  
  335. ),  
  336. ),  
  337. ), 'list' => array( 
  338. 'path' => 'people/{userId}/people/{collection}',  
  339. 'httpMethod' => 'GET',  
  340. 'parameters' => array( 
  341. 'userId' => array( 
  342. 'location' => 'path',  
  343. 'type' => 'string',  
  344. 'required' => true,  
  345. ),  
  346. 'collection' => array( 
  347. 'location' => 'path',  
  348. 'type' => 'string',  
  349. 'required' => true,  
  350. ),  
  351. 'orderBy' => array( 
  352. 'location' => 'query',  
  353. 'type' => 'string',  
  354. ),  
  355. 'pageToken' => array( 
  356. 'location' => 'query',  
  357. 'type' => 'string',  
  358. ),  
  359. 'maxResults' => array( 
  360. 'location' => 'query',  
  361. 'type' => 'integer',  
  362. ),  
  363. ),  
  364. ), 'listByActivity' => array( 
  365. 'path' => 'activities/{activityId}/people/{collection}',  
  366. 'httpMethod' => 'GET',  
  367. 'parameters' => array( 
  368. 'activityId' => array( 
  369. 'location' => 'path',  
  370. 'type' => 'string',  
  371. 'required' => true,  
  372. ),  
  373. 'collection' => array( 
  374. 'location' => 'path',  
  375. 'type' => 'string',  
  376. 'required' => true,  
  377. ),  
  378. 'pageToken' => array( 
  379. 'location' => 'query',  
  380. 'type' => 'string',  
  381. ),  
  382. 'maxResults' => array( 
  383. 'location' => 'query',  
  384. 'type' => 'integer',  
  385. ),  
  386. ),  
  387. ), 'listByCircle' => array( 
  388. 'path' => 'circles/{circleId}/people',  
  389. 'httpMethod' => 'GET',  
  390. 'parameters' => array( 
  391. 'circleId' => array( 
  392. 'location' => 'path',  
  393. 'type' => 'string',  
  394. 'required' => true,  
  395. ),  
  396. 'pageToken' => array( 
  397. 'location' => 'query',  
  398. 'type' => 'string',  
  399. ),  
  400. 'maxResults' => array( 
  401. 'location' => 'query',  
  402. 'type' => 'integer',  
  403. ),  
  404. ),  
  405. ),  
  406. );