Google Cloud Discovery Engine V1 Client - Class PurgeDocumentsMetadata (1.5.1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class PurgeDocumentsMetadata.

Metadata related to the progress of the PurgeDocuments operation.

This will be returned by the google.longrunning.Operation.metadata field.

Generated from protobuf message google.cloud.discoveryengine.v1.PurgeDocumentsMetadata

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ create_timeGoogle\Protobuf\Timestamp

Operation create time.

↳ update_timeGoogle\Protobuf\Timestamp

Operation last update time. If the operation is done, this is also the finish time.

↳ success_countint|string

Count of entries that were deleted successfully.

↳ failure_countint|string

Count of entries that encountered errors while processing.

↳ ignored_countint|string

Count of entries that were ignored as entries were not found.

getCreateTime

Operation create time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Operation create time.

Parameter
NameDescription
varGoogle\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Operation last update time. If the operation is done, this is also the finish time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Operation last update time. If the operation is done, this is also the finish time.

Parameter
NameDescription
varGoogle\Protobuf\Timestamp
Returns
TypeDescription
$this

getSuccessCount

Count of entries that were deleted successfully.

Returns
TypeDescription
int|string

setSuccessCount

Count of entries that were deleted successfully.

Parameter
NameDescription
varint|string
Returns
TypeDescription
$this

getFailureCount

Count of entries that encountered errors while processing.

Returns
TypeDescription
int|string

setFailureCount

Count of entries that encountered errors while processing.

Parameter
NameDescription
varint|string
Returns
TypeDescription
$this

getIgnoredCount

Count of entries that were ignored as entries were not found.

Returns
TypeDescription
int|string

setIgnoredCount

Count of entries that were ignored as entries were not found.

Parameter
NameDescription
varint|string
Returns
TypeDescription
$this