PageRenderTime 80ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://bitbucket.org/moodle/moodle
PHP | 9899 lines | 8305 code | 380 blank | 1214 comment | 0 complexity | 39e93b1f8fb24516f5e4b6228eb8db33 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.1, BSD-3-Clause, MIT, GPL-3.0
  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 Analytics (v3).
  19. *
  20. * <p>
  21. * View and manage your Google Analytics data</p>
  22. *
  23. * <p>
  24. * For more information about this service, see the API
  25. * <a href="https://developers.google.com/analytics/" target="_blank">Documentation</a>
  26. * </p>
  27. *
  28. * @author Google, Inc.
  29. */
  30. class Google_Service_Analytics extends Google_Service
  31. {
  32. /** View and manage your Google Analytics data. */
  33. const ANALYTICS =
  34. "https://www.googleapis.com/auth/analytics";
  35. /** Edit Google Analytics management entities. */
  36. const ANALYTICS_EDIT =
  37. "https://www.googleapis.com/auth/analytics.edit";
  38. /** Manage Google Analytics Account users by email address. */
  39. const ANALYTICS_MANAGE_USERS =
  40. "https://www.googleapis.com/auth/analytics.manage.users";
  41. /** View Google Analytics user permissions. */
  42. const ANALYTICS_MANAGE_USERS_READONLY =
  43. "https://www.googleapis.com/auth/analytics.manage.users.readonly";
  44. /** Create a new Google Analytics account along with its default property and view. */
  45. const ANALYTICS_PROVISION =
  46. "https://www.googleapis.com/auth/analytics.provision";
  47. /** View your Google Analytics data. */
  48. const ANALYTICS_READONLY =
  49. "https://www.googleapis.com/auth/analytics.readonly";
  50. public $data_ga;
  51. public $data_mcf;
  52. public $data_realtime;
  53. public $management_accountSummaries;
  54. public $management_accountUserLinks;
  55. public $management_accounts;
  56. public $management_customDataSources;
  57. public $management_customDimensions;
  58. public $management_customMetrics;
  59. public $management_experiments;
  60. public $management_filters;
  61. public $management_goals;
  62. public $management_profileFilterLinks;
  63. public $management_profileUserLinks;
  64. public $management_profiles;
  65. public $management_segments;
  66. public $management_unsampledReports;
  67. public $management_uploads;
  68. public $management_webPropertyAdWordsLinks;
  69. public $management_webproperties;
  70. public $management_webpropertyUserLinks;
  71. public $metadata_columns;
  72. public $provisioning;
  73. /**
  74. * Constructs the internal representation of the Analytics service.
  75. *
  76. * @param Google_Client $client
  77. */
  78. public function __construct(Google_Client $client)
  79. {
  80. parent::__construct($client);
  81. $this->rootUrl = 'https://www.googleapis.com/';
  82. $this->servicePath = 'analytics/v3/';
  83. $this->version = 'v3';
  84. $this->serviceName = 'analytics';
  85. $this->data_ga = new Google_Service_Analytics_DataGa_Resource(
  86. $this,
  87. $this->serviceName,
  88. 'ga',
  89. array(
  90. 'methods' => array(
  91. 'get' => array(
  92. 'path' => 'data/ga',
  93. 'httpMethod' => 'GET',
  94. 'parameters' => array(
  95. 'ids' => array(
  96. 'location' => 'query',
  97. 'type' => 'string',
  98. 'required' => true,
  99. ),
  100. 'start-date' => array(
  101. 'location' => 'query',
  102. 'type' => 'string',
  103. 'required' => true,
  104. ),
  105. 'end-date' => array(
  106. 'location' => 'query',
  107. 'type' => 'string',
  108. 'required' => true,
  109. ),
  110. 'metrics' => array(
  111. 'location' => 'query',
  112. 'type' => 'string',
  113. 'required' => true,
  114. ),
  115. 'max-results' => array(
  116. 'location' => 'query',
  117. 'type' => 'integer',
  118. ),
  119. 'sort' => array(
  120. 'location' => 'query',
  121. 'type' => 'string',
  122. ),
  123. 'dimensions' => array(
  124. 'location' => 'query',
  125. 'type' => 'string',
  126. ),
  127. 'start-index' => array(
  128. 'location' => 'query',
  129. 'type' => 'integer',
  130. ),
  131. 'segment' => array(
  132. 'location' => 'query',
  133. 'type' => 'string',
  134. ),
  135. 'samplingLevel' => array(
  136. 'location' => 'query',
  137. 'type' => 'string',
  138. ),
  139. 'filters' => array(
  140. 'location' => 'query',
  141. 'type' => 'string',
  142. ),
  143. 'output' => array(
  144. 'location' => 'query',
  145. 'type' => 'string',
  146. ),
  147. ),
  148. ),
  149. )
  150. )
  151. );
  152. $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource(
  153. $this,
  154. $this->serviceName,
  155. 'mcf',
  156. array(
  157. 'methods' => array(
  158. 'get' => array(
  159. 'path' => 'data/mcf',
  160. 'httpMethod' => 'GET',
  161. 'parameters' => array(
  162. 'ids' => array(
  163. 'location' => 'query',
  164. 'type' => 'string',
  165. 'required' => true,
  166. ),
  167. 'start-date' => array(
  168. 'location' => 'query',
  169. 'type' => 'string',
  170. 'required' => true,
  171. ),
  172. 'end-date' => array(
  173. 'location' => 'query',
  174. 'type' => 'string',
  175. 'required' => true,
  176. ),
  177. 'metrics' => array(
  178. 'location' => 'query',
  179. 'type' => 'string',
  180. 'required' => true,
  181. ),
  182. 'max-results' => array(
  183. 'location' => 'query',
  184. 'type' => 'integer',
  185. ),
  186. 'sort' => array(
  187. 'location' => 'query',
  188. 'type' => 'string',
  189. ),
  190. 'dimensions' => array(
  191. 'location' => 'query',
  192. 'type' => 'string',
  193. ),
  194. 'start-index' => array(
  195. 'location' => 'query',
  196. 'type' => 'integer',
  197. ),
  198. 'samplingLevel' => array(
  199. 'location' => 'query',
  200. 'type' => 'string',
  201. ),
  202. 'filters' => array(
  203. 'location' => 'query',
  204. 'type' => 'string',
  205. ),
  206. ),
  207. ),
  208. )
  209. )
  210. );
  211. $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource(
  212. $this,
  213. $this->serviceName,
  214. 'realtime',
  215. array(
  216. 'methods' => array(
  217. 'get' => array(
  218. 'path' => 'data/realtime',
  219. 'httpMethod' => 'GET',
  220. 'parameters' => array(
  221. 'ids' => array(
  222. 'location' => 'query',
  223. 'type' => 'string',
  224. 'required' => true,
  225. ),
  226. 'metrics' => array(
  227. 'location' => 'query',
  228. 'type' => 'string',
  229. 'required' => true,
  230. ),
  231. 'max-results' => array(
  232. 'location' => 'query',
  233. 'type' => 'integer',
  234. ),
  235. 'sort' => array(
  236. 'location' => 'query',
  237. 'type' => 'string',
  238. ),
  239. 'dimensions' => array(
  240. 'location' => 'query',
  241. 'type' => 'string',
  242. ),
  243. 'filters' => array(
  244. 'location' => 'query',
  245. 'type' => 'string',
  246. ),
  247. ),
  248. ),
  249. )
  250. )
  251. );
  252. $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource(
  253. $this,
  254. $this->serviceName,
  255. 'accountSummaries',
  256. array(
  257. 'methods' => array(
  258. 'list' => array(
  259. 'path' => 'management/accountSummaries',
  260. 'httpMethod' => 'GET',
  261. 'parameters' => array(
  262. 'max-results' => array(
  263. 'location' => 'query',
  264. 'type' => 'integer',
  265. ),
  266. 'start-index' => array(
  267. 'location' => 'query',
  268. 'type' => 'integer',
  269. ),
  270. ),
  271. ),
  272. )
  273. )
  274. );
  275. $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource(
  276. $this,
  277. $this->serviceName,
  278. 'accountUserLinks',
  279. array(
  280. 'methods' => array(
  281. 'delete' => array(
  282. 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
  283. 'httpMethod' => 'DELETE',
  284. 'parameters' => array(
  285. 'accountId' => array(
  286. 'location' => 'path',
  287. 'type' => 'string',
  288. 'required' => true,
  289. ),
  290. 'linkId' => array(
  291. 'location' => 'path',
  292. 'type' => 'string',
  293. 'required' => true,
  294. ),
  295. ),
  296. ),'insert' => array(
  297. 'path' => 'management/accounts/{accountId}/entityUserLinks',
  298. 'httpMethod' => 'POST',
  299. 'parameters' => array(
  300. 'accountId' => array(
  301. 'location' => 'path',
  302. 'type' => 'string',
  303. 'required' => true,
  304. ),
  305. ),
  306. ),'list' => array(
  307. 'path' => 'management/accounts/{accountId}/entityUserLinks',
  308. 'httpMethod' => 'GET',
  309. 'parameters' => array(
  310. 'accountId' => array(
  311. 'location' => 'path',
  312. 'type' => 'string',
  313. 'required' => true,
  314. ),
  315. 'max-results' => array(
  316. 'location' => 'query',
  317. 'type' => 'integer',
  318. ),
  319. 'start-index' => array(
  320. 'location' => 'query',
  321. 'type' => 'integer',
  322. ),
  323. ),
  324. ),'update' => array(
  325. 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
  326. 'httpMethod' => 'PUT',
  327. 'parameters' => array(
  328. 'accountId' => array(
  329. 'location' => 'path',
  330. 'type' => 'string',
  331. 'required' => true,
  332. ),
  333. 'linkId' => array(
  334. 'location' => 'path',
  335. 'type' => 'string',
  336. 'required' => true,
  337. ),
  338. ),
  339. ),
  340. )
  341. )
  342. );
  343. $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource(
  344. $this,
  345. $this->serviceName,
  346. 'accounts',
  347. array(
  348. 'methods' => array(
  349. 'list' => array(
  350. 'path' => 'management/accounts',
  351. 'httpMethod' => 'GET',
  352. 'parameters' => array(
  353. 'max-results' => array(
  354. 'location' => 'query',
  355. 'type' => 'integer',
  356. ),
  357. 'start-index' => array(
  358. 'location' => 'query',
  359. 'type' => 'integer',
  360. ),
  361. ),
  362. ),
  363. )
  364. )
  365. );
  366. $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource(
  367. $this,
  368. $this->serviceName,
  369. 'customDataSources',
  370. array(
  371. 'methods' => array(
  372. 'list' => array(
  373. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources',
  374. 'httpMethod' => 'GET',
  375. 'parameters' => array(
  376. 'accountId' => array(
  377. 'location' => 'path',
  378. 'type' => 'string',
  379. 'required' => true,
  380. ),
  381. 'webPropertyId' => array(
  382. 'location' => 'path',
  383. 'type' => 'string',
  384. 'required' => true,
  385. ),
  386. 'max-results' => array(
  387. 'location' => 'query',
  388. 'type' => 'integer',
  389. ),
  390. 'start-index' => array(
  391. 'location' => 'query',
  392. 'type' => 'integer',
  393. ),
  394. ),
  395. ),
  396. )
  397. )
  398. );
  399. $this->management_customDimensions = new Google_Service_Analytics_ManagementCustomDimensions_Resource(
  400. $this,
  401. $this->serviceName,
  402. 'customDimensions',
  403. array(
  404. 'methods' => array(
  405. 'get' => array(
  406. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
  407. 'httpMethod' => 'GET',
  408. 'parameters' => array(
  409. 'accountId' => array(
  410. 'location' => 'path',
  411. 'type' => 'string',
  412. 'required' => true,
  413. ),
  414. 'webPropertyId' => array(
  415. 'location' => 'path',
  416. 'type' => 'string',
  417. 'required' => true,
  418. ),
  419. 'customDimensionId' => array(
  420. 'location' => 'path',
  421. 'type' => 'string',
  422. 'required' => true,
  423. ),
  424. ),
  425. ),'insert' => array(
  426. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',
  427. 'httpMethod' => 'POST',
  428. 'parameters' => array(
  429. 'accountId' => array(
  430. 'location' => 'path',
  431. 'type' => 'string',
  432. 'required' => true,
  433. ),
  434. 'webPropertyId' => array(
  435. 'location' => 'path',
  436. 'type' => 'string',
  437. 'required' => true,
  438. ),
  439. ),
  440. ),'list' => array(
  441. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',
  442. 'httpMethod' => 'GET',
  443. 'parameters' => array(
  444. 'accountId' => array(
  445. 'location' => 'path',
  446. 'type' => 'string',
  447. 'required' => true,
  448. ),
  449. 'webPropertyId' => array(
  450. 'location' => 'path',
  451. 'type' => 'string',
  452. 'required' => true,
  453. ),
  454. 'max-results' => array(
  455. 'location' => 'query',
  456. 'type' => 'integer',
  457. ),
  458. 'start-index' => array(
  459. 'location' => 'query',
  460. 'type' => 'integer',
  461. ),
  462. ),
  463. ),'patch' => array(
  464. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
  465. 'httpMethod' => 'PATCH',
  466. 'parameters' => array(
  467. 'accountId' => array(
  468. 'location' => 'path',
  469. 'type' => 'string',
  470. 'required' => true,
  471. ),
  472. 'webPropertyId' => array(
  473. 'location' => 'path',
  474. 'type' => 'string',
  475. 'required' => true,
  476. ),
  477. 'customDimensionId' => array(
  478. 'location' => 'path',
  479. 'type' => 'string',
  480. 'required' => true,
  481. ),
  482. 'ignoreCustomDataSourceLinks' => array(
  483. 'location' => 'query',
  484. 'type' => 'boolean',
  485. ),
  486. ),
  487. ),'update' => array(
  488. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
  489. 'httpMethod' => 'PUT',
  490. 'parameters' => array(
  491. 'accountId' => array(
  492. 'location' => 'path',
  493. 'type' => 'string',
  494. 'required' => true,
  495. ),
  496. 'webPropertyId' => array(
  497. 'location' => 'path',
  498. 'type' => 'string',
  499. 'required' => true,
  500. ),
  501. 'customDimensionId' => array(
  502. 'location' => 'path',
  503. 'type' => 'string',
  504. 'required' => true,
  505. ),
  506. 'ignoreCustomDataSourceLinks' => array(
  507. 'location' => 'query',
  508. 'type' => 'boolean',
  509. ),
  510. ),
  511. ),
  512. )
  513. )
  514. );
  515. $this->management_customMetrics = new Google_Service_Analytics_ManagementCustomMetrics_Resource(
  516. $this,
  517. $this->serviceName,
  518. 'customMetrics',
  519. array(
  520. 'methods' => array(
  521. 'get' => array(
  522. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
  523. 'httpMethod' => 'GET',
  524. 'parameters' => array(
  525. 'accountId' => array(
  526. 'location' => 'path',
  527. 'type' => 'string',
  528. 'required' => true,
  529. ),
  530. 'webPropertyId' => array(
  531. 'location' => 'path',
  532. 'type' => 'string',
  533. 'required' => true,
  534. ),
  535. 'customMetricId' => array(
  536. 'location' => 'path',
  537. 'type' => 'string',
  538. 'required' => true,
  539. ),
  540. ),
  541. ),'insert' => array(
  542. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',
  543. 'httpMethod' => 'POST',
  544. 'parameters' => array(
  545. 'accountId' => array(
  546. 'location' => 'path',
  547. 'type' => 'string',
  548. 'required' => true,
  549. ),
  550. 'webPropertyId' => array(
  551. 'location' => 'path',
  552. 'type' => 'string',
  553. 'required' => true,
  554. ),
  555. ),
  556. ),'list' => array(
  557. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',
  558. 'httpMethod' => 'GET',
  559. 'parameters' => array(
  560. 'accountId' => array(
  561. 'location' => 'path',
  562. 'type' => 'string',
  563. 'required' => true,
  564. ),
  565. 'webPropertyId' => array(
  566. 'location' => 'path',
  567. 'type' => 'string',
  568. 'required' => true,
  569. ),
  570. 'max-results' => array(
  571. 'location' => 'query',
  572. 'type' => 'integer',
  573. ),
  574. 'start-index' => array(
  575. 'location' => 'query',
  576. 'type' => 'integer',
  577. ),
  578. ),
  579. ),'patch' => array(
  580. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
  581. 'httpMethod' => 'PATCH',
  582. 'parameters' => array(
  583. 'accountId' => array(
  584. 'location' => 'path',
  585. 'type' => 'string',
  586. 'required' => true,
  587. ),
  588. 'webPropertyId' => array(
  589. 'location' => 'path',
  590. 'type' => 'string',
  591. 'required' => true,
  592. ),
  593. 'customMetricId' => array(
  594. 'location' => 'path',
  595. 'type' => 'string',
  596. 'required' => true,
  597. ),
  598. 'ignoreCustomDataSourceLinks' => array(
  599. 'location' => 'query',
  600. 'type' => 'boolean',
  601. ),
  602. ),
  603. ),'update' => array(
  604. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
  605. 'httpMethod' => 'PUT',
  606. 'parameters' => array(
  607. 'accountId' => array(
  608. 'location' => 'path',
  609. 'type' => 'string',
  610. 'required' => true,
  611. ),
  612. 'webPropertyId' => array(
  613. 'location' => 'path',
  614. 'type' => 'string',
  615. 'required' => true,
  616. ),
  617. 'customMetricId' => array(
  618. 'location' => 'path',
  619. 'type' => 'string',
  620. 'required' => true,
  621. ),
  622. 'ignoreCustomDataSourceLinks' => array(
  623. 'location' => 'query',
  624. 'type' => 'boolean',
  625. ),
  626. ),
  627. ),
  628. )
  629. )
  630. );
  631. $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource(
  632. $this,
  633. $this->serviceName,
  634. 'experiments',
  635. array(
  636. 'methods' => array(
  637. 'delete' => array(
  638. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
  639. 'httpMethod' => 'DELETE',
  640. 'parameters' => array(
  641. 'accountId' => array(
  642. 'location' => 'path',
  643. 'type' => 'string',
  644. 'required' => true,
  645. ),
  646. 'webPropertyId' => array(
  647. 'location' => 'path',
  648. 'type' => 'string',
  649. 'required' => true,
  650. ),
  651. 'profileId' => array(
  652. 'location' => 'path',
  653. 'type' => 'string',
  654. 'required' => true,
  655. ),
  656. 'experimentId' => array(
  657. 'location' => 'path',
  658. 'type' => 'string',
  659. 'required' => true,
  660. ),
  661. ),
  662. ),'get' => array(
  663. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
  664. 'httpMethod' => 'GET',
  665. 'parameters' => array(
  666. 'accountId' => array(
  667. 'location' => 'path',
  668. 'type' => 'string',
  669. 'required' => true,
  670. ),
  671. 'webPropertyId' => array(
  672. 'location' => 'path',
  673. 'type' => 'string',
  674. 'required' => true,
  675. ),
  676. 'profileId' => array(
  677. 'location' => 'path',
  678. 'type' => 'string',
  679. 'required' => true,
  680. ),
  681. 'experimentId' => array(
  682. 'location' => 'path',
  683. 'type' => 'string',
  684. 'required' => true,
  685. ),
  686. ),
  687. ),'insert' => array(
  688. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
  689. 'httpMethod' => 'POST',
  690. 'parameters' => array(
  691. 'accountId' => array(
  692. 'location' => 'path',
  693. 'type' => 'string',
  694. 'required' => true,
  695. ),
  696. 'webPropertyId' => array(
  697. 'location' => 'path',
  698. 'type' => 'string',
  699. 'required' => true,
  700. ),
  701. 'profileId' => array(
  702. 'location' => 'path',
  703. 'type' => 'string',
  704. 'required' => true,
  705. ),
  706. ),
  707. ),'list' => array(
  708. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
  709. 'httpMethod' => 'GET',
  710. 'parameters' => array(
  711. 'accountId' => array(
  712. 'location' => 'path',
  713. 'type' => 'string',
  714. 'required' => true,
  715. ),
  716. 'webPropertyId' => array(
  717. 'location' => 'path',
  718. 'type' => 'string',
  719. 'required' => true,
  720. ),
  721. 'profileId' => array(
  722. 'location' => 'path',
  723. 'type' => 'string',
  724. 'required' => true,
  725. ),
  726. 'max-results' => array(
  727. 'location' => 'query',
  728. 'type' => 'integer',
  729. ),
  730. 'start-index' => array(
  731. 'location' => 'query',
  732. 'type' => 'integer',
  733. ),
  734. ),
  735. ),'patch' => array(
  736. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
  737. 'httpMethod' => 'PATCH',
  738. 'parameters' => array(
  739. 'accountId' => array(
  740. 'location' => 'path',
  741. 'type' => 'string',
  742. 'required' => true,
  743. ),
  744. 'webPropertyId' => array(
  745. 'location' => 'path',
  746. 'type' => 'string',
  747. 'required' => true,
  748. ),
  749. 'profileId' => array(
  750. 'location' => 'path',
  751. 'type' => 'string',
  752. 'required' => true,
  753. ),
  754. 'experimentId' => array(
  755. 'location' => 'path',
  756. 'type' => 'string',
  757. 'required' => true,
  758. ),
  759. ),
  760. ),'update' => array(
  761. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
  762. 'httpMethod' => 'PUT',
  763. 'parameters' => array(
  764. 'accountId' => array(
  765. 'location' => 'path',
  766. 'type' => 'string',
  767. 'required' => true,
  768. ),
  769. 'webPropertyId' => array(
  770. 'location' => 'path',
  771. 'type' => 'string',
  772. 'required' => true,
  773. ),
  774. 'profileId' => array(
  775. 'location' => 'path',
  776. 'type' => 'string',
  777. 'required' => true,
  778. ),
  779. 'experimentId' => array(
  780. 'location' => 'path',
  781. 'type' => 'string',
  782. 'required' => true,
  783. ),
  784. ),
  785. ),
  786. )
  787. )
  788. );
  789. $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource(
  790. $this,
  791. $this->serviceName,
  792. 'filters',
  793. array(
  794. 'methods' => array(
  795. 'delete' => array(
  796. 'path' => 'management/accounts/{accountId}/filters/{filterId}',
  797. 'httpMethod' => 'DELETE',
  798. 'parameters' => array(
  799. 'accountId' => array(
  800. 'location' => 'path',
  801. 'type' => 'string',
  802. 'required' => true,
  803. ),
  804. 'filterId' => array(
  805. 'location' => 'path',
  806. 'type' => 'string',
  807. 'required' => true,
  808. ),
  809. ),
  810. ),'get' => array(
  811. 'path' => 'management/accounts/{accountId}/filters/{filterId}',
  812. 'httpMethod' => 'GET',
  813. 'parameters' => array(
  814. 'accountId' => array(
  815. 'location' => 'path',
  816. 'type' => 'string',
  817. 'required' => true,
  818. ),
  819. 'filterId' => array(
  820. 'location' => 'path',
  821. 'type' => 'string',
  822. 'required' => true,
  823. ),
  824. ),
  825. ),'insert' => array(
  826. 'path' => 'management/accounts/{accountId}/filters',
  827. 'httpMethod' => 'POST',
  828. 'parameters' => array(
  829. 'accountId' => array(
  830. 'location' => 'path',
  831. 'type' => 'string',
  832. 'required' => true,
  833. ),
  834. ),
  835. ),'list' => array(
  836. 'path' => 'management/accounts/{accountId}/filters',
  837. 'httpMethod' => 'GET',
  838. 'parameters' => array(
  839. 'accountId' => array(
  840. 'location' => 'path',
  841. 'type' => 'string',
  842. 'required' => true,
  843. ),
  844. 'max-results' => array(
  845. 'location' => 'query',
  846. 'type' => 'integer',
  847. ),
  848. 'start-index' => array(
  849. 'location' => 'query',
  850. 'type' => 'integer',
  851. ),
  852. ),
  853. ),'patch' => array(
  854. 'path' => 'management/accounts/{accountId}/filters/{filterId}',
  855. 'httpMethod' => 'PATCH',
  856. 'parameters' => array(
  857. 'accountId' => array(
  858. 'location' => 'path',
  859. 'type' => 'string',
  860. 'required' => true,
  861. ),
  862. 'filterId' => array(
  863. 'location' => 'path',
  864. 'type' => 'string',
  865. 'required' => true,
  866. ),
  867. ),
  868. ),'update' => array(
  869. 'path' => 'management/accounts/{accountId}/filters/{filterId}',
  870. 'httpMethod' => 'PUT',
  871. 'parameters' => array(
  872. 'accountId' => array(
  873. 'location' => 'path',
  874. 'type' => 'string',
  875. 'required' => true,
  876. ),
  877. 'filterId' => array(
  878. 'location' => 'path',
  879. 'type' => 'string',
  880. 'required' => true,
  881. ),
  882. ),
  883. ),
  884. )
  885. )
  886. );
  887. $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource(
  888. $this,
  889. $this->serviceName,
  890. 'goals',
  891. array(
  892. 'methods' => array(
  893. 'get' => array(
  894. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
  895. 'httpMethod' => 'GET',
  896. 'parameters' => array(
  897. 'accountId' => array(
  898. 'location' => 'path',
  899. 'type' => 'string',
  900. 'required' => true,
  901. ),
  902. 'webPropertyId' => array(
  903. 'location' => 'path',
  904. 'type' => 'string',
  905. 'required' => true,
  906. ),
  907. 'profileId' => array(
  908. 'location' => 'path',
  909. 'type' => 'string',
  910. 'required' => true,
  911. ),
  912. 'goalId' => array(
  913. 'location' => 'path',
  914. 'type' => 'string',
  915. 'required' => true,
  916. ),
  917. ),
  918. ),'insert' => array(
  919. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
  920. 'httpMethod' => 'POST',
  921. 'parameters' => array(
  922. 'accountId' => array(
  923. 'location' => 'path',
  924. 'type' => 'string',
  925. 'required' => true,
  926. ),
  927. 'webPropertyId' => array(
  928. 'location' => 'path',
  929. 'type' => 'string',
  930. 'required' => true,
  931. ),
  932. 'profileId' => array(
  933. 'location' => 'path',
  934. 'type' => 'string',
  935. 'required' => true,
  936. ),
  937. ),
  938. ),'list' => array(
  939. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
  940. 'httpMethod' => 'GET',
  941. 'parameters' => array(
  942. 'accountId' => array(
  943. 'location' => 'path',
  944. 'type' => 'string',
  945. 'required' => true,
  946. ),
  947. 'webPropertyId' => array(
  948. 'location' => 'path',
  949. 'type' => 'string',
  950. 'required' => true,
  951. ),
  952. 'profileId' => array(
  953. 'location' => 'path',
  954. 'type' => 'string',
  955. 'required' => true,
  956. ),
  957. 'max-results' => array(
  958. 'location' => 'query',
  959. 'type' => 'integer',
  960. ),
  961. 'start-index' => array(
  962. 'location' => 'query',
  963. 'type' => 'integer',
  964. ),
  965. ),
  966. ),'patch' => array(
  967. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
  968. 'httpMethod' => 'PATCH',
  969. 'parameters' => array(
  970. 'accountId' => array(
  971. 'location' => 'path',
  972. 'type' => 'string',
  973. 'required' => true,
  974. ),
  975. 'webPropertyId' => array(
  976. 'location' => 'path',
  977. 'type' => 'string',
  978. 'required' => true,
  979. ),
  980. 'profileId' => array(
  981. 'location' => 'path',
  982. 'type' => 'string',
  983. 'required' => true,
  984. ),
  985. 'goalId' => array(
  986. 'location' => 'path',
  987. 'type' => 'string',
  988. 'required' => true,
  989. ),
  990. ),
  991. ),'update' => array(
  992. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
  993. 'httpMethod' => 'PUT',
  994. 'parameters' => array(
  995. 'accountId' => array(
  996. 'location' => 'path',
  997. 'type' => 'string',
  998. 'required' => true,
  999. ),
  1000. 'webPropertyId' => array(
  1001. 'location' => 'path',
  1002. 'type' => 'string',
  1003. 'required' => true,
  1004. ),
  1005. 'profileId' => array(
  1006. 'location' => 'path',
  1007. 'type' => 'string',
  1008. 'required' => true,
  1009. ),
  1010. 'goalId' => array(
  1011. 'location' => 'path',
  1012. 'type' => 'string',
  1013. 'required' => true,
  1014. ),
  1015. ),
  1016. ),
  1017. )
  1018. )
  1019. );
  1020. $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource(
  1021. $this,
  1022. $this->serviceName,
  1023. 'profileFilterLinks',
  1024. array(
  1025. 'methods' => array(
  1026. 'delete' => array(
  1027. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
  1028. 'httpMethod' => 'DELETE',
  1029. 'parameters' => array(
  1030. 'accountId' => array(
  1031. 'location' => 'path',
  1032. 'type' => 'string',
  1033. 'required' => true,
  1034. ),
  1035. 'webPropertyId' => array(
  1036. 'location' => 'path',
  1037. 'type' => 'string',
  1038. 'required' => true,
  1039. ),
  1040. 'profileId' => array(
  1041. 'location' => 'path',
  1042. 'type' => 'string',
  1043. 'required' => true,
  1044. ),
  1045. 'linkId' => array(
  1046. 'location' => 'path',
  1047. 'type' => 'string',
  1048. 'required' => true,
  1049. ),
  1050. ),
  1051. ),'get' => array(
  1052. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
  1053. 'httpMethod' => 'GET',
  1054. 'parameters' => array(
  1055. 'accountId' => array(
  1056. 'location' => 'path',
  1057. 'type' => 'string',
  1058. 'required' => true,
  1059. ),
  1060. 'webPropertyId' => array(
  1061. 'location' => 'path',
  1062. 'type' => 'string',
  1063. 'required' => true,
  1064. ),
  1065. 'profileId' => array(
  1066. 'location' => 'path',
  1067. 'type' => 'string',
  1068. 'required' => true,
  1069. ),
  1070. 'linkId' => array(
  1071. 'location' => 'path',
  1072. 'type' => 'string',
  1073. 'required' => true,
  1074. ),
  1075. ),
  1076. ),'insert' => array(
  1077. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
  1078. 'httpMethod' => 'POST',
  1079. 'parameters' => array(
  1080. 'accountId' => array(
  1081. 'location' => 'path',
  1082. 'type' => 'string',
  1083. 'required' => true,
  1084. ),
  1085. 'webPropertyId' => array(
  1086. 'location' => 'path',
  1087. 'type' => 'string',
  1088. 'required' => true,
  1089. ),
  1090. 'profileId' => array(
  1091. 'location' => 'path',
  1092. 'type' => 'string',
  1093. 'required' => true,
  1094. ),
  1095. ),
  1096. ),'list' => array(
  1097. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
  1098. 'httpMethod' => 'GET',
  1099. 'parameters' => array(
  1100. 'accountId' => array(
  1101. 'location' => 'path',
  1102. 'type' => 'string',
  1103. 'required' => true,
  1104. ),
  1105. 'webPropertyId' => array(
  1106. 'location' => 'path',
  1107. 'type' => 'string',
  1108. 'required' => true,
  1109. ),
  1110. 'profileId' => array(
  1111. 'location' => 'path',
  1112. 'type' => 'string',
  1113. 'required' => true,
  1114. ),
  1115. 'max-results' => array(
  1116. 'location' => 'query',
  1117. 'type' => 'integer',
  1118. ),
  1119. 'start-index' => array(
  1120. 'location' => 'query',
  1121. 'type' => 'integer',
  1122. ),
  1123. ),
  1124. ),'patch' => array(
  1125. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
  1126. 'httpMethod' => 'PATCH',
  1127. 'parameters' => array(
  1128. 'accountId' => array(
  1129. 'location' => 'path',
  1130. 'type' => 'string',
  1131. 'required' => true,
  1132. ),
  1133. 'webPropertyId' => array(
  1134. 'location' => 'path',
  1135. 'type' => 'string',
  1136. 'required' => true,
  1137. ),
  1138. 'profileId' => array(
  1139. 'location' => 'path',
  1140. 'type' => 'string',
  1141. 'required' => true,
  1142. ),
  1143. 'linkId' => array(
  1144. 'location' => 'path',
  1145. 'type' => 'string',
  1146. 'required' => true,
  1147. ),
  1148. ),
  1149. ),'update' => array(
  1150. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
  1151. 'httpMethod' => 'PUT',
  1152. 'parameters' => array(
  1153. 'accountId' => array(
  1154. 'location' => 'path',
  1155. 'type' => 'string',
  1156. 'required' => true,
  1157. ),
  1158. 'webPropertyId' => array(
  1159. 'location' => 'path',
  1160. 'type' => 'string',
  1161. 'required' => true,
  1162. ),
  1163. 'profileId' => array(
  1164. 'location' => 'path',
  1165. 'type' => 'string',
  1166. 'required' => true,
  1167. ),
  1168. 'linkId' => array(
  1169. 'location' => 'path',
  1170. 'type' => 'string',
  1171. 'required' => true,
  1172. ),
  1173. ),
  1174. ),
  1175. )
  1176. )
  1177. );
  1178. $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource(
  1179. $this,
  1180. $this->serviceName,
  1181. 'profileUserLinks',
  1182. array(
  1183. 'methods' => array(
  1184. 'delete' => array(
  1185. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
  1186. 'httpMethod' => 'DELETE',
  1187. 'parameters' => array(
  1188. 'accountId' => array(
  1189. 'location' => 'path',
  1190. 'type' => 'string',
  1191. 'required' => true,
  1192. ),
  1193. 'webPropertyId' => array(
  1194. 'location' => 'path',
  1195. 'type' => 'string',
  1196. 'required' => true,
  1197. ),
  1198. 'profileId' => array(
  1199. 'location' => 'path',
  1200. 'type' => 'string',
  1201. 'required' => true,
  1202. ),
  1203. 'linkId' => array(
  1204. 'location' => 'path',
  1205. 'type' => 'string',
  1206. 'required' => true,
  1207. ),
  1208. ),
  1209. ),'insert' => array(
  1210. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
  1211. 'httpMethod' => 'POST',
  1212. 'parameters' => array(
  1213. 'accountId' => array(
  1214. 'location' => 'path',
  1215. 'type' => 'string',
  1216. 'required' => true,
  1217. ),
  1218. 'webPropertyId' => array(
  1219. 'location' => 'path',
  1220. 'type' => 'string',
  1221. 'required' => true,
  1222. ),
  1223. 'profileId' => array(
  1224. 'location' => 'path',
  1225. 'type' => 'string',
  1226. 'required' => true,
  1227. ),
  1228. ),
  1229. ),'list' => array(
  1230. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
  1231. 'httpMethod' => 'GET',
  1232. 'parameters' => array(
  1233. 'accountId' => array(
  1234. 'location' => 'path',
  1235. 'type' => 'string',
  1236. 'required' => true,
  1237. ),
  1238. 'webPropertyId' => array(
  1239. 'location' => 'path',
  1240. 'type' => 'string',
  1241. 'required' => true,
  1242. ),
  1243. 'profileId' => array(
  1244. 'location' => 'path',
  1245. 'type' => 'string',
  1246. 'required' => true,
  1247. ),
  1248. 'max-results' => array(
  1249. 'location' => 'query',
  1250. 'type' => 'integer',
  1251. ),
  1252. 'start-index' => array(
  1253. 'location' => 'query',
  1254. 'type' => 'integer',
  1255. ),
  1256. ),
  1257. ),'update' => array(
  1258. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
  1259. 'httpMethod' => 'PUT',
  1260. 'parameters' => array(
  1261. 'accountId' => array(
  1262. 'location' => 'path',
  1263. 'type' => 'string',
  1264. 'required' => true,
  1265. ),
  1266. 'webPropertyId' => array(
  1267. 'location' => 'path',
  1268. 'type' => 'string',
  1269. 'required' => true,
  1270. ),
  1271. 'profileId' => array(
  1272. 'location' => 'path',
  1273. 'type' => 'string',
  1274. 'required' => true,
  1275. ),
  1276. 'linkId' => array(
  1277. 'location' => 'path',
  1278. 'type' => 'string',
  1279. 'required' => true,
  1280. ),
  1281. ),
  1282. ),
  1283. )
  1284. )
  1285. );
  1286. $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource(
  1287. $this,
  1288. $this->serviceName,
  1289. 'profiles',
  1290. array(
  1291. 'methods' => array(
  1292. 'delete' => array(
  1293. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
  1294. 'httpMethod' => 'DELETE',
  1295. 'parameters' => array(
  1296. 'accountId' => array(
  1297. 'location' => 'path',
  1298. 'type' => 'string',
  1299. 'required' => true,
  1300. ),
  1301. 'webPropertyId' => array(
  1302. 'location' => 'path',
  1303. 'type' => 'string',
  1304. 'required' => true,
  1305. ),
  1306. 'profileId' => array(
  1307. 'location' => 'path',
  1308. 'type' => 'string',
  1309. 'required' => true,
  1310. ),
  1311. ),
  1312. ),'get' => array(
  1313. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
  1314. 'httpMethod' => 'GET',
  1315. 'parameters' => array(
  1316. 'accountId' => array(
  1317. 'location' => 'path',
  1318. 'type' => 'string',
  1319. 'required' => true,
  1320. ),
  1321. 'webPropertyId' => array(
  1322. 'location' => 'path',
  1323. 'type' => 'string',
  1324. 'required' => true,
  1325. ),
  1326. 'profileId' => array(
  1327. 'location' => 'path',
  1328. 'type' => 'string',
  1329. 'required' => true,
  1330. ),
  1331. ),
  1332. ),'insert' => array(
  1333. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
  1334. 'httpMethod' => 'POST',
  1335. 'parameters' => array(
  1336. 'accountId' => array(
  1337. 'location' => 'path',
  1338. 'type' => 'string',
  1339. 'required' => true,
  1340. ),
  1341. 'webPropertyId' => array(
  1342. 'location' => 'path',
  1343. 'type' => 'string',
  1344. 'required' => true,
  1345. ),
  1346. ),
  1347. ),'list' => array(
  1348. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
  1349. 'httpMethod' => 'GET',
  1350. 'parameters' => array(
  1351. 'accountId' => array(
  1352. 'location' => 'path',
  1353. 'type' => 'string',
  1354. 'required' => true,
  1355. ),
  1356. 'webPropertyId' => array(
  1357. 'location' => 'path',
  1358. 'type' => 'string',
  1359. 'required' => true,
  1360. ),
  1361. 'max-results' => array(
  1362. 'location' => 'query',
  1363. 'type' => 'integer',
  1364. ),
  1365. 'start-index' => array(
  1366. 'location' => 'query',
  1367. 'type' => 'integer',
  1368. ),
  1369. ),
  1370. ),'patch' => array(
  1371. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
  1372. 'httpMethod' => 'PATCH',
  1373. 'parameters' => array(
  1374. 'accountId' => array(
  1375. 'location' => 'path',
  1376. 'type' => 'string',
  1377. 'required' => true,
  1378. ),
  1379. 'webPropertyId' => array(
  1380. 'location' => 'path',
  1381. 'type' => 'string',
  1382. 'required' => true,
  1383. ),
  1384. 'profileId' => array(
  1385. 'location' => 'path',
  1386. 'type' => 'string',
  1387. 'required' => true,
  1388. ),
  1389. ),
  1390. ),'update' => array(
  1391. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
  1392. 'httpMethod' => 'PUT',
  1393. 'parameters' => array(
  1394. 'accountId' => array(
  1395. 'location' => 'path',
  1396. 'type' => 'string',
  1397. 'required' => true,
  1398. ),
  1399. 'webPropertyId' => array(
  1400. 'location' => 'path',
  1401. 'type' => 'string',
  1402. 'required' => true,
  1403. ),
  1404. 'profileId' => array(
  1405. 'location' => 'path',
  1406. 'type' => 'string',
  1407. 'required' => true,
  1408. ),
  1409. ),
  1410. ),
  1411. )
  1412. )
  1413. );
  1414. $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource(
  1415. $this,
  1416. $this->serviceName,
  1417. 'segments',
  1418. array(
  1419. 'methods' => array(
  1420. 'list' => array(
  1421. 'path' => 'management/segments',
  1422. 'httpMethod' => 'GET',
  1423. 'parameters' => array(
  1424. 'max-results' => array(
  1425. 'location' => 'query',
  1426. 'type' => 'integer',
  1427. ),
  1428. 'start-index' => array(
  1429. 'location' => 'query',
  1430. 'type' => 'integer',
  1431. ),
  1432. ),
  1433. ),
  1434. )
  1435. )
  1436. );
  1437. $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource(
  1438. $this,
  1439. $this->serviceName,
  1440. 'unsampledReports',
  1441. array(
  1442. 'methods' => array(
  1443. 'get' => array(
  1444. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',
  1445. 'httpMethod' => 'GET',
  1446. 'parameters' => array(
  1447. 'accountId' => array(
  1448. 'location' => 'path',
  1449. 'type' => 'string',
  1450. 'required' => true,
  1451. ),
  1452. 'webPropertyId' => array(
  1453. 'location' => 'path',
  1454. 'type' => 'string',
  1455. 'required' => true,
  1456. ),
  1457. 'profileId' => array(
  1458. 'location' => 'path',
  1459. 'type' => 'string',
  1460. 'required' => true,
  1461. ),
  1462. 'unsampledReportId' => array(
  1463. 'location' => 'path',
  1464. 'type' => 'string',
  1465. 'required' => true,
  1466. ),
  1467. ),
  1468. ),'insert' => array(
  1469. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
  1470. 'httpMethod' => 'POST',
  1471. 'parameters' => array(
  1472. 'accountId' => array(
  1473. 'location' => 'path',
  1474. 'type' => 'string',
  1475. 'required' => true,
  1476. ),
  1477. 'webPropertyId' => array(
  1478. 'location' => 'path',
  1479. 'type' => 'string',
  1480. 'required' => true,
  1481. ),
  1482. 'profileId' => array(
  1483. 'location' => 'path',
  1484. 'type' => 'string',
  1485. 'required' => true,
  1486. ),
  1487. ),
  1488. ),'list' => array(
  1489. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
  1490. 'httpMethod' => 'GET',
  1491. 'parameters' => array(
  1492. 'accountId' => array(
  1493. 'location' => 'path',
  1494. 'type' => 'string',
  1495. 'required' => true,
  1496. ),
  1497. 'webPropertyId' => array(
  1498. 'location' => 'path',
  1499. 'type' => 'string',
  1500. 'required' => true,
  1501. ),
  1502. 'profileId' => array(
  1503. 'location' => 'path',
  1504. 'type' => 'string',
  1505. 'required' => true,
  1506. ),
  1507. 'max-results' => array(
  1508. 'location' => 'query',
  1509. 'type' => 'integer',
  1510. ),
  1511. 'start-index' => array(
  1512. 'location' => 'query',
  1513. 'type' => 'integer',
  1514. ),
  1515. ),
  1516. ),
  1517. )
  1518. )
  1519. );
  1520. $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource(
  1521. $this,
  1522. $this->serviceName,
  1523. 'uploads',
  1524. array(
  1525. 'methods' => array(
  1526. 'deleteUploadData' => array(
  1527. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',
  1528. 'httpMethod' => 'POST',
  1529. 'parameters' => array(
  1530. 'accountId' => array(
  1531. 'location' => 'path',
  1532. 'type' => 'string',
  1533. 'required' => true,
  1534. ),
  1535. 'webPropertyId' => array(
  1536. 'location' => 'path',
  1537. 'type' => 'string',
  1538. 'required' => true,
  1539. ),
  1540. 'customDataSourceId' => array(
  1541. 'location' => 'path',
  1542. 'type' => 'string',
  1543. 'required' => true,
  1544. ),
  1545. ),
  1546. ),'get' => array(
  1547. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',
  1548. 'httpMethod' => 'GET',
  1549. 'parameters' => array(
  1550. 'accountId' => array(
  1551. 'location' => 'path',
  1552. 'type' => 'string',
  1553. 'required' => true,
  1554. ),
  1555. 'webPropertyId' => array(
  1556. 'location' => 'path',
  1557. 'type' => 'string',
  1558. 'required' => true,
  1559. ),
  1560. 'customDataSourceId' => array(
  1561. 'location' => 'path',
  1562. 'type' => 'string',
  1563. 'required' => true,
  1564. ),
  1565. 'uploadId' => array(
  1566. 'location' => 'path',
  1567. 'type' => 'string',
  1568. 'required' => true,
  1569. ),
  1570. ),
  1571. ),'list' => array(
  1572. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
  1573. 'httpMethod' => 'GET',
  1574. 'parameters' => array(
  1575. 'accountId' => array(
  1576. 'location' => 'path',
  1577. 'type' => 'string',
  1578. 'required' => true,
  1579. ),
  1580. 'webPropertyId' => array(
  1581. 'location' => 'path',
  1582. 'type' => 'string',
  1583. 'required' => true,
  1584. ),
  1585. 'customDataSourceId' => array(
  1586. 'location' => 'path',
  1587. 'type' => 'string',
  1588. 'required' => true,
  1589. ),
  1590. 'max-results' => array(
  1591. 'location' => 'query',
  1592. 'type' => 'integer',
  1593. ),
  1594. 'start-index' => array(
  1595. 'location' => 'query',
  1596. 'type' => 'integer',
  1597. ),
  1598. ),
  1599. ),'uploadData' => array(
  1600. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
  1601. 'httpMethod' => 'POST',
  1602. 'parameters' => array(
  1603. 'accountId' => array(
  1604. 'location' => 'path',
  1605. 'type' => 'string',
  1606. 'required' => true,
  1607. ),
  1608. 'webPropertyId' => array(
  1609. 'location' => 'path',
  1610. 'type' => 'string',
  1611. 'required' => true,
  1612. ),
  1613. 'customDataSourceId' => array(
  1614. 'location' => 'path',
  1615. 'type' => 'string',
  1616. 'required' => true,
  1617. ),
  1618. ),
  1619. ),
  1620. )
  1621. )
  1622. );
  1623. $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource(
  1624. $this,
  1625. $this->serviceName,
  1626. 'webPropertyAdWordsLinks',
  1627. array(
  1628. 'methods' => array(
  1629. 'delete' => array(
  1630. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
  1631. 'httpMethod' => 'DELETE',
  1632. 'parameters' => array(
  1633. 'accountId' => array(
  1634. 'location' => 'path',
  1635. 'type' => 'string',
  1636. 'required' => true,
  1637. ),
  1638. 'webPropertyId' => array(
  1639. 'location' => 'path',
  1640. 'type' => 'string',
  1641. 'required' => true,
  1642. ),
  1643. 'webPropertyAdWordsLinkId' => array(
  1644. 'location' => 'path',
  1645. 'type' => 'string',
  1646. 'required' => true,
  1647. ),
  1648. ),
  1649. ),'get' => array(
  1650. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
  1651. 'httpMethod' => 'GET',
  1652. 'parameters' => array(
  1653. 'accountId' => array(
  1654. 'location' => 'path',
  1655. 'type' => 'string',
  1656. 'required' => true,
  1657. ),
  1658. 'webPropertyId' => array(
  1659. 'location' => 'path',
  1660. 'type' => 'string',
  1661. 'required' => true,
  1662. ),
  1663. 'webPropertyAdWordsLinkId' => array(
  1664. 'location' => 'path',
  1665. 'type' => 'string',
  1666. 'required' => true,
  1667. ),
  1668. ),
  1669. ),'insert' => array(
  1670. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
  1671. 'httpMethod' => 'POST',
  1672. 'parameters' => array(
  1673. 'accountId' => array(
  1674. 'location' => 'path',
  1675. 'type' => 'string',
  1676. 'required' => true,
  1677. ),
  1678. 'webPropertyId' => array(
  1679. 'location' => 'path',
  1680. 'type' => 'string',
  1681. 'required' => true,
  1682. ),
  1683. ),
  1684. ),'list' => array(
  1685. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
  1686. 'httpMethod' => 'GET',
  1687. 'parameters' => array(
  1688. 'accountId' => array(
  1689. 'location' => 'path',
  1690. 'type' => 'string',
  1691. 'required' => true,
  1692. ),
  1693. 'webPropertyId' => array(
  1694. 'location' => 'path',
  1695. 'type' => 'string',
  1696. 'required' => true,
  1697. ),
  1698. 'max-results' => array(
  1699. 'location' => 'query',
  1700. 'type' => 'integer',
  1701. ),
  1702. 'start-index' => array(
  1703. 'location' => 'query',
  1704. 'type' => 'integer',
  1705. ),
  1706. ),
  1707. ),'patch' => array(
  1708. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
  1709. 'httpMethod' => 'PATCH',
  1710. 'parameters' => array(
  1711. 'accountId' => array(
  1712. 'location' => 'path',
  1713. 'type' => 'string',
  1714. 'required' => true,
  1715. ),
  1716. 'webPropertyId' => array(
  1717. 'location' => 'path',
  1718. 'type' => 'string',
  1719. 'required' => true,
  1720. ),
  1721. 'webPropertyAdWordsLinkId' => array(
  1722. 'location' => 'path',
  1723. 'type' => 'string',
  1724. 'required' => true,
  1725. ),
  1726. ),
  1727. ),'update' => array(
  1728. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
  1729. 'httpMethod' => 'PUT',
  1730. 'parameters' => array(
  1731. 'accountId' => array(
  1732. 'location' => 'path',
  1733. 'type' => 'string',
  1734. 'required' => true,
  1735. ),
  1736. 'webPropertyId' => array(
  1737. 'location' => 'path',
  1738. 'type' => 'string',
  1739. 'required' => true,
  1740. ),
  1741. 'webPropertyAdWordsLinkId' => array(
  1742. 'location' => 'path',
  1743. 'type' => 'string',
  1744. 'required' => true,
  1745. ),
  1746. ),
  1747. ),
  1748. )
  1749. )
  1750. );
  1751. $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource(
  1752. $this,
  1753. $this->serviceName,
  1754. 'webproperties',
  1755. array(
  1756. 'methods' => array(
  1757. 'get' => array(
  1758. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
  1759. 'httpMethod' => 'GET',
  1760. 'parameters' => array(
  1761. 'accountId' => array(
  1762. 'location' => 'path',
  1763. 'type' => 'string',
  1764. 'required' => true,
  1765. ),
  1766. 'webPropertyId' => array(
  1767. 'location' => 'path',
  1768. 'type' => 'string',
  1769. 'required' => true,
  1770. ),
  1771. ),
  1772. ),'insert' => array(
  1773. 'path' => 'management/accounts/{accountId}/webproperties',
  1774. 'httpMethod' => 'POST',
  1775. 'parameters' => array(
  1776. 'accountId' => array(
  1777. 'location' => 'path',
  1778. 'type' => 'string',
  1779. 'required' => true,
  1780. ),
  1781. ),
  1782. ),'list' => array(
  1783. 'path' => 'management/accounts/{accountId}/webproperties',
  1784. 'httpMethod' => 'GET',
  1785. 'parameters' => array(
  1786. 'accountId' => array(
  1787. 'location' => 'path',
  1788. 'type' => 'string',
  1789. 'required' => true,
  1790. ),
  1791. 'max-results' => array(
  1792. 'location' => 'query',
  1793. 'type' => 'integer',
  1794. ),
  1795. 'start-index' => array(
  1796. 'location' => 'query',
  1797. 'type' => 'integer',
  1798. ),
  1799. ),
  1800. ),'patch' => array(
  1801. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
  1802. 'httpMethod' => 'PATCH',
  1803. 'parameters' => array(
  1804. 'accountId' => array(
  1805. 'location' => 'path',
  1806. 'type' => 'string',
  1807. 'required' => true,
  1808. ),
  1809. 'webPropertyId' => array(
  1810. 'location' => 'path',
  1811. 'type' => 'string',
  1812. 'required' => true,
  1813. ),
  1814. ),
  1815. ),'update' => array(
  1816. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
  1817. 'httpMethod' => 'PUT',
  1818. 'parameters' => array(
  1819. 'accountId' => array(
  1820. 'location' => 'path',
  1821. 'type' => 'string',
  1822. 'required' => true,
  1823. ),
  1824. 'webPropertyId' => array(
  1825. 'location' => 'path',
  1826. 'type' => 'string',
  1827. 'required' => true,
  1828. ),
  1829. ),
  1830. ),
  1831. )
  1832. )
  1833. );
  1834. $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource(
  1835. $this,
  1836. $this->serviceName,
  1837. 'webpropertyUserLinks',
  1838. array(
  1839. 'methods' => array(
  1840. 'delete' => array(
  1841. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
  1842. 'httpMethod' => 'DELETE',
  1843. 'parameters' => array(
  1844. 'accountId' => array(
  1845. 'location' => 'path',
  1846. 'type' => 'string',
  1847. 'required' => true,
  1848. ),
  1849. 'webPropertyId' => array(
  1850. 'location' => 'path',
  1851. 'type' => 'string',
  1852. 'required' => true,
  1853. ),
  1854. 'linkId' => array(
  1855. 'location' => 'path',
  1856. 'type' => 'string',
  1857. 'required' => true,
  1858. ),
  1859. ),
  1860. ),'insert' => array(
  1861. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
  1862. 'httpMethod' => 'POST',
  1863. 'parameters' => array(
  1864. 'accountId' => array(
  1865. 'location' => 'path',
  1866. 'type' => 'string',
  1867. 'required' => true,
  1868. ),
  1869. 'webPropertyId' => array(
  1870. 'location' => 'path',
  1871. 'type' => 'string',
  1872. 'required' => true,
  1873. ),
  1874. ),
  1875. ),'list' => array(
  1876. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
  1877. 'httpMethod' => 'GET',
  1878. 'parameters' => array(
  1879. 'accountId' => array(
  1880. 'location' => 'path',
  1881. 'type' => 'string',
  1882. 'required' => true,
  1883. ),
  1884. 'webPropertyId' => array(
  1885. 'location' => 'path',
  1886. 'type' => 'string',
  1887. 'required' => true,
  1888. ),
  1889. 'max-results' => array(
  1890. 'location' => 'query',
  1891. 'type' => 'integer',
  1892. ),
  1893. 'start-index' => array(
  1894. 'location' => 'query',
  1895. 'type' => 'integer',
  1896. ),
  1897. ),
  1898. ),'update' => array(
  1899. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
  1900. 'httpMethod' => 'PUT',
  1901. 'parameters' => array(
  1902. 'accountId' => array(
  1903. 'location' => 'path',
  1904. 'type' => 'string',
  1905. 'required' => true,
  1906. ),
  1907. 'webPropertyId' => array(
  1908. 'location' => 'path',
  1909. 'type' => 'string',
  1910. 'required' => true,
  1911. ),
  1912. 'linkId' => array(
  1913. 'location' => 'path',
  1914. 'type' => 'string',
  1915. 'required' => true,
  1916. ),
  1917. ),
  1918. ),
  1919. )
  1920. )
  1921. );
  1922. $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource(
  1923. $this,
  1924. $this->serviceName,
  1925. 'columns',
  1926. array(
  1927. 'methods' => array(
  1928. 'list' => array(
  1929. 'path' => 'metadata/{reportType}/columns',
  1930. 'httpMethod' => 'GET',
  1931. 'parameters' => array(
  1932. 'reportType' => array(
  1933. 'location' => 'path',
  1934. 'type' => 'string',
  1935. 'required' => true,
  1936. ),
  1937. ),
  1938. ),
  1939. )
  1940. )
  1941. );
  1942. $this->provisioning = new Google_Service_Analytics_Provisioning_Resource(
  1943. $this,
  1944. $this->serviceName,
  1945. 'provisioning',
  1946. array(
  1947. 'methods' => array(
  1948. 'createAccountTicket' => array(
  1949. 'path' => 'provisioning/createAccountTicket',
  1950. 'httpMethod' => 'POST',
  1951. 'parameters' => array(),
  1952. ),
  1953. )
  1954. )
  1955. );
  1956. }
  1957. }
  1958. /**
  1959. * The "data" collection of methods.
  1960. * Typical usage is:
  1961. * <code>
  1962. * $analyticsService = new Google_Service_Analytics(...);
  1963. * $data = $analyticsService->data;
  1964. * </code>
  1965. */
  1966. class Google_Service_Analytics_Data_Resource extends Google_Service_Resource
  1967. {
  1968. }
  1969. /**
  1970. * The "ga" collection of methods.
  1971. * Typical usage is:
  1972. * <code>
  1973. * $analyticsService = new Google_Service_Analytics(...);
  1974. * $ga = $analyticsService->ga;
  1975. * </code>
  1976. */
  1977. class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource
  1978. {
  1979. /**
  1980. * Returns Analytics data for a view (profile). (ga.get)
  1981. *
  1982. * @param string $ids Unique table ID for retrieving Analytics data. Table ID is
  1983. * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
  1984. * @param string $startDate Start date for fetching Analytics data. Requests can
  1985. * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
  1986. * today, yesterday, or 7daysAgo). The default value is 7daysAgo.
  1987. * @param string $endDate End date for fetching Analytics data. Request can
  1988. * should specify an end date formatted as YYYY-MM-DD, or as a relative date
  1989. * (e.g., today, yesterday, or 7daysAgo). The default value is yesterday.
  1990. * @param string $metrics A comma-separated list of Analytics metrics. E.g.,
  1991. * 'ga:sessions,ga:pageviews'. At least one metric must be specified.
  1992. * @param array $optParams Optional parameters.
  1993. *
  1994. * @opt_param int max-results The maximum number of entries to include in this
  1995. * feed.
  1996. * @opt_param string sort A comma-separated list of dimensions or metrics that
  1997. * determine the sort order for Analytics data.
  1998. * @opt_param string dimensions A comma-separated list of Analytics dimensions.
  1999. * E.g., 'ga:browser,ga:city'.
  2000. * @opt_param int start-index An index of the first entity to retrieve. Use this
  2001. * parameter as a pagination mechanism along with the max-results parameter.
  2002. * @opt_param string segment An Analytics segment to be applied to data.
  2003. * @opt_param string samplingLevel The desired sampling level.
  2004. * @opt_param string filters A comma-separated list of dimension or metric
  2005. * filters to be applied to Analytics data.
  2006. * @opt_param string output The selected format for the response. Default format
  2007. * is JSON.
  2008. * @return Google_Service_Analytics_GaData
  2009. */
  2010. public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
  2011. {
  2012. $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
  2013. $params = array_merge($params, $optParams);
  2014. return $this->call('get', array($params), "Google_Service_Analytics_GaData");
  2015. }
  2016. }
  2017. /**
  2018. * The "mcf" collection of methods.
  2019. * Typical usage is:
  2020. * <code>
  2021. * $analyticsService = new Google_Service_Analytics(...);
  2022. * $mcf = $analyticsService->mcf;
  2023. * </code>
  2024. */
  2025. class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource
  2026. {
  2027. /**
  2028. * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
  2029. *
  2030. * @param string $ids Unique table ID for retrieving Analytics data. Table ID is
  2031. * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
  2032. * @param string $startDate Start date for fetching Analytics data. Requests can
  2033. * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
  2034. * today, yesterday, or 7daysAgo). The default value is 7daysAgo.
  2035. * @param string $endDate End date for fetching Analytics data. Requests can
  2036. * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
  2037. * today, yesterday, or 7daysAgo). The default value is 7daysAgo.
  2038. * @param string $metrics A comma-separated list of Multi-Channel Funnels
  2039. * metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one
  2040. * metric must be specified.
  2041. * @param array $optParams Optional parameters.
  2042. *
  2043. * @opt_param int max-results The maximum number of entries to include in this
  2044. * feed.
  2045. * @opt_param string sort A comma-separated list of dimensions or metrics that
  2046. * determine the sort order for the Analytics data.
  2047. * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels
  2048. * dimensions. E.g., 'mcf:source,mcf:medium'.
  2049. * @opt_param int start-index An index of the first entity to retrieve. Use this
  2050. * parameter as a pagination mechanism along with the max-results parameter.
  2051. * @opt_param string samplingLevel The desired sampling level.
  2052. * @opt_param string filters A comma-separated list of dimension or metric
  2053. * filters to be applied to the Analytics data.
  2054. * @return Google_Service_Analytics_McfData
  2055. */
  2056. public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
  2057. {
  2058. $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
  2059. $params = array_merge($params, $optParams);
  2060. return $this->call('get', array($params), "Google_Service_Analytics_McfData");
  2061. }
  2062. }
  2063. /**
  2064. * The "realtime" collection of methods.
  2065. * Typical usage is:
  2066. * <code>
  2067. * $analyticsService = new Google_Service_Analytics(...);
  2068. * $realtime = $analyticsService->realtime;
  2069. * </code>
  2070. */
  2071. class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource
  2072. {
  2073. /**
  2074. * Returns real time data for a view (profile). (realtime.get)
  2075. *
  2076. * @param string $ids Unique table ID for retrieving real time data. Table ID is
  2077. * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
  2078. * @param string $metrics A comma-separated list of real time metrics. E.g.,
  2079. * 'rt:activeUsers'. At least one metric must be specified.
  2080. * @param array $optParams Optional parameters.
  2081. *
  2082. * @opt_param int max-results The maximum number of entries to include in this
  2083. * feed.
  2084. * @opt_param string sort A comma-separated list of dimensions or metrics that
  2085. * determine the sort order for real time data.
  2086. * @opt_param string dimensions A comma-separated list of real time dimensions.
  2087. * E.g., 'rt:medium,rt:city'.
  2088. * @opt_param string filters A comma-separated list of dimension or metric
  2089. * filters to be applied to real time data.
  2090. * @return Google_Service_Analytics_RealtimeData
  2091. */
  2092. public function get($ids, $metrics, $optParams = array())
  2093. {
  2094. $params = array('ids' => $ids, 'metrics' => $metrics);
  2095. $params = array_merge($params, $optParams);
  2096. return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData");
  2097. }
  2098. }
  2099. /**
  2100. * The "management" collection of methods.
  2101. * Typical usage is:
  2102. * <code>
  2103. * $analyticsService = new Google_Service_Analytics(...);
  2104. * $management = $analyticsService->management;
  2105. * </code>
  2106. */
  2107. class Google_Service_Analytics_Management_Resource extends Google_Service_Resource
  2108. {
  2109. }
  2110. /**
  2111. * The "accountSummaries" collection of methods.
  2112. * Typical usage is:
  2113. * <code>
  2114. * $analyticsService = new Google_Service_Analytics(...);
  2115. * $accountSummaries = $analyticsService->accountSummaries;
  2116. * </code>
  2117. */
  2118. class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource
  2119. {
  2120. /**
  2121. * Lists account summaries (lightweight tree comprised of
  2122. * accounts/properties/profiles) to which the user has access.
  2123. * (accountSummaries.listManagementAccountSummaries)
  2124. *
  2125. * @param array $optParams Optional parameters.
  2126. *
  2127. * @opt_param int max-results The maximum number of account summaries to include
  2128. * in this response, where the largest acceptable value is 1000.
  2129. * @opt_param int start-index An index of the first entity to retrieve. Use this
  2130. * parameter as a pagination mechanism along with the max-results parameter.
  2131. * @return Google_Service_Analytics_AccountSummaries
  2132. */
  2133. public function listManagementAccountSummaries($optParams = array())
  2134. {
  2135. $params = array();
  2136. $params = array_merge($params, $optParams);
  2137. return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
  2138. }
  2139. }
  2140. /**
  2141. * The "accountUserLinks" collection of methods.
  2142. * Typical usage is:
  2143. * <code>
  2144. * $analyticsService = new Google_Service_Analytics(...);
  2145. * $accountUserLinks = $analyticsService->accountUserLinks;
  2146. * </code>
  2147. */
  2148. class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource
  2149. {
  2150. /**
  2151. * Removes a user from the given account. (accountUserLinks.delete)
  2152. *
  2153. * @param string $accountId Account ID to delete the user link for.
  2154. * @param string $linkId Link ID to delete the user link for.
  2155. * @param array $optParams Optional parameters.
  2156. */
  2157. public function delete($accountId, $linkId, $optParams = array())
  2158. {
  2159. $params = array('accountId' => $accountId, 'linkId' => $linkId);
  2160. $params = array_merge($params, $optParams);
  2161. return $this->call('delete', array($params));
  2162. }
  2163. /**
  2164. * Adds a new user to the given account. (accountUserLinks.insert)
  2165. *
  2166. * @param string $accountId Account ID to create the user link for.
  2167. * @param Google_EntityUserLink $postBody
  2168. * @param array $optParams Optional parameters.
  2169. * @return Google_Service_Analytics_EntityUserLink
  2170. */
  2171. public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
  2172. {
  2173. $params = array('accountId' => $accountId, 'postBody' => $postBody);
  2174. $params = array_merge($params, $optParams);
  2175. return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
  2176. }
  2177. /**
  2178. * Lists account-user links for a given account.
  2179. * (accountUserLinks.listManagementAccountUserLinks)
  2180. *
  2181. * @param string $accountId Account ID to retrieve the user links for.
  2182. * @param array $optParams Optional parameters.
  2183. *
  2184. * @opt_param int max-results The maximum number of account-user links to
  2185. * include in this response.
  2186. * @opt_param int start-index An index of the first account-user link to
  2187. * retrieve. Use this parameter as a pagination mechanism along with the max-
  2188. * results parameter.
  2189. * @return Google_Service_Analytics_EntityUserLinks
  2190. */
  2191. public function listManagementAccountUserLinks($accountId, $optParams = array())
  2192. {
  2193. $params = array('accountId' => $accountId);
  2194. $params = array_merge($params, $optParams);
  2195. return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
  2196. }
  2197. /**
  2198. * Updates permissions for an existing user on the given account.
  2199. * (accountUserLinks.update)
  2200. *
  2201. * @param string $accountId Account ID to update the account-user link for.
  2202. * @param string $linkId Link ID to update the account-user link for.
  2203. * @param Google_EntityUserLink $postBody
  2204. * @param array $optParams Optional parameters.
  2205. * @return Google_Service_Analytics_EntityUserLink
  2206. */
  2207. public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
  2208. {
  2209. $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
  2210. $params = array_merge($params, $optParams);
  2211. return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
  2212. }
  2213. }
  2214. /**
  2215. * The "accounts" collection of methods.
  2216. * Typical usage is:
  2217. * <code>
  2218. * $analyticsService = new Google_Service_Analytics(...);
  2219. * $accounts = $analyticsService->accounts;
  2220. * </code>
  2221. */
  2222. class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource
  2223. {
  2224. /**
  2225. * Lists all accounts to which the user has access.
  2226. * (accounts.listManagementAccounts)
  2227. *
  2228. * @param array $optParams Optional parameters.
  2229. *
  2230. * @opt_param int max-results The maximum number of accounts to include in this
  2231. * response.
  2232. * @opt_param int start-index An index of the first account to retrieve. Use
  2233. * this parameter as a pagination mechanism along with the max-results
  2234. * parameter.
  2235. * @return Google_Service_Analytics_Accounts
  2236. */
  2237. public function listManagementAccounts($optParams = array())
  2238. {
  2239. $params = array();
  2240. $params = array_merge($params, $optParams);
  2241. return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
  2242. }
  2243. }
  2244. /**
  2245. * The "customDataSources" collection of methods.
  2246. * Typical usage is:
  2247. * <code>
  2248. * $analyticsService = new Google_Service_Analytics(...);
  2249. * $customDataSources = $analyticsService->customDataSources;
  2250. * </code>
  2251. */
  2252. class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource
  2253. {
  2254. /**
  2255. * List custom data sources to which the user has access.
  2256. * (customDataSources.listManagementCustomDataSources)
  2257. *
  2258. * @param string $accountId Account Id for the custom data sources to retrieve.
  2259. * @param string $webPropertyId Web property Id for the custom data sources to
  2260. * retrieve.
  2261. * @param array $optParams Optional parameters.
  2262. *
  2263. * @opt_param int max-results The maximum number of custom data sources to
  2264. * include in this response.
  2265. * @opt_param int start-index A 1-based index of the first custom data source to
  2266. * retrieve. Use this parameter as a pagination mechanism along with the max-
  2267. * results parameter.
  2268. * @return Google_Service_Analytics_CustomDataSources
  2269. */
  2270. public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
  2271. {
  2272. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  2273. $params = array_merge($params, $optParams);
  2274. return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources");
  2275. }
  2276. }
  2277. /**
  2278. * The "customDimensions" collection of methods.
  2279. * Typical usage is:
  2280. * <code>
  2281. * $analyticsService = new Google_Service_Analytics(...);
  2282. * $customDimensions = $analyticsService->customDimensions;
  2283. * </code>
  2284. */
  2285. class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Google_Service_Resource
  2286. {
  2287. /**
  2288. * Get a custom dimension to which the user has access. (customDimensions.get)
  2289. *
  2290. * @param string $accountId Account ID for the custom dimension to retrieve.
  2291. * @param string $webPropertyId Web property ID for the custom dimension to
  2292. * retrieve.
  2293. * @param string $customDimensionId The ID of the custom dimension to retrieve.
  2294. * @param array $optParams Optional parameters.
  2295. * @return Google_Service_Analytics_CustomDimension
  2296. */
  2297. public function get($accountId, $webPropertyId, $customDimensionId, $optParams = array())
  2298. {
  2299. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId);
  2300. $params = array_merge($params, $optParams);
  2301. return $this->call('get', array($params), "Google_Service_Analytics_CustomDimension");
  2302. }
  2303. /**
  2304. * Create a new custom dimension. (customDimensions.insert)
  2305. *
  2306. * @param string $accountId Account ID for the custom dimension to create.
  2307. * @param string $webPropertyId Web property ID for the custom dimension to
  2308. * create.
  2309. * @param Google_CustomDimension $postBody
  2310. * @param array $optParams Optional parameters.
  2311. * @return Google_Service_Analytics_CustomDimension
  2312. */
  2313. public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
  2314. {
  2315. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
  2316. $params = array_merge($params, $optParams);
  2317. return $this->call('insert', array($params), "Google_Service_Analytics_CustomDimension");
  2318. }
  2319. /**
  2320. * Lists custom dimensions to which the user has access.
  2321. * (customDimensions.listManagementCustomDimensions)
  2322. *
  2323. * @param string $accountId Account ID for the custom dimensions to retrieve.
  2324. * @param string $webPropertyId Web property ID for the custom dimensions to
  2325. * retrieve.
  2326. * @param array $optParams Optional parameters.
  2327. *
  2328. * @opt_param int max-results The maximum number of custom dimensions to include
  2329. * in this response.
  2330. * @opt_param int start-index An index of the first entity to retrieve. Use this
  2331. * parameter as a pagination mechanism along with the max-results parameter.
  2332. * @return Google_Service_Analytics_CustomDimensions
  2333. */
  2334. public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = array())
  2335. {
  2336. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  2337. $params = array_merge($params, $optParams);
  2338. return $this->call('list', array($params), "Google_Service_Analytics_CustomDimensions");
  2339. }
  2340. /**
  2341. * Updates an existing custom dimension. This method supports patch semantics.
  2342. * (customDimensions.patch)
  2343. *
  2344. * @param string $accountId Account ID for the custom dimension to update.
  2345. * @param string $webPropertyId Web property ID for the custom dimension to
  2346. * update.
  2347. * @param string $customDimensionId Custom dimension ID for the custom dimension
  2348. * to update.
  2349. * @param Google_CustomDimension $postBody
  2350. * @param array $optParams Optional parameters.
  2351. *
  2352. * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
  2353. * warnings related to the custom dimension being linked to a custom data source
  2354. * / data set.
  2355. * @return Google_Service_Analytics_CustomDimension
  2356. */
  2357. public function patch($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
  2358. {
  2359. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
  2360. $params = array_merge($params, $optParams);
  2361. return $this->call('patch', array($params), "Google_Service_Analytics_CustomDimension");
  2362. }
  2363. /**
  2364. * Updates an existing custom dimension. (customDimensions.update)
  2365. *
  2366. * @param string $accountId Account ID for the custom dimension to update.
  2367. * @param string $webPropertyId Web property ID for the custom dimension to
  2368. * update.
  2369. * @param string $customDimensionId Custom dimension ID for the custom dimension
  2370. * to update.
  2371. * @param Google_CustomDimension $postBody
  2372. * @param array $optParams Optional parameters.
  2373. *
  2374. * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
  2375. * warnings related to the custom dimension being linked to a custom data source
  2376. * / data set.
  2377. * @return Google_Service_Analytics_CustomDimension
  2378. */
  2379. public function update($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
  2380. {
  2381. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
  2382. $params = array_merge($params, $optParams);
  2383. return $this->call('update', array($params), "Google_Service_Analytics_CustomDimension");
  2384. }
  2385. }
  2386. /**
  2387. * The "customMetrics" collection of methods.
  2388. * Typical usage is:
  2389. * <code>
  2390. * $analyticsService = new Google_Service_Analytics(...);
  2391. * $customMetrics = $analyticsService->customMetrics;
  2392. * </code>
  2393. */
  2394. class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_Service_Resource
  2395. {
  2396. /**
  2397. * Get a custom metric to which the user has access. (customMetrics.get)
  2398. *
  2399. * @param string $accountId Account ID for the custom metric to retrieve.
  2400. * @param string $webPropertyId Web property ID for the custom metric to
  2401. * retrieve.
  2402. * @param string $customMetricId The ID of the custom metric to retrieve.
  2403. * @param array $optParams Optional parameters.
  2404. * @return Google_Service_Analytics_CustomMetric
  2405. */
  2406. public function get($accountId, $webPropertyId, $customMetricId, $optParams = array())
  2407. {
  2408. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId);
  2409. $params = array_merge($params, $optParams);
  2410. return $this->call('get', array($params), "Google_Service_Analytics_CustomMetric");
  2411. }
  2412. /**
  2413. * Create a new custom metric. (customMetrics.insert)
  2414. *
  2415. * @param string $accountId Account ID for the custom metric to create.
  2416. * @param string $webPropertyId Web property ID for the custom dimension to
  2417. * create.
  2418. * @param Google_CustomMetric $postBody
  2419. * @param array $optParams Optional parameters.
  2420. * @return Google_Service_Analytics_CustomMetric
  2421. */
  2422. public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
  2423. {
  2424. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
  2425. $params = array_merge($params, $optParams);
  2426. return $this->call('insert', array($params), "Google_Service_Analytics_CustomMetric");
  2427. }
  2428. /**
  2429. * Lists custom metrics to which the user has access.
  2430. * (customMetrics.listManagementCustomMetrics)
  2431. *
  2432. * @param string $accountId Account ID for the custom metrics to retrieve.
  2433. * @param string $webPropertyId Web property ID for the custom metrics to
  2434. * retrieve.
  2435. * @param array $optParams Optional parameters.
  2436. *
  2437. * @opt_param int max-results The maximum number of custom metrics to include in
  2438. * this response.
  2439. * @opt_param int start-index An index of the first entity to retrieve. Use this
  2440. * parameter as a pagination mechanism along with the max-results parameter.
  2441. * @return Google_Service_Analytics_CustomMetrics
  2442. */
  2443. public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = array())
  2444. {
  2445. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  2446. $params = array_merge($params, $optParams);
  2447. return $this->call('list', array($params), "Google_Service_Analytics_CustomMetrics");
  2448. }
  2449. /**
  2450. * Updates an existing custom metric. This method supports patch semantics.
  2451. * (customMetrics.patch)
  2452. *
  2453. * @param string $accountId Account ID for the custom metric to update.
  2454. * @param string $webPropertyId Web property ID for the custom metric to update.
  2455. * @param string $customMetricId Custom metric ID for the custom metric to
  2456. * update.
  2457. * @param Google_CustomMetric $postBody
  2458. * @param array $optParams Optional parameters.
  2459. *
  2460. * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
  2461. * warnings related to the custom metric being linked to a custom data source /
  2462. * data set.
  2463. * @return Google_Service_Analytics_CustomMetric
  2464. */
  2465. public function patch($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
  2466. {
  2467. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
  2468. $params = array_merge($params, $optParams);
  2469. return $this->call('patch', array($params), "Google_Service_Analytics_CustomMetric");
  2470. }
  2471. /**
  2472. * Updates an existing custom metric. (customMetrics.update)
  2473. *
  2474. * @param string $accountId Account ID for the custom metric to update.
  2475. * @param string $webPropertyId Web property ID for the custom metric to update.
  2476. * @param string $customMetricId Custom metric ID for the custom metric to
  2477. * update.
  2478. * @param Google_CustomMetric $postBody
  2479. * @param array $optParams Optional parameters.
  2480. *
  2481. * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
  2482. * warnings related to the custom metric being linked to a custom data source /
  2483. * data set.
  2484. * @return Google_Service_Analytics_CustomMetric
  2485. */
  2486. public function update($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
  2487. {
  2488. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
  2489. $params = array_merge($params, $optParams);
  2490. return $this->call('update', array($params), "Google_Service_Analytics_CustomMetric");
  2491. }
  2492. }
  2493. /**
  2494. * The "experiments" collection of methods.
  2495. * Typical usage is:
  2496. * <code>
  2497. * $analyticsService = new Google_Service_Analytics(...);
  2498. * $experiments = $analyticsService->experiments;
  2499. * </code>
  2500. */
  2501. class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource
  2502. {
  2503. /**
  2504. * Delete an experiment. (experiments.delete)
  2505. *
  2506. * @param string $accountId Account ID to which the experiment belongs
  2507. * @param string $webPropertyId Web property ID to which the experiment belongs
  2508. * @param string $profileId View (Profile) ID to which the experiment belongs
  2509. * @param string $experimentId ID of the experiment to delete
  2510. * @param array $optParams Optional parameters.
  2511. */
  2512. public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
  2513. {
  2514. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
  2515. $params = array_merge($params, $optParams);
  2516. return $this->call('delete', array($params));
  2517. }
  2518. /**
  2519. * Returns an experiment to which the user has access. (experiments.get)
  2520. *
  2521. * @param string $accountId Account ID to retrieve the experiment for.
  2522. * @param string $webPropertyId Web property ID to retrieve the experiment for.
  2523. * @param string $profileId View (Profile) ID to retrieve the experiment for.
  2524. * @param string $experimentId Experiment ID to retrieve the experiment for.
  2525. * @param array $optParams Optional parameters.
  2526. * @return Google_Service_Analytics_Experiment
  2527. */
  2528. public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
  2529. {
  2530. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
  2531. $params = array_merge($params, $optParams);
  2532. return $this->call('get', array($params), "Google_Service_Analytics_Experiment");
  2533. }
  2534. /**
  2535. * Create a new experiment. (experiments.insert)
  2536. *
  2537. * @param string $accountId Account ID to create the experiment for.
  2538. * @param string $webPropertyId Web property ID to create the experiment for.
  2539. * @param string $profileId View (Profile) ID to create the experiment for.
  2540. * @param Google_Experiment $postBody
  2541. * @param array $optParams Optional parameters.
  2542. * @return Google_Service_Analytics_Experiment
  2543. */
  2544. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
  2545. {
  2546. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
  2547. $params = array_merge($params, $optParams);
  2548. return $this->call('insert', array($params), "Google_Service_Analytics_Experiment");
  2549. }
  2550. /**
  2551. * Lists experiments to which the user has access.
  2552. * (experiments.listManagementExperiments)
  2553. *
  2554. * @param string $accountId Account ID to retrieve experiments for.
  2555. * @param string $webPropertyId Web property ID to retrieve experiments for.
  2556. * @param string $profileId View (Profile) ID to retrieve experiments for.
  2557. * @param array $optParams Optional parameters.
  2558. *
  2559. * @opt_param int max-results The maximum number of experiments to include in
  2560. * this response.
  2561. * @opt_param int start-index An index of the first experiment to retrieve. Use
  2562. * this parameter as a pagination mechanism along with the max-results
  2563. * parameter.
  2564. * @return Google_Service_Analytics_Experiments
  2565. */
  2566. public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
  2567. {
  2568. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  2569. $params = array_merge($params, $optParams);
  2570. return $this->call('list', array($params), "Google_Service_Analytics_Experiments");
  2571. }
  2572. /**
  2573. * Update an existing experiment. This method supports patch semantics.
  2574. * (experiments.patch)
  2575. *
  2576. * @param string $accountId Account ID of the experiment to update.
  2577. * @param string $webPropertyId Web property ID of the experiment to update.
  2578. * @param string $profileId View (Profile) ID of the experiment to update.
  2579. * @param string $experimentId Experiment ID of the experiment to update.
  2580. * @param Google_Experiment $postBody
  2581. * @param array $optParams Optional parameters.
  2582. * @return Google_Service_Analytics_Experiment
  2583. */
  2584. public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
  2585. {
  2586. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
  2587. $params = array_merge($params, $optParams);
  2588. return $this->call('patch', array($params), "Google_Service_Analytics_Experiment");
  2589. }
  2590. /**
  2591. * Update an existing experiment. (experiments.update)
  2592. *
  2593. * @param string $accountId Account ID of the experiment to update.
  2594. * @param string $webPropertyId Web property ID of the experiment to update.
  2595. * @param string $profileId View (Profile) ID of the experiment to update.
  2596. * @param string $experimentId Experiment ID of the experiment to update.
  2597. * @param Google_Experiment $postBody
  2598. * @param array $optParams Optional parameters.
  2599. * @return Google_Service_Analytics_Experiment
  2600. */
  2601. public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
  2602. {
  2603. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
  2604. $params = array_merge($params, $optParams);
  2605. return $this->call('update', array($params), "Google_Service_Analytics_Experiment");
  2606. }
  2607. }
  2608. /**
  2609. * The "filters" collection of methods.
  2610. * Typical usage is:
  2611. * <code>
  2612. * $analyticsService = new Google_Service_Analytics(...);
  2613. * $filters = $analyticsService->filters;
  2614. * </code>
  2615. */
  2616. class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service_Resource
  2617. {
  2618. /**
  2619. * Delete a filter. (filters.delete)
  2620. *
  2621. * @param string $accountId Account ID to delete the filter for.
  2622. * @param string $filterId ID of the filter to be deleted.
  2623. * @param array $optParams Optional parameters.
  2624. * @return Google_Service_Analytics_Filter
  2625. */
  2626. public function delete($accountId, $filterId, $optParams = array())
  2627. {
  2628. $params = array('accountId' => $accountId, 'filterId' => $filterId);
  2629. $params = array_merge($params, $optParams);
  2630. return $this->call('delete', array($params), "Google_Service_Analytics_Filter");
  2631. }
  2632. /**
  2633. * Returns a filters to which the user has access. (filters.get)
  2634. *
  2635. * @param string $accountId Account ID to retrieve filters for.
  2636. * @param string $filterId Filter ID to retrieve filters for.
  2637. * @param array $optParams Optional parameters.
  2638. * @return Google_Service_Analytics_Filter
  2639. */
  2640. public function get($accountId, $filterId, $optParams = array())
  2641. {
  2642. $params = array('accountId' => $accountId, 'filterId' => $filterId);
  2643. $params = array_merge($params, $optParams);
  2644. return $this->call('get', array($params), "Google_Service_Analytics_Filter");
  2645. }
  2646. /**
  2647. * Create a new filter. (filters.insert)
  2648. *
  2649. * @param string $accountId Account ID to create filter for.
  2650. * @param Google_Filter $postBody
  2651. * @param array $optParams Optional parameters.
  2652. * @return Google_Service_Analytics_Filter
  2653. */
  2654. public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array())
  2655. {
  2656. $params = array('accountId' => $accountId, 'postBody' => $postBody);
  2657. $params = array_merge($params, $optParams);
  2658. return $this->call('insert', array($params), "Google_Service_Analytics_Filter");
  2659. }
  2660. /**
  2661. * Lists all filters for an account (filters.listManagementFilters)
  2662. *
  2663. * @param string $accountId Account ID to retrieve filters for.
  2664. * @param array $optParams Optional parameters.
  2665. *
  2666. * @opt_param int max-results The maximum number of filters to include in this
  2667. * response.
  2668. * @opt_param int start-index An index of the first entity to retrieve. Use this
  2669. * parameter as a pagination mechanism along with the max-results parameter.
  2670. * @return Google_Service_Analytics_Filters
  2671. */
  2672. public function listManagementFilters($accountId, $optParams = array())
  2673. {
  2674. $params = array('accountId' => $accountId);
  2675. $params = array_merge($params, $optParams);
  2676. return $this->call('list', array($params), "Google_Service_Analytics_Filters");
  2677. }
  2678. /**
  2679. * Updates an existing filter. This method supports patch semantics.
  2680. * (filters.patch)
  2681. *
  2682. * @param string $accountId Account ID to which the filter belongs.
  2683. * @param string $filterId ID of the filter to be updated.
  2684. * @param Google_Filter $postBody
  2685. * @param array $optParams Optional parameters.
  2686. * @return Google_Service_Analytics_Filter
  2687. */
  2688. public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
  2689. {
  2690. $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
  2691. $params = array_merge($params, $optParams);
  2692. return $this->call('patch', array($params), "Google_Service_Analytics_Filter");
  2693. }
  2694. /**
  2695. * Updates an existing filter. (filters.update)
  2696. *
  2697. * @param string $accountId Account ID to which the filter belongs.
  2698. * @param string $filterId ID of the filter to be updated.
  2699. * @param Google_Filter $postBody
  2700. * @param array $optParams Optional parameters.
  2701. * @return Google_Service_Analytics_Filter
  2702. */
  2703. public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
  2704. {
  2705. $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
  2706. $params = array_merge($params, $optParams);
  2707. return $this->call('update', array($params), "Google_Service_Analytics_Filter");
  2708. }
  2709. }
  2710. /**
  2711. * The "goals" collection of methods.
  2712. * Typical usage is:
  2713. * <code>
  2714. * $analyticsService = new Google_Service_Analytics(...);
  2715. * $goals = $analyticsService->goals;
  2716. * </code>
  2717. */
  2718. class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource
  2719. {
  2720. /**
  2721. * Gets a goal to which the user has access. (goals.get)
  2722. *
  2723. * @param string $accountId Account ID to retrieve the goal for.
  2724. * @param string $webPropertyId Web property ID to retrieve the goal for.
  2725. * @param string $profileId View (Profile) ID to retrieve the goal for.
  2726. * @param string $goalId Goal ID to retrieve the goal for.
  2727. * @param array $optParams Optional parameters.
  2728. * @return Google_Service_Analytics_Goal
  2729. */
  2730. public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
  2731. {
  2732. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
  2733. $params = array_merge($params, $optParams);
  2734. return $this->call('get', array($params), "Google_Service_Analytics_Goal");
  2735. }
  2736. /**
  2737. * Create a new goal. (goals.insert)
  2738. *
  2739. * @param string $accountId Account ID to create the goal for.
  2740. * @param string $webPropertyId Web property ID to create the goal for.
  2741. * @param string $profileId View (Profile) ID to create the goal for.
  2742. * @param Google_Goal $postBody
  2743. * @param array $optParams Optional parameters.
  2744. * @return Google_Service_Analytics_Goal
  2745. */
  2746. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array())
  2747. {
  2748. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
  2749. $params = array_merge($params, $optParams);
  2750. return $this->call('insert', array($params), "Google_Service_Analytics_Goal");
  2751. }
  2752. /**
  2753. * Lists goals to which the user has access. (goals.listManagementGoals)
  2754. *
  2755. * @param string $accountId Account ID to retrieve goals for. Can either be a
  2756. * specific account ID or '~all', which refers to all the accounts that user has
  2757. * access to.
  2758. * @param string $webPropertyId Web property ID to retrieve goals for. Can
  2759. * either be a specific web property ID or '~all', which refers to all the web
  2760. * properties that user has access to.
  2761. * @param string $profileId View (Profile) ID to retrieve goals for. Can either
  2762. * be a specific view (profile) ID or '~all', which refers to all the views
  2763. * (profiles) that user has access to.
  2764. * @param array $optParams Optional parameters.
  2765. *
  2766. * @opt_param int max-results The maximum number of goals to include in this
  2767. * response.
  2768. * @opt_param int start-index An index of the first goal to retrieve. Use this
  2769. * parameter as a pagination mechanism along with the max-results parameter.
  2770. * @return Google_Service_Analytics_Goals
  2771. */
  2772. public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
  2773. {
  2774. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  2775. $params = array_merge($params, $optParams);
  2776. return $this->call('list', array($params), "Google_Service_Analytics_Goals");
  2777. }
  2778. /**
  2779. * Updates an existing view (profile). This method supports patch semantics.
  2780. * (goals.patch)
  2781. *
  2782. * @param string $accountId Account ID to update the goal.
  2783. * @param string $webPropertyId Web property ID to update the goal.
  2784. * @param string $profileId View (Profile) ID to update the goal.
  2785. * @param string $goalId Index of the goal to be updated.
  2786. * @param Google_Goal $postBody
  2787. * @param array $optParams Optional parameters.
  2788. * @return Google_Service_Analytics_Goal
  2789. */
  2790. public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
  2791. {
  2792. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
  2793. $params = array_merge($params, $optParams);
  2794. return $this->call('patch', array($params), "Google_Service_Analytics_Goal");
  2795. }
  2796. /**
  2797. * Updates an existing view (profile). (goals.update)
  2798. *
  2799. * @param string $accountId Account ID to update the goal.
  2800. * @param string $webPropertyId Web property ID to update the goal.
  2801. * @param string $profileId View (Profile) ID to update the goal.
  2802. * @param string $goalId Index of the goal to be updated.
  2803. * @param Google_Goal $postBody
  2804. * @param array $optParams Optional parameters.
  2805. * @return Google_Service_Analytics_Goal
  2806. */
  2807. public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
  2808. {
  2809. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
  2810. $params = array_merge($params, $optParams);
  2811. return $this->call('update', array($params), "Google_Service_Analytics_Goal");
  2812. }
  2813. }
  2814. /**
  2815. * The "profileFilterLinks" collection of methods.
  2816. * Typical usage is:
  2817. * <code>
  2818. * $analyticsService = new Google_Service_Analytics(...);
  2819. * $profileFilterLinks = $analyticsService->profileFilterLinks;
  2820. * </code>
  2821. */
  2822. class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Google_Service_Resource
  2823. {
  2824. /**
  2825. * Delete a profile filter link. (profileFilterLinks.delete)
  2826. *
  2827. * @param string $accountId Account ID to which the profile filter link belongs.
  2828. * @param string $webPropertyId Web property Id to which the profile filter link
  2829. * belongs.
  2830. * @param string $profileId Profile ID to which the filter link belongs.
  2831. * @param string $linkId ID of the profile filter link to delete.
  2832. * @param array $optParams Optional parameters.
  2833. */
  2834. public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
  2835. {
  2836. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
  2837. $params = array_merge($params, $optParams);
  2838. return $this->call('delete', array($params));
  2839. }
  2840. /**
  2841. * Returns a single profile filter link. (profileFilterLinks.get)
  2842. *
  2843. * @param string $accountId Account ID to retrieve profile filter link for.
  2844. * @param string $webPropertyId Web property Id to retrieve profile filter link
  2845. * for.
  2846. * @param string $profileId Profile ID to retrieve filter link for.
  2847. * @param string $linkId ID of the profile filter link.
  2848. * @param array $optParams Optional parameters.
  2849. * @return Google_Service_Analytics_ProfileFilterLink
  2850. */
  2851. public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
  2852. {
  2853. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
  2854. $params = array_merge($params, $optParams);
  2855. return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink");
  2856. }
  2857. /**
  2858. * Create a new profile filter link. (profileFilterLinks.insert)
  2859. *
  2860. * @param string $accountId Account ID to create profile filter link for.
  2861. * @param string $webPropertyId Web property Id to create profile filter link
  2862. * for.
  2863. * @param string $profileId Profile ID to create filter link for.
  2864. * @param Google_ProfileFilterLink $postBody
  2865. * @param array $optParams Optional parameters.
  2866. * @return Google_Service_Analytics_ProfileFilterLink
  2867. */
  2868. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
  2869. {
  2870. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
  2871. $params = array_merge($params, $optParams);
  2872. return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink");
  2873. }
  2874. /**
  2875. * Lists all profile filter links for a profile.
  2876. * (profileFilterLinks.listManagementProfileFilterLinks)
  2877. *
  2878. * @param string $accountId Account ID to retrieve profile filter links for.
  2879. * @param string $webPropertyId Web property Id for profile filter links for.
  2880. * Can either be a specific web property ID or '~all', which refers to all the
  2881. * web properties that user has access to.
  2882. * @param string $profileId Profile ID to retrieve filter links for. Can either
  2883. * be a specific profile ID or '~all', which refers to all the profiles that
  2884. * user has access to.
  2885. * @param array $optParams Optional parameters.
  2886. *
  2887. * @opt_param int max-results The maximum number of profile filter links to
  2888. * include in this response.
  2889. * @opt_param int start-index An index of the first entity to retrieve. Use this
  2890. * parameter as a pagination mechanism along with the max-results parameter.
  2891. * @return Google_Service_Analytics_ProfileFilterLinks
  2892. */
  2893. public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array())
  2894. {
  2895. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  2896. $params = array_merge($params, $optParams);
  2897. return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks");
  2898. }
  2899. /**
  2900. * Update an existing profile filter link. This method supports patch semantics.
  2901. * (profileFilterLinks.patch)
  2902. *
  2903. * @param string $accountId Account ID to which profile filter link belongs.
  2904. * @param string $webPropertyId Web property Id to which profile filter link
  2905. * belongs
  2906. * @param string $profileId Profile ID to which filter link belongs
  2907. * @param string $linkId ID of the profile filter link to be updated.
  2908. * @param Google_ProfileFilterLink $postBody
  2909. * @param array $optParams Optional parameters.
  2910. * @return Google_Service_Analytics_ProfileFilterLink
  2911. */
  2912. public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
  2913. {
  2914. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
  2915. $params = array_merge($params, $optParams);
  2916. return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink");
  2917. }
  2918. /**
  2919. * Update an existing profile filter link. (profileFilterLinks.update)
  2920. *
  2921. * @param string $accountId Account ID to which profile filter link belongs.
  2922. * @param string $webPropertyId Web property Id to which profile filter link
  2923. * belongs
  2924. * @param string $profileId Profile ID to which filter link belongs
  2925. * @param string $linkId ID of the profile filter link to be updated.
  2926. * @param Google_ProfileFilterLink $postBody
  2927. * @param array $optParams Optional parameters.
  2928. * @return Google_Service_Analytics_ProfileFilterLink
  2929. */
  2930. public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
  2931. {
  2932. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
  2933. $params = array_merge($params, $optParams);
  2934. return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink");
  2935. }
  2936. }
  2937. /**
  2938. * The "profileUserLinks" collection of methods.
  2939. * Typical usage is:
  2940. * <code>
  2941. * $analyticsService = new Google_Service_Analytics(...);
  2942. * $profileUserLinks = $analyticsService->profileUserLinks;
  2943. * </code>
  2944. */
  2945. class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource
  2946. {
  2947. /**
  2948. * Removes a user from the given view (profile). (profileUserLinks.delete)
  2949. *
  2950. * @param string $accountId Account ID to delete the user link for.
  2951. * @param string $webPropertyId Web Property ID to delete the user link for.
  2952. * @param string $profileId View (Profile) ID to delete the user link for.
  2953. * @param string $linkId Link ID to delete the user link for.
  2954. * @param array $optParams Optional parameters.
  2955. */
  2956. public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
  2957. {
  2958. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
  2959. $params = array_merge($params, $optParams);
  2960. return $this->call('delete', array($params));
  2961. }
  2962. /**
  2963. * Adds a new user to the given view (profile). (profileUserLinks.insert)
  2964. *
  2965. * @param string $accountId Account ID to create the user link for.
  2966. * @param string $webPropertyId Web Property ID to create the user link for.
  2967. * @param string $profileId View (Profile) ID to create the user link for.
  2968. * @param Google_EntityUserLink $postBody
  2969. * @param array $optParams Optional parameters.
  2970. * @return Google_Service_Analytics_EntityUserLink
  2971. */
  2972. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
  2973. {
  2974. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
  2975. $params = array_merge($params, $optParams);
  2976. return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
  2977. }
  2978. /**
  2979. * Lists profile-user links for a given view (profile).
  2980. * (profileUserLinks.listManagementProfileUserLinks)
  2981. *
  2982. * @param string $accountId Account ID which the given view (profile) belongs
  2983. * to.
  2984. * @param string $webPropertyId Web Property ID which the given view (profile)
  2985. * belongs to. Can either be a specific web property ID or '~all', which refers
  2986. * to all the web properties that user has access to.
  2987. * @param string $profileId View (Profile) ID to retrieve the profile-user links
  2988. * for. Can either be a specific profile ID or '~all', which refers to all the
  2989. * profiles that user has access to.
  2990. * @param array $optParams Optional parameters.
  2991. *
  2992. * @opt_param int max-results The maximum number of profile-user links to
  2993. * include in this response.
  2994. * @opt_param int start-index An index of the first profile-user link to
  2995. * retrieve. Use this parameter as a pagination mechanism along with the max-
  2996. * results parameter.
  2997. * @return Google_Service_Analytics_EntityUserLinks
  2998. */
  2999. public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
  3000. {
  3001. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  3002. $params = array_merge($params, $optParams);
  3003. return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
  3004. }
  3005. /**
  3006. * Updates permissions for an existing user on the given view (profile).
  3007. * (profileUserLinks.update)
  3008. *
  3009. * @param string $accountId Account ID to update the user link for.
  3010. * @param string $webPropertyId Web Property ID to update the user link for.
  3011. * @param string $profileId View (Profile ID) to update the user link for.
  3012. * @param string $linkId Link ID to update the user link for.
  3013. * @param Google_EntityUserLink $postBody
  3014. * @param array $optParams Optional parameters.
  3015. * @return Google_Service_Analytics_EntityUserLink
  3016. */
  3017. public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
  3018. {
  3019. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
  3020. $params = array_merge($params, $optParams);
  3021. return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
  3022. }
  3023. }
  3024. /**
  3025. * The "profiles" collection of methods.
  3026. * Typical usage is:
  3027. * <code>
  3028. * $analyticsService = new Google_Service_Analytics(...);
  3029. * $profiles = $analyticsService->profiles;
  3030. * </code>
  3031. */
  3032. class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource
  3033. {
  3034. /**
  3035. * Deletes a view (profile). (profiles.delete)
  3036. *
  3037. * @param string $accountId Account ID to delete the view (profile) for.
  3038. * @param string $webPropertyId Web property ID to delete the view (profile)
  3039. * for.
  3040. * @param string $profileId ID of the view (profile) to be deleted.
  3041. * @param array $optParams Optional parameters.
  3042. */
  3043. public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
  3044. {
  3045. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  3046. $params = array_merge($params, $optParams);
  3047. return $this->call('delete', array($params));
  3048. }
  3049. /**
  3050. * Gets a view (profile) to which the user has access. (profiles.get)
  3051. *
  3052. * @param string $accountId Account ID to retrieve the goal for.
  3053. * @param string $webPropertyId Web property ID to retrieve the goal for.
  3054. * @param string $profileId View (Profile) ID to retrieve the goal for.
  3055. * @param array $optParams Optional parameters.
  3056. * @return Google_Service_Analytics_Profile
  3057. */
  3058. public function get($accountId, $webPropertyId, $profileId, $optParams = array())
  3059. {
  3060. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  3061. $params = array_merge($params, $optParams);
  3062. return $this->call('get', array($params), "Google_Service_Analytics_Profile");
  3063. }
  3064. /**
  3065. * Create a new view (profile). (profiles.insert)
  3066. *
  3067. * @param string $accountId Account ID to create the view (profile) for.
  3068. * @param string $webPropertyId Web property ID to create the view (profile)
  3069. * for.
  3070. * @param Google_Profile $postBody
  3071. * @param array $optParams Optional parameters.
  3072. * @return Google_Service_Analytics_Profile
  3073. */
  3074. public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array())
  3075. {
  3076. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
  3077. $params = array_merge($params, $optParams);
  3078. return $this->call('insert', array($params), "Google_Service_Analytics_Profile");
  3079. }
  3080. /**
  3081. * Lists views (profiles) to which the user has access.
  3082. * (profiles.listManagementProfiles)
  3083. *
  3084. * @param string $accountId Account ID for the view (profiles) to retrieve. Can
  3085. * either be a specific account ID or '~all', which refers to all the accounts
  3086. * to which the user has access.
  3087. * @param string $webPropertyId Web property ID for the views (profiles) to
  3088. * retrieve. Can either be a specific web property ID or '~all', which refers to
  3089. * all the web properties to which the user has access.
  3090. * @param array $optParams Optional parameters.
  3091. *
  3092. * @opt_param int max-results The maximum number of views (profiles) to include
  3093. * in this response.
  3094. * @opt_param int start-index An index of the first entity to retrieve. Use this
  3095. * parameter as a pagination mechanism along with the max-results parameter.
  3096. * @return Google_Service_Analytics_Profiles
  3097. */
  3098. public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
  3099. {
  3100. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  3101. $params = array_merge($params, $optParams);
  3102. return $this->call('list', array($params), "Google_Service_Analytics_Profiles");
  3103. }
  3104. /**
  3105. * Updates an existing view (profile). This method supports patch semantics.
  3106. * (profiles.patch)
  3107. *
  3108. * @param string $accountId Account ID to which the view (profile) belongs
  3109. * @param string $webPropertyId Web property ID to which the view (profile)
  3110. * belongs
  3111. * @param string $profileId ID of the view (profile) to be updated.
  3112. * @param Google_Profile $postBody
  3113. * @param array $optParams Optional parameters.
  3114. * @return Google_Service_Analytics_Profile
  3115. */
  3116. public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
  3117. {
  3118. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
  3119. $params = array_merge($params, $optParams);
  3120. return $this->call('patch', array($params), "Google_Service_Analytics_Profile");
  3121. }
  3122. /**
  3123. * Updates an existing view (profile). (profiles.update)
  3124. *
  3125. * @param string $accountId Account ID to which the view (profile) belongs
  3126. * @param string $webPropertyId Web property ID to which the view (profile)
  3127. * belongs
  3128. * @param string $profileId ID of the view (profile) to be updated.
  3129. * @param Google_Profile $postBody
  3130. * @param array $optParams Optional parameters.
  3131. * @return Google_Service_Analytics_Profile
  3132. */
  3133. public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
  3134. {
  3135. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
  3136. $params = array_merge($params, $optParams);
  3137. return $this->call('update', array($params), "Google_Service_Analytics_Profile");
  3138. }
  3139. }
  3140. /**
  3141. * The "segments" collection of methods.
  3142. * Typical usage is:
  3143. * <code>
  3144. * $analyticsService = new Google_Service_Analytics(...);
  3145. * $segments = $analyticsService->segments;
  3146. * </code>
  3147. */
  3148. class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource
  3149. {
  3150. /**
  3151. * Lists segments to which the user has access.
  3152. * (segments.listManagementSegments)
  3153. *
  3154. * @param array $optParams Optional parameters.
  3155. *
  3156. * @opt_param int max-results The maximum number of segments to include in this
  3157. * response.
  3158. * @opt_param int start-index An index of the first segment to retrieve. Use
  3159. * this parameter as a pagination mechanism along with the max-results
  3160. * parameter.
  3161. * @return Google_Service_Analytics_Segments
  3162. */
  3163. public function listManagementSegments($optParams = array())
  3164. {
  3165. $params = array();
  3166. $params = array_merge($params, $optParams);
  3167. return $this->call('list', array($params), "Google_Service_Analytics_Segments");
  3168. }
  3169. }
  3170. /**
  3171. * The "unsampledReports" collection of methods.
  3172. * Typical usage is:
  3173. * <code>
  3174. * $analyticsService = new Google_Service_Analytics(...);
  3175. * $unsampledReports = $analyticsService->unsampledReports;
  3176. * </code>
  3177. */
  3178. class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Google_Service_Resource
  3179. {
  3180. /**
  3181. * Returns a single unsampled report. (unsampledReports.get)
  3182. *
  3183. * @param string $accountId Account ID to retrieve unsampled report for.
  3184. * @param string $webPropertyId Web property ID to retrieve unsampled reports
  3185. * for.
  3186. * @param string $profileId View (Profile) ID to retrieve unsampled report for.
  3187. * @param string $unsampledReportId ID of the unsampled report to retrieve.
  3188. * @param array $optParams Optional parameters.
  3189. * @return Google_Service_Analytics_UnsampledReport
  3190. */
  3191. public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array())
  3192. {
  3193. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId);
  3194. $params = array_merge($params, $optParams);
  3195. return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport");
  3196. }
  3197. /**
  3198. * Create a new unsampled report. (unsampledReports.insert)
  3199. *
  3200. * @param string $accountId Account ID to create the unsampled report for.
  3201. * @param string $webPropertyId Web property ID to create the unsampled report
  3202. * for.
  3203. * @param string $profileId View (Profile) ID to create the unsampled report
  3204. * for.
  3205. * @param Google_UnsampledReport $postBody
  3206. * @param array $optParams Optional parameters.
  3207. * @return Google_Service_Analytics_UnsampledReport
  3208. */
  3209. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array())
  3210. {
  3211. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
  3212. $params = array_merge($params, $optParams);
  3213. return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport");
  3214. }
  3215. /**
  3216. * Lists unsampled reports to which the user has access.
  3217. * (unsampledReports.listManagementUnsampledReports)
  3218. *
  3219. * @param string $accountId Account ID to retrieve unsampled reports for. Must
  3220. * be a specific account ID, ~all is not supported.
  3221. * @param string $webPropertyId Web property ID to retrieve unsampled reports
  3222. * for. Must be a specific web property ID, ~all is not supported.
  3223. * @param string $profileId View (Profile) ID to retrieve unsampled reports for.
  3224. * Must be a specific view (profile) ID, ~all is not supported.
  3225. * @param array $optParams Optional parameters.
  3226. *
  3227. * @opt_param int max-results The maximum number of unsampled reports to include
  3228. * in this response.
  3229. * @opt_param int start-index An index of the first unsampled report to
  3230. * retrieve. Use this parameter as a pagination mechanism along with the max-
  3231. * results parameter.
  3232. * @return Google_Service_Analytics_UnsampledReports
  3233. */
  3234. public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array())
  3235. {
  3236. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  3237. $params = array_merge($params, $optParams);
  3238. return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports");
  3239. }
  3240. }
  3241. /**
  3242. * The "uploads" collection of methods.
  3243. * Typical usage is:
  3244. * <code>
  3245. * $analyticsService = new Google_Service_Analytics(...);
  3246. * $uploads = $analyticsService->uploads;
  3247. * </code>
  3248. */
  3249. class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource
  3250. {
  3251. /**
  3252. * Delete data associated with a previous upload. (uploads.deleteUploadData)
  3253. *
  3254. * @param string $accountId Account Id for the uploads to be deleted.
  3255. * @param string $webPropertyId Web property Id for the uploads to be deleted.
  3256. * @param string $customDataSourceId Custom data source Id for the uploads to be
  3257. * deleted.
  3258. * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
  3259. * @param array $optParams Optional parameters.
  3260. */
  3261. public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
  3262. {
  3263. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
  3264. $params = array_merge($params, $optParams);
  3265. return $this->call('deleteUploadData', array($params));
  3266. }
  3267. /**
  3268. * List uploads to which the user has access. (uploads.get)
  3269. *
  3270. * @param string $accountId Account Id for the upload to retrieve.
  3271. * @param string $webPropertyId Web property Id for the upload to retrieve.
  3272. * @param string $customDataSourceId Custom data source Id for upload to
  3273. * retrieve.
  3274. * @param string $uploadId Upload Id to retrieve.
  3275. * @param array $optParams Optional parameters.
  3276. * @return Google_Service_Analytics_Upload
  3277. */
  3278. public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
  3279. {
  3280. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
  3281. $params = array_merge($params, $optParams);
  3282. return $this->call('get', array($params), "Google_Service_Analytics_Upload");
  3283. }
  3284. /**
  3285. * List uploads to which the user has access. (uploads.listManagementUploads)
  3286. *
  3287. * @param string $accountId Account Id for the uploads to retrieve.
  3288. * @param string $webPropertyId Web property Id for the uploads to retrieve.
  3289. * @param string $customDataSourceId Custom data source Id for uploads to
  3290. * retrieve.
  3291. * @param array $optParams Optional parameters.
  3292. *
  3293. * @opt_param int max-results The maximum number of uploads to include in this
  3294. * response.
  3295. * @opt_param int start-index A 1-based index of the first upload to retrieve.
  3296. * Use this parameter as a pagination mechanism along with the max-results
  3297. * parameter.
  3298. * @return Google_Service_Analytics_Uploads
  3299. */
  3300. public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
  3301. {
  3302. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
  3303. $params = array_merge($params, $optParams);
  3304. return $this->call('list', array($params), "Google_Service_Analytics_Uploads");
  3305. }
  3306. /**
  3307. * Upload data for a custom data source. (uploads.uploadData)
  3308. *
  3309. * @param string $accountId Account Id associated with the upload.
  3310. * @param string $webPropertyId Web property UA-string associated with the
  3311. * upload.
  3312. * @param string $customDataSourceId Custom data source Id to which the data
  3313. * being uploaded belongs.
  3314. * @param array $optParams Optional parameters.
  3315. * @return Google_Service_Analytics_Upload
  3316. */
  3317. public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
  3318. {
  3319. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
  3320. $params = array_merge($params, $optParams);
  3321. return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload");
  3322. }
  3323. }
  3324. /**
  3325. * The "webPropertyAdWordsLinks" collection of methods.
  3326. * Typical usage is:
  3327. * <code>
  3328. * $analyticsService = new Google_Service_Analytics(...);
  3329. * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
  3330. * </code>
  3331. */
  3332. class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Google_Service_Resource
  3333. {
  3334. /**
  3335. * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete)
  3336. *
  3337. * @param string $accountId ID of the account which the given web property
  3338. * belongs to.
  3339. * @param string $webPropertyId Web property ID to delete the AdWords link for.
  3340. * @param string $webPropertyAdWordsLinkId Web property AdWords link ID.
  3341. * @param array $optParams Optional parameters.
  3342. */
  3343. public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
  3344. {
  3345. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
  3346. $params = array_merge($params, $optParams);
  3347. return $this->call('delete', array($params));
  3348. }
  3349. /**
  3350. * Returns a web property-AdWords link to which the user has access.
  3351. * (webPropertyAdWordsLinks.get)
  3352. *
  3353. * @param string $accountId ID of the account which the given web property
  3354. * belongs to.
  3355. * @param string $webPropertyId Web property ID to retrieve the AdWords link
  3356. * for.
  3357. * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
  3358. * @param array $optParams Optional parameters.
  3359. * @return Google_Service_Analytics_EntityAdWordsLink
  3360. */
  3361. public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
  3362. {
  3363. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
  3364. $params = array_merge($params, $optParams);
  3365. return $this->call('get', array($params), "Google_Service_Analytics_EntityAdWordsLink");
  3366. }
  3367. /**
  3368. * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert)
  3369. *
  3370. * @param string $accountId ID of the Google Analytics account to create the
  3371. * link for.
  3372. * @param string $webPropertyId Web property ID to create the link for.
  3373. * @param Google_EntityAdWordsLink $postBody
  3374. * @param array $optParams Optional parameters.
  3375. * @return Google_Service_Analytics_EntityAdWordsLink
  3376. */
  3377. public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
  3378. {
  3379. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
  3380. $params = array_merge($params, $optParams);
  3381. return $this->call('insert', array($params), "Google_Service_Analytics_EntityAdWordsLink");
  3382. }
  3383. /**
  3384. * Lists webProperty-AdWords links for a given web property.
  3385. * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks)
  3386. *
  3387. * @param string $accountId ID of the account which the given web property
  3388. * belongs to.
  3389. * @param string $webPropertyId Web property ID to retrieve the AdWords links
  3390. * for.
  3391. * @param array $optParams Optional parameters.
  3392. *
  3393. * @opt_param int max-results The maximum number of webProperty-AdWords links to
  3394. * include in this response.
  3395. * @opt_param int start-index An index of the first webProperty-AdWords link to
  3396. * retrieve. Use this parameter as a pagination mechanism along with the max-
  3397. * results parameter.
  3398. * @return Google_Service_Analytics_EntityAdWordsLinks
  3399. */
  3400. public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array())
  3401. {
  3402. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  3403. $params = array_merge($params, $optParams);
  3404. return $this->call('list', array($params), "Google_Service_Analytics_EntityAdWordsLinks");
  3405. }
  3406. /**
  3407. * Updates an existing webProperty-AdWords link. This method supports patch
  3408. * semantics. (webPropertyAdWordsLinks.patch)
  3409. *
  3410. * @param string $accountId ID of the account which the given web property
  3411. * belongs to.
  3412. * @param string $webPropertyId Web property ID to retrieve the AdWords link
  3413. * for.
  3414. * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
  3415. * @param Google_EntityAdWordsLink $postBody
  3416. * @param array $optParams Optional parameters.
  3417. * @return Google_Service_Analytics_EntityAdWordsLink
  3418. */
  3419. public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
  3420. {
  3421. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
  3422. $params = array_merge($params, $optParams);
  3423. return $this->call('patch', array($params), "Google_Service_Analytics_EntityAdWordsLink");
  3424. }
  3425. /**
  3426. * Updates an existing webProperty-AdWords link.
  3427. * (webPropertyAdWordsLinks.update)
  3428. *
  3429. * @param string $accountId ID of the account which the given web property
  3430. * belongs to.
  3431. * @param string $webPropertyId Web property ID to retrieve the AdWords link
  3432. * for.
  3433. * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
  3434. * @param Google_EntityAdWordsLink $postBody
  3435. * @param array $optParams Optional parameters.
  3436. * @return Google_Service_Analytics_EntityAdWordsLink
  3437. */
  3438. public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
  3439. {
  3440. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
  3441. $params = array_merge($params, $optParams);
  3442. return $this->call('update', array($params), "Google_Service_Analytics_EntityAdWordsLink");
  3443. }
  3444. }
  3445. /**
  3446. * The "webproperties" collection of methods.
  3447. * Typical usage is:
  3448. * <code>
  3449. * $analyticsService = new Google_Service_Analytics(...);
  3450. * $webproperties = $analyticsService->webproperties;
  3451. * </code>
  3452. */
  3453. class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource
  3454. {
  3455. /**
  3456. * Gets a web property to which the user has access. (webproperties.get)
  3457. *
  3458. * @param string $accountId Account ID to retrieve the web property for.
  3459. * @param string $webPropertyId ID to retrieve the web property for.
  3460. * @param array $optParams Optional parameters.
  3461. * @return Google_Service_Analytics_Webproperty
  3462. */
  3463. public function get($accountId, $webPropertyId, $optParams = array())
  3464. {
  3465. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  3466. $params = array_merge($params, $optParams);
  3467. return $this->call('get', array($params), "Google_Service_Analytics_Webproperty");
  3468. }
  3469. /**
  3470. * Create a new property if the account has fewer than 20 properties. Web
  3471. * properties are visible in the Google Analytics interface only if they have at
  3472. * least one profile. (webproperties.insert)
  3473. *
  3474. * @param string $accountId Account ID to create the web property for.
  3475. * @param Google_Webproperty $postBody
  3476. * @param array $optParams Optional parameters.
  3477. * @return Google_Service_Analytics_Webproperty
  3478. */
  3479. public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
  3480. {
  3481. $params = array('accountId' => $accountId, 'postBody' => $postBody);
  3482. $params = array_merge($params, $optParams);
  3483. return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty");
  3484. }
  3485. /**
  3486. * Lists web properties to which the user has access.
  3487. * (webproperties.listManagementWebproperties)
  3488. *
  3489. * @param string $accountId Account ID to retrieve web properties for. Can
  3490. * either be a specific account ID or '~all', which refers to all the accounts
  3491. * that user has access to.
  3492. * @param array $optParams Optional parameters.
  3493. *
  3494. * @opt_param int max-results The maximum number of web properties to include in
  3495. * this response.
  3496. * @opt_param int start-index An index of the first entity to retrieve. Use this
  3497. * parameter as a pagination mechanism along with the max-results parameter.
  3498. * @return Google_Service_Analytics_Webproperties
  3499. */
  3500. public function listManagementWebproperties($accountId, $optParams = array())
  3501. {
  3502. $params = array('accountId' => $accountId);
  3503. $params = array_merge($params, $optParams);
  3504. return $this->call('list', array($params), "Google_Service_Analytics_Webproperties");
  3505. }
  3506. /**
  3507. * Updates an existing web property. This method supports patch semantics.
  3508. * (webproperties.patch)
  3509. *
  3510. * @param string $accountId Account ID to which the web property belongs
  3511. * @param string $webPropertyId Web property ID
  3512. * @param Google_Webproperty $postBody
  3513. * @param array $optParams Optional parameters.
  3514. * @return Google_Service_Analytics_Webproperty
  3515. */
  3516. public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
  3517. {
  3518. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
  3519. $params = array_merge($params, $optParams);
  3520. return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty");
  3521. }
  3522. /**
  3523. * Updates an existing web property. (webproperties.update)
  3524. *
  3525. * @param string $accountId Account ID to which the web property belongs
  3526. * @param string $webPropertyId Web property ID
  3527. * @param Google_Webproperty $postBody
  3528. * @param array $optParams Optional parameters.
  3529. * @return Google_Service_Analytics_Webproperty
  3530. */
  3531. public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
  3532. {
  3533. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
  3534. $params = array_merge($params, $optParams);
  3535. return $this->call('update', array($params), "Google_Service_Analytics_Webproperty");
  3536. }
  3537. }
  3538. /**
  3539. * The "webpropertyUserLinks" collection of methods.
  3540. * Typical usage is:
  3541. * <code>
  3542. * $analyticsService = new Google_Service_Analytics(...);
  3543. * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
  3544. * </code>
  3545. */
  3546. class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource
  3547. {
  3548. /**
  3549. * Removes a user from the given web property. (webpropertyUserLinks.delete)
  3550. *
  3551. * @param string $accountId Account ID to delete the user link for.
  3552. * @param string $webPropertyId Web Property ID to delete the user link for.
  3553. * @param string $linkId Link ID to delete the user link for.
  3554. * @param array $optParams Optional parameters.
  3555. */
  3556. public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
  3557. {
  3558. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId);
  3559. $params = array_merge($params, $optParams);
  3560. return $this->call('delete', array($params));
  3561. }
  3562. /**
  3563. * Adds a new user to the given web property. (webpropertyUserLinks.insert)
  3564. *
  3565. * @param string $accountId Account ID to create the user link for.
  3566. * @param string $webPropertyId Web Property ID to create the user link for.
  3567. * @param Google_EntityUserLink $postBody
  3568. * @param array $optParams Optional parameters.
  3569. * @return Google_Service_Analytics_EntityUserLink
  3570. */
  3571. public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
  3572. {
  3573. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
  3574. $params = array_merge($params, $optParams);
  3575. return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
  3576. }
  3577. /**
  3578. * Lists webProperty-user links for a given web property.
  3579. * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
  3580. *
  3581. * @param string $accountId Account ID which the given web property belongs to.
  3582. * @param string $webPropertyId Web Property ID for the webProperty-user links
  3583. * to retrieve. Can either be a specific web property ID or '~all', which refers
  3584. * to all the web properties that user has access to.
  3585. * @param array $optParams Optional parameters.
  3586. *
  3587. * @opt_param int max-results The maximum number of webProperty-user Links to
  3588. * include in this response.
  3589. * @opt_param int start-index An index of the first webProperty-user link to
  3590. * retrieve. Use this parameter as a pagination mechanism along with the max-
  3591. * results parameter.
  3592. * @return Google_Service_Analytics_EntityUserLinks
  3593. */
  3594. public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
  3595. {
  3596. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  3597. $params = array_merge($params, $optParams);
  3598. return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
  3599. }
  3600. /**
  3601. * Updates permissions for an existing user on the given web property.
  3602. * (webpropertyUserLinks.update)
  3603. *
  3604. * @param string $accountId Account ID to update the account-user link for.
  3605. * @param string $webPropertyId Web property ID to update the account-user link
  3606. * for.
  3607. * @param string $linkId Link ID to update the account-user link for.
  3608. * @param Google_EntityUserLink $postBody
  3609. * @param array $optParams Optional parameters.
  3610. * @return Google_Service_Analytics_EntityUserLink
  3611. */
  3612. public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
  3613. {
  3614. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
  3615. $params = array_merge($params, $optParams);
  3616. return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
  3617. }
  3618. }
  3619. /**
  3620. * The "metadata" collection of methods.
  3621. * Typical usage is:
  3622. * <code>
  3623. * $analyticsService = new Google_Service_Analytics(...);
  3624. * $metadata = $analyticsService->metadata;
  3625. * </code>
  3626. */
  3627. class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource
  3628. {
  3629. }
  3630. /**
  3631. * The "columns" collection of methods.
  3632. * Typical usage is:
  3633. * <code>
  3634. * $analyticsService = new Google_Service_Analytics(...);
  3635. * $columns = $analyticsService->columns;
  3636. * </code>
  3637. */
  3638. class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource
  3639. {
  3640. /**
  3641. * Lists all columns for a report type (columns.listMetadataColumns)
  3642. *
  3643. * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga'
  3644. * corresponds to the Core Reporting API
  3645. * @param array $optParams Optional parameters.
  3646. * @return Google_Service_Analytics_Columns
  3647. */
  3648. public function listMetadataColumns($reportType, $optParams = array())
  3649. {
  3650. $params = array('reportType' => $reportType);
  3651. $params = array_merge($params, $optParams);
  3652. return $this->call('list', array($params), "Google_Service_Analytics_Columns");
  3653. }
  3654. }
  3655. /**
  3656. * The "provisioning" collection of methods.
  3657. * Typical usage is:
  3658. * <code>
  3659. * $analyticsService = new Google_Service_Analytics(...);
  3660. * $provisioning = $analyticsService->provisioning;
  3661. * </code>
  3662. */
  3663. class Google_Service_Analytics_Provisioning_Resource extends Google_Service_Resource
  3664. {
  3665. /**
  3666. * Creates an account ticket. (provisioning.createAccountTicket)
  3667. *
  3668. * @param Google_AccountTicket $postBody
  3669. * @param array $optParams Optional parameters.
  3670. * @return Google_Service_Analytics_AccountTicket
  3671. */
  3672. public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array())
  3673. {
  3674. $params = array('postBody' => $postBody);
  3675. $params = array_merge($params, $optParams);
  3676. return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket");
  3677. }
  3678. }
  3679. class Google_Service_Analytics_Account extends Google_Model
  3680. {
  3681. protected $internal_gapi_mappings = array(
  3682. );
  3683. protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
  3684. protected $childLinkDataType = '';
  3685. public $created;
  3686. public $id;
  3687. public $kind;
  3688. public $name;
  3689. protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
  3690. protected $permissionsDataType = '';
  3691. public $selfLink;
  3692. public $updated;
  3693. public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink)
  3694. {
  3695. $this->childLink = $childLink;
  3696. }
  3697. public function getChildLink()
  3698. {
  3699. return $this->childLink;
  3700. }
  3701. public function setCreated($created)
  3702. {
  3703. $this->created = $created;
  3704. }
  3705. public function getCreated()
  3706. {
  3707. return $this->created;
  3708. }
  3709. public function setId($id)
  3710. {
  3711. $this->id = $id;
  3712. }
  3713. public function getId()
  3714. {
  3715. return $this->id;
  3716. }
  3717. public function setKind($kind)
  3718. {
  3719. $this->kind = $kind;
  3720. }
  3721. public function getKind()
  3722. {
  3723. return $this->kind;
  3724. }
  3725. public function setName($name)
  3726. {
  3727. $this->name = $name;
  3728. }
  3729. public function getName()
  3730. {
  3731. return $this->name;
  3732. }
  3733. public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions)
  3734. {
  3735. $this->permissions = $permissions;
  3736. }
  3737. public function getPermissions()
  3738. {
  3739. return $this->permissions;
  3740. }
  3741. public function setSelfLink($selfLink)
  3742. {
  3743. $this->selfLink = $selfLink;
  3744. }
  3745. public function getSelfLink()
  3746. {
  3747. return $this->selfLink;
  3748. }
  3749. public function setUpdated($updated)
  3750. {
  3751. $this->updated = $updated;
  3752. }
  3753. public function getUpdated()
  3754. {
  3755. return $this->updated;
  3756. }
  3757. }
  3758. class Google_Service_Analytics_AccountChildLink extends Google_Model
  3759. {
  3760. protected $internal_gapi_mappings = array(
  3761. );
  3762. public $href;
  3763. public $type;
  3764. public function setHref($href)
  3765. {
  3766. $this->href = $href;
  3767. }
  3768. public function getHref()
  3769. {
  3770. return $this->href;
  3771. }
  3772. public function setType($type)
  3773. {
  3774. $this->type = $type;
  3775. }
  3776. public function getType()
  3777. {
  3778. return $this->type;
  3779. }
  3780. }
  3781. class Google_Service_Analytics_AccountPermissions extends Google_Collection
  3782. {
  3783. protected $collection_key = 'effective';
  3784. protected $internal_gapi_mappings = array(
  3785. );
  3786. public $effective;
  3787. public function setEffective($effective)
  3788. {
  3789. $this->effective = $effective;
  3790. }
  3791. public function getEffective()
  3792. {
  3793. return $this->effective;
  3794. }
  3795. }
  3796. class Google_Service_Analytics_AccountRef extends Google_Model
  3797. {
  3798. protected $internal_gapi_mappings = array(
  3799. );
  3800. public $href;
  3801. public $id;
  3802. public $kind;
  3803. public $name;
  3804. public function setHref($href)
  3805. {
  3806. $this->href = $href;
  3807. }
  3808. public function getHref()
  3809. {
  3810. return $this->href;
  3811. }
  3812. public function setId($id)
  3813. {
  3814. $this->id = $id;
  3815. }
  3816. public function getId()
  3817. {
  3818. return $this->id;
  3819. }
  3820. public function setKind($kind)
  3821. {
  3822. $this->kind = $kind;
  3823. }
  3824. public function getKind()
  3825. {
  3826. return $this->kind;
  3827. }
  3828. public function setName($name)
  3829. {
  3830. $this->name = $name;
  3831. }
  3832. public function getName()
  3833. {
  3834. return $this->name;
  3835. }
  3836. }
  3837. class Google_Service_Analytics_AccountSummaries extends Google_Collection
  3838. {
  3839. protected $collection_key = 'items';
  3840. protected $internal_gapi_mappings = array(
  3841. );
  3842. protected $itemsType = 'Google_Service_Analytics_AccountSummary';
  3843. protected $itemsDataType = 'array';
  3844. public $itemsPerPage;
  3845. public $kind;
  3846. public $nextLink;
  3847. public $previousLink;
  3848. public $startIndex;
  3849. public $totalResults;
  3850. public $username;
  3851. public function setItems($items)
  3852. {
  3853. $this->items = $items;
  3854. }
  3855. public function getItems()
  3856. {
  3857. return $this->items;
  3858. }
  3859. public function setItemsPerPage($itemsPerPage)
  3860. {
  3861. $this->itemsPerPage = $itemsPerPage;
  3862. }
  3863. public function getItemsPerPage()
  3864. {
  3865. return $this->itemsPerPage;
  3866. }
  3867. public function setKind($kind)
  3868. {
  3869. $this->kind = $kind;
  3870. }
  3871. public function getKind()
  3872. {
  3873. return $this->kind;
  3874. }
  3875. public function setNextLink($nextLink)
  3876. {
  3877. $this->nextLink = $nextLink;
  3878. }
  3879. public function getNextLink()
  3880. {
  3881. return $this->nextLink;
  3882. }
  3883. public function setPreviousLink($previousLink)
  3884. {
  3885. $this->previousLink = $previousLink;
  3886. }
  3887. public function getPreviousLink()
  3888. {
  3889. return $this->previousLink;
  3890. }
  3891. public function setStartIndex($startIndex)
  3892. {
  3893. $this->startIndex = $startIndex;
  3894. }
  3895. public function getStartIndex()
  3896. {
  3897. return $this->startIndex;
  3898. }
  3899. public function setTotalResults($totalResults)
  3900. {
  3901. $this->totalResults = $totalResults;
  3902. }
  3903. public function getTotalResults()
  3904. {
  3905. return $this->totalResults;
  3906. }
  3907. public function setUsername($username)
  3908. {
  3909. $this->username = $username;
  3910. }
  3911. public function getUsername()
  3912. {
  3913. return $this->username;
  3914. }
  3915. }
  3916. class Google_Service_Analytics_AccountSummary extends Google_Collection
  3917. {
  3918. protected $collection_key = 'webProperties';
  3919. protected $internal_gapi_mappings = array(
  3920. );
  3921. public $id;
  3922. public $kind;
  3923. public $name;
  3924. protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
  3925. protected $webPropertiesDataType = 'array';
  3926. public function setId($id)
  3927. {
  3928. $this->id = $id;
  3929. }
  3930. public function getId()
  3931. {
  3932. return $this->id;
  3933. }
  3934. public function setKind($kind)
  3935. {
  3936. $this->kind = $kind;
  3937. }
  3938. public function getKind()
  3939. {
  3940. return $this->kind;
  3941. }
  3942. public function setName($name)
  3943. {
  3944. $this->name = $name;
  3945. }
  3946. public function getName()
  3947. {
  3948. return $this->name;
  3949. }
  3950. public function setWebProperties($webProperties)
  3951. {
  3952. $this->webProperties = $webProperties;
  3953. }
  3954. public function getWebProperties()
  3955. {
  3956. return $this->webProperties;
  3957. }
  3958. }
  3959. class Google_Service_Analytics_AccountTicket extends Google_Model
  3960. {
  3961. protected $internal_gapi_mappings = array(
  3962. );
  3963. protected $accountType = 'Google_Service_Analytics_Account';
  3964. protected $accountDataType = '';
  3965. public $id;
  3966. public $kind;
  3967. protected $profileType = 'Google_Service_Analytics_Profile';
  3968. protected $profileDataType = '';
  3969. public $redirectUri;
  3970. protected $webpropertyType = 'Google_Service_Analytics_Webproperty';
  3971. protected $webpropertyDataType = '';
  3972. public function setAccount(Google_Service_Analytics_Account $account)
  3973. {
  3974. $this->account = $account;
  3975. }
  3976. public function getAccount()
  3977. {
  3978. return $this->account;
  3979. }
  3980. public function setId($id)
  3981. {
  3982. $this->id = $id;
  3983. }
  3984. public function getId()
  3985. {
  3986. return $this->id;
  3987. }
  3988. public function setKind($kind)
  3989. {
  3990. $this->kind = $kind;
  3991. }
  3992. public function getKind()
  3993. {
  3994. return $this->kind;
  3995. }
  3996. public function setProfile(Google_Service_Analytics_Profile $profile)
  3997. {
  3998. $this->profile = $profile;
  3999. }
  4000. public function getProfile()
  4001. {
  4002. return $this->profile;
  4003. }
  4004. public function setRedirectUri($redirectUri)
  4005. {
  4006. $this->redirectUri = $redirectUri;
  4007. }
  4008. public function getRedirectUri()
  4009. {
  4010. return $this->redirectUri;
  4011. }
  4012. public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty)
  4013. {
  4014. $this->webproperty = $webproperty;
  4015. }
  4016. public function getWebproperty()
  4017. {
  4018. return $this->webproperty;
  4019. }
  4020. }
  4021. class Google_Service_Analytics_Accounts extends Google_Collection
  4022. {
  4023. protected $collection_key = 'items';
  4024. protected $internal_gapi_mappings = array(
  4025. );
  4026. protected $itemsType = 'Google_Service_Analytics_Account';
  4027. protected $itemsDataType = 'array';
  4028. public $itemsPerPage;
  4029. public $kind;
  4030. public $nextLink;
  4031. public $previousLink;
  4032. public $startIndex;
  4033. public $totalResults;
  4034. public $username;
  4035. public function setItems($items)
  4036. {
  4037. $this->items = $items;
  4038. }
  4039. public function getItems()
  4040. {
  4041. return $this->items;
  4042. }
  4043. public function setItemsPerPage($itemsPerPage)
  4044. {
  4045. $this->itemsPerPage = $itemsPerPage;
  4046. }
  4047. public function getItemsPerPage()
  4048. {
  4049. return $this->itemsPerPage;
  4050. }
  4051. public function setKind($kind)
  4052. {
  4053. $this->kind = $kind;
  4054. }
  4055. public function getKind()
  4056. {
  4057. return $this->kind;
  4058. }
  4059. public function setNextLink($nextLink)
  4060. {
  4061. $this->nextLink = $nextLink;
  4062. }
  4063. public function getNextLink()
  4064. {
  4065. return $this->nextLink;
  4066. }
  4067. public function setPreviousLink($previousLink)
  4068. {
  4069. $this->previousLink = $previousLink;
  4070. }
  4071. public function getPreviousLink()
  4072. {
  4073. return $this->previousLink;
  4074. }
  4075. public function setStartIndex($startIndex)
  4076. {
  4077. $this->startIndex = $startIndex;
  4078. }
  4079. public function getStartIndex()
  4080. {
  4081. return $this->startIndex;
  4082. }
  4083. public function setTotalResults($totalResults)
  4084. {
  4085. $this->totalResults = $totalResults;
  4086. }
  4087. public function getTotalResults()
  4088. {
  4089. return $this->totalResults;
  4090. }
  4091. public function setUsername($username)
  4092. {
  4093. $this->username = $username;
  4094. }
  4095. public function getUsername()
  4096. {
  4097. return $this->username;
  4098. }
  4099. }
  4100. class Google_Service_Analytics_AdWordsAccount extends Google_Model
  4101. {
  4102. protected $internal_gapi_mappings = array(
  4103. );
  4104. public $autoTaggingEnabled;
  4105. public $customerId;
  4106. public $kind;
  4107. public function setAutoTaggingEnabled($autoTaggingEnabled)
  4108. {
  4109. $this->autoTaggingEnabled = $autoTaggingEnabled;
  4110. }
  4111. public function getAutoTaggingEnabled()
  4112. {
  4113. return $this->autoTaggingEnabled;
  4114. }
  4115. public function setCustomerId($customerId)
  4116. {
  4117. $this->customerId = $customerId;
  4118. }
  4119. public function getCustomerId()
  4120. {
  4121. return $this->customerId;
  4122. }
  4123. public function setKind($kind)
  4124. {
  4125. $this->kind = $kind;
  4126. }
  4127. public function getKind()
  4128. {
  4129. return $this->kind;
  4130. }
  4131. }
  4132. class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
  4133. {
  4134. protected $collection_key = 'customDataImportUids';
  4135. protected $internal_gapi_mappings = array(
  4136. );
  4137. public $customDataImportUids;
  4138. public function setCustomDataImportUids($customDataImportUids)
  4139. {
  4140. $this->customDataImportUids = $customDataImportUids;
  4141. }
  4142. public function getCustomDataImportUids()
  4143. {
  4144. return $this->customDataImportUids;
  4145. }
  4146. }
  4147. class Google_Service_Analytics_Column extends Google_Model
  4148. {
  4149. protected $internal_gapi_mappings = array(
  4150. );
  4151. public $attributes;
  4152. public $id;
  4153. public $kind;
  4154. public function setAttributes($attributes)
  4155. {
  4156. $this->attributes = $attributes;
  4157. }
  4158. public function getAttributes()
  4159. {
  4160. return $this->attributes;
  4161. }
  4162. public function setId($id)
  4163. {
  4164. $this->id = $id;
  4165. }
  4166. public function getId()
  4167. {
  4168. return $this->id;
  4169. }
  4170. public function setKind($kind)
  4171. {
  4172. $this->kind = $kind;
  4173. }
  4174. public function getKind()
  4175. {
  4176. return $this->kind;
  4177. }
  4178. }
  4179. class Google_Service_Analytics_ColumnAttributes extends Google_Model
  4180. {
  4181. }
  4182. class Google_Service_Analytics_Columns extends Google_Collection
  4183. {
  4184. protected $collection_key = 'items';
  4185. protected $internal_gapi_mappings = array(
  4186. );
  4187. public $attributeNames;
  4188. public $etag;
  4189. protected $itemsType = 'Google_Service_Analytics_Column';
  4190. protected $itemsDataType = 'array';
  4191. public $kind;
  4192. public $totalResults;
  4193. public function setAttributeNames($attributeNames)
  4194. {
  4195. $this->attributeNames = $attributeNames;
  4196. }
  4197. public function getAttributeNames()
  4198. {
  4199. return $this->attributeNames;
  4200. }
  4201. public function setEtag($etag)
  4202. {
  4203. $this->etag = $etag;
  4204. }
  4205. public function getEtag()
  4206. {
  4207. return $this->etag;
  4208. }
  4209. public function setItems($items)
  4210. {
  4211. $this->items = $items;
  4212. }
  4213. public function getItems()
  4214. {
  4215. return $this->items;
  4216. }
  4217. public function setKind($kind)
  4218. {
  4219. $this->kind = $kind;
  4220. }
  4221. public function getKind()
  4222. {
  4223. return $this->kind;
  4224. }
  4225. public function setTotalResults($totalResults)
  4226. {
  4227. $this->totalResults = $totalResults;
  4228. }
  4229. public function getTotalResults()
  4230. {
  4231. return $this->totalResults;
  4232. }
  4233. }
  4234. class Google_Service_Analytics_CustomDataSource extends Google_Collection
  4235. {
  4236. protected $collection_key = 'profilesLinked';
  4237. protected $internal_gapi_mappings = array(
  4238. );
  4239. public $accountId;
  4240. protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
  4241. protected $childLinkDataType = '';
  4242. public $created;
  4243. public $description;
  4244. public $id;
  4245. public $importBehavior;
  4246. public $kind;
  4247. public $name;
  4248. protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink';
  4249. protected $parentLinkDataType = '';
  4250. public $profilesLinked;
  4251. public $selfLink;
  4252. public $type;
  4253. public $updated;
  4254. public $uploadType;
  4255. public $webPropertyId;
  4256. public function setAccountId($accountId)
  4257. {
  4258. $this->accountId = $accountId;
  4259. }
  4260. public function getAccountId()
  4261. {
  4262. return $this->accountId;
  4263. }
  4264. public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink)
  4265. {
  4266. $this->childLink = $childLink;
  4267. }
  4268. public function getChildLink()
  4269. {
  4270. return $this->childLink;
  4271. }
  4272. public function setCreated($created)
  4273. {
  4274. $this->created = $created;
  4275. }
  4276. public function getCreated()
  4277. {
  4278. return $this->created;
  4279. }
  4280. public function setDescription($description)
  4281. {
  4282. $this->description = $description;
  4283. }
  4284. public function getDescription()
  4285. {
  4286. return $this->description;
  4287. }
  4288. public function setId($id)
  4289. {
  4290. $this->id = $id;
  4291. }
  4292. public function getId()
  4293. {
  4294. return $this->id;
  4295. }
  4296. public function setImportBehavior($importBehavior)
  4297. {
  4298. $this->importBehavior = $importBehavior;
  4299. }
  4300. public function getImportBehavior()
  4301. {
  4302. return $this->importBehavior;
  4303. }
  4304. public function setKind($kind)
  4305. {
  4306. $this->kind = $kind;
  4307. }
  4308. public function getKind()
  4309. {
  4310. return $this->kind;
  4311. }
  4312. public function setName($name)
  4313. {
  4314. $this->name = $name;
  4315. }
  4316. public function getName()
  4317. {
  4318. return $this->name;
  4319. }
  4320. public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
  4321. {
  4322. $this->parentLink = $parentLink;
  4323. }
  4324. public function getParentLink()
  4325. {
  4326. return $this->parentLink;
  4327. }
  4328. public function setProfilesLinked($profilesLinked)
  4329. {
  4330. $this->profilesLinked = $profilesLinked;
  4331. }
  4332. public function getProfilesLinked()
  4333. {
  4334. return $this->profilesLinked;
  4335. }
  4336. public function setSelfLink($selfLink)
  4337. {
  4338. $this->selfLink = $selfLink;
  4339. }
  4340. public function getSelfLink()
  4341. {
  4342. return $this->selfLink;
  4343. }
  4344. public function setType($type)
  4345. {
  4346. $this->type = $type;
  4347. }
  4348. public function getType()
  4349. {
  4350. return $this->type;
  4351. }
  4352. public function setUpdated($updated)
  4353. {
  4354. $this->updated = $updated;
  4355. }
  4356. public function getUpdated()
  4357. {
  4358. return $this->updated;
  4359. }
  4360. public function setUploadType($uploadType)
  4361. {
  4362. $this->uploadType = $uploadType;
  4363. }
  4364. public function getUploadType()
  4365. {
  4366. return $this->uploadType;
  4367. }
  4368. public function setWebPropertyId($webPropertyId)
  4369. {
  4370. $this->webPropertyId = $webPropertyId;
  4371. }
  4372. public function getWebPropertyId()
  4373. {
  4374. return $this->webPropertyId;
  4375. }
  4376. }
  4377. class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
  4378. {
  4379. protected $internal_gapi_mappings = array(
  4380. );
  4381. public $href;
  4382. public $type;
  4383. public function setHref($href)
  4384. {
  4385. $this->href = $href;
  4386. }
  4387. public function getHref()
  4388. {
  4389. return $this->href;
  4390. }
  4391. public function setType($type)
  4392. {
  4393. $this->type = $type;
  4394. }
  4395. public function getType()
  4396. {
  4397. return $this->type;
  4398. }
  4399. }
  4400. class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
  4401. {
  4402. protected $internal_gapi_mappings = array(
  4403. );
  4404. public $href;
  4405. public $type;
  4406. public function setHref($href)
  4407. {
  4408. $this->href = $href;
  4409. }
  4410. public function getHref()
  4411. {
  4412. return $this->href;
  4413. }
  4414. public function setType($type)
  4415. {
  4416. $this->type = $type;
  4417. }
  4418. public function getType()
  4419. {
  4420. return $this->type;
  4421. }
  4422. }
  4423. class Google_Service_Analytics_CustomDataSources extends Google_Collection
  4424. {
  4425. protected $collection_key = 'items';
  4426. protected $internal_gapi_mappings = array(
  4427. );
  4428. protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
  4429. protected $itemsDataType = 'array';
  4430. public $itemsPerPage;
  4431. public $kind;
  4432. public $nextLink;
  4433. public $previousLink;
  4434. public $startIndex;
  4435. public $totalResults;
  4436. public $username;
  4437. public function setItems($items)
  4438. {
  4439. $this->items = $items;
  4440. }
  4441. public function getItems()
  4442. {
  4443. return $this->items;
  4444. }
  4445. public function setItemsPerPage($itemsPerPage)
  4446. {
  4447. $this->itemsPerPage = $itemsPerPage;
  4448. }
  4449. public function getItemsPerPage()
  4450. {
  4451. return $this->itemsPerPage;
  4452. }
  4453. public function setKind($kind)
  4454. {
  4455. $this->kind = $kind;
  4456. }
  4457. public function getKind()
  4458. {
  4459. return $this->kind;
  4460. }
  4461. public function setNextLink($nextLink)
  4462. {
  4463. $this->nextLink = $nextLink;
  4464. }
  4465. public function getNextLink()
  4466. {
  4467. return $this->nextLink;
  4468. }
  4469. public function setPreviousLink($previousLink)
  4470. {
  4471. $this->previousLink = $previousLink;
  4472. }
  4473. public function getPreviousLink()
  4474. {
  4475. return $this->previousLink;
  4476. }
  4477. public function setStartIndex($startIndex)
  4478. {
  4479. $this->startIndex = $startIndex;
  4480. }
  4481. public function getStartIndex()
  4482. {
  4483. return $this->startIndex;
  4484. }
  4485. public function setTotalResults($totalResults)
  4486. {
  4487. $this->totalResults = $totalResults;
  4488. }
  4489. public function getTotalResults()
  4490. {
  4491. return $this->totalResults;
  4492. }
  4493. public function setUsername($username)
  4494. {
  4495. $this->username = $username;
  4496. }
  4497. public function getUsername()
  4498. {
  4499. return $this->username;
  4500. }
  4501. }
  4502. class Google_Service_Analytics_CustomDimension extends Google_Model
  4503. {
  4504. protected $internal_gapi_mappings = array(
  4505. );
  4506. public $accountId;
  4507. public $active;
  4508. public $created;
  4509. public $id;
  4510. public $index;
  4511. public $kind;
  4512. public $name;
  4513. protected $parentLinkType = 'Google_Service_Analytics_CustomDimensionParentLink';
  4514. protected $parentLinkDataType = '';
  4515. public $scope;
  4516. public $selfLink;
  4517. public $updated;
  4518. public $webPropertyId;
  4519. public function setAccountId($accountId)
  4520. {
  4521. $this->accountId = $accountId;
  4522. }
  4523. public function getAccountId()
  4524. {
  4525. return $this->accountId;
  4526. }
  4527. public function setActive($active)
  4528. {
  4529. $this->active = $active;
  4530. }
  4531. public function getActive()
  4532. {
  4533. return $this->active;
  4534. }
  4535. public function setCreated($created)
  4536. {
  4537. $this->created = $created;
  4538. }
  4539. public function getCreated()
  4540. {
  4541. return $this->created;
  4542. }
  4543. public function setId($id)
  4544. {
  4545. $this->id = $id;
  4546. }
  4547. public function getId()
  4548. {
  4549. return $this->id;
  4550. }
  4551. public function setIndex($index)
  4552. {
  4553. $this->index = $index;
  4554. }
  4555. public function getIndex()
  4556. {
  4557. return $this->index;
  4558. }
  4559. public function setKind($kind)
  4560. {
  4561. $this->kind = $kind;
  4562. }
  4563. public function getKind()
  4564. {
  4565. return $this->kind;
  4566. }
  4567. public function setName($name)
  4568. {
  4569. $this->name = $name;
  4570. }
  4571. public function getName()
  4572. {
  4573. return $this->name;
  4574. }
  4575. public function setParentLink(Google_Service_Analytics_CustomDimensionParentLink $parentLink)
  4576. {
  4577. $this->parentLink = $parentLink;
  4578. }
  4579. public function getParentLink()
  4580. {
  4581. return $this->parentLink;
  4582. }
  4583. public function setScope($scope)
  4584. {
  4585. $this->scope = $scope;
  4586. }
  4587. public function getScope()
  4588. {
  4589. return $this->scope;
  4590. }
  4591. public function setSelfLink($selfLink)
  4592. {
  4593. $this->selfLink = $selfLink;
  4594. }
  4595. public function getSelfLink()
  4596. {
  4597. return $this->selfLink;
  4598. }
  4599. public function setUpdated($updated)
  4600. {
  4601. $this->updated = $updated;
  4602. }
  4603. public function getUpdated()
  4604. {
  4605. return $this->updated;
  4606. }
  4607. public function setWebPropertyId($webPropertyId)
  4608. {
  4609. $this->webPropertyId = $webPropertyId;
  4610. }
  4611. public function getWebPropertyId()
  4612. {
  4613. return $this->webPropertyId;
  4614. }
  4615. }
  4616. class Google_Service_Analytics_CustomDimensionParentLink extends Google_Model
  4617. {
  4618. protected $internal_gapi_mappings = array(
  4619. );
  4620. public $href;
  4621. public $type;
  4622. public function setHref($href)
  4623. {
  4624. $this->href = $href;
  4625. }
  4626. public function getHref()
  4627. {
  4628. return $this->href;
  4629. }
  4630. public function setType($type)
  4631. {
  4632. $this->type = $type;
  4633. }
  4634. public function getType()
  4635. {
  4636. return $this->type;
  4637. }
  4638. }
  4639. class Google_Service_Analytics_CustomDimensions extends Google_Collection
  4640. {
  4641. protected $collection_key = 'items';
  4642. protected $internal_gapi_mappings = array(
  4643. );
  4644. protected $itemsType = 'Google_Service_Analytics_CustomDimension';
  4645. protected $itemsDataType = 'array';
  4646. public $itemsPerPage;
  4647. public $kind;
  4648. public $nextLink;
  4649. public $previousLink;
  4650. public $startIndex;
  4651. public $totalResults;
  4652. public $username;
  4653. public function setItems($items)
  4654. {
  4655. $this->items = $items;
  4656. }
  4657. public function getItems()
  4658. {
  4659. return $this->items;
  4660. }
  4661. public function setItemsPerPage($itemsPerPage)
  4662. {
  4663. $this->itemsPerPage = $itemsPerPage;
  4664. }
  4665. public function getItemsPerPage()
  4666. {
  4667. return $this->itemsPerPage;
  4668. }
  4669. public function setKind($kind)
  4670. {
  4671. $this->kind = $kind;
  4672. }
  4673. public function getKind()
  4674. {
  4675. return $this->kind;
  4676. }
  4677. public function setNextLink($nextLink)
  4678. {
  4679. $this->nextLink = $nextLink;
  4680. }
  4681. public function getNextLink()
  4682. {
  4683. return $this->nextLink;
  4684. }
  4685. public function setPreviousLink($previousLink)
  4686. {
  4687. $this->previousLink = $previousLink;
  4688. }
  4689. public function getPreviousLink()
  4690. {
  4691. return $this->previousLink;
  4692. }
  4693. public function setStartIndex($startIndex)
  4694. {
  4695. $this->startIndex = $startIndex;
  4696. }
  4697. public function getStartIndex()
  4698. {
  4699. return $this->startIndex;
  4700. }
  4701. public function setTotalResults($totalResults)
  4702. {
  4703. $this->totalResults = $totalResults;
  4704. }
  4705. public function getTotalResults()
  4706. {
  4707. return $this->totalResults;
  4708. }
  4709. public function setUsername($username)
  4710. {
  4711. $this->username = $username;
  4712. }
  4713. public function getUsername()
  4714. {
  4715. return $this->username;
  4716. }
  4717. }
  4718. class Google_Service_Analytics_CustomMetric extends Google_Model
  4719. {
  4720. protected $internal_gapi_mappings = array(
  4721. "maxValue" => "max_value",
  4722. "minValue" => "min_value",
  4723. );
  4724. public $accountId;
  4725. public $active;
  4726. public $created;
  4727. public $id;
  4728. public $index;
  4729. public $kind;
  4730. public $maxValue;
  4731. public $minValue;
  4732. public $name;
  4733. protected $parentLinkType = 'Google_Service_Analytics_CustomMetricParentLink';
  4734. protected $parentLinkDataType = '';
  4735. public $scope;
  4736. public $selfLink;
  4737. public $type;
  4738. public $updated;
  4739. public $webPropertyId;
  4740. public function setAccountId($accountId)
  4741. {
  4742. $this->accountId = $accountId;
  4743. }
  4744. public function getAccountId()
  4745. {
  4746. return $this->accountId;
  4747. }
  4748. public function setActive($active)
  4749. {
  4750. $this->active = $active;
  4751. }
  4752. public function getActive()
  4753. {
  4754. return $this->active;
  4755. }
  4756. public function setCreated($created)
  4757. {
  4758. $this->created = $created;
  4759. }
  4760. public function getCreated()
  4761. {
  4762. return $this->created;
  4763. }
  4764. public function setId($id)
  4765. {
  4766. $this->id = $id;
  4767. }
  4768. public function getId()
  4769. {
  4770. return $this->id;
  4771. }
  4772. public function setIndex($index)
  4773. {
  4774. $this->index = $index;
  4775. }
  4776. public function getIndex()
  4777. {
  4778. return $this->index;
  4779. }
  4780. public function setKind($kind)
  4781. {
  4782. $this->kind = $kind;
  4783. }
  4784. public function getKind()
  4785. {
  4786. return $this->kind;
  4787. }
  4788. public function setMaxValue($maxValue)
  4789. {
  4790. $this->maxValue = $maxValue;
  4791. }
  4792. public function getMaxValue()
  4793. {
  4794. return $this->maxValue;
  4795. }
  4796. public function setMinValue($minValue)
  4797. {
  4798. $this->minValue = $minValue;
  4799. }
  4800. public function getMinValue()
  4801. {
  4802. return $this->minValue;
  4803. }
  4804. public function setName($name)
  4805. {
  4806. $this->name = $name;
  4807. }
  4808. public function getName()
  4809. {
  4810. return $this->name;
  4811. }
  4812. public function setParentLink(Google_Service_Analytics_CustomMetricParentLink $parentLink)
  4813. {
  4814. $this->parentLink = $parentLink;
  4815. }
  4816. public function getParentLink()
  4817. {
  4818. return $this->parentLink;
  4819. }
  4820. public function setScope($scope)
  4821. {
  4822. $this->scope = $scope;
  4823. }
  4824. public function getScope()
  4825. {
  4826. return $this->scope;
  4827. }
  4828. public function setSelfLink($selfLink)
  4829. {
  4830. $this->selfLink = $selfLink;
  4831. }
  4832. public function getSelfLink()
  4833. {
  4834. return $this->selfLink;
  4835. }
  4836. public function setType($type)
  4837. {
  4838. $this->type = $type;
  4839. }
  4840. public function getType()
  4841. {
  4842. return $this->type;
  4843. }
  4844. public function setUpdated($updated)
  4845. {
  4846. $this->updated = $updated;
  4847. }
  4848. public function getUpdated()
  4849. {
  4850. return $this->updated;
  4851. }
  4852. public function setWebPropertyId($webPropertyId)
  4853. {
  4854. $this->webPropertyId = $webPropertyId;
  4855. }
  4856. public function getWebPropertyId()
  4857. {
  4858. return $this->webPropertyId;
  4859. }
  4860. }
  4861. class Google_Service_Analytics_CustomMetricParentLink extends Google_Model
  4862. {
  4863. protected $internal_gapi_mappings = array(
  4864. );
  4865. public $href;
  4866. public $type;
  4867. public function setHref($href)
  4868. {
  4869. $this->href = $href;
  4870. }
  4871. public function getHref()
  4872. {
  4873. return $this->href;
  4874. }
  4875. public function setType($type)
  4876. {
  4877. $this->type = $type;
  4878. }
  4879. public function getType()
  4880. {
  4881. return $this->type;
  4882. }
  4883. }
  4884. class Google_Service_Analytics_CustomMetrics extends Google_Collection
  4885. {
  4886. protected $collection_key = 'items';
  4887. protected $internal_gapi_mappings = array(
  4888. );
  4889. protected $itemsType = 'Google_Service_Analytics_CustomMetric';
  4890. protected $itemsDataType = 'array';
  4891. public $itemsPerPage;
  4892. public $kind;
  4893. public $nextLink;
  4894. public $previousLink;
  4895. public $startIndex;
  4896. public $totalResults;
  4897. public $username;
  4898. public function setItems($items)
  4899. {
  4900. $this->items = $items;
  4901. }
  4902. public function getItems()
  4903. {
  4904. return $this->items;
  4905. }
  4906. public function setItemsPerPage($itemsPerPage)
  4907. {
  4908. $this->itemsPerPage = $itemsPerPage;
  4909. }
  4910. public function getItemsPerPage()
  4911. {
  4912. return $this->itemsPerPage;
  4913. }
  4914. public function setKind($kind)
  4915. {
  4916. $this->kind = $kind;
  4917. }
  4918. public function getKind()
  4919. {
  4920. return $this->kind;
  4921. }
  4922. public function setNextLink($nextLink)
  4923. {
  4924. $this->nextLink = $nextLink;
  4925. }
  4926. public function getNextLink()
  4927. {
  4928. return $this->nextLink;
  4929. }
  4930. public function setPreviousLink($previousLink)
  4931. {
  4932. $this->previousLink = $previousLink;
  4933. }
  4934. public function getPreviousLink()
  4935. {
  4936. return $this->previousLink;
  4937. }
  4938. public function setStartIndex($startIndex)
  4939. {
  4940. $this->startIndex = $startIndex;
  4941. }
  4942. public function getStartIndex()
  4943. {
  4944. return $this->startIndex;
  4945. }
  4946. public function setTotalResults($totalResults)
  4947. {
  4948. $this->totalResults = $totalResults;
  4949. }
  4950. public function getTotalResults()
  4951. {
  4952. return $this->totalResults;
  4953. }
  4954. public function setUsername($username)
  4955. {
  4956. $this->username = $username;
  4957. }
  4958. public function getUsername()
  4959. {
  4960. return $this->username;
  4961. }
  4962. }
  4963. class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
  4964. {
  4965. protected $collection_key = 'profileIds';
  4966. protected $internal_gapi_mappings = array(
  4967. );
  4968. protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount';
  4969. protected $adWordsAccountsDataType = 'array';
  4970. protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity';
  4971. protected $entityDataType = '';
  4972. public $id;
  4973. public $kind;
  4974. public $name;
  4975. public $profileIds;
  4976. public $selfLink;
  4977. public function setAdWordsAccounts($adWordsAccounts)
  4978. {
  4979. $this->adWordsAccounts = $adWordsAccounts;
  4980. }
  4981. public function getAdWordsAccounts()
  4982. {
  4983. return $this->adWordsAccounts;
  4984. }
  4985. public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity)
  4986. {
  4987. $this->entity = $entity;
  4988. }
  4989. public function getEntity()
  4990. {
  4991. return $this->entity;
  4992. }
  4993. public function setId($id)
  4994. {
  4995. $this->id = $id;
  4996. }
  4997. public function getId()
  4998. {
  4999. return $this->id;
  5000. }
  5001. public function setKind($kind)
  5002. {
  5003. $this->kind = $kind;
  5004. }
  5005. public function getKind()
  5006. {
  5007. return $this->kind;
  5008. }
  5009. public function setName($name)
  5010. {
  5011. $this->name = $name;
  5012. }
  5013. public function getName()
  5014. {
  5015. return $this->name;
  5016. }
  5017. public function setProfileIds($profileIds)
  5018. {
  5019. $this->profileIds = $profileIds;
  5020. }
  5021. public function getProfileIds()
  5022. {
  5023. return $this->profileIds;
  5024. }
  5025. public function setSelfLink($selfLink)
  5026. {
  5027. $this->selfLink = $selfLink;
  5028. }
  5029. public function getSelfLink()
  5030. {
  5031. return $this->selfLink;
  5032. }
  5033. }
  5034. class Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model
  5035. {
  5036. protected $internal_gapi_mappings = array(
  5037. );
  5038. protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
  5039. protected $webPropertyRefDataType = '';
  5040. public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
  5041. {
  5042. $this->webPropertyRef = $webPropertyRef;
  5043. }
  5044. public function getWebPropertyRef()
  5045. {
  5046. return $this->webPropertyRef;
  5047. }
  5048. }
  5049. class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection
  5050. {
  5051. protected $collection_key = 'items';
  5052. protected $internal_gapi_mappings = array(
  5053. );
  5054. protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink';
  5055. protected $itemsDataType = 'array';
  5056. public $itemsPerPage;
  5057. public $kind;
  5058. public $nextLink;
  5059. public $previousLink;
  5060. public $startIndex;
  5061. public $totalResults;
  5062. public function setItems($items)
  5063. {
  5064. $this->items = $items;
  5065. }
  5066. public function getItems()
  5067. {
  5068. return $this->items;
  5069. }
  5070. public function setItemsPerPage($itemsPerPage)
  5071. {
  5072. $this->itemsPerPage = $itemsPerPage;
  5073. }
  5074. public function getItemsPerPage()
  5075. {
  5076. return $this->itemsPerPage;
  5077. }
  5078. public function setKind($kind)
  5079. {
  5080. $this->kind = $kind;
  5081. }
  5082. public function getKind()
  5083. {
  5084. return $this->kind;
  5085. }
  5086. public function setNextLink($nextLink)
  5087. {
  5088. $this->nextLink = $nextLink;
  5089. }
  5090. public function getNextLink()
  5091. {
  5092. return $this->nextLink;
  5093. }
  5094. public function setPreviousLink($previousLink)
  5095. {
  5096. $this->previousLink = $previousLink;
  5097. }
  5098. public function getPreviousLink()
  5099. {
  5100. return $this->previousLink;
  5101. }
  5102. public function setStartIndex($startIndex)
  5103. {
  5104. $this->startIndex = $startIndex;
  5105. }
  5106. public function getStartIndex()
  5107. {
  5108. return $this->startIndex;
  5109. }
  5110. public function setTotalResults($totalResults)
  5111. {
  5112. $this->totalResults = $totalResults;
  5113. }
  5114. public function getTotalResults()
  5115. {
  5116. return $this->totalResults;
  5117. }
  5118. }
  5119. class Google_Service_Analytics_EntityUserLink extends Google_Model
  5120. {
  5121. protected $internal_gapi_mappings = array(
  5122. );
  5123. protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
  5124. protected $entityDataType = '';
  5125. public $id;
  5126. public $kind;
  5127. protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
  5128. protected $permissionsDataType = '';
  5129. public $selfLink;
  5130. protected $userRefType = 'Google_Service_Analytics_UserRef';
  5131. protected $userRefDataType = '';
  5132. public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity)
  5133. {
  5134. $this->entity = $entity;
  5135. }
  5136. public function getEntity()
  5137. {
  5138. return $this->entity;
  5139. }
  5140. public function setId($id)
  5141. {
  5142. $this->id = $id;
  5143. }
  5144. public function getId()
  5145. {
  5146. return $this->id;
  5147. }
  5148. public function setKind($kind)
  5149. {
  5150. $this->kind = $kind;
  5151. }
  5152. public function getKind()
  5153. {
  5154. return $this->kind;
  5155. }
  5156. public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions)
  5157. {
  5158. $this->permissions = $permissions;
  5159. }
  5160. public function getPermissions()
  5161. {
  5162. return $this->permissions;
  5163. }
  5164. public function setSelfLink($selfLink)
  5165. {
  5166. $this->selfLink = $selfLink;
  5167. }
  5168. public function getSelfLink()
  5169. {
  5170. return $this->selfLink;
  5171. }
  5172. public function setUserRef(Google_Service_Analytics_UserRef $userRef)
  5173. {
  5174. $this->userRef = $userRef;
  5175. }
  5176. public function getUserRef()
  5177. {
  5178. return $this->userRef;
  5179. }
  5180. }
  5181. class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
  5182. {
  5183. protected $internal_gapi_mappings = array(
  5184. );
  5185. protected $accountRefType = 'Google_Service_Analytics_AccountRef';
  5186. protected $accountRefDataType = '';
  5187. protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
  5188. protected $profileRefDataType = '';
  5189. protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
  5190. protected $webPropertyRefDataType = '';
  5191. public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef)
  5192. {
  5193. $this->accountRef = $accountRef;
  5194. }
  5195. public function getAccountRef()
  5196. {
  5197. return $this->accountRef;
  5198. }
  5199. public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
  5200. {
  5201. $this->profileRef = $profileRef;
  5202. }
  5203. public function getProfileRef()
  5204. {
  5205. return $this->profileRef;
  5206. }
  5207. public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
  5208. {
  5209. $this->webPropertyRef = $webPropertyRef;
  5210. }
  5211. public function getWebPropertyRef()
  5212. {
  5213. return $this->webPropertyRef;
  5214. }
  5215. }
  5216. class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
  5217. {
  5218. protected $collection_key = 'local';
  5219. protected $internal_gapi_mappings = array(
  5220. );
  5221. public $effective;
  5222. public $local;
  5223. public function setEffective($effective)
  5224. {
  5225. $this->effective = $effective;
  5226. }
  5227. public function getEffective()
  5228. {
  5229. return $this->effective;
  5230. }
  5231. public function setLocal($local)
  5232. {
  5233. $this->local = $local;
  5234. }
  5235. public function getLocal()
  5236. {
  5237. return $this->local;
  5238. }
  5239. }
  5240. class Google_Service_Analytics_EntityUserLinks extends Google_Collection
  5241. {
  5242. protected $collection_key = 'items';
  5243. protected $internal_gapi_mappings = array(
  5244. );
  5245. protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
  5246. protected $itemsDataType = 'array';
  5247. public $itemsPerPage;
  5248. public $kind;
  5249. public $nextLink;
  5250. public $previousLink;
  5251. public $startIndex;
  5252. public $totalResults;
  5253. public function setItems($items)
  5254. {
  5255. $this->items = $items;
  5256. }
  5257. public function getItems()
  5258. {
  5259. return $this->items;
  5260. }
  5261. public function setItemsPerPage($itemsPerPage)
  5262. {
  5263. $this->itemsPerPage = $itemsPerPage;
  5264. }
  5265. public function getItemsPerPage()
  5266. {
  5267. return $this->itemsPerPage;
  5268. }
  5269. public function setKind($kind)
  5270. {
  5271. $this->kind = $kind;
  5272. }
  5273. public function getKind()
  5274. {
  5275. return $this->kind;
  5276. }
  5277. public function setNextLink($nextLink)
  5278. {
  5279. $this->nextLink = $nextLink;
  5280. }
  5281. public function getNextLink()
  5282. {
  5283. return $this->nextLink;
  5284. }
  5285. public function setPreviousLink($previousLink)
  5286. {
  5287. $this->previousLink = $previousLink;
  5288. }
  5289. public function getPreviousLink()
  5290. {
  5291. return $this->previousLink;
  5292. }
  5293. public function setStartIndex($startIndex)
  5294. {
  5295. $this->startIndex = $startIndex;
  5296. }
  5297. public function getStartIndex()
  5298. {
  5299. return $this->startIndex;
  5300. }
  5301. public function setTotalResults($totalResults)
  5302. {
  5303. $this->totalResults = $totalResults;
  5304. }
  5305. public function getTotalResults()
  5306. {
  5307. return $this->totalResults;
  5308. }
  5309. }
  5310. class Google_Service_Analytics_Experiment extends Google_Collection
  5311. {
  5312. protected $collection_key = 'variations';
  5313. protected $internal_gapi_mappings = array(
  5314. );
  5315. public $accountId;
  5316. public $created;
  5317. public $description;
  5318. public $editableInGaUi;
  5319. public $endTime;
  5320. public $equalWeighting;
  5321. public $id;
  5322. public $internalWebPropertyId;
  5323. public $kind;
  5324. public $minimumExperimentLengthInDays;
  5325. public $name;
  5326. public $objectiveMetric;
  5327. public $optimizationType;
  5328. protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink';
  5329. protected $parentLinkDataType = '';
  5330. public $profileId;
  5331. public $reasonExperimentEnded;
  5332. public $rewriteVariationUrlsAsOriginal;
  5333. public $selfLink;
  5334. public $servingFramework;
  5335. public $snippet;
  5336. public $startTime;
  5337. public $status;
  5338. public $trafficCoverage;
  5339. public $updated;
  5340. protected $variationsType = 'Google_Service_Analytics_ExperimentVariations';
  5341. protected $variationsDataType = 'array';
  5342. public $webPropertyId;
  5343. public $winnerConfidenceLevel;
  5344. public $winnerFound;
  5345. public function setAccountId($accountId)
  5346. {
  5347. $this->accountId = $accountId;
  5348. }
  5349. public function getAccountId()
  5350. {
  5351. return $this->accountId;
  5352. }
  5353. public function setCreated($created)
  5354. {
  5355. $this->created = $created;
  5356. }
  5357. public function getCreated()
  5358. {
  5359. return $this->created;
  5360. }
  5361. public function setDescription($description)
  5362. {
  5363. $this->description = $description;
  5364. }
  5365. public function getDescription()
  5366. {
  5367. return $this->description;
  5368. }
  5369. public function setEditableInGaUi($editableInGaUi)
  5370. {
  5371. $this->editableInGaUi = $editableInGaUi;
  5372. }
  5373. public function getEditableInGaUi()
  5374. {
  5375. return $this->editableInGaUi;
  5376. }
  5377. public function setEndTime($endTime)
  5378. {
  5379. $this->endTime = $endTime;
  5380. }
  5381. public function getEndTime()
  5382. {
  5383. return $this->endTime;
  5384. }
  5385. public function setEqualWeighting($equalWeighting)
  5386. {
  5387. $this->equalWeighting = $equalWeighting;
  5388. }
  5389. public function getEqualWeighting()
  5390. {
  5391. return $this->equalWeighting;
  5392. }
  5393. public function setId($id)
  5394. {
  5395. $this->id = $id;
  5396. }
  5397. public function getId()
  5398. {
  5399. return $this->id;
  5400. }
  5401. public function setInternalWebPropertyId($internalWebPropertyId)
  5402. {
  5403. $this->internalWebPropertyId = $internalWebPropertyId;
  5404. }
  5405. public function getInternalWebPropertyId()
  5406. {
  5407. return $this->internalWebPropertyId;
  5408. }
  5409. public function setKind($kind)
  5410. {
  5411. $this->kind = $kind;
  5412. }
  5413. public function getKind()
  5414. {
  5415. return $this->kind;
  5416. }
  5417. public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
  5418. {
  5419. $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
  5420. }
  5421. public function getMinimumExperimentLengthInDays()
  5422. {
  5423. return $this->minimumExperimentLengthInDays;
  5424. }
  5425. public function setName($name)
  5426. {
  5427. $this->name = $name;
  5428. }
  5429. public function getName()
  5430. {
  5431. return $this->name;
  5432. }
  5433. public function setObjectiveMetric($objectiveMetric)
  5434. {
  5435. $this->objectiveMetric = $objectiveMetric;
  5436. }
  5437. public function getObjectiveMetric()
  5438. {
  5439. return $this->objectiveMetric;
  5440. }
  5441. public function setOptimizationType($optimizationType)
  5442. {
  5443. $this->optimizationType = $optimizationType;
  5444. }
  5445. public function getOptimizationType()
  5446. {
  5447. return $this->optimizationType;
  5448. }
  5449. public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink)
  5450. {
  5451. $this->parentLink = $parentLink;
  5452. }
  5453. public function getParentLink()
  5454. {
  5455. return $this->parentLink;
  5456. }
  5457. public function setProfileId($profileId)
  5458. {
  5459. $this->profileId = $profileId;
  5460. }
  5461. public function getProfileId()
  5462. {
  5463. return $this->profileId;
  5464. }
  5465. public function setReasonExperimentEnded($reasonExperimentEnded)
  5466. {
  5467. $this->reasonExperimentEnded = $reasonExperimentEnded;
  5468. }
  5469. public function getReasonExperimentEnded()
  5470. {
  5471. return $this->reasonExperimentEnded;
  5472. }
  5473. public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
  5474. {
  5475. $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
  5476. }
  5477. public function getRewriteVariationUrlsAsOriginal()
  5478. {
  5479. return $this->rewriteVariationUrlsAsOriginal;
  5480. }
  5481. public function setSelfLink($selfLink)
  5482. {
  5483. $this->selfLink = $selfLink;
  5484. }
  5485. public function getSelfLink()
  5486. {
  5487. return $this->selfLink;
  5488. }
  5489. public function setServingFramework($servingFramework)
  5490. {
  5491. $this->servingFramework = $servingFramework;
  5492. }
  5493. public function getServingFramework()
  5494. {
  5495. return $this->servingFramework;
  5496. }
  5497. public function setSnippet($snippet)
  5498. {
  5499. $this->snippet = $snippet;
  5500. }
  5501. public function getSnippet()
  5502. {
  5503. return $this->snippet;
  5504. }
  5505. public function setStartTime($startTime)
  5506. {
  5507. $this->startTime = $startTime;
  5508. }
  5509. public function getStartTime()
  5510. {
  5511. return $this->startTime;
  5512. }
  5513. public function setStatus($status)
  5514. {
  5515. $this->status = $status;
  5516. }
  5517. public function getStatus()
  5518. {
  5519. return $this->status;
  5520. }
  5521. public function setTrafficCoverage($trafficCoverage)
  5522. {
  5523. $this->trafficCoverage = $trafficCoverage;
  5524. }
  5525. public function getTrafficCoverage()
  5526. {
  5527. return $this->trafficCoverage;
  5528. }
  5529. public function setUpdated($updated)
  5530. {
  5531. $this->updated = $updated;
  5532. }
  5533. public function getUpdated()
  5534. {
  5535. return $this->updated;
  5536. }
  5537. public function setVariations($variations)
  5538. {
  5539. $this->variations = $variations;
  5540. }
  5541. public function getVariations()
  5542. {
  5543. return $this->variations;
  5544. }
  5545. public function setWebPropertyId($webPropertyId)
  5546. {
  5547. $this->webPropertyId = $webPropertyId;
  5548. }
  5549. public function getWebPropertyId()
  5550. {
  5551. return $this->webPropertyId;
  5552. }
  5553. public function setWinnerConfidenceLevel($winnerConfidenceLevel)
  5554. {
  5555. $this->winnerConfidenceLevel = $winnerConfidenceLevel;
  5556. }
  5557. public function getWinnerConfidenceLevel()
  5558. {
  5559. return $this->winnerConfidenceLevel;
  5560. }
  5561. public function setWinnerFound($winnerFound)
  5562. {
  5563. $this->winnerFound = $winnerFound;
  5564. }
  5565. public function getWinnerFound()
  5566. {
  5567. return $this->winnerFound;
  5568. }
  5569. }
  5570. class Google_Service_Analytics_ExperimentParentLink extends Google_Model
  5571. {
  5572. protected $internal_gapi_mappings = array(
  5573. );
  5574. public $href;
  5575. public $type;
  5576. public function setHref($href)
  5577. {
  5578. $this->href = $href;
  5579. }
  5580. public function getHref()
  5581. {
  5582. return $this->href;
  5583. }
  5584. public function setType($type)
  5585. {
  5586. $this->type = $type;
  5587. }
  5588. public function getType()
  5589. {
  5590. return $this->type;
  5591. }
  5592. }
  5593. class Google_Service_Analytics_ExperimentVariations extends Google_Model
  5594. {
  5595. protected $internal_gapi_mappings = array(
  5596. );
  5597. public $name;
  5598. public $status;
  5599. public $url;
  5600. public $weight;
  5601. public $won;
  5602. public function setName($name)
  5603. {
  5604. $this->name = $name;
  5605. }
  5606. public function getName()
  5607. {
  5608. return $this->name;
  5609. }
  5610. public function setStatus($status)
  5611. {
  5612. $this->status = $status;
  5613. }
  5614. public function getStatus()
  5615. {
  5616. return $this->status;
  5617. }
  5618. public function setUrl($url)
  5619. {
  5620. $this->url = $url;
  5621. }
  5622. public function getUrl()
  5623. {
  5624. return $this->url;
  5625. }
  5626. public function setWeight($weight)
  5627. {
  5628. $this->weight = $weight;
  5629. }
  5630. public function getWeight()
  5631. {
  5632. return $this->weight;
  5633. }
  5634. public function setWon($won)
  5635. {
  5636. $this->won = $won;
  5637. }
  5638. public function getWon()
  5639. {
  5640. return $this->won;
  5641. }
  5642. }
  5643. class Google_Service_Analytics_Experiments extends Google_Collection
  5644. {
  5645. protected $collection_key = 'items';
  5646. protected $internal_gapi_mappings = array(
  5647. );
  5648. protected $itemsType = 'Google_Service_Analytics_Experiment';
  5649. protected $itemsDataType = 'array';
  5650. public $itemsPerPage;
  5651. public $kind;
  5652. public $nextLink;
  5653. public $previousLink;
  5654. public $startIndex;
  5655. public $totalResults;
  5656. public $username;
  5657. public function setItems($items)
  5658. {
  5659. $this->items = $items;
  5660. }
  5661. public function getItems()
  5662. {
  5663. return $this->items;
  5664. }
  5665. public function setItemsPerPage($itemsPerPage)
  5666. {
  5667. $this->itemsPerPage = $itemsPerPage;
  5668. }
  5669. public function getItemsPerPage()
  5670. {
  5671. return $this->itemsPerPage;
  5672. }
  5673. public function setKind($kind)
  5674. {
  5675. $this->kind = $kind;
  5676. }
  5677. public function getKind()
  5678. {
  5679. return $this->kind;
  5680. }
  5681. public function setNextLink($nextLink)
  5682. {
  5683. $this->nextLink = $nextLink;
  5684. }
  5685. public function getNextLink()
  5686. {
  5687. return $this->nextLink;
  5688. }
  5689. public function setPreviousLink($previousLink)
  5690. {
  5691. $this->previousLink = $previousLink;
  5692. }
  5693. public function getPreviousLink()
  5694. {
  5695. return $this->previousLink;
  5696. }
  5697. public function setStartIndex($startIndex)
  5698. {
  5699. $this->startIndex = $startIndex;
  5700. }
  5701. public function getStartIndex()
  5702. {
  5703. return $this->startIndex;
  5704. }
  5705. public function setTotalResults($totalResults)
  5706. {
  5707. $this->totalResults = $totalResults;
  5708. }
  5709. public function getTotalResults()
  5710. {
  5711. return $this->totalResults;
  5712. }
  5713. public function setUsername($username)
  5714. {
  5715. $this->username = $username;
  5716. }
  5717. public function getUsername()
  5718. {
  5719. return $this->username;
  5720. }
  5721. }
  5722. class Google_Service_Analytics_Filter extends Google_Model
  5723. {
  5724. protected $internal_gapi_mappings = array(
  5725. );
  5726. public $accountId;
  5727. protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails';
  5728. protected $advancedDetailsDataType = '';
  5729. public $created;
  5730. protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression';
  5731. protected $excludeDetailsDataType = '';
  5732. public $id;
  5733. protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression';
  5734. protected $includeDetailsDataType = '';
  5735. public $kind;
  5736. protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails';
  5737. protected $lowercaseDetailsDataType = '';
  5738. public $name;
  5739. protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink';
  5740. protected $parentLinkDataType = '';
  5741. protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails';
  5742. protected $searchAndReplaceDetailsDataType = '';
  5743. public $selfLink;
  5744. public $type;
  5745. public $updated;
  5746. protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails';
  5747. protected $uppercaseDetailsDataType = '';
  5748. public function setAccountId($accountId)
  5749. {
  5750. $this->accountId = $accountId;
  5751. }
  5752. public function getAccountId()
  5753. {
  5754. return $this->accountId;
  5755. }
  5756. public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails)
  5757. {
  5758. $this->advancedDetails = $advancedDetails;
  5759. }
  5760. public function getAdvancedDetails()
  5761. {
  5762. return $this->advancedDetails;
  5763. }
  5764. public function setCreated($created)
  5765. {
  5766. $this->created = $created;
  5767. }
  5768. public function getCreated()
  5769. {
  5770. return $this->created;
  5771. }
  5772. public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails)
  5773. {
  5774. $this->excludeDetails = $excludeDetails;
  5775. }
  5776. public function getExcludeDetails()
  5777. {
  5778. return $this->excludeDetails;
  5779. }
  5780. public function setId($id)
  5781. {
  5782. $this->id = $id;
  5783. }
  5784. public function getId()
  5785. {
  5786. return $this->id;
  5787. }
  5788. public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails)
  5789. {
  5790. $this->includeDetails = $includeDetails;
  5791. }
  5792. public function getIncludeDetails()
  5793. {
  5794. return $this->includeDetails;
  5795. }
  5796. public function setKind($kind)
  5797. {
  5798. $this->kind = $kind;
  5799. }
  5800. public function getKind()
  5801. {
  5802. return $this->kind;
  5803. }
  5804. public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails)
  5805. {
  5806. $this->lowercaseDetails = $lowercaseDetails;
  5807. }
  5808. public function getLowercaseDetails()
  5809. {
  5810. return $this->lowercaseDetails;
  5811. }
  5812. public function setName($name)
  5813. {
  5814. $this->name = $name;
  5815. }
  5816. public function getName()
  5817. {
  5818. return $this->name;
  5819. }
  5820. public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink)
  5821. {
  5822. $this->parentLink = $parentLink;
  5823. }
  5824. public function getParentLink()
  5825. {
  5826. return $this->parentLink;
  5827. }
  5828. public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails)
  5829. {
  5830. $this->searchAndReplaceDetails = $searchAndReplaceDetails;
  5831. }
  5832. public function getSearchAndReplaceDetails()
  5833. {
  5834. return $this->searchAndReplaceDetails;
  5835. }
  5836. public function setSelfLink($selfLink)
  5837. {
  5838. $this->selfLink = $selfLink;
  5839. }
  5840. public function getSelfLink()
  5841. {
  5842. return $this->selfLink;
  5843. }
  5844. public function setType($type)
  5845. {
  5846. $this->type = $type;
  5847. }
  5848. public function getType()
  5849. {
  5850. return $this->type;
  5851. }
  5852. public function setUpdated($updated)
  5853. {
  5854. $this->updated = $updated;
  5855. }
  5856. public function getUpdated()
  5857. {
  5858. return $this->updated;
  5859. }
  5860. public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
  5861. {
  5862. $this->uppercaseDetails = $uppercaseDetails;
  5863. }
  5864. public function getUppercaseDetails()
  5865. {
  5866. return $this->uppercaseDetails;
  5867. }
  5868. }
  5869. class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model
  5870. {
  5871. protected $internal_gapi_mappings = array(
  5872. );
  5873. public $caseSensitive;
  5874. public $extractA;
  5875. public $extractB;
  5876. public $fieldA;
  5877. public $fieldAIndex;
  5878. public $fieldARequired;
  5879. public $fieldB;
  5880. public $fieldBIndex;
  5881. public $fieldBRequired;
  5882. public $outputConstructor;
  5883. public $outputToField;
  5884. public $outputToFieldIndex;
  5885. public $overrideOutputField;
  5886. public function setCaseSensitive($caseSensitive)
  5887. {
  5888. $this->caseSensitive = $caseSensitive;
  5889. }
  5890. public function getCaseSensitive()
  5891. {
  5892. return $this->caseSensitive;
  5893. }
  5894. public function setExtractA($extractA)
  5895. {
  5896. $this->extractA = $extractA;
  5897. }
  5898. public function getExtractA()
  5899. {
  5900. return $this->extractA;
  5901. }
  5902. public function setExtractB($extractB)
  5903. {
  5904. $this->extractB = $extractB;
  5905. }
  5906. public function getExtractB()
  5907. {
  5908. return $this->extractB;
  5909. }
  5910. public function setFieldA($fieldA)
  5911. {
  5912. $this->fieldA = $fieldA;
  5913. }
  5914. public function getFieldA()
  5915. {
  5916. return $this->fieldA;
  5917. }
  5918. public function setFieldAIndex($fieldAIndex)
  5919. {
  5920. $this->fieldAIndex = $fieldAIndex;
  5921. }
  5922. public function getFieldAIndex()
  5923. {
  5924. return $this->fieldAIndex;
  5925. }
  5926. public function setFieldARequired($fieldARequired)
  5927. {
  5928. $this->fieldARequired = $fieldARequired;
  5929. }
  5930. public function getFieldARequired()
  5931. {
  5932. return $this->fieldARequired;
  5933. }
  5934. public function setFieldB($fieldB)
  5935. {
  5936. $this->fieldB = $fieldB;
  5937. }
  5938. public function getFieldB()
  5939. {
  5940. return $this->fieldB;
  5941. }
  5942. public function setFieldBIndex($fieldBIndex)
  5943. {
  5944. $this->fieldBIndex = $fieldBIndex;
  5945. }
  5946. public function getFieldBIndex()
  5947. {
  5948. return $this->fieldBIndex;
  5949. }
  5950. public function setFieldBRequired($fieldBRequired)
  5951. {
  5952. $this->fieldBRequired = $fieldBRequired;
  5953. }
  5954. public function getFieldBRequired()
  5955. {
  5956. return $this->fieldBRequired;
  5957. }
  5958. public function setOutputConstructor($outputConstructor)
  5959. {
  5960. $this->outputConstructor = $outputConstructor;
  5961. }
  5962. public function getOutputConstructor()
  5963. {
  5964. return $this->outputConstructor;
  5965. }
  5966. public function setOutputToField($outputToField)
  5967. {
  5968. $this->outputToField = $outputToField;
  5969. }
  5970. public function getOutputToField()
  5971. {
  5972. return $this->outputToField;
  5973. }
  5974. public function setOutputToFieldIndex($outputToFieldIndex)
  5975. {
  5976. $this->outputToFieldIndex = $outputToFieldIndex;
  5977. }
  5978. public function getOutputToFieldIndex()
  5979. {
  5980. return $this->outputToFieldIndex;
  5981. }
  5982. public function setOverrideOutputField($overrideOutputField)
  5983. {
  5984. $this->overrideOutputField = $overrideOutputField;
  5985. }
  5986. public function getOverrideOutputField()
  5987. {
  5988. return $this->overrideOutputField;
  5989. }
  5990. }
  5991. class Google_Service_Analytics_FilterExpression extends Google_Model
  5992. {
  5993. protected $internal_gapi_mappings = array(
  5994. );
  5995. public $caseSensitive;
  5996. public $expressionValue;
  5997. public $field;
  5998. public $fieldIndex;
  5999. public $kind;
  6000. public $matchType;
  6001. public function setCaseSensitive($caseSensitive)
  6002. {
  6003. $this->caseSensitive = $caseSensitive;
  6004. }
  6005. public function getCaseSensitive()
  6006. {
  6007. return $this->caseSensitive;
  6008. }
  6009. public function setExpressionValue($expressionValue)
  6010. {
  6011. $this->expressionValue = $expressionValue;
  6012. }
  6013. public function getExpressionValue()
  6014. {
  6015. return $this->expressionValue;
  6016. }
  6017. public function setField($field)
  6018. {
  6019. $this->field = $field;
  6020. }
  6021. public function getField()
  6022. {
  6023. return $this->field;
  6024. }
  6025. public function setFieldIndex($fieldIndex)
  6026. {
  6027. $this->fieldIndex = $fieldIndex;
  6028. }
  6029. public function getFieldIndex()
  6030. {
  6031. return $this->fieldIndex;
  6032. }
  6033. public function setKind($kind)
  6034. {
  6035. $this->kind = $kind;
  6036. }
  6037. public function getKind()
  6038. {
  6039. return $this->kind;
  6040. }
  6041. public function setMatchType($matchType)
  6042. {
  6043. $this->matchType = $matchType;
  6044. }
  6045. public function getMatchType()
  6046. {
  6047. return $this->matchType;
  6048. }
  6049. }
  6050. class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model
  6051. {
  6052. protected $internal_gapi_mappings = array(
  6053. );
  6054. public $field;
  6055. public $fieldIndex;
  6056. public function setField($field)
  6057. {
  6058. $this->field = $field;
  6059. }
  6060. public function getField()
  6061. {
  6062. return $this->field;
  6063. }
  6064. public function setFieldIndex($fieldIndex)
  6065. {
  6066. $this->fieldIndex = $fieldIndex;
  6067. }
  6068. public function getFieldIndex()
  6069. {
  6070. return $this->fieldIndex;
  6071. }
  6072. }
  6073. class Google_Service_Analytics_FilterParentLink extends Google_Model
  6074. {
  6075. protected $internal_gapi_mappings = array(
  6076. );
  6077. public $href;
  6078. public $type;
  6079. public function setHref($href)
  6080. {
  6081. $this->href = $href;
  6082. }
  6083. public function getHref()
  6084. {
  6085. return $this->href;
  6086. }
  6087. public function setType($type)
  6088. {
  6089. $this->type = $type;
  6090. }
  6091. public function getType()
  6092. {
  6093. return $this->type;
  6094. }
  6095. }
  6096. class Google_Service_Analytics_FilterRef extends Google_Model
  6097. {
  6098. protected $internal_gapi_mappings = array(
  6099. );
  6100. public $accountId;
  6101. public $href;
  6102. public $id;
  6103. public $kind;
  6104. public $name;
  6105. public function setAccountId($accountId)
  6106. {
  6107. $this->accountId = $accountId;
  6108. }
  6109. public function getAccountId()
  6110. {
  6111. return $this->accountId;
  6112. }
  6113. public function setHref($href)
  6114. {
  6115. $this->href = $href;
  6116. }
  6117. public function getHref()
  6118. {
  6119. return $this->href;
  6120. }
  6121. public function setId($id)
  6122. {
  6123. $this->id = $id;
  6124. }
  6125. public function getId()
  6126. {
  6127. return $this->id;
  6128. }
  6129. public function setKind($kind)
  6130. {
  6131. $this->kind = $kind;
  6132. }
  6133. public function getKind()
  6134. {
  6135. return $this->kind;
  6136. }
  6137. public function setName($name)
  6138. {
  6139. $this->name = $name;
  6140. }
  6141. public function getName()
  6142. {
  6143. return $this->name;
  6144. }
  6145. }
  6146. class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model
  6147. {
  6148. protected $internal_gapi_mappings = array(
  6149. );
  6150. public $caseSensitive;
  6151. public $field;
  6152. public $fieldIndex;
  6153. public $replaceString;
  6154. public $searchString;
  6155. public function setCaseSensitive($caseSensitive)
  6156. {
  6157. $this->caseSensitive = $caseSensitive;
  6158. }
  6159. public function getCaseSensitive()
  6160. {
  6161. return $this->caseSensitive;
  6162. }
  6163. public function setField($field)
  6164. {
  6165. $this->field = $field;
  6166. }
  6167. public function getField()
  6168. {
  6169. return $this->field;
  6170. }
  6171. public function setFieldIndex($fieldIndex)
  6172. {
  6173. $this->fieldIndex = $fieldIndex;
  6174. }
  6175. public function getFieldIndex()
  6176. {
  6177. return $this->fieldIndex;
  6178. }
  6179. public function setReplaceString($replaceString)
  6180. {
  6181. $this->replaceString = $replaceString;
  6182. }
  6183. public function getReplaceString()
  6184. {
  6185. return $this->replaceString;
  6186. }
  6187. public function setSearchString($searchString)
  6188. {
  6189. $this->searchString = $searchString;
  6190. }
  6191. public function getSearchString()
  6192. {
  6193. return $this->searchString;
  6194. }
  6195. }
  6196. class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model
  6197. {
  6198. protected $internal_gapi_mappings = array(
  6199. );
  6200. public $field;
  6201. public $fieldIndex;
  6202. public function setField($field)
  6203. {
  6204. $this->field = $field;
  6205. }
  6206. public function getField()
  6207. {
  6208. return $this->field;
  6209. }
  6210. public function setFieldIndex($fieldIndex)
  6211. {
  6212. $this->fieldIndex = $fieldIndex;
  6213. }
  6214. public function getFieldIndex()
  6215. {
  6216. return $this->fieldIndex;
  6217. }
  6218. }
  6219. class Google_Service_Analytics_Filters extends Google_Collection
  6220. {
  6221. protected $collection_key = 'items';
  6222. protected $internal_gapi_mappings = array(
  6223. );
  6224. protected $itemsType = 'Google_Service_Analytics_Filter';
  6225. protected $itemsDataType = 'array';
  6226. public $itemsPerPage;
  6227. public $kind;
  6228. public $nextLink;
  6229. public $previousLink;
  6230. public $startIndex;
  6231. public $totalResults;
  6232. public $username;
  6233. public function setItems($items)
  6234. {
  6235. $this->items = $items;
  6236. }
  6237. public function getItems()
  6238. {
  6239. return $this->items;
  6240. }
  6241. public function setItemsPerPage($itemsPerPage)
  6242. {
  6243. $this->itemsPerPage = $itemsPerPage;
  6244. }
  6245. public function getItemsPerPage()
  6246. {
  6247. return $this->itemsPerPage;
  6248. }
  6249. public function setKind($kind)
  6250. {
  6251. $this->kind = $kind;
  6252. }
  6253. public function getKind()
  6254. {
  6255. return $this->kind;
  6256. }
  6257. public function setNextLink($nextLink)
  6258. {
  6259. $this->nextLink = $nextLink;
  6260. }
  6261. public function getNextLink()
  6262. {
  6263. return $this->nextLink;
  6264. }
  6265. public function setPreviousLink($previousLink)
  6266. {
  6267. $this->previousLink = $previousLink;
  6268. }
  6269. public function getPreviousLink()
  6270. {
  6271. return $this->previousLink;
  6272. }
  6273. public function setStartIndex($startIndex)
  6274. {
  6275. $this->startIndex = $startIndex;
  6276. }
  6277. public function getStartIndex()
  6278. {
  6279. return $this->startIndex;
  6280. }
  6281. public function setTotalResults($totalResults)
  6282. {
  6283. $this->totalResults = $totalResults;
  6284. }
  6285. public function getTotalResults()
  6286. {
  6287. return $this->totalResults;
  6288. }
  6289. public function setUsername($username)
  6290. {
  6291. $this->username = $username;
  6292. }
  6293. public function getUsername()
  6294. {
  6295. return $this->username;
  6296. }
  6297. }
  6298. class Google_Service_Analytics_GaData extends Google_Collection
  6299. {
  6300. protected $collection_key = 'rows';
  6301. protected $internal_gapi_mappings = array(
  6302. );
  6303. protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
  6304. protected $columnHeadersDataType = 'array';
  6305. public $containsSampledData;
  6306. protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
  6307. protected $dataTableDataType = '';
  6308. public $id;
  6309. public $itemsPerPage;
  6310. public $kind;
  6311. public $nextLink;
  6312. public $previousLink;
  6313. protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
  6314. protected $profileInfoDataType = '';
  6315. protected $queryType = 'Google_Service_Analytics_GaDataQuery';
  6316. protected $queryDataType = '';
  6317. public $rows;
  6318. public $sampleSize;
  6319. public $sampleSpace;
  6320. public $selfLink;
  6321. public $totalResults;
  6322. public $totalsForAllResults;
  6323. public function setColumnHeaders($columnHeaders)
  6324. {
  6325. $this->columnHeaders = $columnHeaders;
  6326. }
  6327. public function getColumnHeaders()
  6328. {
  6329. return $this->columnHeaders;
  6330. }
  6331. public function setContainsSampledData($containsSampledData)
  6332. {
  6333. $this->containsSampledData = $containsSampledData;
  6334. }
  6335. public function getContainsSampledData()
  6336. {
  6337. return $this->containsSampledData;
  6338. }
  6339. public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable)
  6340. {
  6341. $this->dataTable = $dataTable;
  6342. }
  6343. public function getDataTable()
  6344. {
  6345. return $this->dataTable;
  6346. }
  6347. public function setId($id)
  6348. {
  6349. $this->id = $id;
  6350. }
  6351. public function getId()
  6352. {
  6353. return $this->id;
  6354. }
  6355. public function setItemsPerPage($itemsPerPage)
  6356. {
  6357. $this->itemsPerPage = $itemsPerPage;
  6358. }
  6359. public function getItemsPerPage()
  6360. {
  6361. return $this->itemsPerPage;
  6362. }
  6363. public function setKind($kind)
  6364. {
  6365. $this->kind = $kind;
  6366. }
  6367. public function getKind()
  6368. {
  6369. return $this->kind;
  6370. }
  6371. public function setNextLink($nextLink)
  6372. {
  6373. $this->nextLink = $nextLink;
  6374. }
  6375. public function getNextLink()
  6376. {
  6377. return $this->nextLink;
  6378. }
  6379. public function setPreviousLink($previousLink)
  6380. {
  6381. $this->previousLink = $previousLink;
  6382. }
  6383. public function getPreviousLink()
  6384. {
  6385. return $this->previousLink;
  6386. }
  6387. public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
  6388. {
  6389. $this->profileInfo = $profileInfo;
  6390. }
  6391. public function getProfileInfo()
  6392. {
  6393. return $this->profileInfo;
  6394. }
  6395. public function setQuery(Google_Service_Analytics_GaDataQuery $query)
  6396. {
  6397. $this->query = $query;
  6398. }
  6399. public function getQuery()
  6400. {
  6401. return $this->query;
  6402. }
  6403. public function setRows($rows)
  6404. {
  6405. $this->rows = $rows;
  6406. }
  6407. public function getRows()
  6408. {
  6409. return $this->rows;
  6410. }
  6411. public function setSampleSize($sampleSize)
  6412. {
  6413. $this->sampleSize = $sampleSize;
  6414. }
  6415. public function getSampleSize()
  6416. {
  6417. return $this->sampleSize;
  6418. }
  6419. public function setSampleSpace($sampleSpace)
  6420. {
  6421. $this->sampleSpace = $sampleSpace;
  6422. }
  6423. public function getSampleSpace()
  6424. {
  6425. return $this->sampleSpace;
  6426. }
  6427. public function setSelfLink($selfLink)
  6428. {
  6429. $this->selfLink = $selfLink;
  6430. }
  6431. public function getSelfLink()
  6432. {
  6433. return $this->selfLink;
  6434. }
  6435. public function setTotalResults($totalResults)
  6436. {
  6437. $this->totalResults = $totalResults;
  6438. }
  6439. public function getTotalResults()
  6440. {
  6441. return $this->totalResults;
  6442. }
  6443. public function setTotalsForAllResults($totalsForAllResults)
  6444. {
  6445. $this->totalsForAllResults = $totalsForAllResults;
  6446. }
  6447. public function getTotalsForAllResults()
  6448. {
  6449. return $this->totalsForAllResults;
  6450. }
  6451. }
  6452. class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
  6453. {
  6454. protected $internal_gapi_mappings = array(
  6455. );
  6456. public $columnType;
  6457. public $dataType;
  6458. public $name;
  6459. public function setColumnType($columnType)
  6460. {
  6461. $this->columnType = $columnType;
  6462. }
  6463. public function getColumnType()
  6464. {
  6465. return $this->columnType;
  6466. }
  6467. public function setDataType($dataType)
  6468. {
  6469. $this->dataType = $dataType;
  6470. }
  6471. public function getDataType()
  6472. {
  6473. return $this->dataType;
  6474. }
  6475. public function setName($name)
  6476. {
  6477. $this->name = $name;
  6478. }
  6479. public function getName()
  6480. {
  6481. return $this->name;
  6482. }
  6483. }
  6484. class Google_Service_Analytics_GaDataDataTable extends Google_Collection
  6485. {
  6486. protected $collection_key = 'rows';
  6487. protected $internal_gapi_mappings = array(
  6488. );
  6489. protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
  6490. protected $colsDataType = 'array';
  6491. protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
  6492. protected $rowsDataType = 'array';
  6493. public function setCols($cols)
  6494. {
  6495. $this->cols = $cols;
  6496. }
  6497. public function getCols()
  6498. {
  6499. return $this->cols;
  6500. }
  6501. public function setRows($rows)
  6502. {
  6503. $this->rows = $rows;
  6504. }
  6505. public function getRows()
  6506. {
  6507. return $this->rows;
  6508. }
  6509. }
  6510. class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
  6511. {
  6512. protected $internal_gapi_mappings = array(
  6513. );
  6514. public $id;
  6515. public $label;
  6516. public $type;
  6517. public function setId($id)
  6518. {
  6519. $this->id = $id;
  6520. }
  6521. public function getId()
  6522. {
  6523. return $this->id;
  6524. }
  6525. public function setLabel($label)
  6526. {
  6527. $this->label = $label;
  6528. }
  6529. public function getLabel()
  6530. {
  6531. return $this->label;
  6532. }
  6533. public function setType($type)
  6534. {
  6535. $this->type = $type;
  6536. }
  6537. public function getType()
  6538. {
  6539. return $this->type;
  6540. }
  6541. }
  6542. class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
  6543. {
  6544. protected $collection_key = 'c';
  6545. protected $internal_gapi_mappings = array(
  6546. );
  6547. protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
  6548. protected $cDataType = 'array';
  6549. public function setC($c)
  6550. {
  6551. $this->c = $c;
  6552. }
  6553. public function getC()
  6554. {
  6555. return $this->c;
  6556. }
  6557. }
  6558. class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
  6559. {
  6560. protected $internal_gapi_mappings = array(
  6561. );
  6562. public $v;
  6563. public function setV($v)
  6564. {
  6565. $this->v = $v;
  6566. }
  6567. public function getV()
  6568. {
  6569. return $this->v;
  6570. }
  6571. }
  6572. class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
  6573. {
  6574. protected $internal_gapi_mappings = array(
  6575. );
  6576. public $accountId;
  6577. public $internalWebPropertyId;
  6578. public $profileId;
  6579. public $profileName;
  6580. public $tableId;
  6581. public $webPropertyId;
  6582. public function setAccountId($accountId)
  6583. {
  6584. $this->accountId = $accountId;
  6585. }
  6586. public function getAccountId()
  6587. {
  6588. return $this->accountId;
  6589. }
  6590. public function setInternalWebPropertyId($internalWebPropertyId)
  6591. {
  6592. $this->internalWebPropertyId = $internalWebPropertyId;
  6593. }
  6594. public function getInternalWebPropertyId()
  6595. {
  6596. return $this->internalWebPropertyId;
  6597. }
  6598. public function setProfileId($profileId)
  6599. {
  6600. $this->profileId = $profileId;
  6601. }
  6602. public function getProfileId()
  6603. {
  6604. return $this->profileId;
  6605. }
  6606. public function setProfileName($profileName)
  6607. {
  6608. $this->profileName = $profileName;
  6609. }
  6610. public function getProfileName()
  6611. {
  6612. return $this->profileName;
  6613. }
  6614. public function setTableId($tableId)
  6615. {
  6616. $this->tableId = $tableId;
  6617. }
  6618. public function getTableId()
  6619. {
  6620. return $this->tableId;
  6621. }
  6622. public function setWebPropertyId($webPropertyId)
  6623. {
  6624. $this->webPropertyId = $webPropertyId;
  6625. }
  6626. public function getWebPropertyId()
  6627. {
  6628. return $this->webPropertyId;
  6629. }
  6630. }
  6631. class Google_Service_Analytics_GaDataQuery extends Google_Collection
  6632. {
  6633. protected $collection_key = 'sort';
  6634. protected $internal_gapi_mappings = array(
  6635. "endDate" => "end-date",
  6636. "maxResults" => "max-results",
  6637. "startDate" => "start-date",
  6638. "startIndex" => "start-index",
  6639. );
  6640. public $dimensions;
  6641. public $endDate;
  6642. public $filters;
  6643. public $ids;
  6644. public $maxResults;
  6645. public $metrics;
  6646. public $samplingLevel;
  6647. public $segment;
  6648. public $sort;
  6649. public $startDate;
  6650. public $startIndex;
  6651. public function setDimensions($dimensions)
  6652. {
  6653. $this->dimensions = $dimensions;
  6654. }
  6655. public function getDimensions()
  6656. {
  6657. return $this->dimensions;
  6658. }
  6659. public function setEndDate($endDate)
  6660. {
  6661. $this->endDate = $endDate;
  6662. }
  6663. public function getEndDate()
  6664. {
  6665. return $this->endDate;
  6666. }
  6667. public function setFilters($filters)
  6668. {
  6669. $this->filters = $filters;
  6670. }
  6671. public function getFilters()
  6672. {
  6673. return $this->filters;
  6674. }
  6675. public function setIds($ids)
  6676. {
  6677. $this->ids = $ids;
  6678. }
  6679. public function getIds()
  6680. {
  6681. return $this->ids;
  6682. }
  6683. public function setMaxResults($maxResults)
  6684. {
  6685. $this->maxResults = $maxResults;
  6686. }
  6687. public function getMaxResults()
  6688. {
  6689. return $this->maxResults;
  6690. }
  6691. public function setMetrics($metrics)
  6692. {
  6693. $this->metrics = $metrics;
  6694. }
  6695. public function getMetrics()
  6696. {
  6697. return $this->metrics;
  6698. }
  6699. public function setSamplingLevel($samplingLevel)
  6700. {
  6701. $this->samplingLevel = $samplingLevel;
  6702. }
  6703. public function getSamplingLevel()
  6704. {
  6705. return $this->samplingLevel;
  6706. }
  6707. public function setSegment($segment)
  6708. {
  6709. $this->segment = $segment;
  6710. }
  6711. public function getSegment()
  6712. {
  6713. return $this->segment;
  6714. }
  6715. public function setSort($sort)
  6716. {
  6717. $this->sort = $sort;
  6718. }
  6719. public function getSort()
  6720. {
  6721. return $this->sort;
  6722. }
  6723. public function setStartDate($startDate)
  6724. {
  6725. $this->startDate = $startDate;
  6726. }
  6727. public function getStartDate()
  6728. {
  6729. return $this->startDate;
  6730. }
  6731. public function setStartIndex($startIndex)
  6732. {
  6733. $this->startIndex = $startIndex;
  6734. }
  6735. public function getStartIndex()
  6736. {
  6737. return $this->startIndex;
  6738. }
  6739. }
  6740. class Google_Service_Analytics_GaDataTotalsForAllResults extends Google_Model
  6741. {
  6742. }
  6743. class Google_Service_Analytics_Goal extends Google_Model
  6744. {
  6745. protected $internal_gapi_mappings = array(
  6746. );
  6747. public $accountId;
  6748. public $active;
  6749. public $created;
  6750. protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
  6751. protected $eventDetailsDataType = '';
  6752. public $id;
  6753. public $internalWebPropertyId;
  6754. public $kind;
  6755. public $name;
  6756. protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
  6757. protected $parentLinkDataType = '';
  6758. public $profileId;
  6759. public $selfLink;
  6760. public $type;
  6761. public $updated;
  6762. protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
  6763. protected $urlDestinationDetailsDataType = '';
  6764. public $value;
  6765. protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
  6766. protected $visitNumPagesDetailsDataType = '';
  6767. protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
  6768. protected $visitTimeOnSiteDetailsDataType = '';
  6769. public $webPropertyId;
  6770. public function setAccountId($accountId)
  6771. {
  6772. $this->accountId = $accountId;
  6773. }
  6774. public function getAccountId()
  6775. {
  6776. return $this->accountId;
  6777. }
  6778. public function setActive($active)
  6779. {
  6780. $this->active = $active;
  6781. }
  6782. public function getActive()
  6783. {
  6784. return $this->active;
  6785. }
  6786. public function setCreated($created)
  6787. {
  6788. $this->created = $created;
  6789. }
  6790. public function getCreated()
  6791. {
  6792. return $this->created;
  6793. }
  6794. public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails)
  6795. {
  6796. $this->eventDetails = $eventDetails;
  6797. }
  6798. public function getEventDetails()
  6799. {
  6800. return $this->eventDetails;
  6801. }
  6802. public function setId($id)
  6803. {
  6804. $this->id = $id;
  6805. }
  6806. public function getId()
  6807. {
  6808. return $this->id;
  6809. }
  6810. public function setInternalWebPropertyId($internalWebPropertyId)
  6811. {
  6812. $this->internalWebPropertyId = $internalWebPropertyId;
  6813. }
  6814. public function getInternalWebPropertyId()
  6815. {
  6816. return $this->internalWebPropertyId;
  6817. }
  6818. public function setKind($kind)
  6819. {
  6820. $this->kind = $kind;
  6821. }
  6822. public function getKind()
  6823. {
  6824. return $this->kind;
  6825. }
  6826. public function setName($name)
  6827. {
  6828. $this->name = $name;
  6829. }
  6830. public function getName()
  6831. {
  6832. return $this->name;
  6833. }
  6834. public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink)
  6835. {
  6836. $this->parentLink = $parentLink;
  6837. }
  6838. public function getParentLink()
  6839. {
  6840. return $this->parentLink;
  6841. }
  6842. public function setProfileId($profileId)
  6843. {
  6844. $this->profileId = $profileId;
  6845. }
  6846. public function getProfileId()
  6847. {
  6848. return $this->profileId;
  6849. }
  6850. public function setSelfLink($selfLink)
  6851. {
  6852. $this->selfLink = $selfLink;
  6853. }
  6854. public function getSelfLink()
  6855. {
  6856. return $this->selfLink;
  6857. }
  6858. public function setType($type)
  6859. {
  6860. $this->type = $type;
  6861. }
  6862. public function getType()
  6863. {
  6864. return $this->type;
  6865. }
  6866. public function setUpdated($updated)
  6867. {
  6868. $this->updated = $updated;
  6869. }
  6870. public function getUpdated()
  6871. {
  6872. return $this->updated;
  6873. }
  6874. public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
  6875. {
  6876. $this->urlDestinationDetails = $urlDestinationDetails;
  6877. }
  6878. public function getUrlDestinationDetails()
  6879. {
  6880. return $this->urlDestinationDetails;
  6881. }
  6882. public function setValue($value)
  6883. {
  6884. $this->value = $value;
  6885. }
  6886. public function getValue()
  6887. {
  6888. return $this->value;
  6889. }
  6890. public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
  6891. {
  6892. $this->visitNumPagesDetails = $visitNumPagesDetails;
  6893. }
  6894. public function getVisitNumPagesDetails()
  6895. {
  6896. return $this->visitNumPagesDetails;
  6897. }
  6898. public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
  6899. {
  6900. $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
  6901. }
  6902. public function getVisitTimeOnSiteDetails()
  6903. {
  6904. return $this->visitTimeOnSiteDetails;
  6905. }
  6906. public function setWebPropertyId($webPropertyId)
  6907. {
  6908. $this->webPropertyId = $webPropertyId;
  6909. }
  6910. public function getWebPropertyId()
  6911. {
  6912. return $this->webPropertyId;
  6913. }
  6914. }
  6915. class Google_Service_Analytics_GoalEventDetails extends Google_Collection
  6916. {
  6917. protected $collection_key = 'eventConditions';
  6918. protected $internal_gapi_mappings = array(
  6919. );
  6920. protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
  6921. protected $eventConditionsDataType = 'array';
  6922. public $useEventValue;
  6923. public function setEventConditions($eventConditions)
  6924. {
  6925. $this->eventConditions = $eventConditions;
  6926. }
  6927. public function getEventConditions()
  6928. {
  6929. return $this->eventConditions;
  6930. }
  6931. public function setUseEventValue($useEventValue)
  6932. {
  6933. $this->useEventValue = $useEventValue;
  6934. }
  6935. public function getUseEventValue()
  6936. {
  6937. return $this->useEventValue;
  6938. }
  6939. }
  6940. class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
  6941. {
  6942. protected $internal_gapi_mappings = array(
  6943. );
  6944. public $comparisonType;
  6945. public $comparisonValue;
  6946. public $expression;
  6947. public $matchType;
  6948. public $type;
  6949. public function setComparisonType($comparisonType)
  6950. {
  6951. $this->comparisonType = $comparisonType;
  6952. }
  6953. public function getComparisonType()
  6954. {
  6955. return $this->comparisonType;
  6956. }
  6957. public function setComparisonValue($comparisonValue)
  6958. {
  6959. $this->comparisonValue = $comparisonValue;
  6960. }
  6961. public function getComparisonValue()
  6962. {
  6963. return $this->comparisonValue;
  6964. }
  6965. public function setExpression($expression)
  6966. {
  6967. $this->expression = $expression;
  6968. }
  6969. public function getExpression()
  6970. {
  6971. return $this->expression;
  6972. }
  6973. public function setMatchType($matchType)
  6974. {
  6975. $this->matchType = $matchType;
  6976. }
  6977. public function getMatchType()
  6978. {
  6979. return $this->matchType;
  6980. }
  6981. public function setType($type)
  6982. {
  6983. $this->type = $type;
  6984. }
  6985. public function getType()
  6986. {
  6987. return $this->type;
  6988. }
  6989. }
  6990. class Google_Service_Analytics_GoalParentLink extends Google_Model
  6991. {
  6992. protected $internal_gapi_mappings = array(
  6993. );
  6994. public $href;
  6995. public $type;
  6996. public function setHref($href)
  6997. {
  6998. $this->href = $href;
  6999. }
  7000. public function getHref()
  7001. {
  7002. return $this->href;
  7003. }
  7004. public function setType($type)
  7005. {
  7006. $this->type = $type;
  7007. }
  7008. public function getType()
  7009. {
  7010. return $this->type;
  7011. }
  7012. }
  7013. class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
  7014. {
  7015. protected $collection_key = 'steps';
  7016. protected $internal_gapi_mappings = array(
  7017. );
  7018. public $caseSensitive;
  7019. public $firstStepRequired;
  7020. public $matchType;
  7021. protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
  7022. protected $stepsDataType = 'array';
  7023. public $url;
  7024. public function setCaseSensitive($caseSensitive)
  7025. {
  7026. $this->caseSensitive = $caseSensitive;
  7027. }
  7028. public function getCaseSensitive()
  7029. {
  7030. return $this->caseSensitive;
  7031. }
  7032. public function setFirstStepRequired($firstStepRequired)
  7033. {
  7034. $this->firstStepRequired = $firstStepRequired;
  7035. }
  7036. public function getFirstStepRequired()
  7037. {
  7038. return $this->firstStepRequired;
  7039. }
  7040. public function setMatchType($matchType)
  7041. {
  7042. $this->matchType = $matchType;
  7043. }
  7044. public function getMatchType()
  7045. {
  7046. return $this->matchType;
  7047. }
  7048. public function setSteps($steps)
  7049. {
  7050. $this->steps = $steps;
  7051. }
  7052. public function getSteps()
  7053. {
  7054. return $this->steps;
  7055. }
  7056. public function setUrl($url)
  7057. {
  7058. $this->url = $url;
  7059. }
  7060. public function getUrl()
  7061. {
  7062. return $this->url;
  7063. }
  7064. }
  7065. class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
  7066. {
  7067. protected $internal_gapi_mappings = array(
  7068. );
  7069. public $name;
  7070. public $number;
  7071. public $url;
  7072. public function setName($name)
  7073. {
  7074. $this->name = $name;
  7075. }
  7076. public function getName()
  7077. {
  7078. return $this->name;
  7079. }
  7080. public function setNumber($number)
  7081. {
  7082. $this->number = $number;
  7083. }
  7084. public function getNumber()
  7085. {
  7086. return $this->number;
  7087. }
  7088. public function setUrl($url)
  7089. {
  7090. $this->url = $url;
  7091. }
  7092. public function getUrl()
  7093. {
  7094. return $this->url;
  7095. }
  7096. }
  7097. class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
  7098. {
  7099. protected $internal_gapi_mappings = array(
  7100. );
  7101. public $comparisonType;
  7102. public $comparisonValue;
  7103. public function setComparisonType($comparisonType)
  7104. {
  7105. $this->comparisonType = $comparisonType;
  7106. }
  7107. public function getComparisonType()
  7108. {
  7109. return $this->comparisonType;
  7110. }
  7111. public function setComparisonValue($comparisonValue)
  7112. {
  7113. $this->comparisonValue = $comparisonValue;
  7114. }
  7115. public function getComparisonValue()
  7116. {
  7117. return $this->comparisonValue;
  7118. }
  7119. }
  7120. class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
  7121. {
  7122. protected $internal_gapi_mappings = array(
  7123. );
  7124. public $comparisonType;
  7125. public $comparisonValue;
  7126. public function setComparisonType($comparisonType)
  7127. {
  7128. $this->comparisonType = $comparisonType;
  7129. }
  7130. public function getComparisonType()
  7131. {
  7132. return $this->comparisonType;
  7133. }
  7134. public function setComparisonValue($comparisonValue)
  7135. {
  7136. $this->comparisonValue = $comparisonValue;
  7137. }
  7138. public function getComparisonValue()
  7139. {
  7140. return $this->comparisonValue;
  7141. }
  7142. }
  7143. class Google_Service_Analytics_Goals extends Google_Collection
  7144. {
  7145. protected $collection_key = 'items';
  7146. protected $internal_gapi_mappings = array(
  7147. );
  7148. protected $itemsType = 'Google_Service_Analytics_Goal';
  7149. protected $itemsDataType = 'array';
  7150. public $itemsPerPage;
  7151. public $kind;
  7152. public $nextLink;
  7153. public $previousLink;
  7154. public $startIndex;
  7155. public $totalResults;
  7156. public $username;
  7157. public function setItems($items)
  7158. {
  7159. $this->items = $items;
  7160. }
  7161. public function getItems()
  7162. {
  7163. return $this->items;
  7164. }
  7165. public function setItemsPerPage($itemsPerPage)
  7166. {
  7167. $this->itemsPerPage = $itemsPerPage;
  7168. }
  7169. public function getItemsPerPage()
  7170. {
  7171. return $this->itemsPerPage;
  7172. }
  7173. public function setKind($kind)
  7174. {
  7175. $this->kind = $kind;
  7176. }
  7177. public function getKind()
  7178. {
  7179. return $this->kind;
  7180. }
  7181. public function setNextLink($nextLink)
  7182. {
  7183. $this->nextLink = $nextLink;
  7184. }
  7185. public function getNextLink()
  7186. {
  7187. return $this->nextLink;
  7188. }
  7189. public function setPreviousLink($previousLink)
  7190. {
  7191. $this->previousLink = $previousLink;
  7192. }
  7193. public function getPreviousLink()
  7194. {
  7195. return $this->previousLink;
  7196. }
  7197. public function setStartIndex($startIndex)
  7198. {
  7199. $this->startIndex = $startIndex;
  7200. }
  7201. public function getStartIndex()
  7202. {
  7203. return $this->startIndex;
  7204. }
  7205. public function setTotalResults($totalResults)
  7206. {
  7207. $this->totalResults = $totalResults;
  7208. }
  7209. public function getTotalResults()
  7210. {
  7211. return $this->totalResults;
  7212. }
  7213. public function setUsername($username)
  7214. {
  7215. $this->username = $username;
  7216. }
  7217. public function getUsername()
  7218. {
  7219. return $this->username;
  7220. }
  7221. }
  7222. class Google_Service_Analytics_McfData extends Google_Collection
  7223. {
  7224. protected $collection_key = 'rows';
  7225. protected $internal_gapi_mappings = array(
  7226. );
  7227. protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
  7228. protected $columnHeadersDataType = 'array';
  7229. public $containsSampledData;
  7230. public $id;
  7231. public $itemsPerPage;
  7232. public $kind;
  7233. public $nextLink;
  7234. public $previousLink;
  7235. protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
  7236. protected $profileInfoDataType = '';
  7237. protected $queryType = 'Google_Service_Analytics_McfDataQuery';
  7238. protected $queryDataType = '';
  7239. protected $rowsType = 'Google_Service_Analytics_McfDataRows';
  7240. protected $rowsDataType = 'array';
  7241. public $sampleSize;
  7242. public $sampleSpace;
  7243. public $selfLink;
  7244. public $totalResults;
  7245. public $totalsForAllResults;
  7246. public function setColumnHeaders($columnHeaders)
  7247. {
  7248. $this->columnHeaders = $columnHeaders;
  7249. }
  7250. public function getColumnHeaders()
  7251. {
  7252. return $this->columnHeaders;
  7253. }
  7254. public function setContainsSampledData($containsSampledData)
  7255. {
  7256. $this->containsSampledData = $containsSampledData;
  7257. }
  7258. public function getContainsSampledData()
  7259. {
  7260. return $this->containsSampledData;
  7261. }
  7262. public function setId($id)
  7263. {
  7264. $this->id = $id;
  7265. }
  7266. public function getId()
  7267. {
  7268. return $this->id;
  7269. }
  7270. public function setItemsPerPage($itemsPerPage)
  7271. {
  7272. $this->itemsPerPage = $itemsPerPage;
  7273. }
  7274. public function getItemsPerPage()
  7275. {
  7276. return $this->itemsPerPage;
  7277. }
  7278. public function setKind($kind)
  7279. {
  7280. $this->kind = $kind;
  7281. }
  7282. public function getKind()
  7283. {
  7284. return $this->kind;
  7285. }
  7286. public function setNextLink($nextLink)
  7287. {
  7288. $this->nextLink = $nextLink;
  7289. }
  7290. public function getNextLink()
  7291. {
  7292. return $this->nextLink;
  7293. }
  7294. public function setPreviousLink($previousLink)
  7295. {
  7296. $this->previousLink = $previousLink;
  7297. }
  7298. public function getPreviousLink()
  7299. {
  7300. return $this->previousLink;
  7301. }
  7302. public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
  7303. {
  7304. $this->profileInfo = $profileInfo;
  7305. }
  7306. public function getProfileInfo()
  7307. {
  7308. return $this->profileInfo;
  7309. }
  7310. public function setQuery(Google_Service_Analytics_McfDataQuery $query)
  7311. {
  7312. $this->query = $query;
  7313. }
  7314. public function getQuery()
  7315. {
  7316. return $this->query;
  7317. }
  7318. public function setRows($rows)
  7319. {
  7320. $this->rows = $rows;
  7321. }
  7322. public function getRows()
  7323. {
  7324. return $this->rows;
  7325. }
  7326. public function setSampleSize($sampleSize)
  7327. {
  7328. $this->sampleSize = $sampleSize;
  7329. }
  7330. public function getSampleSize()
  7331. {
  7332. return $this->sampleSize;
  7333. }
  7334. public function setSampleSpace($sampleSpace)
  7335. {
  7336. $this->sampleSpace = $sampleSpace;
  7337. }
  7338. public function getSampleSpace()
  7339. {
  7340. return $this->sampleSpace;
  7341. }
  7342. public function setSelfLink($selfLink)
  7343. {
  7344. $this->selfLink = $selfLink;
  7345. }
  7346. public function getSelfLink()
  7347. {
  7348. return $this->selfLink;
  7349. }
  7350. public function setTotalResults($totalResults)
  7351. {
  7352. $this->totalResults = $totalResults;
  7353. }
  7354. public function getTotalResults()
  7355. {
  7356. return $this->totalResults;
  7357. }
  7358. public function setTotalsForAllResults($totalsForAllResults)
  7359. {
  7360. $this->totalsForAllResults = $totalsForAllResults;
  7361. }
  7362. public function getTotalsForAllResults()
  7363. {
  7364. return $this->totalsForAllResults;
  7365. }
  7366. }
  7367. class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
  7368. {
  7369. protected $internal_gapi_mappings = array(
  7370. );
  7371. public $columnType;
  7372. public $dataType;
  7373. public $name;
  7374. public function setColumnType($columnType)
  7375. {
  7376. $this->columnType = $columnType;
  7377. }
  7378. public function getColumnType()
  7379. {
  7380. return $this->columnType;
  7381. }
  7382. public function setDataType($dataType)
  7383. {
  7384. $this->dataType = $dataType;
  7385. }
  7386. public function getDataType()
  7387. {
  7388. return $this->dataType;
  7389. }
  7390. public function setName($name)
  7391. {
  7392. $this->name = $name;
  7393. }
  7394. public function getName()
  7395. {
  7396. return $this->name;
  7397. }
  7398. }
  7399. class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
  7400. {
  7401. protected $internal_gapi_mappings = array(
  7402. );
  7403. public $accountId;
  7404. public $internalWebPropertyId;
  7405. public $profileId;
  7406. public $profileName;
  7407. public $tableId;
  7408. public $webPropertyId;
  7409. public function setAccountId($accountId)
  7410. {
  7411. $this->accountId = $accountId;
  7412. }
  7413. public function getAccountId()
  7414. {
  7415. return $this->accountId;
  7416. }
  7417. public function setInternalWebPropertyId($internalWebPropertyId)
  7418. {
  7419. $this->internalWebPropertyId = $internalWebPropertyId;
  7420. }
  7421. public function getInternalWebPropertyId()
  7422. {
  7423. return $this->internalWebPropertyId;
  7424. }
  7425. public function setProfileId($profileId)
  7426. {
  7427. $this->profileId = $profileId;
  7428. }
  7429. public function getProfileId()
  7430. {
  7431. return $this->profileId;
  7432. }
  7433. public function setProfileName($profileName)
  7434. {
  7435. $this->profileName = $profileName;
  7436. }
  7437. public function getProfileName()
  7438. {
  7439. return $this->profileName;
  7440. }
  7441. public function setTableId($tableId)
  7442. {
  7443. $this->tableId = $tableId;
  7444. }
  7445. public function getTableId()
  7446. {
  7447. return $this->tableId;
  7448. }
  7449. public function setWebPropertyId($webPropertyId)
  7450. {
  7451. $this->webPropertyId = $webPropertyId;
  7452. }
  7453. public function getWebPropertyId()
  7454. {
  7455. return $this->webPropertyId;
  7456. }
  7457. }
  7458. class Google_Service_Analytics_McfDataQuery extends Google_Collection
  7459. {
  7460. protected $collection_key = 'sort';
  7461. protected $internal_gapi_mappings = array(
  7462. "endDate" => "end-date",
  7463. "maxResults" => "max-results",
  7464. "startDate" => "start-date",
  7465. "startIndex" => "start-index",
  7466. );
  7467. public $dimensions;
  7468. public $endDate;
  7469. public $filters;
  7470. public $ids;
  7471. public $maxResults;
  7472. public $metrics;
  7473. public $samplingLevel;
  7474. public $segment;
  7475. public $sort;
  7476. public $startDate;
  7477. public $startIndex;
  7478. public function setDimensions($dimensions)
  7479. {
  7480. $this->dimensions = $dimensions;
  7481. }
  7482. public function getDimensions()
  7483. {
  7484. return $this->dimensions;
  7485. }
  7486. public function setEndDate($endDate)
  7487. {
  7488. $this->endDate = $endDate;
  7489. }
  7490. public function getEndDate()
  7491. {
  7492. return $this->endDate;
  7493. }
  7494. public function setFilters($filters)
  7495. {
  7496. $this->filters = $filters;
  7497. }
  7498. public function getFilters()
  7499. {
  7500. return $this->filters;
  7501. }
  7502. public function setIds($ids)
  7503. {
  7504. $this->ids = $ids;
  7505. }
  7506. public function getIds()
  7507. {
  7508. return $this->ids;
  7509. }
  7510. public function setMaxResults($maxResults)
  7511. {
  7512. $this->maxResults = $maxResults;
  7513. }
  7514. public function getMaxResults()
  7515. {
  7516. return $this->maxResults;
  7517. }
  7518. public function setMetrics($metrics)
  7519. {
  7520. $this->metrics = $metrics;
  7521. }
  7522. public function getMetrics()
  7523. {
  7524. return $this->metrics;
  7525. }
  7526. public function setSamplingLevel($samplingLevel)
  7527. {
  7528. $this->samplingLevel = $samplingLevel;
  7529. }
  7530. public function getSamplingLevel()
  7531. {
  7532. return $this->samplingLevel;
  7533. }
  7534. public function setSegment($segment)
  7535. {
  7536. $this->segment = $segment;
  7537. }
  7538. public function getSegment()
  7539. {
  7540. return $this->segment;
  7541. }
  7542. public function setSort($sort)
  7543. {
  7544. $this->sort = $sort;
  7545. }
  7546. public function getSort()
  7547. {
  7548. return $this->sort;
  7549. }
  7550. public function setStartDate($startDate)
  7551. {
  7552. $this->startDate = $startDate;
  7553. }
  7554. public function getStartDate()
  7555. {
  7556. return $this->startDate;
  7557. }
  7558. public function setStartIndex($startIndex)
  7559. {
  7560. $this->startIndex = $startIndex;
  7561. }
  7562. public function getStartIndex()
  7563. {
  7564. return $this->startIndex;
  7565. }
  7566. }
  7567. class Google_Service_Analytics_McfDataRows extends Google_Collection
  7568. {
  7569. protected $collection_key = 'conversionPathValue';
  7570. protected $internal_gapi_mappings = array(
  7571. );
  7572. protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
  7573. protected $conversionPathValueDataType = 'array';
  7574. public $primitiveValue;
  7575. public function setConversionPathValue($conversionPathValue)
  7576. {
  7577. $this->conversionPathValue = $conversionPathValue;
  7578. }
  7579. public function getConversionPathValue()
  7580. {
  7581. return $this->conversionPathValue;
  7582. }
  7583. public function setPrimitiveValue($primitiveValue)
  7584. {
  7585. $this->primitiveValue = $primitiveValue;
  7586. }
  7587. public function getPrimitiveValue()
  7588. {
  7589. return $this->primitiveValue;
  7590. }
  7591. }
  7592. class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
  7593. {
  7594. protected $internal_gapi_mappings = array(
  7595. );
  7596. public $interactionType;
  7597. public $nodeValue;
  7598. public function setInteractionType($interactionType)
  7599. {
  7600. $this->interactionType = $interactionType;
  7601. }
  7602. public function getInteractionType()
  7603. {
  7604. return $this->interactionType;
  7605. }
  7606. public function setNodeValue($nodeValue)
  7607. {
  7608. $this->nodeValue = $nodeValue;
  7609. }
  7610. public function getNodeValue()
  7611. {
  7612. return $this->nodeValue;
  7613. }
  7614. }
  7615. class Google_Service_Analytics_McfDataTotalsForAllResults extends Google_Model
  7616. {
  7617. }
  7618. class Google_Service_Analytics_Profile extends Google_Model
  7619. {
  7620. protected $internal_gapi_mappings = array(
  7621. );
  7622. public $accountId;
  7623. protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink';
  7624. protected $childLinkDataType = '';
  7625. public $created;
  7626. public $currency;
  7627. public $defaultPage;
  7628. public $eCommerceTracking;
  7629. public $enhancedECommerceTracking;
  7630. public $excludeQueryParameters;
  7631. public $id;
  7632. public $internalWebPropertyId;
  7633. public $kind;
  7634. public $name;
  7635. protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink';
  7636. protected $parentLinkDataType = '';
  7637. protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
  7638. protected $permissionsDataType = '';
  7639. public $selfLink;
  7640. public $siteSearchCategoryParameters;
  7641. public $siteSearchQueryParameters;
  7642. public $stripSiteSearchCategoryParameters;
  7643. public $stripSiteSearchQueryParameters;
  7644. public $timezone;
  7645. public $type;
  7646. public $updated;
  7647. public $webPropertyId;
  7648. public $websiteUrl;
  7649. public function setAccountId($accountId)
  7650. {
  7651. $this->accountId = $accountId;
  7652. }
  7653. public function getAccountId()
  7654. {
  7655. return $this->accountId;
  7656. }
  7657. public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink)
  7658. {
  7659. $this->childLink = $childLink;
  7660. }
  7661. public function getChildLink()
  7662. {
  7663. return $this->childLink;
  7664. }
  7665. public function setCreated($created)
  7666. {
  7667. $this->created = $created;
  7668. }
  7669. public function getCreated()
  7670. {
  7671. return $this->created;
  7672. }
  7673. public function setCurrency($currency)
  7674. {
  7675. $this->currency = $currency;
  7676. }
  7677. public function getCurrency()
  7678. {
  7679. return $this->currency;
  7680. }
  7681. public function setDefaultPage($defaultPage)
  7682. {
  7683. $this->defaultPage = $defaultPage;
  7684. }
  7685. public function getDefaultPage()
  7686. {
  7687. return $this->defaultPage;
  7688. }
  7689. public function setECommerceTracking($eCommerceTracking)
  7690. {
  7691. $this->eCommerceTracking = $eCommerceTracking;
  7692. }
  7693. public function getECommerceTracking()
  7694. {
  7695. return $this->eCommerceTracking;
  7696. }
  7697. public function setEnhancedECommerceTracking($enhancedECommerceTracking)
  7698. {
  7699. $this->enhancedECommerceTracking = $enhancedECommerceTracking;
  7700. }
  7701. public function getEnhancedECommerceTracking()
  7702. {
  7703. return $this->enhancedECommerceTracking;
  7704. }
  7705. public function setExcludeQueryParameters($excludeQueryParameters)
  7706. {
  7707. $this->excludeQueryParameters = $excludeQueryParameters;
  7708. }
  7709. public function getExcludeQueryParameters()
  7710. {
  7711. return $this->excludeQueryParameters;
  7712. }
  7713. public function setId($id)
  7714. {
  7715. $this->id = $id;
  7716. }
  7717. public function getId()
  7718. {
  7719. return $this->id;
  7720. }
  7721. public function setInternalWebPropertyId($internalWebPropertyId)
  7722. {
  7723. $this->internalWebPropertyId = $internalWebPropertyId;
  7724. }
  7725. public function getInternalWebPropertyId()
  7726. {
  7727. return $this->internalWebPropertyId;
  7728. }
  7729. public function setKind($kind)
  7730. {
  7731. $this->kind = $kind;
  7732. }
  7733. public function getKind()
  7734. {
  7735. return $this->kind;
  7736. }
  7737. public function setName($name)
  7738. {
  7739. $this->name = $name;
  7740. }
  7741. public function getName()
  7742. {
  7743. return $this->name;
  7744. }
  7745. public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink)
  7746. {
  7747. $this->parentLink = $parentLink;
  7748. }
  7749. public function getParentLink()
  7750. {
  7751. return $this->parentLink;
  7752. }
  7753. public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions)
  7754. {
  7755. $this->permissions = $permissions;
  7756. }
  7757. public function getPermissions()
  7758. {
  7759. return $this->permissions;
  7760. }
  7761. public function setSelfLink($selfLink)
  7762. {
  7763. $this->selfLink = $selfLink;
  7764. }
  7765. public function getSelfLink()
  7766. {
  7767. return $this->selfLink;
  7768. }
  7769. public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
  7770. {
  7771. $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
  7772. }
  7773. public function getSiteSearchCategoryParameters()
  7774. {
  7775. return $this->siteSearchCategoryParameters;
  7776. }
  7777. public function setSiteSearchQueryParameters($siteSearchQueryParameters)
  7778. {
  7779. $this->siteSearchQueryParameters = $siteSearchQueryParameters;
  7780. }
  7781. public function getSiteSearchQueryParameters()
  7782. {
  7783. return $this->siteSearchQueryParameters;
  7784. }
  7785. public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
  7786. {
  7787. $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
  7788. }
  7789. public function getStripSiteSearchCategoryParameters()
  7790. {
  7791. return $this->stripSiteSearchCategoryParameters;
  7792. }
  7793. public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
  7794. {
  7795. $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
  7796. }
  7797. public function getStripSiteSearchQueryParameters()
  7798. {
  7799. return $this->stripSiteSearchQueryParameters;
  7800. }
  7801. public function setTimezone($timezone)
  7802. {
  7803. $this->timezone = $timezone;
  7804. }
  7805. public function getTimezone()
  7806. {
  7807. return $this->timezone;
  7808. }
  7809. public function setType($type)
  7810. {
  7811. $this->type = $type;
  7812. }
  7813. public function getType()
  7814. {
  7815. return $this->type;
  7816. }
  7817. public function setUpdated($updated)
  7818. {
  7819. $this->updated = $updated;
  7820. }
  7821. public function getUpdated()
  7822. {
  7823. return $this->updated;
  7824. }
  7825. public function setWebPropertyId($webPropertyId)
  7826. {
  7827. $this->webPropertyId = $webPropertyId;
  7828. }
  7829. public function getWebPropertyId()
  7830. {
  7831. return $this->webPropertyId;
  7832. }
  7833. public function setWebsiteUrl($websiteUrl)
  7834. {
  7835. $this->websiteUrl = $websiteUrl;
  7836. }
  7837. public function getWebsiteUrl()
  7838. {
  7839. return $this->websiteUrl;
  7840. }
  7841. }
  7842. class Google_Service_Analytics_ProfileChildLink extends Google_Model
  7843. {
  7844. protected $internal_gapi_mappings = array(
  7845. );
  7846. public $href;
  7847. public $type;
  7848. public function setHref($href)
  7849. {
  7850. $this->href = $href;
  7851. }
  7852. public function getHref()
  7853. {
  7854. return $this->href;
  7855. }
  7856. public function setType($type)
  7857. {
  7858. $this->type = $type;
  7859. }
  7860. public function getType()
  7861. {
  7862. return $this->type;
  7863. }
  7864. }
  7865. class Google_Service_Analytics_ProfileFilterLink extends Google_Model
  7866. {
  7867. protected $internal_gapi_mappings = array(
  7868. );
  7869. protected $filterRefType = 'Google_Service_Analytics_FilterRef';
  7870. protected $filterRefDataType = '';
  7871. public $id;
  7872. public $kind;
  7873. protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
  7874. protected $profileRefDataType = '';
  7875. public $rank;
  7876. public $selfLink;
  7877. public function setFilterRef(Google_Service_Analytics_FilterRef $filterRef)
  7878. {
  7879. $this->filterRef = $filterRef;
  7880. }
  7881. public function getFilterRef()
  7882. {
  7883. return $this->filterRef;
  7884. }
  7885. public function setId($id)
  7886. {
  7887. $this->id = $id;
  7888. }
  7889. public function getId()
  7890. {
  7891. return $this->id;
  7892. }
  7893. public function setKind($kind)
  7894. {
  7895. $this->kind = $kind;
  7896. }
  7897. public function getKind()
  7898. {
  7899. return $this->kind;
  7900. }
  7901. public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
  7902. {
  7903. $this->profileRef = $profileRef;
  7904. }
  7905. public function getProfileRef()
  7906. {
  7907. return $this->profileRef;
  7908. }
  7909. public function setRank($rank)
  7910. {
  7911. $this->rank = $rank;
  7912. }
  7913. public function getRank()
  7914. {
  7915. return $this->rank;
  7916. }
  7917. public function setSelfLink($selfLink)
  7918. {
  7919. $this->selfLink = $selfLink;
  7920. }
  7921. public function getSelfLink()
  7922. {
  7923. return $this->selfLink;
  7924. }
  7925. }
  7926. class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection
  7927. {
  7928. protected $collection_key = 'items';
  7929. protected $internal_gapi_mappings = array(
  7930. );
  7931. protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink';
  7932. protected $itemsDataType = 'array';
  7933. public $itemsPerPage;
  7934. public $kind;
  7935. public $nextLink;
  7936. public $previousLink;
  7937. public $startIndex;
  7938. public $totalResults;
  7939. public $username;
  7940. public function setItems($items)
  7941. {
  7942. $this->items = $items;
  7943. }
  7944. public function getItems()
  7945. {
  7946. return $this->items;
  7947. }
  7948. public function setItemsPerPage($itemsPerPage)
  7949. {
  7950. $this->itemsPerPage = $itemsPerPage;
  7951. }
  7952. public function getItemsPerPage()
  7953. {
  7954. return $this->itemsPerPage;
  7955. }
  7956. public function setKind($kind)
  7957. {
  7958. $this->kind = $kind;
  7959. }
  7960. public function getKind()
  7961. {
  7962. return $this->kind;
  7963. }
  7964. public function setNextLink($nextLink)
  7965. {
  7966. $this->nextLink = $nextLink;
  7967. }
  7968. public function getNextLink()
  7969. {
  7970. return $this->nextLink;
  7971. }
  7972. public function setPreviousLink($previousLink)
  7973. {
  7974. $this->previousLink = $previousLink;
  7975. }
  7976. public function getPreviousLink()
  7977. {
  7978. return $this->previousLink;
  7979. }
  7980. public function setStartIndex($startIndex)
  7981. {
  7982. $this->startIndex = $startIndex;
  7983. }
  7984. public function getStartIndex()
  7985. {
  7986. return $this->startIndex;
  7987. }
  7988. public function setTotalResults($totalResults)
  7989. {
  7990. $this->totalResults = $totalResults;
  7991. }
  7992. public function getTotalResults()
  7993. {
  7994. return $this->totalResults;
  7995. }
  7996. public function setUsername($username)
  7997. {
  7998. $this->username = $username;
  7999. }
  8000. public function getUsername()
  8001. {
  8002. return $this->username;
  8003. }
  8004. }
  8005. class Google_Service_Analytics_ProfileParentLink extends Google_Model
  8006. {
  8007. protected $internal_gapi_mappings = array(
  8008. );
  8009. public $href;
  8010. public $type;
  8011. public function setHref($href)
  8012. {
  8013. $this->href = $href;
  8014. }
  8015. public function getHref()
  8016. {
  8017. return $this->href;
  8018. }
  8019. public function setType($type)
  8020. {
  8021. $this->type = $type;
  8022. }
  8023. public function getType()
  8024. {
  8025. return $this->type;
  8026. }
  8027. }
  8028. class Google_Service_Analytics_ProfilePermissions extends Google_Collection
  8029. {
  8030. protected $collection_key = 'effective';
  8031. protected $internal_gapi_mappings = array(
  8032. );
  8033. public $effective;
  8034. public function setEffective($effective)
  8035. {
  8036. $this->effective = $effective;
  8037. }
  8038. public function getEffective()
  8039. {
  8040. return $this->effective;
  8041. }
  8042. }
  8043. class Google_Service_Analytics_ProfileRef extends Google_Model
  8044. {
  8045. protected $internal_gapi_mappings = array(
  8046. );
  8047. public $accountId;
  8048. public $href;
  8049. public $id;
  8050. public $internalWebPropertyId;
  8051. public $kind;
  8052. public $name;
  8053. public $webPropertyId;
  8054. public function setAccountId($accountId)
  8055. {
  8056. $this->accountId = $accountId;
  8057. }
  8058. public function getAccountId()
  8059. {
  8060. return $this->accountId;
  8061. }
  8062. public function setHref($href)
  8063. {
  8064. $this->href = $href;
  8065. }
  8066. public function getHref()
  8067. {
  8068. return $this->href;
  8069. }
  8070. public function setId($id)
  8071. {
  8072. $this->id = $id;
  8073. }
  8074. public function getId()
  8075. {
  8076. return $this->id;
  8077. }
  8078. public function setInternalWebPropertyId($internalWebPropertyId)
  8079. {
  8080. $this->internalWebPropertyId = $internalWebPropertyId;
  8081. }
  8082. public function getInternalWebPropertyId()
  8083. {
  8084. return $this->internalWebPropertyId;
  8085. }
  8086. public function setKind($kind)
  8087. {
  8088. $this->kind = $kind;
  8089. }
  8090. public function getKind()
  8091. {
  8092. return $this->kind;
  8093. }
  8094. public function setName($name)
  8095. {
  8096. $this->name = $name;
  8097. }
  8098. public function getName()
  8099. {
  8100. return $this->name;
  8101. }
  8102. public function setWebPropertyId($webPropertyId)
  8103. {
  8104. $this->webPropertyId = $webPropertyId;
  8105. }
  8106. public function getWebPropertyId()
  8107. {
  8108. return $this->webPropertyId;
  8109. }
  8110. }
  8111. class Google_Service_Analytics_ProfileSummary extends Google_Model
  8112. {
  8113. protected $internal_gapi_mappings = array(
  8114. );
  8115. public $id;
  8116. public $kind;
  8117. public $name;
  8118. public $type;
  8119. public function setId($id)
  8120. {
  8121. $this->id = $id;
  8122. }
  8123. public function getId()
  8124. {
  8125. return $this->id;
  8126. }
  8127. public function setKind($kind)
  8128. {
  8129. $this->kind = $kind;
  8130. }
  8131. public function getKind()
  8132. {
  8133. return $this->kind;
  8134. }
  8135. public function setName($name)
  8136. {
  8137. $this->name = $name;
  8138. }
  8139. public function getName()
  8140. {
  8141. return $this->name;
  8142. }
  8143. public function setType($type)
  8144. {
  8145. $this->type = $type;
  8146. }
  8147. public function getType()
  8148. {
  8149. return $this->type;
  8150. }
  8151. }
  8152. class Google_Service_Analytics_Profiles extends Google_Collection
  8153. {
  8154. protected $collection_key = 'items';
  8155. protected $internal_gapi_mappings = array(
  8156. );
  8157. protected $itemsType = 'Google_Service_Analytics_Profile';
  8158. protected $itemsDataType = 'array';
  8159. public $itemsPerPage;
  8160. public $kind;
  8161. public $nextLink;
  8162. public $previousLink;
  8163. public $startIndex;
  8164. public $totalResults;
  8165. public $username;
  8166. public function setItems($items)
  8167. {
  8168. $this->items = $items;
  8169. }
  8170. public function getItems()
  8171. {
  8172. return $this->items;
  8173. }
  8174. public function setItemsPerPage($itemsPerPage)
  8175. {
  8176. $this->itemsPerPage = $itemsPerPage;
  8177. }
  8178. public function getItemsPerPage()
  8179. {
  8180. return $this->itemsPerPage;
  8181. }
  8182. public function setKind($kind)
  8183. {
  8184. $this->kind = $kind;
  8185. }
  8186. public function getKind()
  8187. {
  8188. return $this->kind;
  8189. }
  8190. public function setNextLink($nextLink)
  8191. {
  8192. $this->nextLink = $nextLink;
  8193. }
  8194. public function getNextLink()
  8195. {
  8196. return $this->nextLink;
  8197. }
  8198. public function setPreviousLink($previousLink)
  8199. {
  8200. $this->previousLink = $previousLink;
  8201. }
  8202. public function getPreviousLink()
  8203. {
  8204. return $this->previousLink;
  8205. }
  8206. public function setStartIndex($startIndex)
  8207. {
  8208. $this->startIndex = $startIndex;
  8209. }
  8210. public function getStartIndex()
  8211. {
  8212. return $this->startIndex;
  8213. }
  8214. public function setTotalResults($totalResults)
  8215. {
  8216. $this->totalResults = $totalResults;
  8217. }
  8218. public function getTotalResults()
  8219. {
  8220. return $this->totalResults;
  8221. }
  8222. public function setUsername($username)
  8223. {
  8224. $this->username = $username;
  8225. }
  8226. public function getUsername()
  8227. {
  8228. return $this->username;
  8229. }
  8230. }
  8231. class Google_Service_Analytics_RealtimeData extends Google_Collection
  8232. {
  8233. protected $collection_key = 'rows';
  8234. protected $internal_gapi_mappings = array(
  8235. );
  8236. protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
  8237. protected $columnHeadersDataType = 'array';
  8238. public $id;
  8239. public $kind;
  8240. protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
  8241. protected $profileInfoDataType = '';
  8242. protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery';
  8243. protected $queryDataType = '';
  8244. public $rows;
  8245. public $selfLink;
  8246. public $totalResults;
  8247. public $totalsForAllResults;
  8248. public function setColumnHeaders($columnHeaders)
  8249. {
  8250. $this->columnHeaders = $columnHeaders;
  8251. }
  8252. public function getColumnHeaders()
  8253. {
  8254. return $this->columnHeaders;
  8255. }
  8256. public function setId($id)
  8257. {
  8258. $this->id = $id;
  8259. }
  8260. public function getId()
  8261. {
  8262. return $this->id;
  8263. }
  8264. public function setKind($kind)
  8265. {
  8266. $this->kind = $kind;
  8267. }
  8268. public function getKind()
  8269. {
  8270. return $this->kind;
  8271. }
  8272. public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
  8273. {
  8274. $this->profileInfo = $profileInfo;
  8275. }
  8276. public function getProfileInfo()
  8277. {
  8278. return $this->profileInfo;
  8279. }
  8280. public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query)
  8281. {
  8282. $this->query = $query;
  8283. }
  8284. public function getQuery()
  8285. {
  8286. return $this->query;
  8287. }
  8288. public function setRows($rows)
  8289. {
  8290. $this->rows = $rows;
  8291. }
  8292. public function getRows()
  8293. {
  8294. return $this->rows;
  8295. }
  8296. public function setSelfLink($selfLink)
  8297. {
  8298. $this->selfLink = $selfLink;
  8299. }
  8300. public function getSelfLink()
  8301. {
  8302. return $this->selfLink;
  8303. }
  8304. public function setTotalResults($totalResults)
  8305. {
  8306. $this->totalResults = $totalResults;
  8307. }
  8308. public function getTotalResults()
  8309. {
  8310. return $this->totalResults;
  8311. }
  8312. public function setTotalsForAllResults($totalsForAllResults)
  8313. {
  8314. $this->totalsForAllResults = $totalsForAllResults;
  8315. }
  8316. public function getTotalsForAllResults()
  8317. {
  8318. return $this->totalsForAllResults;
  8319. }
  8320. }
  8321. class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
  8322. {
  8323. protected $internal_gapi_mappings = array(
  8324. );
  8325. public $columnType;
  8326. public $dataType;
  8327. public $name;
  8328. public function setColumnType($columnType)
  8329. {
  8330. $this->columnType = $columnType;
  8331. }
  8332. public function getColumnType()
  8333. {
  8334. return $this->columnType;
  8335. }
  8336. public function setDataType($dataType)
  8337. {
  8338. $this->dataType = $dataType;
  8339. }
  8340. public function getDataType()
  8341. {
  8342. return $this->dataType;
  8343. }
  8344. public function setName($name)
  8345. {
  8346. $this->name = $name;
  8347. }
  8348. public function getName()
  8349. {
  8350. return $this->name;
  8351. }
  8352. }
  8353. class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
  8354. {
  8355. protected $internal_gapi_mappings = array(
  8356. );
  8357. public $accountId;
  8358. public $internalWebPropertyId;
  8359. public $profileId;
  8360. public $profileName;
  8361. public $tableId;
  8362. public $webPropertyId;
  8363. public function setAccountId($accountId)
  8364. {
  8365. $this->accountId = $accountId;
  8366. }
  8367. public function getAccountId()
  8368. {
  8369. return $this->accountId;
  8370. }
  8371. public function setInternalWebPropertyId($internalWebPropertyId)
  8372. {
  8373. $this->internalWebPropertyId = $internalWebPropertyId;
  8374. }
  8375. public function getInternalWebPropertyId()
  8376. {
  8377. return $this->internalWebPropertyId;
  8378. }
  8379. public function setProfileId($profileId)
  8380. {
  8381. $this->profileId = $profileId;
  8382. }
  8383. public function getProfileId()
  8384. {
  8385. return $this->profileId;
  8386. }
  8387. public function setProfileName($profileName)
  8388. {
  8389. $this->profileName = $profileName;
  8390. }
  8391. public function getProfileName()
  8392. {
  8393. return $this->profileName;
  8394. }
  8395. public function setTableId($tableId)
  8396. {
  8397. $this->tableId = $tableId;
  8398. }
  8399. public function getTableId()
  8400. {
  8401. return $this->tableId;
  8402. }
  8403. public function setWebPropertyId($webPropertyId)
  8404. {
  8405. $this->webPropertyId = $webPropertyId;
  8406. }
  8407. public function getWebPropertyId()
  8408. {
  8409. return $this->webPropertyId;
  8410. }
  8411. }
  8412. class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
  8413. {
  8414. protected $collection_key = 'sort';
  8415. protected $internal_gapi_mappings = array(
  8416. "maxResults" => "max-results",
  8417. );
  8418. public $dimensions;
  8419. public $filters;
  8420. public $ids;
  8421. public $maxResults;
  8422. public $metrics;
  8423. public $sort;
  8424. public function setDimensions($dimensions)
  8425. {
  8426. $this->dimensions = $dimensions;
  8427. }
  8428. public function getDimensions()
  8429. {
  8430. return $this->dimensions;
  8431. }
  8432. public function setFilters($filters)
  8433. {
  8434. $this->filters = $filters;
  8435. }
  8436. public function getFilters()
  8437. {
  8438. return $this->filters;
  8439. }
  8440. public function setIds($ids)
  8441. {
  8442. $this->ids = $ids;
  8443. }
  8444. public function getIds()
  8445. {
  8446. return $this->ids;
  8447. }
  8448. public function setMaxResults($maxResults)
  8449. {
  8450. $this->maxResults = $maxResults;
  8451. }
  8452. public function getMaxResults()
  8453. {
  8454. return $this->maxResults;
  8455. }
  8456. public function setMetrics($metrics)
  8457. {
  8458. $this->metrics = $metrics;
  8459. }
  8460. public function getMetrics()
  8461. {
  8462. return $this->metrics;
  8463. }
  8464. public function setSort($sort)
  8465. {
  8466. $this->sort = $sort;
  8467. }
  8468. public function getSort()
  8469. {
  8470. return $this->sort;
  8471. }
  8472. }
  8473. class Google_Service_Analytics_RealtimeDataTotalsForAllResults extends Google_Model
  8474. {
  8475. }
  8476. class Google_Service_Analytics_Segment extends Google_Model
  8477. {
  8478. protected $internal_gapi_mappings = array(
  8479. );
  8480. public $created;
  8481. public $definition;
  8482. public $id;
  8483. public $kind;
  8484. public $name;
  8485. public $segmentId;
  8486. public $selfLink;
  8487. public $type;
  8488. public $updated;
  8489. public function setCreated($created)
  8490. {
  8491. $this->created = $created;
  8492. }
  8493. public function getCreated()
  8494. {
  8495. return $this->created;
  8496. }
  8497. public function setDefinition($definition)
  8498. {
  8499. $this->definition = $definition;
  8500. }
  8501. public function getDefinition()
  8502. {
  8503. return $this->definition;
  8504. }
  8505. public function setId($id)
  8506. {
  8507. $this->id = $id;
  8508. }
  8509. public function getId()
  8510. {
  8511. return $this->id;
  8512. }
  8513. public function setKind($kind)
  8514. {
  8515. $this->kind = $kind;
  8516. }
  8517. public function getKind()
  8518. {
  8519. return $this->kind;
  8520. }
  8521. public function setName($name)
  8522. {
  8523. $this->name = $name;
  8524. }
  8525. public function getName()
  8526. {
  8527. return $this->name;
  8528. }
  8529. public function setSegmentId($segmentId)
  8530. {
  8531. $this->segmentId = $segmentId;
  8532. }
  8533. public function getSegmentId()
  8534. {
  8535. return $this->segmentId;
  8536. }
  8537. public function setSelfLink($selfLink)
  8538. {
  8539. $this->selfLink = $selfLink;
  8540. }
  8541. public function getSelfLink()
  8542. {
  8543. return $this->selfLink;
  8544. }
  8545. public function setType($type)
  8546. {
  8547. $this->type = $type;
  8548. }
  8549. public function getType()
  8550. {
  8551. return $this->type;
  8552. }
  8553. public function setUpdated($updated)
  8554. {
  8555. $this->updated = $updated;
  8556. }
  8557. public function getUpdated()
  8558. {
  8559. return $this->updated;
  8560. }
  8561. }
  8562. class Google_Service_Analytics_Segments extends Google_Collection
  8563. {
  8564. protected $collection_key = 'items';
  8565. protected $internal_gapi_mappings = array(
  8566. );
  8567. protected $itemsType = 'Google_Service_Analytics_Segment';
  8568. protected $itemsDataType = 'array';
  8569. public $itemsPerPage;
  8570. public $kind;
  8571. public $nextLink;
  8572. public $previousLink;
  8573. public $startIndex;
  8574. public $totalResults;
  8575. public $username;
  8576. public function setItems($items)
  8577. {
  8578. $this->items = $items;
  8579. }
  8580. public function getItems()
  8581. {
  8582. return $this->items;
  8583. }
  8584. public function setItemsPerPage($itemsPerPage)
  8585. {
  8586. $this->itemsPerPage = $itemsPerPage;
  8587. }
  8588. public function getItemsPerPage()
  8589. {
  8590. return $this->itemsPerPage;
  8591. }
  8592. public function setKind($kind)
  8593. {
  8594. $this->kind = $kind;
  8595. }
  8596. public function getKind()
  8597. {
  8598. return $this->kind;
  8599. }
  8600. public function setNextLink($nextLink)
  8601. {
  8602. $this->nextLink = $nextLink;
  8603. }
  8604. public function getNextLink()
  8605. {
  8606. return $this->nextLink;
  8607. }
  8608. public function setPreviousLink($previousLink)
  8609. {
  8610. $this->previousLink = $previousLink;
  8611. }
  8612. public function getPreviousLink()
  8613. {
  8614. return $this->previousLink;
  8615. }
  8616. public function setStartIndex($startIndex)
  8617. {
  8618. $this->startIndex = $startIndex;
  8619. }
  8620. public function getStartIndex()
  8621. {
  8622. return $this->startIndex;
  8623. }
  8624. public function setTotalResults($totalResults)
  8625. {
  8626. $this->totalResults = $totalResults;
  8627. }
  8628. public function getTotalResults()
  8629. {
  8630. return $this->totalResults;
  8631. }
  8632. public function setUsername($username)
  8633. {
  8634. $this->username = $username;
  8635. }
  8636. public function getUsername()
  8637. {
  8638. return $this->username;
  8639. }
  8640. }
  8641. class Google_Service_Analytics_UnsampledReport extends Google_Model
  8642. {
  8643. protected $internal_gapi_mappings = array(
  8644. "endDate" => "end-date",
  8645. "startDate" => "start-date",
  8646. );
  8647. public $accountId;
  8648. protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails';
  8649. protected $cloudStorageDownloadDetailsDataType = '';
  8650. public $created;
  8651. public $dimensions;
  8652. public $downloadType;
  8653. protected $driveDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails';
  8654. protected $driveDownloadDetailsDataType = '';
  8655. public $endDate;
  8656. public $filters;
  8657. public $id;
  8658. public $kind;
  8659. public $metrics;
  8660. public $profileId;
  8661. public $segment;
  8662. public $selfLink;
  8663. public $startDate;
  8664. public $status;
  8665. public $title;
  8666. public $updated;
  8667. public $webPropertyId;
  8668. public function setAccountId($accountId)
  8669. {
  8670. $this->accountId = $accountId;
  8671. }
  8672. public function getAccountId()
  8673. {
  8674. return $this->accountId;
  8675. }
  8676. public function setCloudStorageDownloadDetails(Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails)
  8677. {
  8678. $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails;
  8679. }
  8680. public function getCloudStorageDownloadDetails()
  8681. {
  8682. return $this->cloudStorageDownloadDetails;
  8683. }
  8684. public function setCreated($created)
  8685. {
  8686. $this->created = $created;
  8687. }
  8688. public function getCreated()
  8689. {
  8690. return $this->created;
  8691. }
  8692. public function setDimensions($dimensions)
  8693. {
  8694. $this->dimensions = $dimensions;
  8695. }
  8696. public function getDimensions()
  8697. {
  8698. return $this->dimensions;
  8699. }
  8700. public function setDownloadType($downloadType)
  8701. {
  8702. $this->downloadType = $downloadType;
  8703. }
  8704. public function getDownloadType()
  8705. {
  8706. return $this->downloadType;
  8707. }
  8708. public function setDriveDownloadDetails(Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails)
  8709. {
  8710. $this->driveDownloadDetails = $driveDownloadDetails;
  8711. }
  8712. public function getDriveDownloadDetails()
  8713. {
  8714. return $this->driveDownloadDetails;
  8715. }
  8716. public function setEndDate($endDate)
  8717. {
  8718. $this->endDate = $endDate;
  8719. }
  8720. public function getEndDate()
  8721. {
  8722. return $this->endDate;
  8723. }
  8724. public function setFilters($filters)
  8725. {
  8726. $this->filters = $filters;
  8727. }
  8728. public function getFilters()
  8729. {
  8730. return $this->filters;
  8731. }
  8732. public function setId($id)
  8733. {
  8734. $this->id = $id;
  8735. }
  8736. public function getId()
  8737. {
  8738. return $this->id;
  8739. }
  8740. public function setKind($kind)
  8741. {
  8742. $this->kind = $kind;
  8743. }
  8744. public function getKind()
  8745. {
  8746. return $this->kind;
  8747. }
  8748. public function setMetrics($metrics)
  8749. {
  8750. $this->metrics = $metrics;
  8751. }
  8752. public function getMetrics()
  8753. {
  8754. return $this->metrics;
  8755. }
  8756. public function setProfileId($profileId)
  8757. {
  8758. $this->profileId = $profileId;
  8759. }
  8760. public function getProfileId()
  8761. {
  8762. return $this->profileId;
  8763. }
  8764. public function setSegment($segment)
  8765. {
  8766. $this->segment = $segment;
  8767. }
  8768. public function getSegment()
  8769. {
  8770. return $this->segment;
  8771. }
  8772. public function setSelfLink($selfLink)
  8773. {
  8774. $this->selfLink = $selfLink;
  8775. }
  8776. public function getSelfLink()
  8777. {
  8778. return $this->selfLink;
  8779. }
  8780. public function setStartDate($startDate)
  8781. {
  8782. $this->startDate = $startDate;
  8783. }
  8784. public function getStartDate()
  8785. {
  8786. return $this->startDate;
  8787. }
  8788. public function setStatus($status)
  8789. {
  8790. $this->status = $status;
  8791. }
  8792. public function getStatus()
  8793. {
  8794. return $this->status;
  8795. }
  8796. public function setTitle($title)
  8797. {
  8798. $this->title = $title;
  8799. }
  8800. public function getTitle()
  8801. {
  8802. return $this->title;
  8803. }
  8804. public function setUpdated($updated)
  8805. {
  8806. $this->updated = $updated;
  8807. }
  8808. public function getUpdated()
  8809. {
  8810. return $this->updated;
  8811. }
  8812. public function setWebPropertyId($webPropertyId)
  8813. {
  8814. $this->webPropertyId = $webPropertyId;
  8815. }
  8816. public function getWebPropertyId()
  8817. {
  8818. return $this->webPropertyId;
  8819. }
  8820. }
  8821. class Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Google_Model
  8822. {
  8823. protected $internal_gapi_mappings = array(
  8824. );
  8825. public $bucketId;
  8826. public $objectId;
  8827. public function setBucketId($bucketId)
  8828. {
  8829. $this->bucketId = $bucketId;
  8830. }
  8831. public function getBucketId()
  8832. {
  8833. return $this->bucketId;
  8834. }
  8835. public function setObjectId($objectId)
  8836. {
  8837. $this->objectId = $objectId;
  8838. }
  8839. public function getObjectId()
  8840. {
  8841. return $this->objectId;
  8842. }
  8843. }
  8844. class Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Google_Model
  8845. {
  8846. protected $internal_gapi_mappings = array(
  8847. );
  8848. public $documentId;
  8849. public function setDocumentId($documentId)
  8850. {
  8851. $this->documentId = $documentId;
  8852. }
  8853. public function getDocumentId()
  8854. {
  8855. return $this->documentId;
  8856. }
  8857. }
  8858. class Google_Service_Analytics_UnsampledReports extends Google_Collection
  8859. {
  8860. protected $collection_key = 'items';
  8861. protected $internal_gapi_mappings = array(
  8862. );
  8863. protected $itemsType = 'Google_Service_Analytics_UnsampledReport';
  8864. protected $itemsDataType = 'array';
  8865. public $itemsPerPage;
  8866. public $kind;
  8867. public $nextLink;
  8868. public $previousLink;
  8869. public $startIndex;
  8870. public $totalResults;
  8871. public $username;
  8872. public function setItems($items)
  8873. {
  8874. $this->items = $items;
  8875. }
  8876. public function getItems()
  8877. {
  8878. return $this->items;
  8879. }
  8880. public function setItemsPerPage($itemsPerPage)
  8881. {
  8882. $this->itemsPerPage = $itemsPerPage;
  8883. }
  8884. public function getItemsPerPage()
  8885. {
  8886. return $this->itemsPerPage;
  8887. }
  8888. public function setKind($kind)
  8889. {
  8890. $this->kind = $kind;
  8891. }
  8892. public function getKind()
  8893. {
  8894. return $this->kind;
  8895. }
  8896. public function setNextLink($nextLink)
  8897. {
  8898. $this->nextLink = $nextLink;
  8899. }
  8900. public function getNextLink()
  8901. {
  8902. return $this->nextLink;
  8903. }
  8904. public function setPreviousLink($previousLink)
  8905. {
  8906. $this->previousLink = $previousLink;
  8907. }
  8908. public function getPreviousLink()
  8909. {
  8910. return $this->previousLink;
  8911. }
  8912. public function setStartIndex($startIndex)
  8913. {
  8914. $this->startIndex = $startIndex;
  8915. }
  8916. public function getStartIndex()
  8917. {
  8918. return $this->startIndex;
  8919. }
  8920. public function setTotalResults($totalResults)
  8921. {
  8922. $this->totalResults = $totalResults;
  8923. }
  8924. public function getTotalResults()
  8925. {
  8926. return $this->totalResults;
  8927. }
  8928. public function setUsername($username)
  8929. {
  8930. $this->username = $username;
  8931. }
  8932. public function getUsername()
  8933. {
  8934. return $this->username;
  8935. }
  8936. }
  8937. class Google_Service_Analytics_Upload extends Google_Collection
  8938. {
  8939. protected $collection_key = 'errors';
  8940. protected $internal_gapi_mappings = array(
  8941. );
  8942. public $accountId;
  8943. public $customDataSourceId;
  8944. public $errors;
  8945. public $id;
  8946. public $kind;
  8947. public $status;
  8948. public function setAccountId($accountId)
  8949. {
  8950. $this->accountId = $accountId;
  8951. }
  8952. public function getAccountId()
  8953. {
  8954. return $this->accountId;
  8955. }
  8956. public function setCustomDataSourceId($customDataSourceId)
  8957. {
  8958. $this->customDataSourceId = $customDataSourceId;
  8959. }
  8960. public function getCustomDataSourceId()
  8961. {
  8962. return $this->customDataSourceId;
  8963. }
  8964. public function setErrors($errors)
  8965. {
  8966. $this->errors = $errors;
  8967. }
  8968. public function getErrors()
  8969. {
  8970. return $this->errors;
  8971. }
  8972. public function setId($id)
  8973. {
  8974. $this->id = $id;
  8975. }
  8976. public function getId()
  8977. {
  8978. return $this->id;
  8979. }
  8980. public function setKind($kind)
  8981. {
  8982. $this->kind = $kind;
  8983. }
  8984. public function getKind()
  8985. {
  8986. return $this->kind;
  8987. }
  8988. public function setStatus($status)
  8989. {
  8990. $this->status = $status;
  8991. }
  8992. public function getStatus()
  8993. {
  8994. return $this->status;
  8995. }
  8996. }
  8997. class Google_Service_Analytics_Uploads extends Google_Collection
  8998. {
  8999. protected $collection_key = 'items';
  9000. protected $internal_gapi_mappings = array(
  9001. );
  9002. protected $itemsType = 'Google_Service_Analytics_Upload';
  9003. protected $itemsDataType = 'array';
  9004. public $itemsPerPage;
  9005. public $kind;
  9006. public $nextLink;
  9007. public $previousLink;
  9008. public $startIndex;
  9009. public $totalResults;
  9010. public function setItems($items)
  9011. {
  9012. $this->items = $items;
  9013. }
  9014. public function getItems()
  9015. {
  9016. return $this->items;
  9017. }
  9018. public function setItemsPerPage($itemsPerPage)
  9019. {
  9020. $this->itemsPerPage = $itemsPerPage;
  9021. }
  9022. public function getItemsPerPage()
  9023. {
  9024. return $this->itemsPerPage;
  9025. }
  9026. public function setKind($kind)
  9027. {
  9028. $this->kind = $kind;
  9029. }
  9030. public function getKind()
  9031. {
  9032. return $this->kind;
  9033. }
  9034. public function setNextLink($nextLink)
  9035. {
  9036. $this->nextLink = $nextLink;
  9037. }
  9038. public function getNextLink()
  9039. {
  9040. return $this->nextLink;
  9041. }
  9042. public function setPreviousLink($previousLink)
  9043. {
  9044. $this->previousLink = $previousLink;
  9045. }
  9046. public function getPreviousLink()
  9047. {
  9048. return $this->previousLink;
  9049. }
  9050. public function setStartIndex($startIndex)
  9051. {
  9052. $this->startIndex = $startIndex;
  9053. }
  9054. public function getStartIndex()
  9055. {
  9056. return $this->startIndex;
  9057. }
  9058. public function setTotalResults($totalResults)
  9059. {
  9060. $this->totalResults = $totalResults;
  9061. }
  9062. public function getTotalResults()
  9063. {
  9064. return $this->totalResults;
  9065. }
  9066. }
  9067. class Google_Service_Analytics_UserRef extends Google_Model
  9068. {
  9069. protected $internal_gapi_mappings = array(
  9070. );
  9071. public $email;
  9072. public $id;
  9073. public $kind;
  9074. public function setEmail($email)
  9075. {
  9076. $this->email = $email;
  9077. }
  9078. public function getEmail()
  9079. {
  9080. return $this->email;
  9081. }
  9082. public function setId($id)
  9083. {
  9084. $this->id = $id;
  9085. }
  9086. public function getId()
  9087. {
  9088. return $this->id;
  9089. }
  9090. public function setKind($kind)
  9091. {
  9092. $this->kind = $kind;
  9093. }
  9094. public function getKind()
  9095. {
  9096. return $this->kind;
  9097. }
  9098. }
  9099. class Google_Service_Analytics_WebPropertyRef extends Google_Model
  9100. {
  9101. protected $internal_gapi_mappings = array(
  9102. );
  9103. public $accountId;
  9104. public $href;
  9105. public $id;
  9106. public $internalWebPropertyId;
  9107. public $kind;
  9108. public $name;
  9109. public function setAccountId($accountId)
  9110. {
  9111. $this->accountId = $accountId;
  9112. }
  9113. public function getAccountId()
  9114. {
  9115. return $this->accountId;
  9116. }
  9117. public function setHref($href)
  9118. {
  9119. $this->href = $href;
  9120. }
  9121. public function getHref()
  9122. {
  9123. return $this->href;
  9124. }
  9125. public function setId($id)
  9126. {
  9127. $this->id = $id;
  9128. }
  9129. public function getId()
  9130. {
  9131. return $this->id;
  9132. }
  9133. public function setInternalWebPropertyId($internalWebPropertyId)
  9134. {
  9135. $this->internalWebPropertyId = $internalWebPropertyId;
  9136. }
  9137. public function getInternalWebPropertyId()
  9138. {
  9139. return $this->internalWebPropertyId;
  9140. }
  9141. public function setKind($kind)
  9142. {
  9143. $this->kind = $kind;
  9144. }
  9145. public function getKind()
  9146. {
  9147. return $this->kind;
  9148. }
  9149. public function setName($name)
  9150. {
  9151. $this->name = $name;
  9152. }
  9153. public function getName()
  9154. {
  9155. return $this->name;
  9156. }
  9157. }
  9158. class Google_Service_Analytics_WebPropertySummary extends Google_Collection
  9159. {
  9160. protected $collection_key = 'profiles';
  9161. protected $internal_gapi_mappings = array(
  9162. );
  9163. public $id;
  9164. public $internalWebPropertyId;
  9165. public $kind;
  9166. public $level;
  9167. public $name;
  9168. protected $profilesType = 'Google_Service_Analytics_ProfileSummary';
  9169. protected $profilesDataType = 'array';
  9170. public $websiteUrl;
  9171. public function setId($id)
  9172. {
  9173. $this->id = $id;
  9174. }
  9175. public function getId()
  9176. {
  9177. return $this->id;
  9178. }
  9179. public function setInternalWebPropertyId($internalWebPropertyId)
  9180. {
  9181. $this->internalWebPropertyId = $internalWebPropertyId;
  9182. }
  9183. public function getInternalWebPropertyId()
  9184. {
  9185. return $this->internalWebPropertyId;
  9186. }
  9187. public function setKind($kind)
  9188. {
  9189. $this->kind = $kind;
  9190. }
  9191. public function getKind()
  9192. {
  9193. return $this->kind;
  9194. }
  9195. public function setLevel($level)
  9196. {
  9197. $this->level = $level;
  9198. }
  9199. public function getLevel()
  9200. {
  9201. return $this->level;
  9202. }
  9203. public function setName($name)
  9204. {
  9205. $this->name = $name;
  9206. }
  9207. public function getName()
  9208. {
  9209. return $this->name;
  9210. }
  9211. public function setProfiles($profiles)
  9212. {
  9213. $this->profiles = $profiles;
  9214. }
  9215. public function getProfiles()
  9216. {
  9217. return $this->profiles;
  9218. }
  9219. public function setWebsiteUrl($websiteUrl)
  9220. {
  9221. $this->websiteUrl = $websiteUrl;
  9222. }
  9223. public function getWebsiteUrl()
  9224. {
  9225. return $this->websiteUrl;
  9226. }
  9227. }
  9228. class Google_Service_Analytics_Webproperties extends Google_Collection
  9229. {
  9230. protected $collection_key = 'items';
  9231. protected $internal_gapi_mappings = array(
  9232. );
  9233. protected $itemsType = 'Google_Service_Analytics_Webproperty';
  9234. protected $itemsDataType = 'array';
  9235. public $itemsPerPage;
  9236. public $kind;
  9237. public $nextLink;
  9238. public $previousLink;
  9239. public $startIndex;
  9240. public $totalResults;
  9241. public $username;
  9242. public function setItems($items)
  9243. {
  9244. $this->items = $items;
  9245. }
  9246. public function getItems()
  9247. {
  9248. return $this->items;
  9249. }
  9250. public function setItemsPerPage($itemsPerPage)
  9251. {
  9252. $this->itemsPerPage = $itemsPerPage;
  9253. }
  9254. public function getItemsPerPage()
  9255. {
  9256. return $this->itemsPerPage;
  9257. }
  9258. public function setKind($kind)
  9259. {
  9260. $this->kind = $kind;
  9261. }
  9262. public function getKind()
  9263. {
  9264. return $this->kind;
  9265. }
  9266. public function setNextLink($nextLink)
  9267. {
  9268. $this->nextLink = $nextLink;
  9269. }
  9270. public function getNextLink()
  9271. {
  9272. return $this->nextLink;
  9273. }
  9274. public function setPreviousLink($previousLink)
  9275. {
  9276. $this->previousLink = $previousLink;
  9277. }
  9278. public function getPreviousLink()
  9279. {
  9280. return $this->previousLink;
  9281. }
  9282. public function setStartIndex($startIndex)
  9283. {
  9284. $this->startIndex = $startIndex;
  9285. }
  9286. public function getStartIndex()
  9287. {
  9288. return $this->startIndex;
  9289. }
  9290. public function setTotalResults($totalResults)
  9291. {
  9292. $this->totalResults = $totalResults;
  9293. }
  9294. public function getTotalResults()
  9295. {
  9296. return $this->totalResults;
  9297. }
  9298. public function setUsername($username)
  9299. {
  9300. $this->username = $username;
  9301. }
  9302. public function getUsername()
  9303. {
  9304. return $this->username;
  9305. }
  9306. }
  9307. class Google_Service_Analytics_Webproperty extends Google_Model
  9308. {
  9309. protected $internal_gapi_mappings = array(
  9310. );
  9311. public $accountId;
  9312. protected $childLinkType = 'Google_Service_Analytics_WebpropertyChildLink';
  9313. protected $childLinkDataType = '';
  9314. public $created;
  9315. public $defaultProfileId;
  9316. public $id;
  9317. public $industryVertical;
  9318. public $internalWebPropertyId;
  9319. public $kind;
  9320. public $level;
  9321. public $name;
  9322. protected $parentLinkType = 'Google_Service_Analytics_WebpropertyParentLink';
  9323. protected $parentLinkDataType = '';
  9324. protected $permissionsType = 'Google_Service_Analytics_WebpropertyPermissions';
  9325. protected $permissionsDataType = '';
  9326. public $profileCount;
  9327. public $selfLink;
  9328. public $updated;
  9329. public $websiteUrl;
  9330. public function setAccountId($accountId)
  9331. {
  9332. $this->accountId = $accountId;
  9333. }
  9334. public function getAccountId()
  9335. {
  9336. return $this->accountId;
  9337. }
  9338. public function setChildLink(Google_Service_Analytics_WebpropertyChildLink $childLink)
  9339. {
  9340. $this->childLink = $childLink;
  9341. }
  9342. public function getChildLink()
  9343. {
  9344. return $this->childLink;
  9345. }
  9346. public function setCreated($created)
  9347. {
  9348. $this->created = $created;
  9349. }
  9350. public function getCreated()
  9351. {
  9352. return $this->created;
  9353. }
  9354. public function setDefaultProfileId($defaultProfileId)
  9355. {
  9356. $this->defaultProfileId = $defaultProfileId;
  9357. }
  9358. public function getDefaultProfileId()
  9359. {
  9360. return $this->defaultProfileId;
  9361. }
  9362. public function setId($id)
  9363. {
  9364. $this->id = $id;
  9365. }
  9366. public function getId()
  9367. {
  9368. return $this->id;
  9369. }
  9370. public function setIndustryVertical($industryVertical)
  9371. {
  9372. $this->industryVertical = $industryVertical;
  9373. }
  9374. public function getIndustryVertical()
  9375. {
  9376. return $this->industryVertical;
  9377. }
  9378. public function setInternalWebPropertyId($internalWebPropertyId)
  9379. {
  9380. $this->internalWebPropertyId = $internalWebPropertyId;
  9381. }
  9382. public function getInternalWebPropertyId()
  9383. {
  9384. return $this->internalWebPropertyId;
  9385. }
  9386. public function setKind($kind)
  9387. {
  9388. $this->kind = $kind;
  9389. }
  9390. public function getKind()
  9391. {
  9392. return $this->kind;
  9393. }
  9394. public function setLevel($level)
  9395. {
  9396. $this->level = $level;
  9397. }
  9398. public function getLevel()
  9399. {
  9400. return $this->level;
  9401. }
  9402. public function setName($name)
  9403. {
  9404. $this->name = $name;
  9405. }
  9406. public function getName()
  9407. {
  9408. return $this->name;
  9409. }
  9410. public function setParentLink(Google_Service_Analytics_WebpropertyParentLink $parentLink)
  9411. {
  9412. $this->parentLink = $parentLink;
  9413. }
  9414. public function getParentLink()
  9415. {
  9416. return $this->parentLink;
  9417. }
  9418. public function setPermissions(Google_Service_Analytics_WebpropertyPermissions $permissions)
  9419. {
  9420. $this->permissions = $permissions;
  9421. }
  9422. public function getPermissions()
  9423. {
  9424. return $this->permissions;
  9425. }
  9426. public function setProfileCount($profileCount)
  9427. {
  9428. $this->profileCount = $profileCount;
  9429. }
  9430. public function getProfileCount()
  9431. {
  9432. return $this->profileCount;
  9433. }
  9434. public function setSelfLink($selfLink)
  9435. {
  9436. $this->selfLink = $selfLink;
  9437. }
  9438. public function getSelfLink()
  9439. {
  9440. return $this->selfLink;
  9441. }
  9442. public function setUpdated($updated)
  9443. {
  9444. $this->updated = $updated;
  9445. }
  9446. public function getUpdated()
  9447. {
  9448. return $this->updated;
  9449. }
  9450. public function setWebsiteUrl($websiteUrl)
  9451. {
  9452. $this->websiteUrl = $websiteUrl;
  9453. }
  9454. public function getWebsiteUrl()
  9455. {
  9456. return $this->websiteUrl;
  9457. }
  9458. }
  9459. class Google_Service_Analytics_WebpropertyChildLink extends Google_Model
  9460. {
  9461. protected $internal_gapi_mappings = array(
  9462. );
  9463. public $href;
  9464. public $type;
  9465. public function setHref($href)
  9466. {
  9467. $this->href = $href;
  9468. }
  9469. public function getHref()
  9470. {
  9471. return $this->href;
  9472. }
  9473. public function setType($type)
  9474. {
  9475. $this->type = $type;
  9476. }
  9477. public function getType()
  9478. {
  9479. return $this->type;
  9480. }
  9481. }
  9482. class Google_Service_Analytics_WebpropertyParentLink extends Google_Model
  9483. {
  9484. protected $internal_gapi_mappings = array(
  9485. );
  9486. public $href;
  9487. public $type;
  9488. public function setHref($href)
  9489. {
  9490. $this->href = $href;
  9491. }
  9492. public function getHref()
  9493. {
  9494. return $this->href;
  9495. }
  9496. public function setType($type)
  9497. {
  9498. $this->type = $type;
  9499. }
  9500. public function getType()
  9501. {
  9502. return $this->type;
  9503. }
  9504. }
  9505. class Google_Service_Analytics_WebpropertyPermissions extends Google_Collection
  9506. {
  9507. protected $collection_key = 'effective';
  9508. protected $internal_gapi_mappings = array(
  9509. );
  9510. public $effective;
  9511. public function setEffective($effective)
  9512. {
  9513. $this->effective = $effective;
  9514. }
  9515. public function getEffective()
  9516. {
  9517. return $this->effective;
  9518. }
  9519. }