Class: Google::Apis::CloudbuildV1::GitLabRepository
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::GitLabRepository
- 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
Proto Representing a GitLabRepository
Instance Attribute Summary collapse
-
#browse_uri ⇒ String
Link to the browse repo page on the GitLab instance Corresponds to the JSON property
browseUri. -
#description ⇒ String
Description of the repository Corresponds to the JSON property
description. -
#display_name ⇒ String
Display name of the repository Corresponds to the JSON property
displayName. -
#name ⇒ String
The resource name of the repository Corresponds to the JSON property
name. -
#repository_id ⇒ Google::Apis::CloudbuildV1::GitLabRepositoryId
GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise Corresponds to the JSON property
repositoryId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GitLabRepository
constructor
A new instance of GitLabRepository.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GitLabRepository
Returns a new instance of GitLabRepository.
2439 2440 2441 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#browse_uri ⇒ String
Link to the browse repo page on the GitLab instance
Corresponds to the JSON property browseUri
2416 2417 2418 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2416 def browse_uri @browse_uri end |
#description ⇒ String
Description of the repository
Corresponds to the JSON property description
2421 2422 2423 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2421 def description @description end |
#display_name ⇒ String
Display name of the repository
Corresponds to the JSON property displayName
2426 2427 2428 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2426 def display_name @display_name end |
#name ⇒ String
The resource name of the repository
Corresponds to the JSON property name
2431 2432 2433 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2431 def name @name end |
#repository_id ⇒ Google::Apis::CloudbuildV1::GitLabRepositoryId
GitLabRepositoryId identifies a specific repository hosted on GitLab.com or
GitLabEnterprise
Corresponds to the JSON property repositoryId
2437 2438 2439 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2437 def repository_id @repository_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2444 2445 2446 2447 2448 2449 2450 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2444 def update!(**args) @browse_uri = args[:browse_uri] if args.key?(:browse_uri) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @repository_id = args[:repository_id] if args.key?(:repository_id) end |