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
Methods
__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 a output, the output_config field will be set. If done
== true
, exactly one of error
, query_result
or output_config
will be set.
↳ error
↳ query_result
↳ output_config
Google\Cloud\Asset\V1\QueryAssetsOutputConfig
Output configuration which indicates instead of being returned in API response on the fly, the query result will be saved in a specific output.
getJobReference
Reference to a query job.
Generated from protobuf field string job_reference = 1;
string
setJobReference
Reference to a query job.
Generated from protobuf field string job_reference = 1;
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 a output, the
output_config field will be set.
If done
== true
, exactly one of error
, query_result
or output_config
will be set.
Generated from protobuf field bool done = 2;
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 a output, the
output_config field will be set.
If done
== true
, exactly one of error
, query_result
or output_config
will be set.
Generated from protobuf field bool done = 2;
var
bool
$this
getError
Error status.
Generated from protobuf field .google.rpc.Status error = 3;
hasError
setError
Error status.
Generated from protobuf field .google.rpc.Status error = 3;
$this
getQueryResult
Result of the query.
Generated from protobuf field .google.cloud.asset.v1.QueryResult query_result = 4;
hasQueryResult
setQueryResult
Result of the query.
Generated from protobuf field .google.cloud.asset.v1.QueryResult query_result = 4;
$this
getOutputConfig
Output configuration which indicates instead of being returned in API response on the fly, the query result will be saved in a specific output.
Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5;
hasOutputConfig
setOutputConfig
Output configuration which indicates instead of being returned in API response on the fly, the query result will be saved in a specific output.
Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5;
$this
getResponse
string