Class: Google::Apis::CloudbuildV1::GitLabEnterpriseConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbuild_v1/classes.rb,
lib/google/apis/cloudbuild_v1/representations.rb,
lib/google/apis/cloudbuild_v1/representations.rb

Overview

Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GitLabEnterpriseConfig

Returns a new instance of GitLabEnterpriseConfig.



2676
2677
2678
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2676

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#host_uriString

Immutable. The URI of the GitlabEnterprise host. Corresponds to the JSON property hostUri

Returns:

  • (String)


2662
2663
2664
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2662

def host_uri
  @host_uri
end

#service_directory_configGoogle::Apis::CloudbuildV1::ServiceDirectoryConfig

Deprecated: CloudBuild GitLab V1 integration is deprecated. ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection. Corresponds to the JSON property serviceDirectoryConfig



2669
2670
2671
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2669

def service_directory_config
  @service_directory_config
end

#ssl_caString

The SSL certificate to use in requests to GitLab Enterprise instances. Corresponds to the JSON property sslCa

Returns:

  • (String)


2674
2675
2676
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2674

def ssl_ca
  @ssl_ca
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2681
2682
2683
2684
2685
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2681

def update!(**args)
  @host_uri = args[:host_uri] if args.key?(:host_uri)
  @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
  @ssl_ca = args[:ssl_ca] if args.key?(:ssl_ca)
end