Method: projects.locations.gitLabConfigs.create

Creates a new GitLabConfig.

This API is experimental

HTTP request

POST https://cloudbuild.googleapis.com/v1/{parent=projects/*/locations/*}/gitLabConfigs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the parent resource.

Query parameters

Parameters
gitlabConfigId

string

Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name.

gitlabConfigId must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character

Request body

The request body contains an instance of GitLabConfig.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.