id-of-assets
restish dci id-of-assets [flags]
Returns a list of all available customer assets, such as Google Cloud billing accounts, G Suite/Workspace subscriptions, etc. Assets are returned in reverse chronological order by default.
Flags
--max-results: (integer format:int64 default:50)
--page-token: (string)
--filter: (string)
Responses
200 (application/json)
OK - List of available assets returned.
{
"type": "object",
"properties": {
"assets": {
"type": "array",
"description": "Array of Assets",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "integer",
"description": "The time when the asset was created, in milliseconds since the epoch",
"format": "int64"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"quantity": {
"type": "integer",
"format": "int64"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
},
"pageToken": {
"type": "string",
"description": "Page token. Can be used to request the next page of results."
},
"rowCount": {
"type": "integer",
"description": "Assets rows count",
"format": "int64"
}
}
}
400 (application/json)
Bad Request - The server cannot process the request, often due to a malformed request.
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
401 (application/json)
Unauthorized - Invalid API key.
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
403 (application/json)
Forbidden - The client is not authorized to perform the request.
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
404 (application/json)
Not Found - The requested resource does not exist.
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
Aliases: id-of-assets, idofassets