Class: Google::Apis::ComputeAlpha::TlsContext

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

[Deprecated] The TLS settings for the client or server. The TLS settings for the client or server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TlsContext

Returns a new instance of TlsContext.



40368
40369
40370
# File 'generated/google/apis/compute_alpha/classes.rb', line 40368

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

Instance Attribute Details

#certificate_contextGoogle::Apis::ComputeAlpha::TlsCertificateContext

[Deprecated] Defines the mechanism to obtain the client or server certificate. Defines the mechanism to obtain the client or server certificate. Corresponds to the JSON property certificateContext



40359
40360
40361
# File 'generated/google/apis/compute_alpha/classes.rb', line 40359

def certificate_context
  @certificate_context
end

#validation_contextGoogle::Apis::ComputeAlpha::TlsValidationContext

[Deprecated] Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. validate the client/ server certificate. Corresponds to the JSON property validationContext



40366
40367
40368
# File 'generated/google/apis/compute_alpha/classes.rb', line 40366

def validation_context
  @validation_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40373
40374
40375
40376
# File 'generated/google/apis/compute_alpha/classes.rb', line 40373

def update!(**args)
  @certificate_context = args[:certificate_context] if args.key?(:certificate_context)
  @validation_context = args[:validation_context] if args.key?(:validation_context)
end