Class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository

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

Overview

A repository for a git source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository

Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository.



2421
2422
2423
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2421

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)


2414
2415
2416
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2414

def developer_connect
  @developer_connect
end

#urlString

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

Returns:

  • (String)


2419
2420
2421
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2419

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2426
2427
2428
2429
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2426

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