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.



2052
2053
2054
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2052

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



2050
2051
2052
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2050

def http
  @http
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2057
2058
2059
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2057

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