Method: projects.notes.batchCreate

Creates new notes in batch.

HTTP request

POST https://containeranalysis.googleapis.com/v1/{parent=projects/*}/notes:batchCreate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the project in the form of projects/[PROJECT_ID], under which the notes are to be created.

Request body

The request body contains data with the following structure:

JSON representation
{
  "notes": {
    string: {
      object (Note)
    },
    ...
  }
}
Fields
notes

map (key: string, value: object (Note))

Required. The notes to create. Max allowed length is 1000.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Response body

If successful, the response body contains data with the following structure:

Response for creating notes in batch.

JSON representation
{
  "notes": [
    {
      object (Note)
    }
  ]
}
Fields
notes[]

object (Note)

The notes that were created.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.