Method: projects.locations.products.integrations.versions.upload

Stay organized with collections Save and categorize content based on your preferences.

Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.

HTTP request

POST https://<GOOGLE_CLOUD_REGION>-integrations.googleapis.com/v1/{parent=projects/*/locations/*/products/apigee/integrations/*}/versions:upload

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The version to upload. Format: projects/{project}/integrations/{integration}

Request body

The request body contains data with the following structure:

JSON representation
{
  "content": string
}
Fields
content

string

The JSON string (stringified) representation of the integrationVersion.

Response body

If successful, the response body contains an instance of UploadIntegrationVersionResponse.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • integrations.apigeeIntegrationVers.create

For more information, see the IAM documentation.