Google_Service_Storage

Service definition for Storage (v1).

Defined (1)

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

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