Class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig

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

GitConfig is a configuration for git operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig

Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig.



2262
2263
2264
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2262

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

Instance Attribute Details

#httpGoogle::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig

HttpConfig is a configuration for HTTP related git operations. Corresponds to the JSON property http



2260
2261
2262
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2260

def http
  @http
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2267
2268
2269
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2267

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