GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically supporting the operation to update the Google Cloud Platform Workload Identity Federation integration for a project. It is useful for automating the management of GitLab project integrations with Google Cloud Platform, particularly for configuring workload identity federation settings. For example, it can be used to programmatically update integration settings in CI/CD pipelines or infrastructure automation workflows.

Use Case Examples

  1. Updating the Google Cloud Platform Workload Identity Federation integration for a specific GitLab project by providing the project ID and the integration configuration in the request body.
  2. Automating the synchronization of integration settings across multiple GitLab projects.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL for the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method used for the API request, with options including GET, POST, PUT, DELETE, HEAD, PATCH.
Parameter Schema Schema defining the parameters for the operation, including path and body parameters.
Request Body Schema Schema defining the structure of the request body for the operation.
Request Path API endpoint path for the operation.
Path Parameters Collection of path parameters required for the API request, including the project ID.

Output

JSON

  • response - The JSON response from the GitLab API after updating the integration.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in GitLab.
  • Verify that the API key credential has sufficient permissions to update project integrations.
  • Check the request body schema to ensure it matches the expected structure for the Google Cloud Platform Workload Identity Federation integration.
  • If authentication is skipped, the request may fail due to lack of authorization.

Links

Discussion