Class: Google::Apis::ComputeAlpha::TlsValidationContext
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::TlsValidationContext
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
[Deprecated] Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. validate the client/ server certificate.
Instance Attribute Summary collapse
-
#certificate_path ⇒ String
The path to the file holding the CA certificate to validate the client or server certificate.
-
#sds_config ⇒ Google::Apis::ComputeAlpha::SdsConfig
[Deprecated] The configuration to access the SDS server.
-
#validation_source ⇒ String
Defines how TLS certificates are obtained.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TlsValidationContext
constructor
A new instance of TlsValidationContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TlsValidationContext
Returns a new instance of TlsValidationContext.
49493 49494 49495 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 49493 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_path ⇒ String
The path to the file holding the CA certificate to validate the client or
server certificate.
Corresponds to the JSON property certificatePath
49480 49481 49482 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 49480 def certificate_path @certificate_path end |
#sds_config ⇒ Google::Apis::ComputeAlpha::SdsConfig
[Deprecated] The configuration to access the SDS server. The configuration to
access the SDS server.
Corresponds to the JSON property sdsConfig
49486 49487 49488 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 49486 def sds_config @sds_config end |
#validation_source ⇒ String
Defines how TLS certificates are obtained.
Corresponds to the JSON property validationSource
49491 49492 49493 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 49491 def validation_source @validation_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
49498 49499 49500 49501 49502 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 49498 def update!(**args) @certificate_path = args[:certificate_path] if args.key?(:certificate_path) @sds_config = args[:sds_config] if args.key?(:sds_config) @validation_source = args[:validation_source] if args.key?(:validation_source) end |