BackendServiceIap class

iap block. Wraps the backend service in Cloud IAP, which gates requests on an authenticated end-user identity / IAM check before they reach the backend.

Sensitive: oauth2ClientSecret is flagged sensitive in the schema and is masked at synth time via the generated $sensitiveFields set. The computed oauth2_client_secret_sha256 is also sensitive — provider implementation detail; nothing to set on this side.

Annotations
  • @immutable

Constructors

BackendServiceIap({required bool enabled, TfArg<String>? oauth2ClientId, TfArg<String>? oauth2ClientSecret})
const

Properties

enabled bool
Whether IAP is on. Setting false keeps the block but disables IAP enforcement.
final
hashCode int
The hash code for this object.
no setterinherited
oauth2ClientId → TfArg<String>?
OAuth 2.0 client ID for the OAuth consent screen.
final
oauth2ClientSecret → TfArg<String>?
OAuth 2.0 client secret. Sensitive — round-trips through $sensitiveFields.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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