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 syntax.
Path parameters
Parameters | |
---|---|
parent |
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 ( |
Fields | |
---|---|
feedId |
Required. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization. |
feed |
Required. The feed details. The field |
Response body
If successful, the response body contains a newly created instance of Feed
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.