GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata extends \Google\Collection
  19. {
  20. protected $collection_key = 'partialErrors';
  21. /**
  22. * Output only. The time the operation was created.
  23. *
  24. * @var string
  25. */
  26. public $createTime;
  27. /**
  28. * Output only. The time the operation finished running.
  29. *
  30. * @var string
  31. */
  32. public $endTime;
  33. protected $partialErrorsType = GoogleRpcStatus::class;
  34. protected $partialErrorsDataType = 'array';
  35. protected $requestType = GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest::class;
  36. protected $requestDataType = '';
  37. /**
  38. * Output only. The time the operation was created.
  39. *
  40. * @param string $createTime
  41. */
  42. public function setCreateTime($createTime)
  43. {
  44. $this->createTime = $createTime;
  45. }
  46. /**
  47. * @return string
  48. */
  49. public function getCreateTime()
  50. {
  51. return $this->createTime;
  52. }
  53. /**
  54. * Output only. The time the operation finished running.
  55. *
  56. * @param string $endTime
  57. */
  58. public function setEndTime($endTime)
  59. {
  60. $this->endTime = $endTime;
  61. }
  62. /**
  63. * @return string
  64. */
  65. public function getEndTime()
  66. {
  67. return $this->endTime;
  68. }
  69. /**
  70. * Partial errors during initializing operation that might cause the operation
  71. * output to be incomplete.
  72. *
  73. * @param GoogleRpcStatus[] $partialErrors
  74. */
  75. public function setPartialErrors($partialErrors)
  76. {
  77. $this->partialErrors = $partialErrors;
  78. }
  79. /**
  80. * @return GoogleRpcStatus[]
  81. */
  82. public function getPartialErrors()
  83. {
  84. return $this->partialErrors;
  85. }
  86. /**
  87. * Output only. The original request for initialization.
  88. *
  89. * @param GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest $request
  90. */
  91. public function setRequest(GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest $request)
  92. {
  93. $this->request = $request;
  94. }
  95. /**
  96. * @return GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest
  97. */
  98. public function getRequest()
  99. {
  100. return $this->request;
  101. }
  102. }
  103. // Adding a class alias for backwards compatibility with the previous class name.
  104. class_alias(GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata');