Class: Google::Cloud::Asset::V1::QueryAssetsResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Asset::V1::QueryAssetsResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/asset/v1/asset_service.rb
Overview
QueryAssets response.
Instance Attribute Summary collapse
-
#done ⇒ ::Boolean
The query response, which can be either an
error
or a validresponse
. -
#error ⇒ ::Google::Rpc::Status
Error status.
-
#job_reference ⇒ ::String
Reference to a query job.
-
#output_config ⇒ ::Google::Cloud::Asset::V1::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.
-
#query_result ⇒ ::Google::Cloud::Asset::V1::QueryResult
Result of the query.
Instance Attribute Details
#done ⇒ ::Boolean
Returns 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].
1748 1749 1750 1751 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1748 class QueryAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#error ⇒ ::Google::Rpc::Status
Returns Error status.
1748 1749 1750 1751 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1748 class QueryAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#job_reference ⇒ ::String
Returns Reference to a query job.
1748 1749 1750 1751 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1748 class QueryAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#output_config ⇒ ::Google::Cloud::Asset::V1::QueryAssetsOutputConfig
Returns 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.
1748 1749 1750 1751 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1748 class QueryAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#query_result ⇒ ::Google::Cloud::Asset::V1::QueryResult
Returns Result of the query.
1748 1749 1750 1751 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1748 class QueryAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |