Google Cloud Recommendation Engine V1beta1 Client - Class ImportMetadata (0.7.0)

Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class ImportMetadata.

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

Generated from protobuf message google.cloud.recommendationengine.v1beta1.ImportMetadata

Namespace

Google \ Cloud \ RecommendationEngine \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ operation_name string

Name of the operation.

↳ request_id string

Id of the request / operation. This is parroting back the requestId that was passed in the request.

↳ create_time Google\Protobuf\Timestamp

Operation create time.

↳ success_count int|string

Count of entries that were processed successfully.

↳ failure_count int|string

Count of entries that encountered errors while processing.

↳ update_time Google\Protobuf\Timestamp

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

getOperationName

Name of the operation.

Returns
TypeDescription
string

setOperationName

Name of the operation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequestId

Id of the request / operation. This is parroting back the requestId that was passed in the request.

Returns
TypeDescription
string

setRequestId

Id of the request / operation. This is parroting back the requestId that was passed in the request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

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

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

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