Class: Google::Apis::CloudbuildV1::HttpConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::HttpConfig
- 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
-
#proxy_secret_version_name ⇒ String
SecretVersion resource of the HTTP proxy URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpConfig
constructor
A new instance of HttpConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_name ⇒ String
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
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 |