Google Cloud Retail V2 Client - Class ImportUserEventsResponse (1.0.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class ImportUserEventsResponse.

Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.

Generated from protobuf message google.cloud.retail.v2.ImportUserEventsResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error_samples array<Google\Rpc\Status>

A sample of errors encountered while processing the request.

↳ errors_config Google\Cloud\Retail\V2\ImportErrorsConfig

Echoes the destination for the complete errors if this field was set in the request.

↳ import_summary Google\Cloud\Retail\V2\UserEventImportSummary

Aggregated statistics of user event import status.

getErrorSamples

A sample of errors encountered while processing the request.

Generated from protobuf field repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrorSamples

A sample of errors encountered while processing the request.

Generated from protobuf field repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
var array<Google\Rpc\Status>
Returns
Type Description
$this

getErrorsConfig

Echoes the destination for the complete errors if this field was set in the request.

Generated from protobuf field .google.cloud.retail.v2.ImportErrorsConfig errors_config = 2;

Returns
Type Description
Google\Cloud\Retail\V2\ImportErrorsConfig|null

hasErrorsConfig

clearErrorsConfig

setErrorsConfig

Echoes the destination for the complete errors if this field was set in the request.

Generated from protobuf field .google.cloud.retail.v2.ImportErrorsConfig errors_config = 2;

Parameter
Name Description
var Google\Cloud\Retail\V2\ImportErrorsConfig
Returns
Type Description
$this

getImportSummary

Aggregated statistics of user event import status.

Generated from protobuf field .google.cloud.retail.v2.UserEventImportSummary import_summary = 3;

Returns
Type Description
Google\Cloud\Retail\V2\UserEventImportSummary|null

hasImportSummary

clearImportSummary

setImportSummary

Aggregated statistics of user event import status.

Generated from protobuf field .google.cloud.retail.v2.UserEventImportSummary import_summary = 3;

Parameter
Name Description
var Google\Cloud\Retail\V2\UserEventImportSummary
Returns
Type Description
$this