getProject function
Retrieves the Project identified by the specified project_id (for example, my-project-123). The caller must have read permissions for this Project.
args Arguments passed to this invoke. Arguments for getProject.
options Invoke options controlling this call.
Implementation
Future<GetProjectResult> getProject(
GetProjectArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:cloudresourcemanager/v1:getProject',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetProjectResult.fromMap(result);
}