ProjectsPolicyBindingArgs class
The set of arguments for ProjectsPolicyBinding. The set of arguments for ProjectsPolicyBinding.
Constructors
-
ProjectsPolicyBindingArgs({Input<
Map< ? annotations, Input<String, String> ?>ProjectsPolicyBindingCondition?> ? condition, Input<String?> ? deletionPolicy, Input<String?> ? displayName, required Input<String> location, required Input<String> policy, required Input<String> policyBindingId, Input<String?> ? policyKind, Input<String?> ? project, required Input<ProjectsPolicyBindingTarget> target}) -
Creates a new ProjectsPolicyBindingArgs.
annotationsOptional. User defined annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitationsconditionRepresents a textual expression in the Common Expression LanguagedeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameOptional. The description of the policy binding. Must be less than or equal to 63 characters.locationThe location of the Policy BindingpolicyRequired. Immutable. The resource name of the policy to be bound. The binding parent and policy must belong to the same Organization (or Project).policyBindingIdThe Policy Binding ID.policyKindImmutable. The kind of the policy to attach in this binding. ThisprojectThe ID of the project in which the resource belongs.targetTarget is the full resource name of the resource to which the policy will be bound. Immutable once set.const -
ProjectsPolicyBindingArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
Optional. User defined annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations
final
-
condition
→ Input<
ProjectsPolicyBindingCondition?> ? -
Represents a textual expression in the Common Expression Language
(CEL) syntax. CEL is a C-like expression language. The syntax and semantics of
CEL are documented at https://github.com/google/cel-spec.
Example (Comparison):
title: "Summary size limit"
description: "Determines if a summary is less than 100 chars"
expression: "document.summary.size() < 100"
Example
(Equality):
title: "Requestor is owner"
description: "Determines if requestor is the document owner"
expression: "document.owner == request.auth.claims.email" Example
(Logic):
title: "Public documents"
description: "Determine whether the document should be publicly visible"
expression: "document.type != 'private' && document.type != 'internal'"
Example (Data Manipulation):
title: "Notification string"
description: "Create a notification string with a timestamp."
expression: "'New message received at ' + string(document.create_time)"
The exact variables and functions that may be referenced within an expression are
determined by the service that evaluates it. See the service documentation for
additional information.
Structure is documented below.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
displayName
→ Input<
String?> ? -
Optional. The description of the policy binding. Must be less than or equal to 63 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> -
The location of the Policy Binding
final
-
policy
→ Input<
String> -
Required. Immutable. The resource name of the policy to be bound. The binding parent and policy must belong to the same Organization (or Project).
final
-
policyBindingId
→ Input<
String> -
The Policy Binding ID.
final
-
policyKind
→ Input<
String?> ? -
Immutable. The kind of the policy to attach in this binding. This
field must be one of the following: - Left empty (will be automatically set
to the policy kind) - The input policy kind Possible values: POLICY_KIND_UNSPECIFIED PRINCIPAL_ACCESS_BOUNDARY ACCESS
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
target
→ Input<
ProjectsPolicyBindingTarget> -
Target is the full resource name of the resource to which the policy will be bound. Immutable once set.
Structure is documented below.
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