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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TlsCertificatePaths

Returns a new instance of TlsCertificatePaths



35991
35992
35993
# File 'generated/google/apis/compute_alpha/classes.rb', line 35991

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)


35984
35985
35986
# File 'generated/google/apis/compute_alpha/classes.rb', line 35984

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)


35989
35990
35991
# File 'generated/google/apis/compute_alpha/classes.rb', line 35989

def private_key_path
  @private_key_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35996
35997
35998
35999
# File 'generated/google/apis/compute_alpha/classes.rb', line 35996

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