Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig (v0.2.0)

Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig.

Configuration for connections to an instance of GitLab Enterprise.

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 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) — 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) — 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.

#host_uri

def host_uri() -> ::String
Returns
  • (::String) — Required. The URI of the GitLab Enterprise host this connection is for.

#host_uri=

def host_uri=(value) -> ::String
Parameter
  • value (::String) — Required. The URI of the GitLab Enterprise host this connection is for.
Returns
  • (::String) — Required. The URI of the GitLab Enterprise host this connection is for.

#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 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) — 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) — 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.

#server_version

def server_version() -> ::String
Returns
  • (::String) — Output only. Version of the GitLab Enterprise server running on the host_uri.

#service_directory_config

def service_directory_config() -> ::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig
Returns
  • (::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig) — Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.

#service_directory_config=

def service_directory_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig
Parameter
  • value (::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig) — Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
Returns
  • (::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig) — Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.

#ssl_ca_certificate

def ssl_ca_certificate() -> ::String
Returns
  • (::String) — Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.

#ssl_ca_certificate=

def ssl_ca_certificate=(value) -> ::String
Parameter
  • value (::String) — Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
Returns
  • (::String) — Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.

#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.