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.


5347
5348
5349
# File 'generated/google/apis/apigee_v1/classes.rb', line 5347

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

Instance Attribute Details

#ciphersArray<String>

List of ciphers that are granted access. Corresponds to the JSON property ciphers

Returns:

  • (Array<String>)

5295
5296
5297
# File 'generated/google/apis/apigee_v1/classes.rb', line 5295

def ciphers
  @ciphers
end

#client_auth_enabledBoolean Also known as: client_auth_enabled?

Flag that specifies whether client-side authentication is enabled for the target server. Enables two-way TLS. Corresponds to the JSON property clientAuthEnabled

Returns:

  • (Boolean)

5301
5302
5303
# File 'generated/google/apis/apigee_v1/classes.rb', line 5301

def client_auth_enabled
  @client_auth_enabled
end

#common_nameGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1CommonNameConfig

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


5307
5308
5309
# File 'generated/google/apis/apigee_v1/classes.rb', line 5307

def common_name
  @common_name
end

#enabledBoolean Also known as: enabled?

Flag that specifies whether one-way TLS is enabled. Set to true to enable one-way TLS. Corresponds to the JSON property enabled

Returns:

  • (Boolean)

5313
5314
5315
# File 'generated/google/apis/apigee_v1/classes.rb', line 5313

def enabled
  @enabled
end

#ignore_validation_errorsBoolean Also known as: ignore_validation_errors?

Flag that specifies whether to ignore TLS certificate validation errors. Set to true to ignore errors. Corresponds to the JSON property ignoreValidationErrors

Returns:

  • (Boolean)

5320
5321
5322
# File 'generated/google/apis/apigee_v1/classes.rb', line 5320

def ignore_validation_errors
  @ignore_validation_errors
end

#key_aliasString

Name of the alias used for client-side authentication in the following format: organizations/org/environments/env/keystores/keystore/aliases/alias` Corresponds to the JSON propertykeyAlias`

Returns:

  • (String)

5327
5328
5329
# File 'generated/google/apis/apigee_v1/classes.rb', line 5327

def key_alias
  @key_alias
end

#key_alias_referenceGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1KeyAliasReference

Reference name and alias pair to use for client-side authentication. Corresponds to the JSON property keyAliasReference


5332
5333
5334
# File 'generated/google/apis/apigee_v1/classes.rb', line 5332

def key_alias_reference
  @key_alias_reference
end

#protocolsArray<String>

List of TLS protocols that are granted access. Corresponds to the JSON property protocols

Returns:

  • (Array<String>)

5337
5338
5339
# File 'generated/google/apis/apigee_v1/classes.rb', line 5337

def protocols
  @protocols
end

#trust_storeString

Name of the keystore or keystore reference containing trusted certificates for the server in the following format: organizations/org/environments/env/ keystores/keystoreor `organizations/`org`/environments/`env`/references/` reference Corresponds to the JSON property trustStore

Returns:

  • (String)

5345
5346
5347
# File 'generated/google/apis/apigee_v1/classes.rb', line 5345

def trust_store
  @trust_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
# File 'generated/google/apis/apigee_v1/classes.rb', line 5352

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