Method: projects.operations.create

Creates a new Operation.

HTTP request

POST https://containeranalysis.googleapis.com/v1alpha1/{parent=projects/*}/operations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The project Id that this operation should be created under.

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

  • containeranalysis.operations.create

Request body

The request body contains data with the following structure:

JSON representation
{
  "operationId": string,
  "operation": {
    object (Operation)
  }
}
Fields
operationId

string

The ID to use for this operation.

operation

object (Operation)

The operation to create.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Kunde den här sidan hjälpa dig? Berätta:

Skicka feedback om ...

Container Registry