Class: Google::Cloud::Asset::V1::QueryAssetsResponse

Inherits:
Object
  • Object
show all
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

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].

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].



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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:



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