Class: Google::Apis::ComputeAlpha::TlsValidationContext

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 Certificate Authority certificate to validate the client/server certificate. validate the client/ server certificate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TlsValidationContext

Returns a new instance of TlsValidationContext.



45447
45448
45449
# File 'lib/google/apis/compute_alpha/classes.rb', line 45447

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

Instance Attribute Details

#certificate_pathString

The path to the file holding the CA certificate to validate the client or server certificate. Corresponds to the JSON property certificatePath

Returns:

  • (String)


45434
45435
45436
# File 'lib/google/apis/compute_alpha/classes.rb', line 45434

def certificate_path
  @certificate_path
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



45440
45441
45442
# File 'lib/google/apis/compute_alpha/classes.rb', line 45440

def sds_config
  @sds_config
end

#validation_sourceString

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

Returns:

  • (String)


45445
45446
45447
# File 'lib/google/apis/compute_alpha/classes.rb', line 45445

def validation_source
  @validation_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45452
45453
45454
45455
45456
# File 'lib/google/apis/compute_alpha/classes.rb', line 45452

def update!(**args)
  @certificate_path = args[:certificate_path] if args.key?(:certificate_path)
  @sds_config = args[:sds_config] if args.key?(:sds_config)
  @validation_source = args[:validation_source] if args.key?(:validation_source)
end