InstanceIAMBindingArgs class
The set of arguments for InstanceIAMBinding. The set of arguments for InstanceIAMBinding.
Constructors
-
InstanceIAMBindingArgs({Input<
InstanceIAMBindingCondition?> ? condition, required Input<String> instanceName, required Input<List< members, Input<String> >String?> ? project, required Input<String> role, Input<String?> ? zone}) -
Creates a new InstanceIAMBindingArgs.
conditionAn IAM Condition for a given binding.instanceNameUsed to find the parent resource to bind the IAM policy tomembersIdentities that will be granted the privilege inrole.projectThe ID of the project in which the resource belongs.roleThe role that should be applied. Only onezoneA reference to the zone where the machine resides. Used to find the parent resource to bind the IAM policy to. If not specified,const -
InstanceIAMBindingArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
condition
→ Input<
InstanceIAMBindingCondition?> ? -
An IAM Condition for a given binding.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceName
→ Input<
String> -
Used to find the parent resource to bind the IAM policy to
final
-
members
→ Input<
List< String> > -
Identities that will be granted the privilege in
role. Each entry can have one of the following values:final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
final
-
role
→ Input<
String> -
The role that should be applied. Only one
gcp.compute.InstanceIAMBindingcan be used per role and condition combination. Multiple bindings for the same role are allowed if each has a differentconditionblock (or one has no condition). Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
zone
→ Input<
String?> ? -
A reference to the zone where the machine resides. Used to find the parent resource to bind the IAM policy to. If not specified,
the value will be parsed from the identifier of the parent resource. If no zone is provided in the parent identifier and no
zone is specified, it is taken from the provider configuration.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited