v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13121632.0 KB
projects

Create a Collector to manage the on-prem appliance which collects information about Customer assets.

post/v1/{+parent}/collectors

Path parameters

parentstring required

Required. Name of the parent (project+location).

Query parameters

collectorIdstring

Required. Id of the requesting object.

requestIdstring

Optional. An optional request ID to identify requests.

Request body

namestring

name of resource.

collectionDaysinteger

How many days to collect data.

updateTimestring google-datetime

Output only. Update time stamp.

descriptionstring

User specified description of the Collector.

clientVersionstring

Output only. Client version.

eulaUristring

Uri for EULA (End User License Agreement) from customer.

labelsobject

Labels as key value pairs.

createTimestring google-datetime

Output only. Create time stamp.

serviceAccountstring

Service Account email used to ingest data to this Collector.

state'STATE_UNSPECIFIED' | 'STATE_INITIALIZING' | 'STATE_READY_TO_USE' | 'STATE_REGISTERED' | 'STATE_ACTIVE' | 'STATE_PAUSED' | 'STATE_DELETING' | 'STATE_DECOMMISSIONED' | 'STATE_ERROR'

Output only. State of the Collector.

expectedAssetCountstring int64

User specified expected asset count.

bucketstring

Output only. Store cloud storage bucket name (which is a guid) created with this Collector.

displayNamestring

User specified name of the Collector.

Response

Successful response