# Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::GitLabConfig (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::GitLabConfig.

Configuration for connections to gitlab.com.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #authorizer_credential

    def authorizer_credential() -> ::Google::Cloud::DeveloperConnect::V1::UserCredential

**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-UserCredential)) --- Required. A GitLab personal access token with the minimum `api` scope access and a minimum role of `maintainer`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.

### #authorizer_credential=

    def authorizer_credential=(value) -> ::Google::Cloud::DeveloperConnect::V1::UserCredential

**Parameter**

- **value** ([::Google::Cloud::DeveloperConnect::V1::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-UserCredential)) --- Required. A GitLab personal access token with the minimum `api` scope access and a minimum role of `maintainer`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-UserCredential)) --- Required. A GitLab personal access token with the minimum `api` scope access and a minimum role of `maintainer`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.

### #read_authorizer_credential

    def read_authorizer_credential() -> ::Google::Cloud::DeveloperConnect::V1::UserCredential

**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-UserCredential)) --- Required. A GitLab personal access token with the minimum `read_api` scope access and a minimum role of `reporter`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.

### #read_authorizer_credential=

    def read_authorizer_credential=(value) -> ::Google::Cloud::DeveloperConnect::V1::UserCredential

**Parameter**

- **value** ([::Google::Cloud::DeveloperConnect::V1::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-UserCredential)) --- Required. A GitLab personal access token with the minimum `read_api` scope access and a minimum role of `reporter`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-UserCredential)) --- Required. A GitLab personal access token with the minimum `read_api` scope access and a minimum role of `reporter`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.

### #webhook_secret_secret_version

    def webhook_secret_secret_version() -> ::String

**Returns**

- (::String) --- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.

### #webhook_secret_secret_version=

    def webhook_secret_secret_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.
**Returns**

- (::String) --- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.