public class MockGoogleJsonClient extends AbstractGoogleJsonClientBeta 
 Thread-safe mock Google JSON client.
Inheritance
java.lang.Object > AbstractGoogleClient > AbstractGoogleJsonClient > MockGoogleJsonClientConstructors
MockGoogleJsonClient(MockGoogleJsonClient.Builder builder)
protected MockGoogleJsonClient(MockGoogleJsonClient.Builder builder)| Parameter | |
|---|---|
| Name | Description | 
builder | 
        MockGoogleJsonClient.Builderbuilder  | 
      
MockGoogleJsonClient(HttpTransport transport, JsonFactory jsonFactory, String rootUrl, String servicePath, HttpRequestInitializer httpRequestInitializer, boolean legacyDataWrapper)
public MockGoogleJsonClient(HttpTransport transport, JsonFactory jsonFactory, String rootUrl, String servicePath, HttpRequestInitializer httpRequestInitializer, boolean legacyDataWrapper)| Parameters | |
|---|---|
| Name | Description | 
transport | 
        com.google.api.client.http.HttpTransportHTTP transport  | 
      
jsonFactory | 
        com.google.api.client.json.JsonFactoryJSON factory  | 
      
rootUrl | 
        Stringroot URL of the service  | 
      
servicePath | 
        Stringservice path  | 
      
httpRequestInitializer | 
        com.google.api.client.http.HttpRequestInitializerHTTP request initializer or   | 
      
legacyDataWrapper | 
        booleanwhether using the legacy data wrapper in responses  |