Class: Google::Apis::ConnectorsV1::SslConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::SslConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
SSL Configuration of a connection
Instance Attribute Summary collapse
-
#additional_variables ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariable>
Additional SSL related field values Corresponds to the JSON property
additionalVariables
. -
#client_cert_type ⇒ String
Type of Client Cert (PEM/JKS/.. etc.) Corresponds to the JSON property
clientCertType
. -
#client_certificate ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
-
#client_private_key ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
-
#client_private_key_pass ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
-
#private_server_certificate ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
-
#server_cert_type ⇒ String
Type of Server Cert (PEM/JKS/.. etc.) Corresponds to the JSON property
serverCertType
. -
#trust_model ⇒ String
Trust Model of the SSL connection Corresponds to the JSON property
trustModel
. -
#type ⇒ String
Controls the ssl type for the given connector version.
-
#use_ssl ⇒ Boolean
(also: #use_ssl?)
Bool for enabling SSL Corresponds to the JSON property
useSsl
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SslConfig
constructor
A new instance of SslConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SslConfig
Returns a new instance of SslConfig.
5300 5301 5302 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_variables ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariable>
Additional SSL related field values
Corresponds to the JSON property additionalVariables
5252 5253 5254 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5252 def additional_variables @additional_variables end |
#client_cert_type ⇒ String
Type of Client Cert (PEM/JKS/.. etc.)
Corresponds to the JSON property clientCertType
5257 5258 5259 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5257 def client_cert_type @client_cert_type end |
#client_certificate ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property clientCertificate
5262 5263 5264 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5262 def client_certificate @client_certificate end |
#client_private_key ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property clientPrivateKey
5267 5268 5269 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5267 def client_private_key @client_private_key end |
#client_private_key_pass ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property clientPrivateKeyPass
5272 5273 5274 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5272 def client_private_key_pass @client_private_key_pass end |
#private_server_certificate ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property privateServerCertificate
5277 5278 5279 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5277 def private_server_certificate @private_server_certificate end |
#server_cert_type ⇒ String
Type of Server Cert (PEM/JKS/.. etc.)
Corresponds to the JSON property serverCertType
5282 5283 5284 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5282 def server_cert_type @server_cert_type end |
#trust_model ⇒ String
Trust Model of the SSL connection
Corresponds to the JSON property trustModel
5287 5288 5289 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5287 def trust_model @trust_model end |
#type ⇒ String
Controls the ssl type for the given connector version.
Corresponds to the JSON property type
5292 5293 5294 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5292 def type @type end |
#use_ssl ⇒ Boolean Also known as: use_ssl?
Bool for enabling SSL
Corresponds to the JSON property useSsl
5297 5298 5299 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5297 def use_ssl @use_ssl end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5305 def update!(**args) @additional_variables = args[:additional_variables] if args.key?(:additional_variables) @client_cert_type = args[:client_cert_type] if args.key?(:client_cert_type) @client_certificate = args[:client_certificate] if args.key?(:client_certificate) @client_private_key = args[:client_private_key] if args.key?(:client_private_key) @client_private_key_pass = args[:client_private_key_pass] if args.key?(:client_private_key_pass) @private_server_certificate = args[:private_server_certificate] if args.key?(:private_server_certificate) @server_cert_type = args[:server_cert_type] if args.key?(:server_cert_type) @trust_model = args[:trust_model] if args.key?(:trust_model) @type = args[:type] if args.key?(:type) @use_ssl = args[:use_ssl] if args.key?(:use_ssl) end |