Class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceRepository
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceRepository
- 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
-
#developer_connect ⇒ String
The Developer Connect Git repository link formatted as
projects/*/locations/*/ connections/*/gitRepositoryLink/*Corresponds to the JSON propertydeveloperConnect. -
#url ⇒ String
Location of the Git repository.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV1GitSourceRepository
constructor
A new instance of GoogleDevtoolsCloudbuildV1GitSourceRepository.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV1GitSourceRepository
Returns a new instance of GoogleDevtoolsCloudbuildV1GitSourceRepository.
2612 2613 2614 |
# File 'lib/google/apis/run_v1/classes.rb', line 2612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#developer_connect ⇒ String
The Developer Connect Git repository link formatted as projects/*/locations/*/
connections/*/gitRepositoryLink/*
Corresponds to the JSON property developerConnect
2605 2606 2607 |
# File 'lib/google/apis/run_v1/classes.rb', line 2605 def developer_connect @developer_connect end |
#url ⇒ String
Location of the Git repository.
Corresponds to the JSON property url
2610 2611 2612 |
# File 'lib/google/apis/run_v1/classes.rb', line 2610 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2617 2618 2619 2620 |
# File 'lib/google/apis/run_v1/classes.rb', line 2617 def update!(**args) @developer_connect = args[:developer_connect] if args.key?(:developer_connect) @url = args[:url] if args.key?(:url) end |