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
erroror 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].
1778 1779 1780 1781 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1778 class QueryAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#error ⇒ ::Google::Rpc::Status
Returns Error status.
Note: The following fields are mutually exclusive: error, query_result, output_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
1778 1779 1780 1781 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1778 class QueryAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#job_reference ⇒ ::String
Returns Reference to a query job.
1778 1779 1780 1781 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1778 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.
Note: The following fields are mutually exclusive: output_config, error, query_result. If a field in that set is populated, all other fields in the set will automatically be cleared.
1778 1779 1780 1781 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1778 class QueryAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#query_result ⇒ ::Google::Cloud::Asset::V1::QueryResult
Returns Result of the query.
Note: The following fields are mutually exclusive: query_result, error, output_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
1778 1779 1780 1781 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1778 class QueryAssetsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |