We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c70a3 commit 194f845Copy full SHA for 194f845
errorreporting/snippets/src/main/java/com/example/errorreporting/QuickStart.java
@@ -38,7 +38,7 @@ public static void main(String[] args) throws Exception {
38
39
// Google Cloud Platform Project ID
40
String projectId = (args.length > 0) ? args[0] : ServiceOptions.getDefaultProjectId();
41
- ProjectName projectName = ProjectName.create(projectId);
+ ProjectName projectName = ProjectName.of(projectId);
42
43
// Instantiate an Error Reporting Client
44
try (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {
0 commit comments