@Test public void testBuilder_defaultClientIdAndSecret() throws Exception { thrown.expect(ValidationException.class); thrown.expectMessage("Client ID must be set." + "\nIf you do not have a client ID or secret, please create one in the API " + "console: https: new GoogleClientSecretsBuilder() .forApi(GoogleClientSecretsBuilder.Api.AD_MANAGER) .withClientSecrets("INSERT_CLIENT_ID_HERE", "INSERT_CLIENT_SECRET_HERE") .build(); }
public GoogleClientSecretsForApiBuilder forApi(Api api) { return new GoogleClientSecretsForApiBuilder(api); }
GoogleClientSecretsBuilder { public GoogleClientSecretsForApiBuilder forApi(Api api) { return new GoogleClientSecretsForApiBuilder(api); } }
GoogleClientSecretsBuilder { public GoogleClientSecretsForApiBuilder forApi(Api api) { return new GoogleClientSecretsForApiBuilder(api); } GoogleClientSecretsBuilder(); }
GoogleClientSecretsBuilder { public GoogleClientSecretsForApiBuilder forApi(Api api) { return new GoogleClientSecretsForApiBuilder(api); } GoogleClientSecretsBuilder(); GoogleClientSecretsForApiBuilder forApi(Api api); }
GoogleClientSecretsBuilder { public GoogleClientSecretsForApiBuilder forApi(Api api) { return new GoogleClientSecretsForApiBuilder(api); } GoogleClientSecretsBuilder(); GoogleClientSecretsForApiBuilder forApi(Api api);  }