Class: Google::Apis::CloudbuildV1::CreateBitbucketServerConnectedRepositoryRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateBitbucketServerConnectedRepositoryRequest

Returns a new instance of CreateBitbucketServerConnectedRepositoryRequest.



1588
1589
1590
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1588

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bitbucket_server_connected_repositoryGoogle::Apis::CloudbuildV1::BitbucketServerConnectedRepository

/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository. Corresponds to the JSON property bitbucketServerConnectedRepository



1579
1580
1581
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1579

def bitbucket_server_connected_repository
  @bitbucket_server_connected_repository
end

#parentString

Required. The name of the BitbucketServerConfig that added connected repository. Format: projects/project/locations/location/ bitbucketServerConfigs/config` Corresponds to the JSON propertyparent`

Returns:

  • (String)


1586
1587
1588
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1586

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1593
1594
1595
1596
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1593

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