v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13134345498.3 KB
organizations

Creates a new data collector.

post/v1/{+parent}/datacollectors

Path parameters

parentstring required

Required. Name of the organization in which to create the data collector in the following format: organizations/{org}.

Query parameters

dataCollectorIdstring

ID of the data collector. Overrides any ID in the data collector resource. Must be a string beginning with dc_ that contains only letters, numbers, and underscores.

Request body

descriptionstring

A description of the data collector.

type'TYPE_UNSPECIFIED' | 'INTEGER' | 'FLOAT' | 'STRING' | 'BOOLEAN' | 'DATETIME'

Immutable. The type of data this data collector will collect.

lastModifiedAtstring int64

Output only. The time at which the Data Collector was last updated in milliseconds since the epoch.

createdAtstring int64

Output only. The time at which the data collector was created in milliseconds since the epoch.

namestring

ID of the data collector. Must begin with dc_.

Response

Successful response