DataCollectionOptionsCommon.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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\OracleDatabase;
  18. class DataCollectionOptionsCommon extends \Google\Model
  19. {
  20. /**
  21. * Optional. Indicates whether to enable data collection for diagnostics.
  22. *
  23. * @var bool
  24. */
  25. public $isDiagnosticsEventsEnabled;
  26. /**
  27. * Optional. Indicates whether to enable health monitoring.
  28. *
  29. * @var bool
  30. */
  31. public $isHealthMonitoringEnabled;
  32. /**
  33. * Optional. Indicates whether to enable incident logs and trace collection.
  34. *
  35. * @var bool
  36. */
  37. public $isIncidentLogsEnabled;
  38. /**
  39. * Optional. Indicates whether to enable data collection for diagnostics.
  40. *
  41. * @param bool $isDiagnosticsEventsEnabled
  42. */
  43. public function setIsDiagnosticsEventsEnabled($isDiagnosticsEventsEnabled)
  44. {
  45. $this->isDiagnosticsEventsEnabled = $isDiagnosticsEventsEnabled;
  46. }
  47. /**
  48. * @return bool
  49. */
  50. public function getIsDiagnosticsEventsEnabled()
  51. {
  52. return $this->isDiagnosticsEventsEnabled;
  53. }
  54. /**
  55. * Optional. Indicates whether to enable health monitoring.
  56. *
  57. * @param bool $isHealthMonitoringEnabled
  58. */
  59. public function setIsHealthMonitoringEnabled($isHealthMonitoringEnabled)
  60. {
  61. $this->isHealthMonitoringEnabled = $isHealthMonitoringEnabled;
  62. }
  63. /**
  64. * @return bool
  65. */
  66. public function getIsHealthMonitoringEnabled()
  67. {
  68. return $this->isHealthMonitoringEnabled;
  69. }
  70. /**
  71. * Optional. Indicates whether to enable incident logs and trace collection.
  72. *
  73. * @param bool $isIncidentLogsEnabled
  74. */
  75. public function setIsIncidentLogsEnabled($isIncidentLogsEnabled)
  76. {
  77. $this->isIncidentLogsEnabled = $isIncidentLogsEnabled;
  78. }
  79. /**
  80. * @return bool
  81. */
  82. public function getIsIncidentLogsEnabled()
  83. {
  84. return $this->isIncidentLogsEnabled;
  85. }
  86. }
  87. // Adding a class alias for backwards compatibility with the previous class name.
  88. class_alias(DataCollectionOptionsCommon::class, 'Google_Service_OracleDatabase_DataCollectionOptionsCommon');