public sealed class QueryAssetsResponse : IMessage<QueryAssetsResponse>, IEquatable<QueryAssetsResponse>, IDeepCloneable<QueryAssetsResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class QueryAssetsResponse.
QueryAssets response.
Implements
IMessage<QueryAssetsResponse>, IEquatable<QueryAssetsResponse>, IDeepCloneable<QueryAssetsResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
QueryAssetsResponse()
public QueryAssetsResponse()
QueryAssetsResponse(QueryAssetsResponse)
public QueryAssetsResponse(QueryAssetsResponse other)
Parameter | |
---|---|
Name | Description |
other | QueryAssetsResponse |
Properties
Done
public bool Done { get; set; }
The query response, which can be either an error
or a valid response
.
If done
== false
and the query result is being saved in a output, the
output_config field will be set.
If done
== true
, exactly one of
error
, query_result
or output_config
will be set.
Property Value | |
---|---|
Type | Description |
Boolean |
Error
public Status Error { get; set; }
Error status.
Property Value | |
---|---|
Type | Description |
Status |
JobReference
public string JobReference { get; set; }
Reference to a query job.
Property Value | |
---|---|
Type | Description |
String |
OutputConfig
public QueryAssetsOutputConfig OutputConfig { get; set; }
Output configuration which indicates instead of being returned in API response on the fly, the query result will be saved in a specific output.
Property Value | |
---|---|
Type | Description |
QueryAssetsOutputConfig |
QueryResult
public QueryResult QueryResult { get; set; }
Result of the query.
Property Value | |
---|---|
Type | Description |
QueryResult |
ResponseCase
public QueryAssetsResponse.ResponseOneofCase ResponseCase { get; }
Property Value | |
---|---|
Type | Description |
QueryAssetsResponse.ResponseOneofCase |