GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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\Contactcenterinsights;
  18. class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats extends \Google\Collection
  19. {
  20. protected $collection_key = 'fileNames';
  21. /**
  22. * Output only. Full name of the files written to Cloud storage.
  23. *
  24. * @var string[]
  25. */
  26. public $fileNames;
  27. /**
  28. * The number of objects processed during the download operation.
  29. *
  30. * @var int
  31. */
  32. public $processedObjectCount;
  33. /**
  34. * The number of new feedback labels downloaded during this operation.
  35. * Different from "processed" because some labels might not be downloaded
  36. * because an error.
  37. *
  38. * @var int
  39. */
  40. public $successfulDownloadCount;
  41. /**
  42. * Total number of files written to the provided Cloud Storage bucket.
  43. *
  44. * @var int
  45. */
  46. public $totalFilesWritten;
  47. /**
  48. * Output only. Full name of the files written to Cloud storage.
  49. *
  50. * @param string[] $fileNames
  51. */
  52. public function setFileNames($fileNames)
  53. {
  54. $this->fileNames = $fileNames;
  55. }
  56. /**
  57. * @return string[]
  58. */
  59. public function getFileNames()
  60. {
  61. return $this->fileNames;
  62. }
  63. /**
  64. * The number of objects processed during the download operation.
  65. *
  66. * @param int $processedObjectCount
  67. */
  68. public function setProcessedObjectCount($processedObjectCount)
  69. {
  70. $this->processedObjectCount = $processedObjectCount;
  71. }
  72. /**
  73. * @return int
  74. */
  75. public function getProcessedObjectCount()
  76. {
  77. return $this->processedObjectCount;
  78. }
  79. /**
  80. * The number of new feedback labels downloaded during this operation.
  81. * Different from "processed" because some labels might not be downloaded
  82. * because an error.
  83. *
  84. * @param int $successfulDownloadCount
  85. */
  86. public function setSuccessfulDownloadCount($successfulDownloadCount)
  87. {
  88. $this->successfulDownloadCount = $successfulDownloadCount;
  89. }
  90. /**
  91. * @return int
  92. */
  93. public function getSuccessfulDownloadCount()
  94. {
  95. return $this->successfulDownloadCount;
  96. }
  97. /**
  98. * Total number of files written to the provided Cloud Storage bucket.
  99. *
  100. * @param int $totalFilesWritten
  101. */
  102. public function setTotalFilesWritten($totalFilesWritten)
  103. {
  104. $this->totalFilesWritten = $totalFilesWritten;
  105. }
  106. /**
  107. * @return int
  108. */
  109. public function getTotalFilesWritten()
  110. {
  111. return $this->totalFilesWritten;
  112. }
  113. }
  114. // Adding a class alias for backwards compatibility with the previous class name.
  115. class_alias(GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats');