BigQuery Client - Class InsertResponse (1.34.7)

Reference documentation and code samples for the BigQuery Client class InsertResponse.

Represents the result of streaming data into a table.

This class should be not instantiated directly, but as a result of calling Table::insertRow() or Table::insertRows().

Namespace

Google \ Cloud \ BigQuery

Methods

__construct

Parameters
Name Description
info array

The API response.

rows array

The rows provided in the original request.

isSuccessful

Determines if the request was successful.

Example:

if (!$insertResponse->isSuccessful()) {
 print_r($insertResponse->failedRows());
}
Returns
Type Description
bool

failedRows

Returns
Type Description
array

info

Returns
Type Description
array

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月13日 UTC.