Method: feeds.create

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

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 (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 (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 Feed.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.