AddGoogleAnalyticsRequest.php 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. /*
  3. * Copyright 2014 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. namespace Google\Service\FirebaseManagement;
  18. class AddGoogleAnalyticsRequest extends \Google\Model
  19. {
  20. /**
  21. * The ID for the existing [Google Analytics
  22. * account](http://www.google.com/analytics/) that you want to link with the
  23. * `FirebaseProject`. Specifying this field will provision a new Google
  24. * Analytics property in your Google Analytics account and associate the new
  25. * property with the `FirebaseProject`.
  26. *
  27. * @var string
  28. */
  29. public $analyticsAccountId;
  30. /**
  31. * The ID for the existing Google Analytics property that you want to
  32. * associate with the `FirebaseProject`.
  33. *
  34. * @var string
  35. */
  36. public $analyticsPropertyId;
  37. /**
  38. * The ID for the existing [Google Analytics
  39. * account](http://www.google.com/analytics/) that you want to link with the
  40. * `FirebaseProject`. Specifying this field will provision a new Google
  41. * Analytics property in your Google Analytics account and associate the new
  42. * property with the `FirebaseProject`.
  43. *
  44. * @param string $analyticsAccountId
  45. */
  46. public function setAnalyticsAccountId($analyticsAccountId)
  47. {
  48. $this->analyticsAccountId = $analyticsAccountId;
  49. }
  50. /**
  51. * @return string
  52. */
  53. public function getAnalyticsAccountId()
  54. {
  55. return $this->analyticsAccountId;
  56. }
  57. /**
  58. * The ID for the existing Google Analytics property that you want to
  59. * associate with the `FirebaseProject`.
  60. *
  61. * @param string $analyticsPropertyId
  62. */
  63. public function setAnalyticsPropertyId($analyticsPropertyId)
  64. {
  65. $this->analyticsPropertyId = $analyticsPropertyId;
  66. }
  67. /**
  68. * @return string
  69. */
  70. public function getAnalyticsPropertyId()
  71. {
  72. return $this->analyticsPropertyId;
  73. }
  74. }
  75. // Adding a class alias for backwards compatibility with the previous class name.
  76. class_alias(AddGoogleAnalyticsRequest::class, 'Google_Service_FirebaseManagement_AddGoogleAnalyticsRequest');