Class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_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) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
constructor
A new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository.
2805 2806 2807 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 2805 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
2798 2799 2800 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 2798 def developer_connect @developer_connect end |
#url ⇒ String
Location of the Git repository.
Corresponds to the JSON property url
2803 2804 2805 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 2803 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2810 2811 2812 2813 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 2810 def update!(**args) @developer_connect = args[:developer_connect] if args.key?(:developer_connect) @url = args[:url] if args.key?(:url) end |