Class: Google::Apis::CloudbuildV1alpha2::BitbucketServerConnectedRepository
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1alpha2::BitbucketServerConnectedRepository
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v1alpha2/classes.rb,
lib/google/apis/cloudbuild_v1alpha2/representations.rb,
lib/google/apis/cloudbuild_v1alpha2/representations.rb
Overview
/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.
Instance Attribute Summary collapse
-
#parent ⇒ String
The name of the
BitbucketServerConfigthat added connected repository. -
#repo ⇒ Google::Apis::CloudbuildV1alpha2::BitbucketServerRepositoryId
BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.
-
#status ⇒ Google::Apis::CloudbuildV1alpha2::Status
The
Statustype defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BitbucketServerConnectedRepository
constructor
A new instance of BitbucketServerConnectedRepository.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BitbucketServerConnectedRepository
Returns a new instance of BitbucketServerConnectedRepository.
319 320 321 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 319 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parent ⇒ String
The name of the BitbucketServerConfig that added connected repository.
Format: projects/project/locations/location/bitbucketServerConfigs/
config`
Corresponds to the JSON propertyparent`
301 302 303 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 301 def parent @parent end |
#repo ⇒ Google::Apis::CloudbuildV1alpha2::BitbucketServerRepositoryId
BitbucketServerRepositoryId identifies a specific repository hosted on a
Bitbucket Server.
Corresponds to the JSON property repo
307 308 309 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 307 def repo @repo end |
#status ⇒ Google::Apis::CloudbuildV1alpha2::Status
The Status type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by
gRPC. Each Status message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property status
317 318 319 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 317 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
324 325 326 327 328 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 324 def update!(**args) @parent = args[:parent] if args.key?(:parent) @repo = args[:repo] if args.key?(:repo) @status = args[:status] if args.key?(:status) end |