Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOtelMtlsConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOtelMtlsConfig
- 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
Runtime-side view of TraceConfig.OtelMtlsConfig for the outbound OTel
Collector mTLS connection. Shape mirrors TlsInfoConfig (in this same file,
above) exactly. The oneof discriminates between a direct keystore reference
and a ref://-indirected reference; both are surfaced on the wire without
flattening. The referenced keystore must also appear in EnvironmentConfig.
keystores[] so the underlying alias bytes are available at runtime.
Referential integrity is enforced at trace-config update time: any PATCH that
references a keystore not already present is rejected in the same transaction
that would persist the update, and keystore/alias/reference deletion is
blocked while a trace-config references it.
Instance Attribute Summary collapse
-
#key_alias ⇒ String
Full alias resource name of the client-side key/cert alias.
-
#key_alias_reference ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyAliasReference
Reference name and alias-id pair.
-
#trust_store ⇒ String
Full resource name of the truststore holding the CA(s) that signed the OTel Collector's server certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1RuntimeTraceConfigOtelMtlsConfig
constructor
A new instance of GoogleCloudApigeeV1RuntimeTraceConfigOtelMtlsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1RuntimeTraceConfigOtelMtlsConfig
Returns a new instance of GoogleCloudApigeeV1RuntimeTraceConfigOtelMtlsConfig.
10524 10525 10526 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10524 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_alias ⇒ String
Full alias resource name of the client-side key/cert alias. Format:
organizations/org/environments/env/keystores/keystore/aliases/alias`
Set when the customer supplied a plain keystore ID inTraceConfig.
OtelMtlsConfig.key_store.
Corresponds to the JSON propertykeyAlias`
10504 10505 10506 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10504 def key_alias @key_alias end |
#key_alias_reference ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyAliasReference
Reference name and alias-id pair. Set when the customer supplied a ref://
referenceID`URI inTraceConfig.OtelMtlsConfig.key_store. Resolved via the
References catalog the same way asTlsInfoConfig.key_alias_referencein
target-server TLS. Reuses the top-levelKeyAliasReferencemessage defined
forTlsInfoConfigabove; no new message.
Corresponds to the JSON propertykeyAliasReference`
10513 10514 10515 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10513 def key_alias_reference @key_alias_reference end |
#trust_store ⇒ String
Full resource name of the truststore holding the CA(s) that signed the OTel
Collector's server certificate. Either a keystore or a reference resource name,
mirroring TlsInfoConfig.trust_store above: organizations/org/
environments/env/keystores/keystore`organizations/`org`/environments/`
env`/references/`reference
Corresponds to the JSON property trustStore
10522 10523 10524 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10522 def trust_store @trust_store end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10529 10530 10531 10532 10533 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10529 def update!(**args) @key_alias = args[:key_alias] if args.key?(:key_alias) @key_alias_reference = args[:key_alias_reference] if args.key?(:key_alias_reference) @trust_store = args[:trust_store] if args.key?(:trust_store) end |