getJobIamPolicyRunV2 function
Future<GetJobIamPolicyRunV2Result>
getJobIamPolicyRunV2(
- GetJobIamPolicyRunV2Args args, {
- InvokeOptions? options,
Gets the IAM Access Control policy currently in effect for the given Job. This result does not include any inherited policies.
args Arguments passed to this invoke. Arguments for getJobIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetJobIamPolicyRunV2Result> getJobIamPolicyRunV2(
GetJobIamPolicyRunV2Args args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:run/v2:getJobIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetJobIamPolicyRunV2Result.fromMap(result);
}