Class: Google::Apis::ComputeAlpha::TlsCertificateContext
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::TlsCertificateContext
- 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 client or server certificate.
Instance Attribute Summary collapse
-
#certificate_paths ⇒ Google::Apis::ComputeAlpha::TlsCertificatePaths
The paths to the mounted TLS Certificates and private key.
-
#certificate_source ⇒ String
Defines how TLS certificates are obtained.
-
#sds_config ⇒ Google::Apis::ComputeAlpha::SdsConfig
The configuration to access the SDS server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TlsCertificateContext
constructor
A new instance of TlsCertificateContext.
-
#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) ⇒ TlsCertificateContext
Returns a new instance of TlsCertificateContext
34753 34754 34755 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 34753 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_paths ⇒ Google::Apis::ComputeAlpha::TlsCertificatePaths
The paths to the mounted TLS Certificates and private key.
Corresponds to the JSON property certificatePaths
34741 34742 34743 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 34741 def certificate_paths @certificate_paths end |
#certificate_source ⇒ String
Defines how TLS certificates are obtained.
Corresponds to the JSON property certificateSource
34746 34747 34748 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 34746 def certificate_source @certificate_source end |
#sds_config ⇒ Google::Apis::ComputeAlpha::SdsConfig
The configuration to access the SDS server.
Corresponds to the JSON property sdsConfig
34751 34752 34753 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 34751 def sds_config @sds_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34758 34759 34760 34761 34762 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 34758 def update!(**args) @certificate_paths = args[:certificate_paths] if args.key?(:certificate_paths) @certificate_source = args[:certificate_source] if args.key?(:certificate_source) @sds_config = args[:sds_config] if args.key?(:sds_config) end |