Method: projects.locations.repositories.googetArtifacts.upload

Directly uploads a GooGet artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The name of the parent resource where the artifacts will be uploaded.

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

  • artifactregistry.googetartifacts.create

Request body

The request body must be empty.

Response body

The response to upload an artifact.

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

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

object (Operation)

Operation to be returned to the user.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.