getServiceIamPolicyRunV2 function

Future<GetServiceIamPolicyRunV2Result> getServiceIamPolicyRunV2(
  1. GetServiceIamPolicyRunV2Args args, {
  2. InvokeOptions? options,
})

Gets the IAM Access Control policy currently in effect for the given Cloud Run Service. This result does not include any inherited policies. args Arguments passed to this invoke. Arguments for getServiceIamPolicy. options Invoke options controlling this call.

Implementation

Future<GetServiceIamPolicyRunV2Result> getServiceIamPolicyRunV2(
  GetServiceIamPolicyRunV2Args args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:run/v2:getServiceIamPolicy',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetServiceIamPolicyRunV2Result.fromMap(result);
}