Class: Google::Apis::CloudbuildV1::HttpConfig

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

HttpConfig is a configuration for HTTP related git operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HttpConfig

Returns a new instance of HttpConfig.



2793
2794
2795
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2793

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

Instance Attribute Details

#proxy_secret_version_nameString

SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have secretmanager.versions.access permissions on this secret. The proxy URL should be in format protocol://@]proxyhost[:port]. Corresponds to the JSON property proxySecretVersionName

Returns:

  • (String)


2791
2792
2793
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2791

def proxy_secret_version_name
  @proxy_secret_version_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2798
2799
2800
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2798

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