getProjectIamPolicyCloudresourcemanagerV3 function
Future<GetProjectIamPolicyCloudresourcemanagerV3Result>
getProjectIamPolicyCloudresourcemanagerV3(
- GetProjectIamPolicyCloudresourcemanagerV3Args args, {
- InvokeOptions? options,
Returns the IAM access control policy for the specified project, in the format projects/{ProjectIdOrNumber} e.g. projects/123. Permission is denied if the policy or the resource do not exist.
args Arguments passed to this invoke. Arguments for getProjectIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetProjectIamPolicyCloudresourcemanagerV3Result> getProjectIamPolicyCloudresourcemanagerV3(
GetProjectIamPolicyCloudresourcemanagerV3Args args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:cloudresourcemanager/v3:getProjectIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetProjectIamPolicyCloudresourcemanagerV3Result.fromMap(result);
}