Module Expr Str Assign NameStore Str Import alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str ClassDef bases AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad Return Call AttributeLoad Call NameLoad CompareIs NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad body Expr Str Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Assign NameStore Dict If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Assign NameStore Dict If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BinOpMod NameLoad NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Assign NameStore Dict If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BinOpMod NameLoad NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A Allow Google Apps domain administrators to manage organization unit and organization user.

  OrganizationService: Provides methods to manage organization unit and organization user.
 N/A __author__ Alexandre Vivien (alex@simplecode.fr) N/A gdata.apps N/A gdata.apps.service N/A gdata.service N/A API_VER 2.0 N/A CUSTOMER_BASE_URL /a/feeds/customer/2.0/customerId N/A BASE_UNIT_URL N/A N/A /a/feeds/orgunit/ API_VER /%s N/A UNIT_URL N/A BASE_UNIT_URL /%s N/A UNIT_ALL_URL N/A BASE_UNIT_URL ?get=all N/A UNIT_CHILD_URL N/A BASE_UNIT_URL ?get=children&orgUnitPath=%s N/A BASE_USER_URL N/A N/A /a/feeds/orguser/ API_VER /%s N/A USER_URL N/A BASE_USER_URL /%s N/A USER_ALL_URL N/A BASE_USER_URL ?get=all N/A USER_CHILD_URL N/A BASE_USER_URL ?get=children&orgUnitPath=%s OrganizationService N/A N/A N/A N/A gdata apps service PropertyService N/A N/A Client for the Google Apps Organizations service. _Bool2Str N/A N/A self b N/A N/A N/A N/A b None N/A N/A None N/A N/A N/A N/A str N/A b True lower N/A RetrieveCustomerId N/A N/A self N/A N/A N/A Retrieve the Customer ID for the account of the authenticated administrator making this request.

    Args:
      None.

    Returns:
      A dict containing the result of the retrieve operation.
     N/A uri CUSTOMER_BASE_URL N/A N/A N/A self _GetProperties uri N/A CreateOrgUnit N/A N/A self customer_id name parent_org_unit_path description block_inheritance N/A / False N/A N/A Create a Organization Unit.

    Args:
      customer_id: The ID of the Google Apps customer.
      name: The simple organization unit text name, not the full path name.
      parent_org_unit_path: The full path of the parental tree to this organization unit (default: '/').
                            Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)
      description: The human readable text description of the organization unit (optional).
      block_inheritance: This parameter blocks policy setting inheritance 
                         from organization units higher in the organization tree (default: False).

    Returns:
      A dict containing the result of the create operation.
     N/A uri N/A BASE_UNIT_URL customer_id N/A properties N/A N/A N/A properties N/A name name N/A N/A properties N/A parentOrgUnitPath parent_org_unit_path N/A N/A properties N/A description description N/A N/A properties N/A blockInheritance N/A N/A self _Bool2Str block_inheritance N/A N/A N/A self _PostProperties uri properties N/A UpdateOrgUnit N/A N/A self customer_id org_unit_path name parent_org_unit_path description block_inheritance N/A None None None None N/A N/A Update a Organization Unit.

    Args:
      customer_id: The ID of the Google Apps customer.
      org_unit_path: The organization's full path name.
                     Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)
      name: The simple organization unit text name, not the full path name.
      parent_org_unit_path: The full path of the parental tree to this organization unit.
                            Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)
      description: The human readable text description of the organization unit.
      block_inheritance: This parameter blocks policy setting inheritance 
                         from organization units higher in the organization tree.

    Returns:
      A dict containing the result of the update operation.
     N/A uri N/A UNIT_URL N/A customer_id org_unit_path N/A properties N/A N/A name N/A N/A N/A properties N/A name name N/A parent_org_unit_path N/A N/A N/A properties N/A parentOrgUnitPath parent_org_unit_path N/A description N/A N/A N/A properties N/A description description N/A block_inheritance N/A N/A N/A properties N/A blockInheritance N/A N/A self _Bool2Str block_inheritance N/A N/A N/A self _PutProperties uri properties N/A MoveUserToOrgUnit N/A N/A self customer_id org_unit_path users_to_move N/A N/A N/A Move a user to an Organization Unit.

    Args:
      customer_id: The ID of the Google Apps customer.
      org_unit_path: The organization's full path name.
                     Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)
      users_to_move: Email addresses list of users to move. Note: You can move a maximum of 25 users at one time.

    Returns:
      A dict containing the result of the update operation.
     N/A uri N/A UNIT_URL N/A customer_id org_unit_path N/A properties N/A N/A N/A users_to_move N/A isinstance users_to_move list N/A N/A N/A properties N/A usersToMove N/A N/A ,  join users_to_move N/A N/A N/A self _PutProperties uri properties N/A RetrieveOrgUnit N/A N/A self customer_id org_unit_path N/A N/A N/A Retrieve a Orgunit based on its path.

    Args:
      customer_id: The ID of the Google Apps customer.
      org_unit_path: The organization's full path name.
                     Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)

    Returns:
      A dict containing the result of the retrieve operation.
     N/A uri N/A UNIT_URL N/A customer_id org_unit_path N/A N/A N/A self _GetProperties uri N/A DeleteOrgUnit N/A N/A self customer_id org_unit_path N/A N/A N/A Delete a Orgunit based on its path.

    Args:
      customer_id: The ID of the Google Apps customer.
      org_unit_path: The organization's full path name.
                     Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)

    Returns:
      A dict containing the result of the delete operation.
     N/A uri N/A UNIT_URL N/A customer_id org_unit_path N/A N/A N/A self _DeleteProperties uri N/A RetrieveAllOrgUnits N/A N/A self customer_id N/A N/A N/A Retrieve all OrgUnits in the customer's domain.

    Args:
      customer_id: The ID of the Google Apps customer.

    Returns:
      A list containing the result of the retrieve operation.
     N/A uri N/A UNIT_ALL_URL customer_id N/A N/A N/A self _GetPropertiesList uri N/A RetrievePageOfOrgUnits N/A N/A self customer_id startKey N/A None N/A N/A Retrieve one page of OrgUnits in the customer's domain.
    
    Args:
      customer_id: The ID of the Google Apps customer.
      startKey: The key to continue for pagination through all OrgUnits.
      
    Returns:
      A feed object containing the result of the retrieve operation.
     N/A uri N/A UNIT_ALL_URL customer_id N/A N/A startKey None N/A N/A uri N/A &startKey= startKey N/A property_feed N/A N/A self _GetPropertyFeed uri N/A property_feed N/A RetrieveSubOrgUnits N/A N/A self customer_id org_unit_path N/A N/A N/A Retrieve all Sub-OrgUnits of the provided OrgUnit.

    Args:
      customer_id: The ID of the Google Apps customer.
      org_unit_path: The organization's full path name.
                     Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)

    Returns:
      A list containing the result of the retrieve operation.
     N/A uri N/A UNIT_CHILD_URL N/A customer_id org_unit_path N/A N/A N/A self _GetPropertiesList uri N/A RetrieveOrgUser N/A N/A self customer_id user_email N/A N/A N/A Retrieve the OrgUnit of the user.

    Args:
      customer_id: The ID of the Google Apps customer.
      user_email: The email address of the user.

    Returns:
      A dict containing the result of the retrieve operation.
     N/A uri N/A USER_URL N/A customer_id user_email N/A N/A N/A self _GetProperties uri N/A UpdateOrgUser N/A N/A self customer_id user_email org_unit_path N/A N/A N/A Update the OrgUnit of a OrgUser.

    Args:
      customer_id: The ID of the Google Apps customer.
      user_email: The email address of the user.
      org_unit_path: The new organization's full path name.
                     Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)

    Returns:
      A dict containing the result of the update operation.
     N/A uri N/A USER_URL N/A customer_id user_email N/A properties N/A N/A org_unit_path N/A N/A N/A properties N/A orgUnitPath org_unit_path N/A N/A N/A self _PutProperties uri properties N/A RetrieveAllOrgUsers N/A N/A self customer_id N/A N/A N/A Retrieve all OrgUsers in the customer's domain.

    Args:
      customer_id: The ID of the Google Apps customer.

    Returns:
      A list containing the result of the retrieve operation.
     N/A uri N/A USER_ALL_URL customer_id N/A N/A N/A self _GetPropertiesList uri N/A RetrievePageOfOrgUsers N/A N/A self customer_id startKey N/A None N/A N/A Retrieve one page of OrgUsers in the customer's domain.
    
    Args:
      customer_id: The ID of the Google Apps customer.
      startKey: The key to continue for pagination through all OrgUnits.
      
    Returns:
      A feed object containing the result of the retrieve operation.
     N/A uri N/A USER_ALL_URL customer_id N/A N/A startKey None N/A N/A uri N/A &startKey= startKey N/A property_feed N/A N/A self _GetPropertyFeed uri N/A property_feed N/A RetrieveOrgUnitUsers N/A N/A self customer_id org_unit_path N/A N/A N/A Retrieve all OrgUsers of the provided OrgUnit.

    Args:
      customer_id: The ID of the Google Apps customer.
      org_unit_path: The organization's full path name.
                     Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)

    Returns:
      A list containing the result of the retrieve operation.
     N/A uri N/A USER_CHILD_URL N/A customer_id org_unit_path N/A N/A N/A self _GetPropertiesList uri N/A RetrieveOrgUnitPageOfUsers N/A N/A self customer_id org_unit_path startKey N/A None N/A N/A Retrieve one page of OrgUsers of the provided OrgUnit.

    Args:
      customer_id: The ID of the Google Apps customer.
      org_unit_path: The organization's full path name.
                     Note: Each element of the path MUST be URL encoded (example: finance%2Forganization/suborganization)
      startKey: The key to continue for pagination through all OrgUsers.

    Returns:
      A feed object containing the result of the retrieve operation.
     N/A uri N/A USER_CHILD_URL N/A customer_id org_unit_path N/A N/A startKey None N/A N/A uri N/A &startKey= startKey N/A property_feed N/A N/A self _GetPropertyFeed uri N/A property_feed N/A N/A