Google Cloud Platform · Schema
QueryAssetsResponse
QueryAssets response.
API ManagementCloud ComputingInfrastructurePlatform-as-a-ServiceA2A
Properties
| Name | Type | Description |
|---|---|---|
| outputConfig | object | 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. |
| queryResult | object | Result of the query. |
| done | 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 |
| error | object | Error status. |
| jobReference | string | Reference to a query job. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-cloud-platform/json-schema/google-cloud-platform-query-assets-response-schema.json",
"title": "QueryAssetsResponse",
"description": "QueryAssets response.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-cloud-platform-cloudasset-v1-api-openapi.yml#/components/schemas/QueryAssetsResponse",
"properties": {
"outputConfig": {
"$ref": "#/$defs/QueryAssetsOutputConfig",
"description": "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."
},
"queryResult": {
"$ref": "#/$defs/QueryResult",
"description": "Result of the query."
},
"done": {
"description": "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].",
"type": "boolean"
},
"error": {
"$ref": "#/$defs/Status",
"description": "Error status."
},
"jobReference": {
"type": "string",
"description": "Reference to a query job."
}
},
"type": "object",
"$defs": {
"GoogleCloudAssetV1QueryAssetsOutputConfigBigQueryDestination": {
"description": "BigQuery destination.",
"type": "object",
"properties": {
"table": {
"type": "string",
"description": "Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created."
},
"writeDisposition": {
"description": "Specifies the action that occurs if the destination table or partition already exists. The following values are supported: * WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data. * WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY.",
"type": "string"
},
"dataset": {
"description": "Required. The BigQuery dataset where the query results will be saved. It has the format of \"projects/{projectId}/datasets/{datasetId}\".",
"type": "string"
}
}
},
"QueryAssetsOutputConfig": {
"properties": {
"bigqueryDestination": {
"$ref": "#/$defs/GoogleCloudAssetV1QueryAssetsOutputConfigBigQueryDestination",
"description": "BigQuery destination where the query results will be saved."
}
},
"description": "Output configuration query assets.",
"type": "object"
},
"QueryResult": {
"description": "Execution results of the query. The result is formatted as rows represented by BigQuery compatible [schema]. When pagination is necessary, it will contains the page token to retrieve the results of following pages.",
"properties": {
"totalRows": {
"format": "int64",
"type": "string",
"description": "Total rows of the whole query results."
},
"schema": {
"$ref": "#/$defs/TableSchema",
"description": "Describes the format of the [rows]."
},
"nextPageToken": {
"type": "string",
"description": "Token to retrieve the next page of the results."
},
"rows": {
"items": {
"type": "object",
"additionalProperties": {
"description": "Properties of the object."
}
},
"type": "array",
"description": "Each row hold a query result in the format of `Struct`."
}
},
"type": "object"
},
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
},
"code": {
"description": "The status code, which should be an enum value of google.rpc.Code.",
"format": "int32",
"type": "integer"
},
"details": {
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
"type": "array",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL."
},
"type": "object"
}
}
}
},
"TableFieldSchema": {
"type": "object",
"properties": {
"mode": {
"description": "The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.",
"type": "string"
},
"type": {
"description": "The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).",
"type": "string"
},
"fields": {
"type": "array",
"description": "Describes the nested schema fields if the type property is set to RECORD.",
"items": {
"$ref": "#/$defs/TableFieldSchema"
}
},
"field": {
"description": "The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.",
"type": "string"
}
},
"description": "A field in TableSchema."
},
"TableSchema": {
"properties": {
"fields": {
"items": {
"$ref": "#/$defs/TableFieldSchema"
},
"type": "array",
"description": "Describes the fields in a table."
}
},
"type": "object",
"description": "BigQuery Compatible table schema."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-platform-query-assets-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.