public class MockGoogleClient extends AbstractGoogleClient
Beta
Thread-safe mock Google client.
Constructors
MockGoogleClient(MockGoogleClient.Builder builder)
protected MockGoogleClient(MockGoogleClient.Builder builder)
Name | Description |
builder | MockGoogleClient.Builder builder |
MockGoogleClient(HttpTransport transport, String rootUrl, String servicePath, ObjectParser objectParser, HttpRequestInitializer httpRequestInitializer)
public MockGoogleClient(HttpTransport transport, String rootUrl, String servicePath, ObjectParser objectParser, HttpRequestInitializer httpRequestInitializer)
Name | Description |
transport | com.google.api.client.http.HttpTransport The transport to use for requests |
rootUrl | String root URL of the service. Must end with a "/" |
servicePath | String service path |
objectParser | com.google.api.client.util.ObjectParser object parser or |
httpRequestInitializer | com.google.api.client.http.HttpRequestInitializer HTTP request initializer or |