Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1TlsInfoConfig

Returns a new instance of GoogleCloudApigeeV1TlsInfoConfig.



4200
4201
4202
# File 'generated/google/apis/apigee_v1/classes.rb', line 4200

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

Instance Attribute Details

#ciphersArray<String>

Whitelist of supported ciphers. Corresponds to the JSON property ciphers

Returns:

  • (Array<String>)


4151
4152
4153
# File 'generated/google/apis/apigee_v1/classes.rb', line 4151

def ciphers
  @ciphers
end

#client_auth_enabledBoolean Also known as: client_auth_enabled?

Indicates if client auth is enabled for the target. Enables two-way TLS. Corresponds to the JSON property clientAuthEnabled

Returns:

  • (Boolean)


4156
4157
4158
# File 'generated/google/apis/apigee_v1/classes.rb', line 4156

def client_auth_enabled
  @client_auth_enabled
end

#common_nameGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1CommonNameConfig

Common name to validate the target against. Corresponds to the JSON property commonName



4162
4163
4164
# File 'generated/google/apis/apigee_v1/classes.rb', line 4162

def common_name
  @common_name
end

#enabledBoolean Also known as: enabled?

Enables one-way TLS. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


4167
4168
4169
# File 'generated/google/apis/apigee_v1/classes.rb', line 4167

def enabled
  @enabled
end

#ignore_validation_errorsBoolean Also known as: ignore_validation_errors?

If true, ignore TLS certificate validation errors. Corresponds to the JSON property ignoreValidationErrors

Returns:

  • (Boolean)


4173
4174
4175
# File 'generated/google/apis/apigee_v1/classes.rb', line 4173

def ignore_validation_errors
  @ignore_validation_errors
end

#key_aliasString

The name of the Alias used for client side auth. It must be of the form: organizations/org/environments/env/keystores/keystore/aliases/alias Corresponds to the JSON property keyAlias

Returns:

  • (String)


4180
4181
4182
# File 'generated/google/apis/apigee_v1/classes.rb', line 4180

def key_alias
  @key_alias
end

#key_alias_referenceGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1KeyAliasReference

A pair of reference name and alias to use for client side auth. Corresponds to the JSON property keyAliasReference



4185
4186
4187
# File 'generated/google/apis/apigee_v1/classes.rb', line 4185

def key_alias_reference
  @key_alias_reference
end

#protocolsArray<String>

Whitelist of supported TLS protocols. Corresponds to the JSON property protocols

Returns:

  • (Array<String>)


4190
4191
4192
# File 'generated/google/apis/apigee_v1/classes.rb', line 4190

def protocols
  @protocols
end

#trust_storeString

The name of the Keystore or keystore reference containing trusted certificates for the server. It must be of either the form organizations/org/environments/env/keystores/keystore or organizations/org/environments/env/references/reference. Corresponds to the JSON property trustStore

Returns:

  • (String)


4198
4199
4200
# File 'generated/google/apis/apigee_v1/classes.rb', line 4198

def trust_store
  @trust_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
# File 'generated/google/apis/apigee_v1/classes.rb', line 4205

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_alias_reference = args[:key_alias_reference] if args.key?(:key_alias_reference)
  @protocols = args[:protocols] if args.key?(:protocols)
  @trust_store = args[:trust_store] if args.key?(:trust_store)
end