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.



2086
2087
2088
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2086

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



2084
2085
2086
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2084

def http
  @http
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2091
2092
2093
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2091

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