Class: Google::Apis::ComputeAlpha::TlsValidationContext
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::TlsValidationContext
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
Defines the mechanism to obtain the Certificate Authority certificate to 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
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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ TlsValidationContext
Returns a new instance of TlsValidationContext.
36415 36416 36417 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36415 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
36403 36404 36405 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36403 def certificate_path @certificate_path end |
#sds_config ⇒ Google::Apis::ComputeAlpha::SdsConfig
The configuration to access the SDS server.
Corresponds to the JSON property sdsConfig
36408 36409 36410 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36408 def sds_config @sds_config end |
#validation_source ⇒ String
Defines how TLS certificates are obtained.
Corresponds to the JSON property validationSource
36413 36414 36415 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36413 def validation_source @validation_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
36420 36421 36422 36423 36424 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36420 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 |