Class google.gdata.app.ServiceDocument
Object
|
+--google.gdata.app.ServiceDocument
- class
google.gdata.app.ServiceDocument
Container for service information.
Defined in gdata.js
Constructor Summary |
google.gdata.app.ServiceDocument(<Object> opt_params)
Constructs a service document using an object parameter whose property names
match the setter method to use for each property.
|
Method Summary |
void
|
addWorkspace(<google.gdata.app.Workspace|Object> workspace)
Adds a new workspace.
|
Array.<google.gdata.app.Workspace>
|
getWorkspaces()
Returns the workspaces.
|
void
|
setWorkspaces(<Array.<google.gdata.app.Workspace>|Array.<Object>|undefined> workspaces)
Sets the workspaces.
|
$workspacesClass_
Object $workspacesClass_
google.gdata.app.ServiceDocument
google.gdata.app.ServiceDocument(<Object> opt_params)
Constructs a service document using an object parameter whose property names
match the setter method to use for each property.
Parameters:
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: workspaces.
addWorkspace
void addWorkspace(<google.gdata.app.Workspace|Object> workspace)
getWorkspaces
Array.<google.gdata.app.Workspace> getWorkspaces()
setWorkspaces
void setWorkspaces(<Array.<google.gdata.app.Workspace>|Array.<Object>|undefined> workspaces)
Parameters:
workspaces
- Workspaces, where each workspace is added using the addWorkspace() function, or undefined to clear the workspaces.
Documentation generated by
JSDoc on Mon Dec 14 15:04:11 2009