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) — Required. A GitLab personal access token with the minimum
api
scope access and a minimum role ofmaintainer
. 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) — Required. A GitLab personal access token with the minimum
api
scope access and a minimum role ofmaintainer
. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
Returns
-
(::Google::Cloud::DeveloperConnect::V1::UserCredential) — Required. A GitLab personal access token with the minimum
api
scope access and a minimum role ofmaintainer
. 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) — Required. A GitLab personal access token with the minimum
read_api
scope access and a minimum role ofreporter
. 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) — Required. A GitLab personal access token with the minimum
read_api
scope access and a minimum role ofreporter
. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
Returns
-
(::Google::Cloud::DeveloperConnect::V1::UserCredential) — Required. A GitLab personal access token with the minimum
read_api
scope access and a minimum role ofreporter
. 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/*
. 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/*
. 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/*
. This is used to validate webhooks.