Skip to content

Commit d920f37

Browse files
authored
samples: rename countryCode to regionCode (#171)
Corrects samples check
1 parent c19ebdd commit d920f37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-analytics-admin/src/main/java/com/example/analyticsadmin/QuickstartSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static void listAccounts() throws Exception {
7777
for (Account account : page.iterateAll()) {
7878
System.out.printf("Account name: %s%n", account.getName());
7979
System.out.printf("Display name: %s%n", account.getDisplayName());
80-
System.out.printf("Country code: %s%n", account.getCountryCode());
80+
System.out.printf("Country code: %s%n", account.getRegionCode());
8181
System.out.printf("Create time: %s%n", account.getCreateTime().getSeconds());
8282
System.out.printf("Update time: %s%n", account.getUpdateTime().getSeconds());
8383
System.out.println();

0 commit comments

Comments
 (0)