endTime = $endTime; } /** * @return string */ public function getEndTime() { return $this->endTime; } /** * The client-assigned labels which were provided when the operation was * created. May also include additional labels. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * The type of the operation. Can be used as a filter in * ListOperationsRequest. * * Accepted values: OPERATION_TYPE_UNSPECIFIED, EXPORT_ENTITIES, * IMPORT_ENTITIES, CREATE_INDEX, DELETE_INDEX * * @param self::OPERATION_TYPE_* $operationType */ public function setOperationType($operationType) { $this->operationType = $operationType; } /** * @return self::OPERATION_TYPE_* */ public function getOperationType() { return $this->operationType; } /** * The time that work began on the operation. * * @param string $startTime */ public function setStartTime($startTime) { $this->startTime = $startTime; } /** * @return string */ public function getStartTime() { return $this->startTime; } /** * The current state of the Operation. * * Accepted values: STATE_UNSPECIFIED, INITIALIZING, PROCESSING, CANCELLING, * FINALIZING, SUCCESSFUL, FAILED, CANCELLED * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleDatastoreAdminV1CommonMetadata::class, 'Google_Service_Datastore_GoogleDatastoreAdminV1CommonMetadata');