@Beta public class MockGoogleClient extends AbstractGoogleClient
Beta
Modifier and Type | Class and Description |
---|---|
static class |
MockGoogleClient.Builder
Builder for
MockGoogleClient . |
Modifier | Constructor and Description |
---|---|
|
MockGoogleClient(HttpTransport transport,
String rootUrl,
String servicePath,
ObjectParser objectParser,
HttpRequestInitializer httpRequestInitializer) |
protected |
MockGoogleClient(MockGoogleClient.Builder builder) |
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getObjectParser, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks, initialize
public MockGoogleClient(HttpTransport transport, String rootUrl, String servicePath, ObjectParser objectParser, HttpRequestInitializer httpRequestInitializer)
transport
- The transport to use for requestsrootUrl
- root URL of the service. Must end with a "/"servicePath
- service pathobjectParser
- object parser or null
for nonehttpRequestInitializer
- HTTP request initializer or null
for noneprotected MockGoogleClient(MockGoogleClient.Builder builder)
builder
- builderCopyright © 2010–2020 Google. All rights reserved.