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.



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

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)


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

def browse_uri
  @browse_uri
end

#descriptionString

Description of the repository. Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


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

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


529
530
531
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 529

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



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

def repo_id
  @repo_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



542
543
544
545
546
547
548
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 542

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