Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1SslConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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.



5360
5361
5362
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5360

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

Instance Attribute Details

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

Additional SSL related field values Corresponds to the JSON property additionalVariables



5312
5313
5314
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5312

def additional_variables
  @additional_variables
end

#client_cert_typeString

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

Returns:

  • (String)


5317
5318
5319
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5317

def client_cert_type
  @client_cert_type
end

#client_certificateGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

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



5322
5323
5324
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5322

def client_certificate
  @client_certificate
end

#client_private_keyGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

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



5327
5328
5329
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5327

def client_private_key
  @client_private_key
end

#client_private_key_passGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

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



5332
5333
5334
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5332

def client_private_key_pass
  @client_private_key_pass
end

#private_server_certificateGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

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



5337
5338
5339
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5337

def private_server_certificate
  @private_server_certificate
end

#server_cert_typeString

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

Returns:

  • (String)


5342
5343
5344
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5342

def server_cert_type
  @server_cert_type
end

#trust_modelString

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

Returns:

  • (String)


5347
5348
5349
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5347

def trust_model
  @trust_model
end

#typeString

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

Returns:

  • (String)


5352
5353
5354
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5352

def type
  @type
end

#use_sslBoolean Also known as: use_ssl?

Bool for enabling SSL Corresponds to the JSON property useSsl

Returns:

  • (Boolean)


5357
5358
5359
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5357

def use_ssl
  @use_ssl
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5365

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