getProjectCloudresourcemanagerV3 function

Future<GetProjectCloudresourcemanagerV3Result> getProjectCloudresourcemanagerV3(
  1. GetProjectCloudresourcemanagerV3Args args, {
  2. InvokeOptions? options,
})

Retrieves the project identified by the specified name (for example, projects/415104041262). The caller must have resourcemanager.projects.get permission for this project. args Arguments passed to this invoke. Arguments for getProject. options Invoke options controlling this call.

Implementation

Future<GetProjectCloudresourcemanagerV3Result> getProjectCloudresourcemanagerV3(
  GetProjectCloudresourcemanagerV3Args args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:cloudresourcemanager/v3:getProject',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetProjectCloudresourcemanagerV3Result.fromMap(result);
}