Reference documentation and code samples for the Google Cloud Asset V1 Client class QueryAssetsResponse.
QueryAssets response.
Generated from protobuf message google.cloud.asset.v1.QueryAssetsResponse
Namespace
Google \ Cloud \ Asset \ V1Methods
__construct
Constructor.
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 an error
or a valid response
. If done
== false
and the query result is being saved in an output, the output_config field will be set. If done
== true
, exactly one of error
, query_result
or output_config
will be set. [done] is unset unless the [QueryAssetsResponse] contains a [QueryAssetsResponse.job_reference].
↳ error
↳ query_result
↳ output_config
QueryAssetsOutputConfig
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.
string
setJobReference
Reference to a query job.
var
string
$this
getDone
The query response, which can be either an error
or a valid response
.
If done
== false
and the query result is being saved in an output, the
output_config field will be set.
If done
== true
, exactly one of error
, query_result
or output_config
will be set.
[done] is unset unless the [QueryAssetsResponse] contains a
[QueryAssetsResponse.job_reference].
bool
setDone
The query response, which can be either an error
or a valid response
.
If done
== false
and the query result is being saved in an output, the
output_config field will be set.
If done
== true
, exactly one of error
, query_result
or output_config
will be set.
[done] is unset unless the [QueryAssetsResponse] contains a
[QueryAssetsResponse.job_reference].
var
bool
$this
getError
Error status.
hasError
setError
Error status.
$this
getQueryResult
Result of the query.
hasQueryResult
setQueryResult
Result of the query.
$this
getOutputConfig
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.
hasOutputConfig
setOutputConfig
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.
$this
getResponse
string