Class: Google::Apis::ComputeAlpha::TlsCertificatePaths

Inherits:
Object
  • Object
show all
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] The paths to the mounted TLS Certificates and private key. The paths to the mounted TLS Certificates and private key.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TlsCertificatePaths

Returns a new instance of TlsCertificatePaths.



53824
53825
53826
# File 'lib/google/apis/compute_alpha/classes.rb', line 53824

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

Instance Attribute Details

#certificate_pathString

The path to the file holding the client or server TLS certificate to use. Corresponds to the JSON property certificatePath

Returns:

  • (String)


53817
53818
53819
# File 'lib/google/apis/compute_alpha/classes.rb', line 53817

def certificate_path
  @certificate_path
end

#private_key_pathString

The path to the file holding the client or server private key. Corresponds to the JSON property privateKeyPath

Returns:

  • (String)


53822
53823
53824
# File 'lib/google/apis/compute_alpha/classes.rb', line 53822

def private_key_path
  @private_key_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



53829
53830
53831
53832
# File 'lib/google/apis/compute_alpha/classes.rb', line 53829

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