Method: projects.locations.integrations.versions.upload

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://integrations.googleapis.com/v1/{parent=projects/*/locations/*/integrations/*}/versions:upload

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Request body

The request body contains data with the following structure:

JSON representation
{
 "content": string,
 "fileFormat": enum (FileFormat )
}
Fields
content

string

The textproto of the IntegrationVersion .

fileFormat

enum (FileFormat )

File format for upload request.

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.integrationVersions.create

For more information, see the IAM documentation.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年08月22日 UTC.