Class: Google::Apis::ComputeAlpha::TlsCertificatePaths
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::TlsCertificatePaths
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
The paths to the mounted TLS Certificates and private key.
Instance Attribute Summary collapse
-
#certificate_path ⇒ String
The path to the file holding the client or server TLS certificate to use.
-
#private_key_path ⇒ String
The path to the file holding the client or server private key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TlsCertificatePaths
constructor
A new instance of TlsCertificatePaths.
-
#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) ⇒ TlsCertificatePaths
Returns a new instance of TlsCertificatePaths
34671 34672 34673 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 34671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_path ⇒ String
The path to the file holding the client or server TLS certificate to use.
Corresponds to the JSON property certificatePath
34664 34665 34666 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 34664 def certificate_path @certificate_path end |
#private_key_path ⇒ String
The path to the file holding the client or server private key.
Corresponds to the JSON property privateKeyPath
34669 34670 34671 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 34669 def private_key_path @private_key_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34676 34677 34678 34679 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 34676 def update!(**args) @certificate_path = args[:certificate_path] if args.key?(:certificate_path) @private_key_path = args[:private_key_path] if args.key?(:private_key_path) end |