getGameServerDeploymentIamPolicy function
Future<GetGameServerDeploymentIamPolicyResult>
getGameServerDeploymentIamPolicy(
- GetGameServerDeploymentIamPolicyArgs args, {
- InvokeOptions? options,
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
args Arguments passed to this invoke. Arguments for getGameServerDeploymentIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetGameServerDeploymentIamPolicyResult> getGameServerDeploymentIamPolicy(
GetGameServerDeploymentIamPolicyArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:gameservices/v1:getGameServerDeploymentIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetGameServerDeploymentIamPolicyResult.fromMap(result);
}