Class: Google::Apis::CloudbuildV1::BitbucketServerRepository

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

BitbucketServerRepository represents a repository hosted on a Bitbucket Server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BitbucketServerRepository

Returns a new instance of BitbucketServerRepository.



549
550
551
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 549

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

Instance Attribute Details

#browse_uriString

Link to the browse repo page on the Bitbucket Server instance. Corresponds to the JSON property browseUri

Returns:

  • (String)


526
527
528
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 526

def browse_uri
  @browse_uri
end

#descriptionString

Description of the repository. Corresponds to the JSON property description

Returns:

  • (String)


531
532
533
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 531

def description
  @description
end

#display_nameString

Display name of the repository. Corresponds to the JSON property displayName

Returns:

  • (String)


536
537
538
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 536

def display_name
  @display_name
end

#nameString

The resource name of the repository. Corresponds to the JSON property name

Returns:

  • (String)


541
542
543
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 541

def name
  @name
end

#repo_idGoogle::Apis::CloudbuildV1::BitbucketServerRepositoryId

BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server. Corresponds to the JSON property repoId



547
548
549
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 547

def repo_id
  @repo_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



554
555
556
557
558
559
560
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 554

def update!(**args)
  @browse_uri = args[:browse_uri] if args.key?(:browse_uri)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @repo_id = args[:repo_id] if args.key?(:repo_id)
end