Skip to content

Commit

Permalink
docs: update the quickstart sample to use v1beta (#533)
Browse files Browse the repository at this point in the history
* docs: update the quickstart sample to use v1beta

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
ikuleshov and gcf-owl-bot[bot] committed Apr 26, 2023
1 parent b3988d9 commit 9ec3c19
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@
To run this sample using Maven:
cd java-analytics-admin/samples/snippets
mvn install
mvn exec:java -Dexec.mainClass="com.example.analytics.QuickstartSample"
*/

// [START analytics_admin_quickstart]

import com.google.analytics.admin.v1alpha.Account;
import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient;
import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPage;
import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
import com.google.analytics.admin.v1alpha.ListAccountsRequest;
import com.google.analytics.admin.v1beta.Account;
import com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient;
import com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListAccountsPage;
import com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
import com.google.analytics.admin.v1beta.ListAccountsRequest;

public class QuickstartSample {

Expand Down

0 comments on commit 9ec3c19

Please sign in to comment.