ProjectsPolicyBindingState class
Input properties used for looking up and filtering ProjectsPolicyBinding resources.
Constructors
-
ProjectsPolicyBindingState({Input<
Map< ? annotations, Input<String, String> ?>ProjectsPolicyBindingCondition?> ? condition, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<Map< ? effectiveAnnotations, Input<String, String> ?>String?> ? etag, Input<String?> ? location, Input<String?> ? name, Input<String?> ? policy, Input<String?> ? policyBindingId, Input<String?> ? policyKind, Input<String?> ? policyUid, Input<String?> ? project, Input<ProjectsPolicyBindingTarget?> ? target, Input<String?> ? uid, Input<String?> ? updateTime}) -
Creates a new ProjectsPolicyBindingState.
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 LanguagecreateTimeOutput only. The time when the policy binding was created.deletionPolicyWhether 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.effectiveAnnotationsAll of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.etagOptional. The etag for the policy binding. If this is provided on update, it must match the server's etag.locationThe location of the Policy BindingnameThe name of the policy binding in the format{binding_parent/locations/{location}/policyBindings/{policy_binding_id}policyRequired. 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. ThispolicyUidOutput only. The globally unique ID of the policy to be bound.projectThe 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.uidOutput only. The globally unique ID of the policy binding. Assigned when the policy binding is created.updateTimeOutput only. The time when the policy binding was most recently updated.const -
ProjectsPolicyBindingState.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
-
createTime
→ Input<
String?> ? -
Output only. The time when the policy binding was created.
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
-
effectiveAnnotations
→ Input<
Map< ?String, String> ?> -
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
final
-
etag
→ Input<
String?> ? -
Optional. The etag for the policy binding. If this is provided on update, it must match the server's etag.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String?> ? -
The location of the Policy Binding
final
-
name
→ Input<
String?> ? -
The name of the policy binding in the format
{binding_parent/locations/{location}/policyBindings/{policy_binding_id}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
-
policyUid
→ Input<
String?> ? -
Output only. The globally unique ID of the policy to be bound.
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
-
uid
→ Input<
String?> ? -
Output only. The globally unique ID of the policy binding. Assigned when the policy binding is created.
final
-
updateTime
→ Input<
String?> ? -
Output only. The time when the policy binding was most recently updated.
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