Class: Google::Apis::DeveloperconnectV1::GitLabEnterpriseConfig
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::GitLabEnterpriseConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb
Overview
Configuration for connections to an instance of GitLab Enterprise.
Instance Attribute Summary collapse
-
#authorizer_credential ⇒ Google::Apis::DeveloperconnectV1::UserCredential
Represents a personal access token that authorized the Connection, and associated metadata.
-
#host_uri ⇒ String
Required.
-
#read_authorizer_credential ⇒ Google::Apis::DeveloperconnectV1::UserCredential
Represents a personal access token that authorized the Connection, and associated metadata.
-
#server_version ⇒ String
Output only.
-
#service_directory_config ⇒ Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig
ServiceDirectoryConfig represents Service Directory configuration for a connection.
-
#ssl_ca_certificate ⇒ String
Optional.
-
#webhook_secret_secret_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GitLabEnterpriseConfig
constructor
A new instance of GitLabEnterpriseConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GitLabEnterpriseConfig
Returns a new instance of GitLabEnterpriseConfig.
552 553 554 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 552 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorizer_credential ⇒ Google::Apis::DeveloperconnectV1::UserCredential
Represents a personal access token that authorized the Connection, and
associated metadata.
Corresponds to the JSON property authorizerCredential
515 516 517 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 515 def @authorizer_credential end |
#host_uri ⇒ String
Required. The URI of the GitLab Enterprise host this connection is for.
Corresponds to the JSON property hostUri
520 521 522 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 520 def host_uri @host_uri end |
#read_authorizer_credential ⇒ Google::Apis::DeveloperconnectV1::UserCredential
Represents a personal access token that authorized the Connection, and
associated metadata.
Corresponds to the JSON property readAuthorizerCredential
526 527 528 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 526 def @read_authorizer_credential end |
#server_version ⇒ String
Output only. Version of the GitLab Enterprise server running on the host_uri
.
Corresponds to the JSON property serverVersion
531 532 533 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 531 def server_version @server_version end |
#service_directory_config ⇒ Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig
ServiceDirectoryConfig represents Service Directory configuration for a
connection.
Corresponds to the JSON property serviceDirectoryConfig
537 538 539 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 537 def service_directory_config @service_directory_config end |
#ssl_ca_certificate ⇒ String
Optional. SSL Certificate Authority certificate to use for requests to GitLab
Enterprise instance.
Corresponds to the JSON property sslCaCertificate
543 544 545 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 543 def ssl_ca_certificate @ssl_ca_certificate end |
#webhook_secret_secret_version ⇒ String
Required. Immutable. SecretManager resource containing the webhook secret of a
GitLab project, formatted as projects/*/secrets/*/versions/*
. This is used
to validate webhooks.
Corresponds to the JSON property webhookSecretSecretVersion
550 551 552 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 550 def webhook_secret_secret_version @webhook_secret_secret_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
557 558 559 560 561 562 563 564 565 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 557 def update!(**args) @authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential) @host_uri = args[:host_uri] if args.key?(:host_uri) @read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential) @server_version = args[:server_version] if args.key?(:server_version) @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config) @ssl_ca_certificate = args[:ssl_ca_certificate] if args.key?(:ssl_ca_certificate) @webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version) end |