# Method: feeds.create

- [HTTP request](https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds/create#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds/create#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds/create#body.request_body)
  - [JSON representation](https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds/create#body.request_body.SCHEMA_REPRESENTATION)
- [Response body](https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds/create#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds/create#body.aspect)
- [Try it!](https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds/create#try-it)

Creates a feed in a parent project/folder/organization to listen to its asset updates.

### HTTP request

`POST https://cloudasset.googleapis.com/v1/{parent=*/*}/feeds`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). |

### Request body

The request body contains data with the following structure:

| JSON representation |
|---|
| ``` { "feedId": string, "feed": { object (`https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds#Feed`) } } ``` |

| Fields ||
|---|---|
| `feedId` | `string` Required. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization. |
| `feed` | ``object (`https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds#Feed`)`` Required. The feed details. The field `name` must be empty and it will be generated in the format of: projects/projectNumber/feeds/feedId folders/folder_number/feeds/feedId organizations/organization_number/feeds/feedId |

### Response body

If successful, the response body contains a newly created instance of `https://docs.cloud.google.com/asset-inventory/docs/reference/rest/v1/feeds#Feed`.

### Authorization scopes

Requires the following OAuth scope:

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

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).