ProjectAccessPolicyArgs class
The set of arguments for ProjectAccessPolicy. The set of arguments for ProjectAccessPolicy.
Constructors
-
ProjectAccessPolicyArgs({required Input<
String> accessPolicyId, Input<Map< ? annotations, Input<String, String> ?>String?> ? deletionPolicy, Input<ProjectAccessPolicyDetails?> ? details, Input<String?> ? displayName, required Input<String> location, Input<String?> ? project}) -
Creates a new ProjectAccessPolicyArgs.
accessPolicyIdThe ID to use for the access policy, whichannotationsUser defined annotations. See https://google.aip.dev/148#annotations fordeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.detailsAccess policy details.displayNameThe description of the access policy. Must be less thanlocationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.projectThe ID of the project in which the resource belongs.const -
ProjectAccessPolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accessPolicyId
→ Input<
String> -
The ID to use for the access policy, which
will become the final component of the access policy's
resource name.
This value must start with a lowercase letter followed by up to 62
lowercase letters, numbers, hyphens, or dots. Pattern,
/a-z{2,62}/.
This value must be unique among all access policies with the same parent.
final
-
annotations
→ Input<
Map< ?String, String> ?> -
User defined annotations. See https://google.aip.dev/148#annotations for
more details such as format and size limitations
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effectiveAnnotationsfor all of the annotations present on the resource.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
-
details
→ Input<
ProjectAccessPolicyDetails?> ? -
Access policy details.
Structure is documented below.
final
-
displayName
→ Input<
String?> ? -
The description of the access policy. Must be less than
or equal to 63 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.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
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