GoogleCloudfunctions2FunctionIamMember class final
Factory wrapper for google_cloudfunctions2_function_iam_member.
Adds a single IAM role -> member binding on one Cloud Functions
Gen 2 function. The cloudFunction slot is the function's
name attribute (or id -- they coincide for this resource), not
the short local name. For the typical public-invoker use case use
'roles/cloudfunctions.invoker' plus 'allUsers'.
Note: Cloud Functions Gen 2 dispatches at runtime through the
underlying Cloud Run service, so the invoker IAM grant must be on
the Cloud Run service, not on the function. Use this resource for
admin-level roles (e.g. roles/cloudfunctions.viewer) and pair with
google_cloud_run_service_iam_member for invocation.
Constructors
-
GoogleCloudfunctions2FunctionIamMember({required String localName, required TfArg<
String> cloudFunction, required TfArg<String> role, required TfArg<String> member, TfArg<Map< ? condition, TfArg<String, dynamic> >String> ? location, TfArg<String> ? project, LifecycleOptions? lifecycle, List<DependencyTarget> ? dependsOn})
Properties
-
$sensitiveFields
→ Set<
String> -
Field names that are
@Sensitiveper the IR-derived per-resource constant. Curated factories override with a baked-instatic const Set<String>(file-private in v0.5+).no setter -
argMap
→ Map<
String, TfArg?> -
Argument-name → TfArg map. Keys are snake_case (Terraform JSON name).
Synth emits these keys directly; the factory is responsible for the
camelCase → snake_case translation at construction time.
finalinherited
-
dependsOn
→ List<
DependencyTarget> ? -
Optional
depends_on = [...]. Each entry is aDependencyTarget— either a wholesale resource (rendered as bare address) or an explicitTfRef(rendered viabareAddress).finalinherited -
etag
→ TfRef<
String> -
Reference to
etagattribute (concurrency token written by the API).no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- kind → ResourceKind
-
Always
ResourceKind.resource. Overridden byData.no setterinherited - lifecycle → LifecycleOptions?
-
Optional
lifecycle { ... }block.finalinherited - localName → String
-
User-supplied local name within a Stack.
finalinherited
- provider → ProviderBinding?
-
Optional explicit provider binding. Only the type is referenced here;
the concrete
Providerclass lives interradart_google(provider classes are defined per-provider, outside the core runtime).finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terraformType → String
-
Terraform resource type, e.g.
google_pubsub_topic.finalinherited - tfAddress → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited