endTime = $endTime; } /** * @return string */ public function getEndTime() { return $this->endTime; } /** * The field resource that this operation is acting on. For example: `projects * /{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fiel * ds/{field_path}` * * @param string $field */ public function setField($field) { $this->field = $field; } /** * @return string */ public function getField() { return $this->field; } /** * A list of IndexConfigDelta, which describe the intent of this operation. * * @param GoogleFirestoreAdminV1IndexConfigDelta[] $indexConfigDeltas */ public function setIndexConfigDeltas($indexConfigDeltas) { $this->indexConfigDeltas = $indexConfigDeltas; } /** * @return GoogleFirestoreAdminV1IndexConfigDelta[] */ public function getIndexConfigDeltas() { return $this->indexConfigDeltas; } /** * The progress, in bytes, of this operation. * * @param GoogleFirestoreAdminV1Progress $progressBytes */ public function setProgressBytes(GoogleFirestoreAdminV1Progress $progressBytes) { $this->progressBytes = $progressBytes; } /** * @return GoogleFirestoreAdminV1Progress */ public function getProgressBytes() { return $this->progressBytes; } /** * The progress, in documents, of this operation. * * @param GoogleFirestoreAdminV1Progress $progressDocuments */ public function setProgressDocuments(GoogleFirestoreAdminV1Progress $progressDocuments) { $this->progressDocuments = $progressDocuments; } /** * @return GoogleFirestoreAdminV1Progress */ public function getProgressDocuments() { return $this->progressDocuments; } /** * The time this operation started. * * @param string $startTime */ public function setStartTime($startTime) { $this->startTime = $startTime; } /** * @return string */ public function getStartTime() { return $this->startTime; } /** * The state of the operation. * * Accepted values: OPERATION_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; } /** * Describes the deltas of TTL configuration. * * @param GoogleFirestoreAdminV1TtlConfigDelta $ttlConfigDelta */ public function setTtlConfigDelta(GoogleFirestoreAdminV1TtlConfigDelta $ttlConfigDelta) { $this->ttlConfigDelta = $ttlConfigDelta; } /** * @return GoogleFirestoreAdminV1TtlConfigDelta */ public function getTtlConfigDelta() { return $this->ttlConfigDelta; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleFirestoreAdminV1FieldOperationMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1FieldOperationMetadata');