Class: Google::Apis::DatastreamV1::PostgresqlSslConfig

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

Overview

PostgreSQL SSL configuration information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PostgresqlSslConfig

Returns a new instance of PostgresqlSslConfig.



2288
2289
2290
# File 'lib/google/apis/datastream_v1/classes.rb', line 2288

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

Instance Attribute Details

#server_and_client_verificationGoogle::Apis::DatastreamV1::ServerAndClientVerification

Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option. Corresponds to the JSON property serverAndClientVerification



2279
2280
2281
# File 'lib/google/apis/datastream_v1/classes.rb', line 2279

def server_and_client_verification
  @server_and_client_verification
end

#server_verificationGoogle::Apis::DatastreamV1::ServerVerification

Message represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option. Corresponds to the JSON property serverVerification



2286
2287
2288
# File 'lib/google/apis/datastream_v1/classes.rb', line 2286

def server_verification
  @server_verification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2293
2294
2295
2296
# File 'lib/google/apis/datastream_v1/classes.rb', line 2293

def update!(**args)
  @server_and_client_verification = args[:server_and_client_verification] if args.key?(:server_and_client_verification)
  @server_verification = args[:server_verification] if args.key?(:server_verification)
end