Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1SslConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Overview

SSL Configuration of a connection

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1SslConfig

Returns a new instance of GoogleCloudConnectorsV1SslConfig.



6329
6330
6331
# File 'lib/google/apis/integrations_v1/classes.rb', line 6329

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

Instance Attribute Details

#additional_variablesArray<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable>

Optional. Additional SSL related field values Corresponds to the JSON property additionalVariables



6281
6282
6283
# File 'lib/google/apis/integrations_v1/classes.rb', line 6281

def additional_variables
  @additional_variables
end

#client_cert_typeString

Optional. Type of Client Cert (PEM/JKS/.. etc.) Corresponds to the JSON property clientCertType

Returns:

  • (String)


6286
6287
6288
# File 'lib/google/apis/integrations_v1/classes.rb', line 6286

def client_cert_type
  @client_cert_type
end

#client_certificateGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property clientCertificate



6291
6292
6293
# File 'lib/google/apis/integrations_v1/classes.rb', line 6291

def client_certificate
  @client_certificate
end

#client_private_keyGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property clientPrivateKey



6296
6297
6298
# File 'lib/google/apis/integrations_v1/classes.rb', line 6296

def client_private_key
  @client_private_key
end

#client_private_key_passGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property clientPrivateKeyPass



6301
6302
6303
# File 'lib/google/apis/integrations_v1/classes.rb', line 6301

def client_private_key_pass
  @client_private_key_pass
end

#private_server_certificateGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property privateServerCertificate



6306
6307
6308
# File 'lib/google/apis/integrations_v1/classes.rb', line 6306

def private_server_certificate
  @private_server_certificate
end

#server_cert_typeString

Optional. Type of Server Cert (PEM/JKS/.. etc.) Corresponds to the JSON property serverCertType

Returns:

  • (String)


6311
6312
6313
# File 'lib/google/apis/integrations_v1/classes.rb', line 6311

def server_cert_type
  @server_cert_type
end

#trust_modelString

Optional. Trust Model of the SSL connection Corresponds to the JSON property trustModel

Returns:

  • (String)


6316
6317
6318
# File 'lib/google/apis/integrations_v1/classes.rb', line 6316

def trust_model
  @trust_model
end

#typeString

Optional. Controls the ssl type for the given connector version. Corresponds to the JSON property type

Returns:

  • (String)


6321
6322
6323
# File 'lib/google/apis/integrations_v1/classes.rb', line 6321

def type
  @type
end

#use_sslBoolean Also known as: use_ssl?

Optional. Bool for enabling SSL Corresponds to the JSON property useSsl

Returns:

  • (Boolean)


6326
6327
6328
# File 'lib/google/apis/integrations_v1/classes.rb', line 6326

def use_ssl
  @use_ssl
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
# File 'lib/google/apis/integrations_v1/classes.rb', line 6334

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