getEntryGroupIamPolicy function
Future<GetEntryGroupIamPolicyResult>
getEntryGroupIamPolicy(
- GetEntryGroupIamPolicyArgs args, {
- InvokeOptions? options,
Gets the access control policy for a resource. May return: * ANOT_FOUND error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Tag templates - Entry groups Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog. To call this method, you must have the following Google IAM permissions: - datacatalog.tagTemplates.getIamPolicy to get policies on tag templates. - datacatalog.entryGroups.getIamPolicy to get policies on entry groups.
args Arguments passed to this invoke. Arguments for getEntryGroupIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetEntryGroupIamPolicyResult> getEntryGroupIamPolicy(
GetEntryGroupIamPolicyArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:datacatalog/v1:getEntryGroupIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetEntryGroupIamPolicyResult.fromMap(result);
}