MonitoringNotificationChannelSensitiveLabels class

sensitive_labels block (max=1) — credential slots for notification channel types that need an out-of-band secret. Each transport uses a different subset:

The plaintext slots (authToken, password, serviceKey) are schema-flagged sensitive and round-trip through the wrapper's $sensitiveFields set — synth masks them in plan output. Prefer the write-only variants (*Wo + *WoVersion) on Terraform 1.11+: the plaintext never enters Terraform state, and bumping the integer *WoVersion slot forces a credential rotation on next apply.

Credentials must NOT also be supplied via GoogleMonitoringNotificationChannel.labels — the provider rejects configurations that double-specify the same logical secret.

Constructors

MonitoringNotificationChannelSensitiveLabels({TfArg<String>? authToken, TfArg<String>? authTokenWo, TfArg<String>? authTokenWoVersion, TfArg<String>? password, TfArg<String>? passwordWo, TfArg<String>? passwordWoVersion, TfArg<String>? serviceKey, TfArg<String>? serviceKeyWo, TfArg<String>? serviceKeyWoVersion})
const

Properties

authToken → TfArg<String>?
Slack bot OAuth token / webhook bearer token. Sensitive — masked from plan output and surfaced in $sensitiveFields.
final
authTokenWo → TfArg<String>?
Write-only sibling of authToken (Terraform 1.11+). Bump authTokenWoVersion to rotate.
final
authTokenWoVersion → TfArg<String>?
Monotonic counter that triggers a rotation of authTokenWo.
final
hashCode int
The hash code for this object.
no setterinherited
password → TfArg<String>?
Basic-auth password for webhook_basicauth channels. Sensitive.
final
passwordWo → TfArg<String>?
Write-only sibling of password (Terraform 1.11+).
final
passwordWoVersion → TfArg<String>?
Monotonic counter that triggers a rotation of passwordWo.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceKey → TfArg<String>?
PagerDuty integration service key. Sensitive.
final
serviceKeyWo → TfArg<String>?
Write-only sibling of serviceKey (Terraform 1.11+).
final
serviceKeyWoVersion → TfArg<String>?
Monotonic counter that triggers a rotation of serviceKeyWo.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArgMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited