Google Cloud Discovery Engine V1beta Client - Class ImportDocumentsMetadata (0.5.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class ImportDocumentsMetadata.

Metadata related to the progress of the ImportDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.

Generated from protobuf message google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ create_time Google\Protobuf\Timestamp

Operation create time.

↳ update_time Google\Protobuf\Timestamp

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

↳ success_count int|string

Count of entries that were processed successfully.

↳ failure_count int|string

Count of entries that encountered errors while processing.

getCreateTime

Operation create time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Operation create time.

Parameter
NameDescription
var Google\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
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getSuccessCount

Count of entries that were processed successfully.

Returns
TypeDescription
int|string

setSuccessCount

Count of entries that were processed successfully.

Parameter
NameDescription
var int|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
var int|string
Returns
TypeDescription
$this