Reference documentation and code samples for the Google Cloud Asset V1 Client class QueryAssetsResponse.
QueryAssets response.
Generated from protobuf messagegoogle.cloud.asset.v1.QueryAssetsResponse
Namespace
Google \ Cloud \ Asset \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ job_reference
string
Reference to a query job.
↳ done
bool
The query response, which can be either anerroror a validresponse. Ifdone==falseand the query result is being saved in an output, the output_config field will be set. Ifdone==true, exactly one oferror,query_resultoroutput_configwill be set. [done] is unset unless the [QueryAssetsResponse] contains a [QueryAssetsResponse.job_reference].
Output configuration, which indicates that instead of being returned in an API response on the fly, the query result will be saved in a specific output.
getJobReference
Reference to a query job.
Returns
Type
Description
string
setJobReference
Reference to a query job.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDone
The query response, which can be either anerroror a validresponse.
Ifdone==falseand the query result is being saved in an output, the
output_config field will be set.
Ifdone==true, exactly one oferror,query_resultoroutput_configwill be set.
[done] is unset unless the [QueryAssetsResponse] contains a
[QueryAssetsResponse.job_reference].
Returns
Type
Description
bool
setDone
The query response, which can be either anerroror a validresponse.
Ifdone==falseand the query result is being saved in an output, the
output_config field will be set.
Ifdone==true, exactly one oferror,query_resultoroutput_configwill be set.
[done] is unset unless the [QueryAssetsResponse] contains a
[QueryAssetsResponse.job_reference].
Output configuration, which indicates that instead of being returned in
an API response on the fly, the query result will be saved in a specific
output.
Output configuration, which indicates that instead of being returned in
an API response on the fly, the query result will be saved in a specific
output.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Asset V1 Client - Class QueryAssetsResponse (2.2.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.3 (latest)](/php/docs/reference/cloud-asset/latest/V1.QueryAssetsResponse)\n- [2.2.2](/php/docs/reference/cloud-asset/2.2.2/V1.QueryAssetsResponse)\n- [2.1.3](/php/docs/reference/cloud-asset/2.1.3/V1.QueryAssetsResponse)\n- [2.0.1](/php/docs/reference/cloud-asset/2.0.1/V1.QueryAssetsResponse)\n- [1.16.4](/php/docs/reference/cloud-asset/1.16.4/V1.QueryAssetsResponse)\n- [1.14.1](/php/docs/reference/cloud-asset/1.14.1/V1.QueryAssetsResponse)\n- [1.13.2](/php/docs/reference/cloud-asset/1.13.2/V1.QueryAssetsResponse)\n- [1.12.2](/php/docs/reference/cloud-asset/1.12.2/V1.QueryAssetsResponse)\n- [1.11.3](/php/docs/reference/cloud-asset/1.11.3/V1.QueryAssetsResponse)\n- [1.10.2](/php/docs/reference/cloud-asset/1.10.2/V1.QueryAssetsResponse)\n- [1.9.2](/php/docs/reference/cloud-asset/1.9.2/V1.QueryAssetsResponse) \nReference documentation and code samples for the Google Cloud Asset V1 Client class QueryAssetsResponse.\n\nQueryAssets response.\n\nGenerated from protobuf message `google.cloud.asset.v1.QueryAssetsResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Asset \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getJobReference\n\nReference to a query job.\n\n### setJobReference\n\nReference to a query job.\n\n### getDone\n\nThe query response, which can be either an `error` or a valid `response`.\n\nIf `done` == `false` and the query result is being saved in an output, the\noutput_config field will be set.\nIf `done` == `true`, exactly one of\n`error`, `query_result` or `output_config` will be set.\n\\[done\\] is unset unless the \\[QueryAssetsResponse\\] contains a\n\\[QueryAssetsResponse.job_reference\\].\n\n### setDone\n\nThe query response, which can be either an `error` or a valid `response`.\n\nIf `done` == `false` and the query result is being saved in an output, the\noutput_config field will be set.\nIf `done` == `true`, exactly one of\n`error`, `query_result` or `output_config` will be set.\n\\[done\\] is unset unless the \\[QueryAssetsResponse\\] contains a\n\\[QueryAssetsResponse.job_reference\\].\n\n### getError\n\nError status.\n\n### hasError\n\n### setError\n\nError status.\n\n### getQueryResult\n\nResult of the query.\n\n### hasQueryResult\n\n### setQueryResult\n\nResult of the query.\n\n### getOutputConfig\n\nOutput configuration, which indicates that instead of being returned in\nan API response on the fly, the query result will be saved in a specific\noutput.\n\n### hasOutputConfig\n\n### setOutputConfig\n\nOutput configuration, which indicates that instead of being returned in\nan API response on the fly, the query result will be saved in a specific\noutput.\n\n### getResponse"]]