Class: Google::Cloud::Connectors::V1::SslConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/connectors/v1/ssl_config.rb

Overview

SSL Configuration of a connection

Defined Under Namespace

Modules: TrustModel

Instance Attribute Summary collapse

Instance Attribute Details

#additional_variables::Array<::Google::Cloud::Connectors::V1::ConfigVariable>

Returns Additional SSL related field values.

Returns:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end

#client_cert_type::Google::Cloud::Connectors::V1::CertType

Returns Type of Client Cert (PEM/JKS/.. etc.).

Returns:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end

#client_certificate::Google::Cloud::Connectors::V1::Secret

Returns Client Certificate.

Returns:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end

#client_private_key::Google::Cloud::Connectors::V1::Secret

Returns Client Private Key.

Returns:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end

#client_private_key_pass::Google::Cloud::Connectors::V1::Secret

Returns Secret containing the passphrase protecting the Client Private Key.

Returns:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end

#private_server_certificate::Google::Cloud::Connectors::V1::Secret

Returns Private Server Certificate. Needs to be specified if trust model is PRIVATE.

Returns:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end

#server_cert_type::Google::Cloud::Connectors::V1::CertType

Returns Type of Server Cert (PEM/JKS/.. etc.).

Returns:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end

#trust_model::Google::Cloud::Connectors::V1::SslConfig::TrustModel

Returns Trust Model of the SSL connection.

Returns:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end

#type::Google::Cloud::Connectors::V1::SslType

Returns Controls the ssl type for the given connector version.

Returns:



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end

#use_ssl::Boolean

Returns Bool for enabling SSL.

Returns:

  • (::Boolean)

    Bool for enabling SSL



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'proto_docs/google/cloud/connectors/v1/ssl_config.rb', line 77

class SslConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for Ttust Model
  module TrustModel
    # Public Trust Model. Takes the Default Java trust store.
    PUBLIC = 0

    # Private Trust Model. Takes custom/private trust store.
    PRIVATE = 1

    # Insecure Trust Model. Accept all certificates.
    INSECURE = 2
  end
end