Class: Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse

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

RPC request object returned by the AddBitbucketServerConnectedRepository RPC method.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#configString

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

Returns:

  • (String)


56
57
58
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 56

def config
  @config
end

#connected_repositoryGoogle::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