Google Cloud Discovery Engine V1 Client - Class ImportCompletionSuggestionsMetadata (1.0.0)

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

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

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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 CompletionSuggestions successfully imported.

↳ failure_count int|string

Count of CompletionSuggestions that failed to be imported.

getCreateTime

Operation create time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Operation create time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getSuccessCount

Count of CompletionSuggestions successfully imported.

Returns
Type Description
int|string

setSuccessCount

Count of CompletionSuggestions successfully imported.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getFailureCount

Count of CompletionSuggestions that failed to be imported.

Returns
Type Description
int|string

setFailureCount

Count of CompletionSuggestions that failed to be imported.

Parameter
Name Description
var int|string
Returns
Type Description
$this