Class: Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse
- 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
RPC request object returned by the AddBitbucketServerConnectedRepository RPC method.
Instance Attribute Summary collapse
-
#config ⇒ String
The name of the
BitbucketServerConfigthat added connected repository. -
#connected_repository ⇒ Google::Apis::CloudbuildV1::BitbucketServerRepositoryId
BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddBitbucketServerConnectedRepositoryResponse
constructor
A new instance of AddBitbucketServerConnectedRepositoryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddBitbucketServerConnectedRepositoryResponse
Returns a new instance of AddBitbucketServerConnectedRepositoryResponse.
64 65 66 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 64 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ String
The name of the BitbucketServerConfig that added connected repository.
Format: projects/project/locations/location/bitbucketServerConfigs/
config`
Corresponds to the JSON propertyconfig`
56 57 58 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 56 def config @config end |
#connected_repository ⇒ Google::Apis::CloudbuildV1::BitbucketServerRepositoryId
BitbucketServerRepositoryId identifies a specific repository hosted on a
Bitbucket Server.
Corresponds to the JSON property connectedRepository
62 63 64 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 62 def connected_repository @connected_repository end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69 70 71 72 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 69 def update!(**args) @config = args[:config] if args.key?(:config) @connected_repository = args[:connected_repository] if args.key?(:connected_repository) end |