public static interface

GDataProtocol.Parameter

com.google.gdata.client.GDataProtocol.Parameter
Known Indirect Subclasses

Class Overview

The Parameters interface defines basic query parameter names used within the Data protocol.

Summary

Constants
String ALT The ALT parameter is used to request an alternate output representation.
String CALLBACK The CALLBACK parameter is used to specify the name of the JavaScript callback function that should be invoked when the response is received for in-script response formats.
String CONTEXT The CONTEXT parameter is added into the envelope of any JSONC element that is output.
String FIELDS The FIELDS parameters is used to specify a field selection that will be used to provide a partial response containing only the selected fields.
String LANGUAGE The HL query parameter selects the language of the automatically-generated text in the result.
String PRETTYPRINT The PRETTYPRINT parameter requests that character-based output representations have their content be pretty-printed for debugging.
String REQID The REQID parameter is forwarded to a JavaScript callback function that is invoked.
String STRICT The STRICT parameter is used to tell the server to parse in strict mode, which will reject any unknown query parameters or xml content.
String VERSION The VERSION parameter used to request a specific version.
String XOAUTH_REQUESTOR_ID The XOAUTH_REQUESTOR_ID parameter is used in 2 Legged OAuth to specify the email address of the user whose data is being accessed.

Constants

public static final String ALT

The ALT parameter is used to request an alternate output representation.

Constant Value: "alt"

public static final String CALLBACK

The CALLBACK parameter is used to specify the name of the JavaScript callback function that should be invoked when the response is received for in-script response formats. The default callback (if unspecified) is "gdata.io.handleScriptLoaded".

Constant Value: "callback"

public static final String CONTEXT

The CONTEXT parameter is added into the envelope of any JSONC element that is output. It can be any string.

Constant Value: "context"

public static final String FIELDS

The FIELDS parameters is used to specify a field selection that will be used to provide a partial response containing only the selected fields.

Constant Value: "fields"

public static final String LANGUAGE

The HL query parameter selects the language of the automatically-generated text in the result. The value is a language code as defined by BCP 47.

Constant Value: "hl"

public static final String PRETTYPRINT

The PRETTYPRINT parameter requests that character-based output representations have their content be pretty-printed for debugging. A value of "true" selects pretty-printing, otherwise responses will not be formatted.

Constant Value: "prettyprint"

public static final String REQID

The REQID parameter is forwarded to a JavaScript callback function that is invoked. It must be a number. By default no reqid is available so the callback function will only get one parameter.

Constant Value: "reqid"

public static final String STRICT

The STRICT parameter is used to tell the server to parse in strict mode, which will reject any unknown query parameters or xml content.

Constant Value: "strict"

public static final String VERSION

The VERSION parameter used to request a specific version. The value of the parameter will be in the format <major>.<minor> and will be interpreted relative to the version model of the target service. The VERSION header (if present on the same request) will have precedence.

Constant Value: "v"

public static final String XOAUTH_REQUESTOR_ID

The XOAUTH_REQUESTOR_ID parameter is used in 2 Legged OAuth to specify the email address of the user whose data is being accessed.

Constant Value: "xoauth_requestor_id"