Google_Service_Blogger

Service definition for Blogger (v3).

Defined (1)

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

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