DocsService(java.lang.String applicationName)
Constructs an instance connecting to the Google Documents List Data API for
an application with the name applicationName.

DocsService(java.lang.String applicationName,
Service.GDataRequestFactory requestFactory,
AuthTokenFactory authTokenFactory)
Constructs an instance connecting to the Google Documents List Data API for
an application with the name applicationName and the given GDataRequestFactory and AuthTokenFactory.

DocsService(java.lang.String applicationName,
java.lang.String protocol,
java.lang.String domainName)
Constructs an instance connecting to the Google Documents List Data API
with name serviceName for an application with the name applicationName.

DEFAULT_VERSION

DocsService

public DocsService(java.lang.String applicationName)

Constructs an instance connecting to the Google Documents List Data API for
an application with the name applicationName.

Parameters:

applicationName - the name of the client application accessing the
service. Application names should preferably have the format
[company-id]-[app-name]-[app-version]. The name will be used by the
Google servers to monitor the source of authentication.

DocsService

Constructs an instance connecting to the Google Documents List Data API for
an application with the name applicationName and the given GDataRequestFactory and AuthTokenFactory. Use this constructor to
override the default factories.

Parameters:

applicationName - the name of the client application accessing the
service. Application names should preferably have the format
[company-id]-[app-name]-[app-version]. The name will be used by the
Google servers to monitor the source of authentication.

DocsService

Constructs an instance connecting to the Google Documents List Data API
with name serviceName for an application with the name applicationName. The service will authenticate at the provided domainName.

Parameters:

applicationName - the name of the client application accessing the
service. Application names should preferably have the format
[company-id]-[app-name]-[app-version]. The name will be used by the
Google servers to monitor the source of authentication.

protocol - name of protocol to use for authentication
("http"/"https")