Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Overview

TLS configuration information for virtual hosts and TargetServers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1TlsInfo

Returns a new instance of GoogleCloudApigeeV1TlsInfo.



11121
11122
11123
# File 'lib/google/apis/apigee_v1/classes.rb', line 11121

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

Instance Attribute Details

#ciphersArray<String>

The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/ technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https:// commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher- suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3. Corresponds to the JSON property ciphers

Returns:

  • (Array<String>)


11063
11064
11065
# File 'lib/google/apis/apigee_v1/classes.rb', line 11063

def ciphers
  @ciphers
end

#client_auth_enabledBoolean Also known as: client_auth_enabled?

Optional. Enables two-way TLS. Corresponds to the JSON property clientAuthEnabled

Returns:

  • (Boolean)


11068
11069
11070
# File 'lib/google/apis/apigee_v1/classes.rb', line 11068

def client_auth_enabled
  @client_auth_enabled
end

#common_nameGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoCommonName

The TLS Common Name of the certificate. Corresponds to the JSON property commonName



11074
11075
11076
# File 'lib/google/apis/apigee_v1/classes.rb', line 11074

def common_name
  @common_name
end

#enabledBoolean Also known as: enabled?

Required. Enables TLS. If false, neither one-way nor two-way TLS will be enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


11080
11081
11082
# File 'lib/google/apis/apigee_v1/classes.rb', line 11080

def enabled
  @enabled
end

#enforceBoolean Also known as: enforce?

TLS is strictly enforced. Corresponds to the JSON property enforce

Returns:

  • (Boolean)


11086
11087
11088
# File 'lib/google/apis/apigee_v1/classes.rb', line 11086

def enforce
  @enforce
end

#ignore_validation_errorsBoolean Also known as: ignore_validation_errors?

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

Returns:

  • (Boolean)


11097
11098
11099
# File 'lib/google/apis/apigee_v1/classes.rb', line 11097

def ignore_validation_errors
  @ignore_validation_errors
end

#key_aliasString

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

Returns:

  • (String)


11104
11105
11106
# File 'lib/google/apis/apigee_v1/classes.rb', line 11104

def key_alias
  @key_alias
end

#key_storeString

Required if client_auth_enabled is true. The resource ID of the keystore. Corresponds to the JSON property keyStore

Returns:

  • (String)


11109
11110
11111
# File 'lib/google/apis/apigee_v1/classes.rb', line 11109

def key_store
  @key_store
end

#protocolsArray<String>

The TLS versioins to be used. Corresponds to the JSON property protocols

Returns:

  • (Array<String>)


11114
11115
11116
# File 'lib/google/apis/apigee_v1/classes.rb', line 11114

def protocols
  @protocols
end

#trust_storeString

The resource ID of the truststore. Corresponds to the JSON property trustStore

Returns:

  • (String)


11119
11120
11121
# File 'lib/google/apis/apigee_v1/classes.rb', line 11119

def trust_store
  @trust_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
# File 'lib/google/apis/apigee_v1/classes.rb', line 11126

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)
  @enforce = args[:enforce] if args.key?(:enforce)
  @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