List of usage examples for com.google.api.client.googleapis.services AbstractGoogleClientRequest getAbstractGoogleClient
public AbstractGoogleClient getAbstractGoogleClient()
From source file:com.netflix.spinnaker.clouddriver.google.GoogleExecutorTraits.java
License:Apache License
default <T> T timeExecute(AbstractGoogleClientRequest<T> request, String api, String... tags) throws IOException { String account = AccountForClient.getAccount(request.getAbstractGoogleClient()); String[] augmentedTags = new String[tags.length + 2]; augmentedTags[0] = "account"; augmentedTags[1] = account;/*from ww w. j ava 2 s . c om*/ System.arraycopy(tags, 0, augmentedTags, 2, tags.length); return GoogleExecutor.timeExecute(getRegistry(), request, "google.api", api, augmentedTags); }