Reference documentation and code samples for the Cloud Firestore V1beta1 Client class DocumentDelete.
A Document has been deleted.
May be the result of multiple writes, including updates, the last of which deleted the Document. Multiple DocumentDelete messages may be returned for the same logical delete, if multiple targets are affected.
Generated from protobuf message google.firestore.v1beta1.DocumentDelete
Namespace
Google \ Cloud \ Firestore \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ document |
string
The resource name of the Document that was deleted. |
↳ removed_target_ids |
int[]
A set of target IDs for targets that previously matched this entity. |
↳ read_time |
Google\Protobuf\Timestamp
The read timestamp at which the delete was observed. Greater or equal to the |
getDocument
The resource name of the Document that was deleted.
Returns | |
---|---|
Type | Description |
string |
setDocument
The resource name of the Document that was deleted.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRemovedTargetIds
A set of target IDs for targets that previously matched this entity.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRemovedTargetIds
A set of target IDs for targets that previously matched this entity.
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |
getReadTime
The read timestamp at which the delete was observed.
Greater or equal to the commit_time
of the delete.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp |
setReadTime
The read timestamp at which the delete was observed.
Greater or equal to the commit_time
of the delete.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |