Class: Google::Apis::ComputeAlpha::TlsCertificateContext

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] Defines the mechanism to obtain the client or server certificate. Defines the mechanism to obtain the client or server certificate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TlsCertificateContext

Returns a new instance of TlsCertificateContext.



45113
45114
45115
# File 'lib/google/apis/compute_alpha/classes.rb', line 45113

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

Instance Attribute Details

#certificate_pathsGoogle::Apis::ComputeAlpha::TlsCertificatePaths

[Deprecated] The paths to the mounted TLS Certificates and private key. The paths to the mounted TLS Certificates and private key. Corresponds to the JSON property certificatePaths



45100
45101
45102
# File 'lib/google/apis/compute_alpha/classes.rb', line 45100

def certificate_paths
  @certificate_paths
end

#certificate_sourceString

Defines how TLS certificates are obtained. Corresponds to the JSON property certificateSource

Returns:

  • (String)


45105
45106
45107
# File 'lib/google/apis/compute_alpha/classes.rb', line 45105

def certificate_source
  @certificate_source
end

#sds_configGoogle::Apis::ComputeAlpha::SdsConfig

[Deprecated] The configuration to access the SDS server. The configuration to access the SDS server. Corresponds to the JSON property sdsConfig



45111
45112
45113
# File 'lib/google/apis/compute_alpha/classes.rb', line 45111

def sds_config
  @sds_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45118
45119
45120
45121
45122
# File 'lib/google/apis/compute_alpha/classes.rb', line 45118

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