Class: Google::Apis::CloudbuildV1alpha1::GitLabConnectedRepository
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudbuildV1alpha1::GitLabConnectedRepository
 
- 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
GitLabConnectedRepository represents a GitLab connected repository request response.
Instance Attribute Summary collapse
- 
  
    
      #parent  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the GitLabConfigthat added connected repository.
- 
  
    
      #repo  ⇒ Google::Apis::CloudbuildV1alpha1::GitLabRepositoryId 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise Corresponds to the JSON property repo.
- 
  
    
      #status  ⇒ Google::Apis::CloudbuildV1alpha1::Status 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Statustype defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GitLabConnectedRepository 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GitLabConnectedRepository. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GitLabConnectedRepository
Returns a new instance of GitLabConnectedRepository.
| 1352 1353 1354 | # File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1352 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#parent ⇒ String
The name of the GitLabConfig that added connected repository. Format: 
projects/project/locations/location/gitLabConfigs/config`
Corresponds to the JSON propertyparent`
| 1334 1335 1336 | # File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1334 def parent @parent end | 
#repo ⇒ Google::Apis::CloudbuildV1alpha1::GitLabRepositoryId
GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
GitLabEnterprise
Corresponds to the JSON property repo
| 1340 1341 1342 | # File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1340 def repo @repo end | 
#status ⇒ Google::Apis::CloudbuildV1alpha1::Status
The Status type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by 
gRPC. Each Status message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property status
| 1350 1351 1352 | # File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1350 def status @status end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1357 1358 1359 1360 1361 | # File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1357 def update!(**args) @parent = args[:parent] if args.key?(:parent) @repo = args[:repo] if args.key?(:repo) @status = args[:status] if args.key?(:status) end |