@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(com.google.api.client.http.HttpTransport transport,
String rootUrl,
String servicePath,
com.google.api.client.util.ObjectParser objectParser,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) |
protected |
MockGoogleClient(MockGoogleClient.Builder builder) |
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getObjectParser, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks, initialize
public MockGoogleClient(com.google.api.client.http.HttpTransport transport, String rootUrl, String servicePath, com.google.api.client.util.ObjectParser objectParser, com.google.api.client.http.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–2019 Google. All rights reserved.