Google_Service_Blogger

Service definition for Blogger (v3).

Defined (1)

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

/lib/Google/Service/Blogger.php  
  1. class Google_Service_Blogger extends Google_Service 
  2. /** Manage your Blogger account. */ 
  3. const BLOGGER = "https://www.googleapis.com/auth/blogger"; 
  4. /** View your Blogger account. */ 
  5. const BLOGGER_READONLY = "https://www.googleapis.com/auth/blogger.readonly"; 
  6.  
  7. public $blogUserInfos; 
  8. public $blogs; 
  9. public $comments; 
  10. public $pageViews; 
  11. public $pages; 
  12. public $postUserInfos; 
  13. public $posts; 
  14. public $users; 
  15.  
  16.  
  17. /** 
  18. * Constructs the internal representation of the Blogger service. 
  19. * @param Google_Client $client 
  20. */ 
  21. public function __construct(Google_Client $client) 
  22. parent::__construct($client); 
  23. $this->servicePath = 'blogger/v3/'; 
  24. $this->version = 'v3'; 
  25. $this->serviceName = 'blogger'; 
  26.  
  27. $this->blogUserInfos = new Google_Service_Blogger_BlogUserInfos_Resource( 
  28. $this,  
  29. $this->serviceName,  
  30. 'blogUserInfos',  
  31. array( 
  32. 'methods' => array( 
  33. 'get' => array( 
  34. 'path' => 'users/{userId}/blogs/{blogId}',  
  35. 'httpMethod' => 'GET',  
  36. 'parameters' => array( 
  37. 'userId' => array( 
  38. 'location' => 'path',  
  39. 'type' => 'string',  
  40. 'required' => true,  
  41. ),  
  42. 'blogId' => array( 
  43. 'location' => 'path',  
  44. 'type' => 'string',  
  45. 'required' => true,  
  46. ),  
  47. 'maxPosts' => array( 
  48. 'location' => 'query',  
  49. 'type' => 'integer',  
  50. ),  
  51. ),  
  52. ),  
  53. ); 
  54. $this->blogs = new Google_Service_Blogger_Blogs_Resource( 
  55. $this,  
  56. $this->serviceName,  
  57. 'blogs',  
  58. array( 
  59. 'methods' => array( 
  60. 'get' => array( 
  61. 'path' => 'blogs/{blogId}',  
  62. 'httpMethod' => 'GET',  
  63. 'parameters' => array( 
  64. 'blogId' => array( 
  65. 'location' => 'path',  
  66. 'type' => 'string',  
  67. 'required' => true,  
  68. ),  
  69. 'maxPosts' => array( 
  70. 'location' => 'query',  
  71. 'type' => 'integer',  
  72. ),  
  73. 'view' => array( 
  74. 'location' => 'query',  
  75. 'type' => 'string',  
  76. ),  
  77. ),  
  78. ), 'getByUrl' => array( 
  79. 'path' => 'blogs/byurl',  
  80. 'httpMethod' => 'GET',  
  81. 'parameters' => array( 
  82. 'url' => array( 
  83. 'location' => 'query',  
  84. 'type' => 'string',  
  85. 'required' => true,  
  86. ),  
  87. 'view' => array( 
  88. 'location' => 'query',  
  89. 'type' => 'string',  
  90. ),  
  91. ),  
  92. ), 'listByUser' => array( 
  93. 'path' => 'users/{userId}/blogs',  
  94. 'httpMethod' => 'GET',  
  95. 'parameters' => array( 
  96. 'userId' => array( 
  97. 'location' => 'path',  
  98. 'type' => 'string',  
  99. 'required' => true,  
  100. ),  
  101. 'fetchUserInfo' => array( 
  102. 'location' => 'query',  
  103. 'type' => 'boolean',  
  104. ),  
  105. 'role' => array( 
  106. 'location' => 'query',  
  107. 'type' => 'string',  
  108. 'repeated' => true,  
  109. ),  
  110. 'view' => array( 
  111. 'location' => 'query',  
  112. 'type' => 'string',  
  113. ),  
  114. ),  
  115. ),  
  116. ); 
  117. $this->comments = new Google_Service_Blogger_Comments_Resource( 
  118. $this,  
  119. $this->serviceName,  
  120. 'comments',  
  121. array( 
  122. 'methods' => array( 
  123. 'approve' => array( 
  124. 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve',  
  125. 'httpMethod' => 'POST',  
  126. 'parameters' => array( 
  127. 'blogId' => array( 
  128. 'location' => 'path',  
  129. 'type' => 'string',  
  130. 'required' => true,  
  131. ),  
  132. 'postId' => array( 
  133. 'location' => 'path',  
  134. 'type' => 'string',  
  135. 'required' => true,  
  136. ),  
  137. 'commentId' => array( 
  138. 'location' => 'path',  
  139. 'type' => 'string',  
  140. 'required' => true,  
  141. ),  
  142. ),  
  143. ), 'delete' => array( 
  144. 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',  
  145. 'httpMethod' => 'DELETE',  
  146. 'parameters' => array( 
  147. 'blogId' => array( 
  148. 'location' => 'path',  
  149. 'type' => 'string',  
  150. 'required' => true,  
  151. ),  
  152. 'postId' => array( 
  153. 'location' => 'path',  
  154. 'type' => 'string',  
  155. 'required' => true,  
  156. ),  
  157. 'commentId' => array( 
  158. 'location' => 'path',  
  159. 'type' => 'string',  
  160. 'required' => true,  
  161. ),  
  162. ),  
  163. ), 'get' => array( 
  164. 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',  
  165. 'httpMethod' => 'GET',  
  166. 'parameters' => array( 
  167. 'blogId' => array( 
  168. 'location' => 'path',  
  169. 'type' => 'string',  
  170. 'required' => true,  
  171. ),  
  172. 'postId' => array( 
  173. 'location' => 'path',  
  174. 'type' => 'string',  
  175. 'required' => true,  
  176. ),  
  177. 'commentId' => array( 
  178. 'location' => 'path',  
  179. 'type' => 'string',  
  180. 'required' => true,  
  181. ),  
  182. 'view' => array( 
  183. 'location' => 'query',  
  184. 'type' => 'string',  
  185. ),  
  186. ),  
  187. ), 'list' => array( 
  188. 'path' => 'blogs/{blogId}/posts/{postId}/comments',  
  189. 'httpMethod' => 'GET',  
  190. 'parameters' => array( 
  191. 'blogId' => array( 
  192. 'location' => 'path',  
  193. 'type' => 'string',  
  194. 'required' => true,  
  195. ),  
  196. 'postId' => array( 
  197. 'location' => 'path',  
  198. 'type' => 'string',  
  199. 'required' => true,  
  200. ),  
  201. 'status' => array( 
  202. 'location' => 'query',  
  203. 'type' => 'string',  
  204. 'repeated' => true,  
  205. ),  
  206. 'startDate' => array( 
  207. 'location' => 'query',  
  208. 'type' => 'string',  
  209. ),  
  210. 'endDate' => array( 
  211. 'location' => 'query',  
  212. 'type' => 'string',  
  213. ),  
  214. 'maxResults' => array( 
  215. 'location' => 'query',  
  216. 'type' => 'integer',  
  217. ),  
  218. 'pageToken' => array( 
  219. 'location' => 'query',  
  220. 'type' => 'string',  
  221. ),  
  222. 'fetchBodies' => array( 
  223. 'location' => 'query',  
  224. 'type' => 'boolean',  
  225. ),  
  226. 'view' => array( 
  227. 'location' => 'query',  
  228. 'type' => 'string',  
  229. ),  
  230. ),  
  231. ), 'listByBlog' => array( 
  232. 'path' => 'blogs/{blogId}/comments',  
  233. 'httpMethod' => 'GET',  
  234. 'parameters' => array( 
  235. 'blogId' => array( 
  236. 'location' => 'path',  
  237. 'type' => 'string',  
  238. 'required' => true,  
  239. ),  
  240. 'startDate' => array( 
  241. 'location' => 'query',  
  242. 'type' => 'string',  
  243. ),  
  244. 'endDate' => array( 
  245. 'location' => 'query',  
  246. 'type' => 'string',  
  247. ),  
  248. 'maxResults' => array( 
  249. 'location' => 'query',  
  250. 'type' => 'integer',  
  251. ),  
  252. 'pageToken' => array( 
  253. 'location' => 'query',  
  254. 'type' => 'string',  
  255. ),  
  256. 'fetchBodies' => array( 
  257. 'location' => 'query',  
  258. 'type' => 'boolean',  
  259. ),  
  260. ),  
  261. ), 'markAsSpam' => array( 
  262. 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam',  
  263. 'httpMethod' => 'POST',  
  264. 'parameters' => array( 
  265. 'blogId' => array( 
  266. 'location' => 'path',  
  267. 'type' => 'string',  
  268. 'required' => true,  
  269. ),  
  270. 'postId' => array( 
  271. 'location' => 'path',  
  272. 'type' => 'string',  
  273. 'required' => true,  
  274. ),  
  275. 'commentId' => array( 
  276. 'location' => 'path',  
  277. 'type' => 'string',  
  278. 'required' => true,  
  279. ),  
  280. ),  
  281. ), 'removeContent' => array( 
  282. 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent',  
  283. 'httpMethod' => 'POST',  
  284. 'parameters' => array( 
  285. 'blogId' => array( 
  286. 'location' => 'path',  
  287. 'type' => 'string',  
  288. 'required' => true,  
  289. ),  
  290. 'postId' => array( 
  291. 'location' => 'path',  
  292. 'type' => 'string',  
  293. 'required' => true,  
  294. ),  
  295. 'commentId' => array( 
  296. 'location' => 'path',  
  297. 'type' => 'string',  
  298. 'required' => true,  
  299. ),  
  300. ),  
  301. ),  
  302. ); 
  303. $this->pageViews = new Google_Service_Blogger_PageViews_Resource( 
  304. $this,  
  305. $this->serviceName,  
  306. 'pageViews',  
  307. array( 
  308. 'methods' => array( 
  309. 'get' => array( 
  310. 'path' => 'blogs/{blogId}/pageviews',  
  311. 'httpMethod' => 'GET',  
  312. 'parameters' => array( 
  313. 'blogId' => array( 
  314. 'location' => 'path',  
  315. 'type' => 'string',  
  316. 'required' => true,  
  317. ),  
  318. 'range' => array( 
  319. 'location' => 'query',  
  320. 'type' => 'string',  
  321. 'repeated' => true,  
  322. ),  
  323. ),  
  324. ),  
  325. ); 
  326. $this->pages = new Google_Service_Blogger_Pages_Resource( 
  327. $this,  
  328. $this->serviceName,  
  329. 'pages',  
  330. array( 
  331. 'methods' => array( 
  332. 'delete' => array( 
  333. 'path' => 'blogs/{blogId}/pages/{pageId}',  
  334. 'httpMethod' => 'DELETE',  
  335. 'parameters' => array( 
  336. 'blogId' => array( 
  337. 'location' => 'path',  
  338. 'type' => 'string',  
  339. 'required' => true,  
  340. ),  
  341. 'pageId' => array( 
  342. 'location' => 'path',  
  343. 'type' => 'string',  
  344. 'required' => true,  
  345. ),  
  346. ),  
  347. ), 'get' => array( 
  348. 'path' => 'blogs/{blogId}/pages/{pageId}',  
  349. 'httpMethod' => 'GET',  
  350. 'parameters' => array( 
  351. 'blogId' => array( 
  352. 'location' => 'path',  
  353. 'type' => 'string',  
  354. 'required' => true,  
  355. ),  
  356. 'pageId' => array( 
  357. 'location' => 'path',  
  358. 'type' => 'string',  
  359. 'required' => true,  
  360. ),  
  361. 'view' => array( 
  362. 'location' => 'query',  
  363. 'type' => 'string',  
  364. ),  
  365. ),  
  366. ), 'insert' => array( 
  367. 'path' => 'blogs/{blogId}/pages',  
  368. 'httpMethod' => 'POST',  
  369. 'parameters' => array( 
  370. 'blogId' => array( 
  371. 'location' => 'path',  
  372. 'type' => 'string',  
  373. 'required' => true,  
  374. ),  
  375. ),  
  376. ), 'list' => array( 
  377. 'path' => 'blogs/{blogId}/pages',  
  378. 'httpMethod' => 'GET',  
  379. 'parameters' => array( 
  380. 'blogId' => array( 
  381. 'location' => 'path',  
  382. 'type' => 'string',  
  383. 'required' => true,  
  384. ),  
  385. 'status' => array( 
  386. 'location' => 'query',  
  387. 'type' => 'string',  
  388. 'repeated' => true,  
  389. ),  
  390. 'fetchBodies' => array( 
  391. 'location' => 'query',  
  392. 'type' => 'boolean',  
  393. ),  
  394. 'view' => array( 
  395. 'location' => 'query',  
  396. 'type' => 'string',  
  397. ),  
  398. ),  
  399. ), 'patch' => array( 
  400. 'path' => 'blogs/{blogId}/pages/{pageId}',  
  401. 'httpMethod' => 'PATCH',  
  402. 'parameters' => array( 
  403. 'blogId' => array( 
  404. 'location' => 'path',  
  405. 'type' => 'string',  
  406. 'required' => true,  
  407. ),  
  408. 'pageId' => array( 
  409. 'location' => 'path',  
  410. 'type' => 'string',  
  411. 'required' => true,  
  412. ),  
  413. ),  
  414. ), 'update' => array( 
  415. 'path' => 'blogs/{blogId}/pages/{pageId}',  
  416. 'httpMethod' => 'PUT',  
  417. 'parameters' => array( 
  418. 'blogId' => array( 
  419. 'location' => 'path',  
  420. 'type' => 'string',  
  421. 'required' => true,  
  422. ),  
  423. 'pageId' => array( 
  424. 'location' => 'path',  
  425. 'type' => 'string',  
  426. 'required' => true,  
  427. ),  
  428. ),  
  429. ),  
  430. ); 
  431. $this->postUserInfos = new Google_Service_Blogger_PostUserInfos_Resource( 
  432. $this,  
  433. $this->serviceName,  
  434. 'postUserInfos',  
  435. array( 
  436. 'methods' => array( 
  437. 'get' => array( 
  438. 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}',  
  439. 'httpMethod' => 'GET',  
  440. 'parameters' => array( 
  441. 'userId' => array( 
  442. 'location' => 'path',  
  443. 'type' => 'string',  
  444. 'required' => true,  
  445. ),  
  446. 'blogId' => array( 
  447. 'location' => 'path',  
  448. 'type' => 'string',  
  449. 'required' => true,  
  450. ),  
  451. 'postId' => array( 
  452. 'location' => 'path',  
  453. 'type' => 'string',  
  454. 'required' => true,  
  455. ),  
  456. 'maxComments' => array( 
  457. 'location' => 'query',  
  458. 'type' => 'integer',  
  459. ),  
  460. ),  
  461. ), 'list' => array( 
  462. 'path' => 'users/{userId}/blogs/{blogId}/posts',  
  463. 'httpMethod' => 'GET',  
  464. 'parameters' => array( 
  465. 'userId' => array( 
  466. 'location' => 'path',  
  467. 'type' => 'string',  
  468. 'required' => true,  
  469. ),  
  470. 'blogId' => array( 
  471. 'location' => 'path',  
  472. 'type' => 'string',  
  473. 'required' => true,  
  474. ),  
  475. 'orderBy' => array( 
  476. 'location' => 'query',  
  477. 'type' => 'string',  
  478. ),  
  479. 'startDate' => array( 
  480. 'location' => 'query',  
  481. 'type' => 'string',  
  482. ),  
  483. 'endDate' => array( 
  484. 'location' => 'query',  
  485. 'type' => 'string',  
  486. ),  
  487. 'labels' => array( 
  488. 'location' => 'query',  
  489. 'type' => 'string',  
  490. ),  
  491. 'maxResults' => array( 
  492. 'location' => 'query',  
  493. 'type' => 'integer',  
  494. ),  
  495. 'pageToken' => array( 
  496. 'location' => 'query',  
  497. 'type' => 'string',  
  498. ),  
  499. 'status' => array( 
  500. 'location' => 'query',  
  501. 'type' => 'string',  
  502. 'repeated' => true,  
  503. ),  
  504. 'fetchBodies' => array( 
  505. 'location' => 'query',  
  506. 'type' => 'boolean',  
  507. ),  
  508. 'view' => array( 
  509. 'location' => 'query',  
  510. 'type' => 'string',  
  511. ),  
  512. ),  
  513. ),  
  514. ); 
  515. $this->posts = new Google_Service_Blogger_Posts_Resource( 
  516. $this,  
  517. $this->serviceName,  
  518. 'posts',  
  519. array( 
  520. 'methods' => array( 
  521. 'delete' => array( 
  522. 'path' => 'blogs/{blogId}/posts/{postId}',  
  523. 'httpMethod' => 'DELETE',  
  524. 'parameters' => array( 
  525. 'blogId' => array( 
  526. 'location' => 'path',  
  527. 'type' => 'string',  
  528. 'required' => true,  
  529. ),  
  530. 'postId' => array( 
  531. 'location' => 'path',  
  532. 'type' => 'string',  
  533. 'required' => true,  
  534. ),  
  535. ),  
  536. ), 'get' => array( 
  537. 'path' => 'blogs/{blogId}/posts/{postId}',  
  538. 'httpMethod' => 'GET',  
  539. 'parameters' => array( 
  540. 'blogId' => array( 
  541. 'location' => 'path',  
  542. 'type' => 'string',  
  543. 'required' => true,  
  544. ),  
  545. 'postId' => array( 
  546. 'location' => 'path',  
  547. 'type' => 'string',  
  548. 'required' => true,  
  549. ),  
  550. 'fetchBody' => array( 
  551. 'location' => 'query',  
  552. 'type' => 'boolean',  
  553. ),  
  554. 'maxComments' => array( 
  555. 'location' => 'query',  
  556. 'type' => 'integer',  
  557. ),  
  558. 'fetchImages' => array( 
  559. 'location' => 'query',  
  560. 'type' => 'boolean',  
  561. ),  
  562. 'view' => array( 
  563. 'location' => 'query',  
  564. 'type' => 'string',  
  565. ),  
  566. ),  
  567. ), 'getByPath' => array( 
  568. 'path' => 'blogs/{blogId}/posts/bypath',  
  569. 'httpMethod' => 'GET',  
  570. 'parameters' => array( 
  571. 'blogId' => array( 
  572. 'location' => 'path',  
  573. 'type' => 'string',  
  574. 'required' => true,  
  575. ),  
  576. 'path' => array( 
  577. 'location' => 'query',  
  578. 'type' => 'string',  
  579. 'required' => true,  
  580. ),  
  581. 'maxComments' => array( 
  582. 'location' => 'query',  
  583. 'type' => 'integer',  
  584. ),  
  585. 'view' => array( 
  586. 'location' => 'query',  
  587. 'type' => 'string',  
  588. ),  
  589. ),  
  590. ), 'insert' => array( 
  591. 'path' => 'blogs/{blogId}/posts',  
  592. 'httpMethod' => 'POST',  
  593. 'parameters' => array( 
  594. 'blogId' => array( 
  595. 'location' => 'path',  
  596. 'type' => 'string',  
  597. 'required' => true,  
  598. ),  
  599. 'fetchImages' => array( 
  600. 'location' => 'query',  
  601. 'type' => 'boolean',  
  602. ),  
  603. 'isDraft' => array( 
  604. 'location' => 'query',  
  605. 'type' => 'boolean',  
  606. ),  
  607. 'fetchBody' => array( 
  608. 'location' => 'query',  
  609. 'type' => 'boolean',  
  610. ),  
  611. ),  
  612. ), 'list' => array( 
  613. 'path' => 'blogs/{blogId}/posts',  
  614. 'httpMethod' => 'GET',  
  615. 'parameters' => array( 
  616. 'blogId' => array( 
  617. 'location' => 'path',  
  618. 'type' => 'string',  
  619. 'required' => true,  
  620. ),  
  621. 'orderBy' => array( 
  622. 'location' => 'query',  
  623. 'type' => 'string',  
  624. ),  
  625. 'startDate' => array( 
  626. 'location' => 'query',  
  627. 'type' => 'string',  
  628. ),  
  629. 'endDate' => array( 
  630. 'location' => 'query',  
  631. 'type' => 'string',  
  632. ),  
  633. 'labels' => array( 
  634. 'location' => 'query',  
  635. 'type' => 'string',  
  636. ),  
  637. 'maxResults' => array( 
  638. 'location' => 'query',  
  639. 'type' => 'integer',  
  640. ),  
  641. 'fetchImages' => array( 
  642. 'location' => 'query',  
  643. 'type' => 'boolean',  
  644. ),  
  645. 'pageToken' => array( 
  646. 'location' => 'query',  
  647. 'type' => 'string',  
  648. ),  
  649. 'status' => array( 
  650. 'location' => 'query',  
  651. 'type' => 'string',  
  652. 'repeated' => true,  
  653. ),  
  654. 'fetchBodies' => array( 
  655. 'location' => 'query',  
  656. 'type' => 'boolean',  
  657. ),  
  658. 'view' => array( 
  659. 'location' => 'query',  
  660. 'type' => 'string',  
  661. ),  
  662. ),  
  663. ), 'patch' => array( 
  664. 'path' => 'blogs/{blogId}/posts/{postId}',  
  665. 'httpMethod' => 'PATCH',  
  666. 'parameters' => array( 
  667. 'blogId' => array( 
  668. 'location' => 'path',  
  669. 'type' => 'string',  
  670. 'required' => true,  
  671. ),  
  672. 'postId' => array( 
  673. 'location' => 'path',  
  674. 'type' => 'string',  
  675. 'required' => true,  
  676. ),  
  677. 'revert' => array( 
  678. 'location' => 'query',  
  679. 'type' => 'boolean',  
  680. ),  
  681. 'publish' => array( 
  682. 'location' => 'query',  
  683. 'type' => 'boolean',  
  684. ),  
  685. 'fetchBody' => array( 
  686. 'location' => 'query',  
  687. 'type' => 'boolean',  
  688. ),  
  689. 'maxComments' => array( 
  690. 'location' => 'query',  
  691. 'type' => 'integer',  
  692. ),  
  693. 'fetchImages' => array( 
  694. 'location' => 'query',  
  695. 'type' => 'boolean',  
  696. ),  
  697. ),  
  698. ), 'publish' => array( 
  699. 'path' => 'blogs/{blogId}/posts/{postId}/publish',  
  700. 'httpMethod' => 'POST',  
  701. 'parameters' => array( 
  702. 'blogId' => array( 
  703. 'location' => 'path',  
  704. 'type' => 'string',  
  705. 'required' => true,  
  706. ),  
  707. 'postId' => array( 
  708. 'location' => 'path',  
  709. 'type' => 'string',  
  710. 'required' => true,  
  711. ),  
  712. 'publishDate' => array( 
  713. 'location' => 'query',  
  714. 'type' => 'string',  
  715. ),  
  716. ),  
  717. ), 'revert' => array( 
  718. 'path' => 'blogs/{blogId}/posts/{postId}/revert',  
  719. 'httpMethod' => 'POST',  
  720. 'parameters' => array( 
  721. 'blogId' => array( 
  722. 'location' => 'path',  
  723. 'type' => 'string',  
  724. 'required' => true,  
  725. ),  
  726. 'postId' => array( 
  727. 'location' => 'path',  
  728. 'type' => 'string',  
  729. 'required' => true,  
  730. ),  
  731. ),  
  732. ), 'search' => array( 
  733. 'path' => 'blogs/{blogId}/posts/search',  
  734. 'httpMethod' => 'GET',  
  735. 'parameters' => array( 
  736. 'blogId' => array( 
  737. 'location' => 'path',  
  738. 'type' => 'string',  
  739. 'required' => true,  
  740. ),  
  741. 'q' => array( 
  742. 'location' => 'query',  
  743. 'type' => 'string',  
  744. 'required' => true,  
  745. ),  
  746. 'orderBy' => array( 
  747. 'location' => 'query',  
  748. 'type' => 'string',  
  749. ),  
  750. 'fetchBodies' => array( 
  751. 'location' => 'query',  
  752. 'type' => 'boolean',  
  753. ),  
  754. ),  
  755. ), 'update' => array( 
  756. 'path' => 'blogs/{blogId}/posts/{postId}',  
  757. 'httpMethod' => 'PUT',  
  758. 'parameters' => array( 
  759. 'blogId' => array( 
  760. 'location' => 'path',  
  761. 'type' => 'string',  
  762. 'required' => true,  
  763. ),  
  764. 'postId' => array( 
  765. 'location' => 'path',  
  766. 'type' => 'string',  
  767. 'required' => true,  
  768. ),  
  769. 'revert' => array( 
  770. 'location' => 'query',  
  771. 'type' => 'boolean',  
  772. ),  
  773. 'publish' => array( 
  774. 'location' => 'query',  
  775. 'type' => 'boolean',  
  776. ),  
  777. 'fetchBody' => array( 
  778. 'location' => 'query',  
  779. 'type' => 'boolean',  
  780. ),  
  781. 'maxComments' => array( 
  782. 'location' => 'query',  
  783. 'type' => 'integer',  
  784. ),  
  785. 'fetchImages' => array( 
  786. 'location' => 'query',  
  787. 'type' => 'boolean',  
  788. ),  
  789. ),  
  790. ),  
  791. ); 
  792. $this->users = new Google_Service_Blogger_Users_Resource( 
  793. $this,  
  794. $this->serviceName,  
  795. 'users',  
  796. array( 
  797. 'methods' => array( 
  798. 'get' => array( 
  799. 'path' => 'users/{userId}',  
  800. 'httpMethod' => 'GET',  
  801. 'parameters' => array( 
  802. 'userId' => array( 
  803. 'location' => 'path',  
  804. 'type' => 'string',  
  805. 'required' => true,  
  806. ),  
  807. ),  
  808. ),  
  809. );