Class: Google::Apis::NetworkservicesV1::AgentGatewayNetworkConfigEgressTrustConfig

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

Overview

TrustConfig defines the trust configuration for egress.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AgentGatewayNetworkConfigEgressTrustConfig

Returns a new instance of AgentGatewayNetworkConfigEgressTrustConfig.



264
265
266
# File 'lib/google/apis/networkservices_v1/classes.rb', line 264

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

Instance Attribute Details

#pem_certificatesArray<String>

Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections. Corresponds to the JSON property pemCertificates

Returns:

  • (Array<String>)


262
263
264
# File 'lib/google/apis/networkservices_v1/classes.rb', line 262

def pem_certificates
  @pem_certificates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



269
270
271
# File 'lib/google/apis/networkservices_v1/classes.rb', line 269

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