Method: projects.locations.integrations.versions.downloadJsonPackage

Downloads an Integration version package like IntegrationVersion,Integration Config etc. Retrieves the IntegrationVersion package for a given integration_id and returns the response as a JSON.

HTTP request

GET https://integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*/versions/*}:downloadJsonPackage

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Integration version name Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}

Query parameters

Parameters
files[]

enum (IntegrationFile)

Optional. Integration related file to download like Integration version, Config variable, testcase etc.

Request body

The request body must be empty.

Response body

Response for versions.downloadJsonPackage.

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

JSON representation
{
  "files": [
    {
      object (File)
    }
  ]
}
Fields
files[]

object (File)

List containing JSON for multiple file with type information.

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 name resource:

  • integrations.integrationVersions.get

For more information, see the IAM documentation.

File

To store Integration version related file i.e. Integration version, Config variable etc.

JSON representation
{
  "type": enum (IntegrationFile),

  // Union field content can be only one of the following:
  "integrationVersion": {
    object (IntegrationVersion)
  },
  "integrationConfig": {
    object
  }
  // End of list of possible types for union field content.
}
Fields
type

enum (IntegrationFile)

File information like Integration version, Integration Config variables etc.

Union field content. String representation of the file content. content can be only one of the following:
integrationVersion

object (IntegrationVersion)

Integration version

integrationConfig

object (Struct format)

Integration version config file