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.



2829
2830
2831
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2829

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

Instance Attribute Details

#proxy_secret_version_nameString

SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. Corresponds to the JSON property proxySecretVersionName

Returns:

  • (String)


2822
2823
2824
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2822

def proxy_secret_version_name
  @proxy_secret_version_name
end

#proxy_ssl_ca_infoGoogle::Apis::CloudbuildV1::GcsLocation

Represents a storage location in Cloud Storage Corresponds to the JSON property proxySslCaInfo



2827
2828
2829
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2827

def proxy_ssl_ca_info
  @proxy_ssl_ca_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2834
2835
2836
2837
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2834

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