Class: Google::Apis::CloudbuildV1alpha1::GitLabRepositoryId
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudbuildV1alpha1::GitLabRepositoryId
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v1alpha1/classes.rb,
 lib/google/apis/cloudbuild_v1alpha1/representations.rb,
 lib/google/apis/cloudbuild_v1alpha1/representations.rb
Overview
GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #webhook_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GitLabRepositoryId 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GitLabRepositoryId. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GitLabRepositoryId
Returns a new instance of GitLabRepositoryId.
| 1381 1382 1383 | # File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1381 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ String
Required. Identifier for the repository. example: "namespace/project-slug",
namespace is usually the username or group ID
Corresponds to the JSON property id
| 1373 1374 1375 | # File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1373 def id @id end | 
#webhook_id ⇒ Fixnum
Output only. The ID of the webhook that was created for receiving events from
this repo. We only create and manage a single webhook for each repo.
Corresponds to the JSON property webhookId
| 1379 1380 1381 | # File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1379 def webhook_id @webhook_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1386 1387 1388 1389 | # File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1386 def update!(**args) @id = args[:id] if args.key?(:id) @webhook_id = args[:webhook_id] if args.key?(:webhook_id) end |