Class: Google::Apis::CloudbuildV1::BitbucketServerRepository
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::BitbucketServerRepository
- 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
BitbucketServerRepository represents a repository hosted on a Bitbucket Server.
Instance Attribute Summary collapse
-
#browse_uri ⇒ String
Link to the browse repo page on the Bitbucket Server instance.
-
#description ⇒ String
Description of the repository.
-
#display_name ⇒ String
Display name of the repository.
-
#name ⇒ String
The resource name of the repository.
-
#repo_id ⇒ Google::Apis::CloudbuildV1::BitbucketServerRepositoryId
BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BitbucketServerRepository
constructor
A new instance of BitbucketServerRepository.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BitbucketServerRepository
Returns a new instance of BitbucketServerRepository.
549 550 551 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 549 def initialize(**args) update!(**args) end |
Instance Attribute Details
#browse_uri ⇒ String
Link to the browse repo page on the Bitbucket Server instance.
Corresponds to the JSON property browseUri
526 527 528 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 526 def browse_uri @browse_uri end |
#description ⇒ String
Description of the repository.
Corresponds to the JSON property description
531 532 533 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 531 def description @description end |
#display_name ⇒ String
Display name of the repository.
Corresponds to the JSON property displayName
536 537 538 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 536 def display_name @display_name end |
#name ⇒ String
The resource name of the repository.
Corresponds to the JSON property name
541 542 543 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 541 def name @name end |
#repo_id ⇒ Google::Apis::CloudbuildV1::BitbucketServerRepositoryId
BitbucketServerRepositoryId identifies a specific repository hosted on a
Bitbucket Server.
Corresponds to the JSON property repoId
547 548 549 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 547 def repo_id @repo_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
554 555 556 557 558 559 560 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 554 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) @repo_id = args[:repo_id] if args.key?(:repo_id) end |