Class: Google::Apis::ConnectorsV1::SslConfigTemplate

Inherits:
Object
  • Object
show all
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 config details of a connector version

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SslConfigTemplate

Returns a new instance of SslConfigTemplate.



5349
5350
5351
# File 'lib/google/apis/connectors_v1/classes.rb', line 5349

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

Instance Attribute Details

#additional_variablesArray<Google::Apis::ConnectorsV1::ConfigVariableTemplate>

Any additional fields that need to be rendered Corresponds to the JSON property additionalVariables



5326
5327
5328
# File 'lib/google/apis/connectors_v1/classes.rb', line 5326

def additional_variables
  @additional_variables
end

#client_cert_typeArray<String>

List of supported Client Cert Types Corresponds to the JSON property clientCertType

Returns:

  • (Array<String>)


5331
5332
5333
# File 'lib/google/apis/connectors_v1/classes.rb', line 5331

def client_cert_type
  @client_cert_type
end

#is_tls_mandatoryBoolean Also known as: is_tls_mandatory?

Boolean for determining if the connector version mandates TLS. Corresponds to the JSON property isTlsMandatory

Returns:

  • (Boolean)


5336
5337
5338
# File 'lib/google/apis/connectors_v1/classes.rb', line 5336

def is_tls_mandatory
  @is_tls_mandatory
end

#server_cert_typeArray<String>

List of supported Server Cert Types Corresponds to the JSON property serverCertType

Returns:

  • (Array<String>)


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

def server_cert_type
  @server_cert_type
end

#ssl_typeString

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

Returns:

  • (String)


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

def ssl_type
  @ssl_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5354
5355
5356
5357
5358
5359
5360
# File 'lib/google/apis/connectors_v1/classes.rb', line 5354

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)
  @is_tls_mandatory = args[:is_tls_mandatory] if args.key?(:is_tls_mandatory)
  @server_cert_type = args[:server_cert_type] if args.key?(:server_cert_type)
  @ssl_type = args[:ssl_type] if args.key?(:ssl_type)
end