Class: Google::Cloud::Build::V2::GitLabConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v2/repositories.rb

Overview

Configuration for connections to gitlab.com or an instance of GitLab Enterprise.

Instance Attribute Summary collapse

Instance Attribute Details

#authorizer_credential::Google::Cloud::Build::V2::UserCredential

Returns Required. A GitLab personal access token with the api scope access.

Returns:



240
241
242
243
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 240

class GitLabConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#host_uri::String

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



240
241
242
243
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 240

class GitLabConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#read_authorizer_credential::Google::Cloud::Build::V2::UserCredential

Returns Required. A GitLab personal access token with the minimum read_api scope access.

Returns:



240
241
242
243
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 240

class GitLabConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#server_version::String (readonly)

Returns Output only. Version of the GitLab Enterprise server running on the host_uri.

Returns:

  • (::String)

    Output only. Version of the GitLab Enterprise server running on the host_uri.



240
241
242
243
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 240

class GitLabConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service_directory_config::Google::Cloud::Build::V2::ServiceDirectoryConfig

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



240
241
242
243
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 240

class GitLabConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ssl_ca::String

Returns SSL certificate to use for requests to GitLab Enterprise.

Returns:

  • (::String)

    SSL certificate to use for requests to GitLab Enterprise.



240
241
242
243
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 240

class GitLabConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#webhook_secret_secret_version::String

Returns 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/*.



240
241
242
243
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 240

class GitLabConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end