class Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo

TLS configuration information for VirtualHosts and TargetServers.

Attributes

ciphers[RW]

The SSL/TLS cipher suites to be used. Must be one of the cipher suite names listed in: docs.oracle.com/javase/8/docs/technotes/guides/security/ StandardNames.html#ciphersuites Corresponds to the JSON property `ciphers` @return [Array<String>]

client_auth_enabled[RW]

Optional. Enables two-way TLS. Corresponds to the JSON property `clientAuthEnabled` @return [Boolean]

client_auth_enabled?[RW]

Optional. Enables two-way TLS. Corresponds to the JSON property `clientAuthEnabled` @return [Boolean]

common_name[RW]

The TLS Common Name of the certificate. Corresponds to the JSON property `commonName` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoCommonName]

enabled[RW]

Required. Enables TLS. If false, neither one-way nor two-way TLS will be enabled. Corresponds to the JSON property `enabled` @return [Boolean]

enabled?[RW]

Required. Enables TLS. If false, neither one-way nor two-way TLS will be enabled. Corresponds to the JSON property `enabled` @return [Boolean]

ignore_validation_errors[RW]

If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails. Corresponds to the JSON property `ignoreValidationErrors` @return [Boolean]

ignore_validation_errors?[RW]

If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails. Corresponds to the JSON property `ignoreValidationErrors` @return [Boolean]

key_alias[RW]

Required if `client_auth_enabled` is true. The resource ID for the alias containing the private key and cert. Corresponds to the JSON property `keyAlias` @return [String]

key_store[RW]

Required if `client_auth_enabled` is true. The resource ID of the keystore. References not yet supported. Corresponds to the JSON property `keyStore` @return [String]

protocols[RW]

The TLS versioins to be used. Corresponds to the JSON property `protocols` @return [Array<String>]

trust_store[RW]

The resource ID of the truststore. References not yet supported. Corresponds to the JSON property `trustStore` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 7079
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigee_v1/classes.rb, line 7084
def update!(**args)
  @ciphers = args[:ciphers] if args.key?(:ciphers)
  @client_auth_enabled = args[:client_auth_enabled] if args.key?(:client_auth_enabled)
  @common_name = args[:common_name] if args.key?(:common_name)
  @enabled = args[:enabled] if args.key?(:enabled)
  @ignore_validation_errors = args[:ignore_validation_errors] if args.key?(:ignore_validation_errors)
  @key_alias = args[:key_alias] if args.key?(:key_alias)
  @key_store = args[:key_store] if args.key?(:key_store)
  @protocols = args[:protocols] if args.key?(:protocols)
  @trust_store = args[:trust_store] if args.key?(:trust_store)
end