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.
#error=
def error=(value) -> ::Google::Rpc::Status
- value (::Google::Rpc::Status) — Error status.
- (::Google::Rpc::Status) — Error status.
#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.
#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.
- (::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
def query_result() -> ::Google::Cloud::Asset::V1::QueryResult
- (::Google::Cloud::Asset::V1::QueryResult) — Result of the query.
#query_result=
def query_result=(value) -> ::Google::Cloud::Asset::V1::QueryResult
- value (::Google::Cloud::Asset::V1::QueryResult) — Result of the query.
- (::Google::Cloud::Asset::V1::QueryResult) — Result of the query.