Class: Google::Apis::CloudbuildV1::GitLabConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::GitLabConfig
- 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. GitLabConfig represents the configuration for a GitLab integration.
Instance Attribute Summary collapse
-
#connected_repositories ⇒ Array<Google::Apis::CloudbuildV1::GitLabRepositoryId>
Connected GitLab.com or GitLabEnterprise repositories for this config.
-
#create_time ⇒ String
Output only.
-
#enterprise_config ⇒ Google::Apis::CloudbuildV1::GitLabEnterpriseConfig
Deprecated: CloudBuild GitLab V1 integration is deprecated.
-
#name ⇒ String
Identifier.
-
#secrets ⇒ Google::Apis::CloudbuildV1::GitLabSecrets
Deprecated: CloudBuild GitLab V1 integration is deprecated.
-
#username ⇒ String
Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
-
#webhook_key ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GitLabConfig
constructor
A new instance of GitLabConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GitLabConfig
Returns a new instance of GitLabConfig.
2597 2598 2599 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connected_repositories ⇒ Array<Google::Apis::CloudbuildV1::GitLabRepositoryId>
Connected GitLab.com or GitLabEnterprise repositories for this config.
Corresponds to the JSON property connectedRepositories
2561 2562 2563 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2561 def connected_repositories @connected_repositories end |
#create_time ⇒ String
Output only. Time when the config was created.
Corresponds to the JSON property createTime
2566 2567 2568 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2566 def create_time @create_time end |
#enterprise_config ⇒ Google::Apis::CloudbuildV1::GitLabEnterpriseConfig
Deprecated: CloudBuild GitLab V1 integration is deprecated.
GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise
integration.
Corresponds to the JSON property enterpriseConfig
2573 2574 2575 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2573 def enterprise_config @enterprise_config end |
#name ⇒ String
Identifier. The resource name for the config.
Corresponds to the JSON property name
2578 2579 2580 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2578 def name @name end |
#secrets ⇒ Google::Apis::CloudbuildV1::GitLabSecrets
Deprecated: CloudBuild GitLab V1 integration is deprecated. GitLabSecrets
represents the secrets in Secret Manager for a GitLab integration.
Corresponds to the JSON property secrets
2584 2585 2586 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2584 def secrets @secrets end |
#username ⇒ String
Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
Corresponds to the JSON property username
2589 2590 2591 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2589 def username @username end |
#webhook_key ⇒ String
Output only. UUID included in webhook requests. The UUID is used to look up
the corresponding config.
Corresponds to the JSON property webhookKey
2595 2596 2597 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2595 def webhook_key @webhook_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2602 2603 2604 2605 2606 2607 2608 2609 2610 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2602 def update!(**args) @connected_repositories = args[:connected_repositories] if args.key?(:connected_repositories) @create_time = args[:create_time] if args.key?(:create_time) @enterprise_config = args[:enterprise_config] if args.key?(:enterprise_config) @name = args[:name] if args.key?(:name) @secrets = args[:secrets] if args.key?(:secrets) @username = args[:username] if args.key?(:username) @webhook_key = args[:webhook_key] if args.key?(:webhook_key) end |