Method: organizations.datacollectors.create

Creates a new data collector.

HTTP request

POST https://apigee.googleapis.com/v1/{parent=organizations/*}/datacollectors

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Authorization requires the following IAM permission on the specified resource parent:

  • apigee.datacollectors.create

Query parameters

Parameters
dataCollectorId

string

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

The request body contains an instance of DataCollector.

Response body

If successful, the response body contains a newly created instance of DataCollector.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform