Class: Google::Apis::DatastreamV1::ServerVerification

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

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServerVerification

Returns a new instance of ServerVerification.



2542
2543
2544
# File 'lib/google/apis/datastream_v1/classes.rb', line 2542

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

Instance Attribute Details

#ca_certificateString

Required. Input only. PEM-encoded server root CA certificate. Corresponds to the JSON property caCertificate

Returns:

  • (String)


2540
2541
2542
# File 'lib/google/apis/datastream_v1/classes.rb', line 2540

def ca_certificate
  @ca_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2547
2548
2549
# File 'lib/google/apis/datastream_v1/classes.rb', line 2547

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