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.

此页内容是否有用?请给出您的反馈和评价:

发送以下问题的反馈:

此网页
Container Registry