Cloud Build V2 API - Class Google::Cloud::Build::V2::GitLabConfig (v0.7.0)

Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::GitLabConfig.

Configuration for connections to gitlab.com or 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::Build::V2::UserCredential
Returns

#authorizer_credential=

def authorizer_credential=(value) -> ::Google::Cloud::Build::V2::UserCredential
Parameter
Returns

#host_uri

def host_uri() -> ::String
Returns
  • (::String) — The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.

#host_uri=

def host_uri=(value) -> ::String
Parameter
  • value (::String) — The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.
Returns
  • (::String) — The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.

#read_authorizer_credential

def read_authorizer_credential() -> ::Google::Cloud::Build::V2::UserCredential
Returns

#read_authorizer_credential=

def read_authorizer_credential=(value) -> ::Google::Cloud::Build::V2::UserCredential
Parameter
Returns

#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::Build::V2::ServiceDirectoryConfig
Returns
  • (::Google::Cloud::Build::V2::ServiceDirectoryConfig) — Configuration for using Service Directory to privately connect to a GitLab Enterprise server. 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::Build::V2::ServiceDirectoryConfig
Parameter
  • value (::Google::Cloud::Build::V2::ServiceDirectoryConfig) — Configuration for using Service Directory to privately connect to a GitLab Enterprise server. 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::Build::V2::ServiceDirectoryConfig) — Configuration for using Service Directory to privately connect to a GitLab Enterprise server. 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

def ssl_ca() -> ::String
Returns
  • (::String) — SSL certificate to use for requests to GitLab Enterprise.

#ssl_ca=

def ssl_ca=(value) -> ::String
Parameter
  • value (::String) — SSL certificate to use for requests to GitLab Enterprise.
Returns
  • (::String) — SSL certificate to use for requests to GitLab Enterprise.

#webhook_secret_secret_version

def webhook_secret_secret_version() -> ::String
Returns
  • (::String) — Required. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project, formatted as projects/*/secrets/*/versions/*.

#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 Enterprise project, formatted as projects/*/secrets/*/versions/*.
Returns
  • (::String) — Required. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project, formatted as projects/*/secrets/*/versions/*.