Class: Google::Apis::ConnectorsV1::SslConfig

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 Configuration of a connection

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SslConfig

Returns a new instance of SslConfig.



4982
4983
4984
# File 'lib/google/apis/connectors_v1/classes.rb', line 4982

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

Instance Attribute Details

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

Additional SSL related field values Corresponds to the JSON property additionalVariables



4934
4935
4936
# File 'lib/google/apis/connectors_v1/classes.rb', line 4934

def additional_variables
  @additional_variables
end

#client_cert_typeString

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

Returns:

  • (String)


4939
4940
4941
# File 'lib/google/apis/connectors_v1/classes.rb', line 4939

def client_cert_type
  @client_cert_type
end

#client_certificateGoogle::Apis::ConnectorsV1::Secret

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



4944
4945
4946
# File 'lib/google/apis/connectors_v1/classes.rb', line 4944

def client_certificate
  @client_certificate
end

#client_private_keyGoogle::Apis::ConnectorsV1::Secret

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



4949
4950
4951
# File 'lib/google/apis/connectors_v1/classes.rb', line 4949

def client_private_key
  @client_private_key
end

#client_private_key_passGoogle::Apis::ConnectorsV1::Secret

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



4954
4955
4956
# File 'lib/google/apis/connectors_v1/classes.rb', line 4954

def client_private_key_pass
  @client_private_key_pass
end

#private_server_certificateGoogle::Apis::ConnectorsV1::Secret

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



4959
4960
4961
# File 'lib/google/apis/connectors_v1/classes.rb', line 4959

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)


4964
4965
4966
# File 'lib/google/apis/connectors_v1/classes.rb', line 4964

def server_cert_type
  @server_cert_type
end

#trust_modelString

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

Returns:

  • (String)


4969
4970
4971
# File 'lib/google/apis/connectors_v1/classes.rb', line 4969

def trust_model
  @trust_model
end

#typeString

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

Returns:

  • (String)


4974
4975
4976
# File 'lib/google/apis/connectors_v1/classes.rb', line 4974

def type
  @type
end

#use_sslBoolean Also known as: use_ssl?

Bool for enabling SSL Corresponds to the JSON property useSsl

Returns:

  • (Boolean)


4979
4980
4981
# File 'lib/google/apis/connectors_v1/classes.rb', line 4979

def use_ssl
  @use_ssl
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
# File 'lib/google/apis/connectors_v1/classes.rb', line 4987

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