Class Info |
|---|
public class Drive.Changes.GetStartCursor extends DriveRequest<StartCursor> Drive.Changes.GetStartCursor class. |
Constructor Name |
|---|
Drive.Changes.GetStartCursor() Constructs a Drive.Changes.GetStartCursor object. |
Qualifier and Type | Method Name and Description |
|---|---|
setFields(String fields) Sets the fields to be contained in a response. | |
set(String parameterName, Object value) Sets the given parameter value for the given parameter name. | |
execute() Sends an HTTP request and returns the object to be converted. | |
setForm(String form) Sets the response data format. | |
setPrettyPrint(Boolean prettyPrint) Sets whether to return a response containing indentations and newline characters. | |
setQuotaId(String quotaId) Sets a string of less than 40 characters to identify a user. The string is used by the server to restrict the user's API calls. |
Constructor |
|---|
protected Drive.Changes.GetStartCursor() Constructs a Drive.Changes.GetStartCursor object. |
Method |
|---|
public Drive.Changes.GetStartCursor setFields(String fields) Sets the fields to be contained in a response. |
Parameters
Name | Description |
|---|---|
fields | Fields (attributes of a StartCursor object) to be contained in a response, for example, category and startCursor. If fields is set to asterisk (*), all attributes of a StartCursor object are returned. |
Returns
Type | Description |
|---|---|
Drive.Changes.GetStartCursor | A Drive.Changes.GetStartCursor object. |
Method |
|---|
public Drive.Changes.GetStartCursor set(String parameterName, Object value) Sets the given parameter value for the given parameter name. |
Parameters
Name | Description |
|---|---|
parameterName | Parameter name. |
value | Parameter value. |
Returns
Type | Description |
|---|---|
Drive.Changes.GetStartCursor | A Drive.Changes.GetStartCursor object. |
Method |
|---|
public T execute() throws IOException Sends an HTTP request and returns the object to be converted. |
Throws
Name | Description |
|---|---|
java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage method to obtain the error description. |
Returns
Type | Description |
|---|---|
StartCursor | The Drive.Changes.GetStartCursor class inherits DriveRequest<StartCursor>. Therefore, the return result of the execute() method is encapsulated as a StartCursor object. |
Method |
|---|
public Drive.Changes.GetStartCursor setForm(String form) Sets the response data format. |
Parameters
Name | Description |
|---|---|
form | Response data format. The default data format is json, and only this format is supported currently. |
Returns
Type | Description |
|---|---|
Drive.Changes.GetStartCursor | A Drive.Changes.GetStartCursor object. |
Method |
|---|
public Drive.Changes.GetStartCursor setPrettyPrint(Boolean prettyPrint) Sets whether to return a response containing indentations and newline characters. |
Parameters
Name | Description |
|---|---|
prettyPrint | Indicates whether to return a response containing indentations and newline characters. The value is a Boolean value. |
Returns
Type | Description |
|---|---|
Drive.Changes.GetStartCursor | A Drive.Changes.GetStartCursor object. |
Method |
|---|
public Drive.Changes.GetStartCursor setQuotaId(String quotaId) Sets a string of less than 40 characters to identify a user. The string is used by the server to restrict the user's API calls. |
Parameters
Name | Description |
|---|---|
quotaId | A string of less than 40 characters to identify a user. The string is used by the server to restrict the user's API calls. |
Returns
Type | Description |
|---|---|
Drive.Changes.GetStartCursor | A Drive.Changes.GetStartCursor object. |