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.



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

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)


485
486
487
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 485

def browse_uri
  @browse_uri
end

#descriptionString

Description of the repository. Corresponds to the JSON property description

Returns:

  • (String)


490
491
492
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 490

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


495
496
497
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 495

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


500
501
502
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 500

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



506
507
508
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 506

def repo_id
  @repo_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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