|
GData JavaScript Client 2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.batch.Operation
Describes the batch operation to apply.
Defined in gdata.js
Field Summary | |
{string|undefined} |
type
Operation type. |
<static> <final> {string} |
TYPE_DELETE
Delete the current entry identified by its id. |
<static> <final> {string} |
TYPE_INSERT
Insert the current entry. |
<static> <final> {string} |
TYPE_QUERY
Query for the entry by id. |
<static> <final> {string} |
TYPE_UPDATE
Update the current entry identified by its id. |
Constructor Summary | |
google.gdata.batch.Operation(<Object> opt_params)
Constructs a batch operation using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
string|undefined
|
getType()
Returns the operation type. |
void
|
setType(<string|undefined> type)
Sets the operation type. |
Field Detail |
{string|undefined} type
<static> <final> {string} TYPE_DELETE
<static> <final> {string} TYPE_INSERT
<static> <final> {string} TYPE_QUERY
<static> <final> {string} TYPE_UPDATE
Constructor Detail |
google.gdata.batch.Operation(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: type.
Method Detail |
string|undefined getType()
void setType(<string|undefined> type)
type
- Operation type or undefined for none.
|
GData JavaScript Client 2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |