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

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

Defines the mechanism to obtain the client or server certificate.

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) ⇒ TlsCertificateContext

Returns a new instance of TlsCertificateContext



33227
33228
33229
# File 'generated/google/apis/compute_alpha/classes.rb', line 33227

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

Instance Attribute Details

#certificate_pathsGoogle::Apis::ComputeAlpha::TlsCertificatePaths

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



33215
33216
33217
# File 'generated/google/apis/compute_alpha/classes.rb', line 33215

def certificate_paths
  @certificate_paths
end

#certificate_sourceString

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

Returns:

  • (String)


33220
33221
33222
# File 'generated/google/apis/compute_alpha/classes.rb', line 33220

def certificate_source
  @certificate_source
end

#sds_configGoogle::Apis::ComputeAlpha::SdsConfig

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



33225
33226
33227
# File 'generated/google/apis/compute_alpha/classes.rb', line 33225

def sds_config
  @sds_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33232
33233
33234
33235
33236
# File 'generated/google/apis/compute_alpha/classes.rb', line 33232

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