Cloud Asset V1 API - Class Google::Cloud::Asset::V1::QueryAssetsResponse (v1.1.0)

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
Returns
  • (::Boolean) — 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].

#done=

def done=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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].

Returns
  • (::Boolean) — 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].

#error

def error() -> ::Google::Rpc::Status
Returns

#error=

def error=(value) -> ::Google::Rpc::Status
Parameter
Returns

#job_reference

def job_reference() -> ::String
Returns
  • (::String) — Reference to a query job.

#job_reference=

def job_reference=(value) -> ::String
Parameter
  • value (::String) — Reference to a query job.
Returns
  • (::String) — Reference to a query job.

#output_config

def output_config() -> ::Google::Cloud::Asset::V1::QueryAssetsOutputConfig
Returns

#output_config=

def output_config=(value) -> ::Google::Cloud::Asset::V1::QueryAssetsOutputConfig
Parameter
Returns

#query_result

def query_result() -> ::Google::Cloud::Asset::V1::QueryResult
Returns

#query_result=

def query_result=(value) -> ::Google::Cloud::Asset::V1::QueryResult
Parameter
Returns