getBillingAccountIamPolicy function
Future<GetBillingAccountIamPolicyResult>
getBillingAccountIamPolicy(
- GetBillingAccountIamPolicyArgs args, {
- InvokeOptions? options,
Gets the access control policy for a billing account. The caller must have the billing.accounts.getIamPolicy permission on the account, which is often given to billing account viewers.
args Arguments passed to this invoke. Arguments for getBillingAccountIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetBillingAccountIamPolicyResult> getBillingAccountIamPolicy(
GetBillingAccountIamPolicyArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:cloudbilling/v1:getBillingAccountIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetBillingAccountIamPolicyResult.fromMap(result);
}