Application Integration API (integrations:v1)

2024-07-05

2 new methods

Additions

    Methods
  • integrations.projects.locations.templates.download

      Description: Downloads a template. Retrieves the `Template` and returns the response as a string.

      Path: v1/{+name}:download

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}:download

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

      Parameter Order: name

      HTTP Method: GET

      Parameters:

        name

          Description: Required. The template to download. Format: projects/{project}/locations/{location}/template/{template_id}

          Location: path

          Required: Yes

          Pattern: ^projects/[^/]+/locations/[^/]+/templates/[^/]+$

          Type: string

        fileFormat

          Location: query

          Description: Required. File format for download request.

          Enum:

        • FILE_FORMAT_UNSPECIFIED
        • JSON
        • YAML
        • Enum Descriptions:

        • Unspecified file format
        • JSON File Format
        • YAML File Format
        • Type: string

  • integrations.projects.locations.templates.upload

      Path: v1/{+parent}/templates:upload

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/templates:upload

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

      Parameters:

        parent

          Description: Required. The template to upload. Format: projects/{project}/locations/{location}

          Pattern: ^projects/[^/]+/locations/[^/]+$

          Required: Yes

          Location: path

          Type: string

      Parameter Order: parent

      HTTP Method: POST

      Description: Uploads a template. The content can be a previously downloaded template. Performs the same function as CreateTemplate, but accepts input in a string format, which holds the complete representation of the Template content.