Class: Google::Apis::CloudbuildV1::GitConfig

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

Overview

GitConfig is a configuration for git operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GitConfig

Returns a new instance of GitConfig.



2162
2163
2164
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2162

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

Instance Attribute Details

#httpGoogle::Apis::CloudbuildV1::HttpConfig

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



2160
2161
2162
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2160

def http
  @http
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2167
2168
2169
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2167

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