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.



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

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)


504
505
506
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 504

def browse_uri
  @browse_uri
end

#descriptionString

Description of the repository. Corresponds to the JSON property description

Returns:

  • (String)


509
510
511
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 509

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


514
515
516
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 514

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


519
520
521
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 519

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



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

def repo_id
  @repo_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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