Class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceRepository

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/run_v1/classes.rb,
lib/google/apis/run_v1/representations.rb,
lib/google/apis/run_v1/representations.rb

Overview

A repository for a git source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV1GitSourceRepository

Returns a new instance of GoogleDevtoolsCloudbuildV1GitSourceRepository.



2526
2527
2528
# File 'lib/google/apis/run_v1/classes.rb', line 2526

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

Instance Attribute Details

#developer_connectString

The Developer Connect Git repository link formatted as projects/*/locations/*/ connections/*/gitRepositoryLink/* Corresponds to the JSON property developerConnect

Returns:

  • (String)


2519
2520
2521
# File 'lib/google/apis/run_v1/classes.rb', line 2519

def developer_connect
  @developer_connect
end

#urlString

Location of the Git repository. Corresponds to the JSON property url

Returns:

  • (String)


2524
2525
2526
# File 'lib/google/apis/run_v1/classes.rb', line 2524

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2531
2532
2533
2534
# File 'lib/google/apis/run_v1/classes.rb', line 2531

def update!(**args)
  @developer_connect = args[:developer_connect] if args.key?(:developer_connect)
  @url = args[:url] if args.key?(:url)
end