Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::QueryAssetsResponse.
QueryAssets response.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#done
def done() -> ::Boolean
-
(::Boolean) — The query response, which can be either an
error
or a validresponse
.If
done
==false
and the query result is being saved in an output, the output_config field will be set. Ifdone
==true
, exactly one oferror
,query_result
oroutput_config
will be set. [done] is unset unless the [QueryAssetsResponse] contains a [QueryAssetsResponse.job_reference].
#done=
def done=(value) -> ::Boolean
-
value (::Boolean) — The query response, which can be either an
error
or a validresponse
.If
done
==false
and the query result is being saved in an output, the output_config field will be set. Ifdone
==true
, exactly one oferror
,query_result
oroutput_config
will be set. [done] is unset unless the [QueryAssetsResponse] contains a [QueryAssetsResponse.job_reference].
-
(::Boolean) — The query response, which can be either an
error
or a validresponse
.If
done
==false
and the query result is being saved in an output, the output_config field will be set. Ifdone
==true
, exactly one oferror
,query_result
oroutput_config
will be set. [done] is unset unless the [QueryAssetsResponse] contains a [QueryAssetsResponse.job_reference].
#error
def error() -> ::Google::Rpc::Status
-
(::Google::Rpc::Status) — 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.
#error=
def error=(value) -> ::Google::Rpc::Status
-
value (::Google::Rpc::Status) — 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.
-
(::Google::Rpc::Status) — 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.
#job_reference
def job_reference() -> ::String
- (::String) — Reference to a query job.
#job_reference=
def job_reference=(value) -> ::String
- value (::String) — Reference to a query job.
- (::String) — Reference to a query job.
#output_config
def output_config() -> ::Google::Cloud::Asset::V1::QueryAssetsOutputConfig
-
(::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.
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.
#output_config=
def output_config=(value) -> ::Google::Cloud::Asset::V1::QueryAssetsOutputConfig
-
value (::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.
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.
-
(::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.
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.
#query_result
def query_result() -> ::Google::Cloud::Asset::V1::QueryResult
-
(::Google::Cloud::Asset::V1::QueryResult) — 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.
#query_result=
def query_result=(value) -> ::Google::Cloud::Asset::V1::QueryResult
-
value (::Google::Cloud::Asset::V1::QueryResult) — 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.
-
(::Google::Cloud::Asset::V1::QueryResult) — 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.