Class: Google::Apis::CloudbuildV1::CreateBitbucketServerConnectedRepositoryRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::CreateBitbucketServerConnectedRepositoryRequest
- 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
Request to connect a repository from a connected Bitbucket Server host.
Instance Attribute Summary collapse
-
#bitbucket_server_connected_repository ⇒ Google::Apis::CloudbuildV1::BitbucketServerConnectedRepository
/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.
-
#parent ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateBitbucketServerConnectedRepositoryRequest
constructor
A new instance of CreateBitbucketServerConnectedRepositoryRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateBitbucketServerConnectedRepositoryRequest
Returns a new instance of CreateBitbucketServerConnectedRepositoryRequest.
1656 1657 1658 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1656 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bitbucket_server_connected_repository ⇒ Google::Apis::CloudbuildV1::BitbucketServerConnectedRepository
/ BitbucketServerConnectedRepository represents a connected Bitbucket Server /
repository.
Corresponds to the JSON property bitbucketServerConnectedRepository
1647 1648 1649 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1647 def bitbucket_server_connected_repository @bitbucket_server_connected_repository end |
#parent ⇒ String
Required. The name of the BitbucketServerConfig
that added connected
repository. Format: projects/
project/locations/
location/
bitbucketServerConfigs/
config`
Corresponds to the JSON property
parent`
1654 1655 1656 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1654 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1661 1662 1663 1664 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1661 def update!(**args) @bitbucket_server_connected_repository = args[:bitbucket_server_connected_repository] if args.key?(:bitbucket_server_connected_repository) @parent = args[:parent] if args.key?(:parent) end |