Home | History | Annotate | Download | only in dyn
      1 <html><body>
      2 <style>
      3 
      4 body, h1, h2, h3, div, span, p, pre, a {
      5   margin: 0;
      6   padding: 0;
      7   border: 0;
      8   font-weight: inherit;
      9   font-style: inherit;
     10   font-size: 100%;
     11   font-family: inherit;
     12   vertical-align: baseline;
     13 }
     14 
     15 body {
     16   font-size: 13px;
     17   padding: 1em;
     18 }
     19 
     20 h1 {
     21   font-size: 26px;
     22   margin-bottom: 1em;
     23 }
     24 
     25 h2 {
     26   font-size: 24px;
     27   margin-bottom: 1em;
     28 }
     29 
     30 h3 {
     31   font-size: 20px;
     32   margin-bottom: 1em;
     33   margin-top: 1em;
     34 }
     35 
     36 pre, code {
     37   line-height: 1.5;
     38   font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
     39 }
     40 
     41 pre {
     42   margin-top: 0.5em;
     43 }
     44 
     45 h1, h2, h3, p {
     46   font-family: Arial, sans serif;
     47 }
     48 
     49 h1, h2, h3 {
     50   border-bottom: solid #CCC 1px;
     51 }
     52 
     53 .toc_element {
     54   margin-top: 0.5em;
     55 }
     56 
     57 .firstline {
     58   margin-left: 2 em;
     59 }
     60 
     61 .method  {
     62   margin-top: 1em;
     63   border: solid 1px #CCC;
     64   padding: 1em;
     65   background: #EEE;
     66 }
     67 
     68 .details {
     69   font-weight: bold;
     70   font-size: 14px;
     71 }
     72 
     73 </style>
     74 
     75 <h1><a href="admin_datatransfer_v1.html">Admin Data Transfer API</a> . <a href="admin_datatransfer_v1.transfers.html">transfers</a></h1>
     76 <h2>Instance Methods</h2>
     77 <p class="toc_element">
     78   <code><a href="#get">get(dataTransferId)</a></code></p>
     79 <p class="firstline">Retrieves a data transfer request by its resource ID.</p>
     80 <p class="toc_element">
     81   <code><a href="#insert">insert(body)</a></code></p>
     82 <p class="firstline">Inserts a data transfer request.</p>
     83 <p class="toc_element">
     84   <code><a href="#list">list(status=None, oldOwnerUserId=None, pageToken=None, maxResults=None, newOwnerUserId=None, customerId=None)</a></code></p>
     85 <p class="firstline">Lists the transfers for a customer by source user, destination user, or status.</p>
     86 <p class="toc_element">
     87   <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
     88 <p class="firstline">Retrieves the next page of results.</p>
     89 <h3>Method Details</h3>
     90 <div class="method">
     91     <code class="details" id="get">get(dataTransferId)</code>
     92   <pre>Retrieves a data transfer request by its resource ID.
     93 
     94 Args:
     95   dataTransferId: string, ID of the resource to be retrieved. This is returned in the response from the insert method. (required)
     96 
     97 Returns:
     98   An object of the form:
     99 
    100     { # The JSON template for a DataTransfer resource.
    101       "kind": "admin#datatransfer#DataTransfer", # Identifies the resource as a DataTransfer request.
    102       "requestTime": "A String", # The time at which the data transfer was requested (Read-only).
    103       "applicationDataTransfers": [ # List of per application data transfer resources. It contains data transfer details of the applications associated with this transfer resource. Note that this list is also used to specify the applications for which data transfer has to be done at the time of the transfer resource creation.
    104         { # Template to map fields of ApplicationDataTransfer resource.
    105           "applicationTransferParams": [ # The transfer parameters for the application. These parameters are used to select the data which will get transfered in context of this application.
    106             { # Template for application transfer parameters.
    107               "value": [ # The value of the coressponding transfer parameter. eg: 'PRIVATE' or 'SHARED'
    108                 "A String",
    109               ],
    110               "key": "A String", # The type of the transfer parameter. eg: 'PRIVACY_LEVEL'
    111             },
    112           ],
    113           "applicationTransferStatus": "A String", # Current status of transfer for this application. (Read-only)
    114           "applicationId": "A String", # The application's ID.
    115         },
    116       ],
    117       "newOwnerUserId": "A String", # ID of the user to whom the data is being transfered.
    118       "oldOwnerUserId": "A String", # ID of the user whose data is being transfered.
    119       "etag": "A String", # ETag of the resource.
    120       "overallTransferStatusCode": "A String", # Overall transfer status (Read-only).
    121       "id": "A String", # The transfer's ID (Read-only).
    122     }</pre>
    123 </div>
    124 
    125 <div class="method">
    126     <code class="details" id="insert">insert(body)</code>
    127   <pre>Inserts a data transfer request.
    128 
    129 Args:
    130   body: object, The request body. (required)
    131     The object takes the form of:
    132 
    133 { # The JSON template for a DataTransfer resource.
    134     "kind": "admin#datatransfer#DataTransfer", # Identifies the resource as a DataTransfer request.
    135     "requestTime": "A String", # The time at which the data transfer was requested (Read-only).
    136     "applicationDataTransfers": [ # List of per application data transfer resources. It contains data transfer details of the applications associated with this transfer resource. Note that this list is also used to specify the applications for which data transfer has to be done at the time of the transfer resource creation.
    137       { # Template to map fields of ApplicationDataTransfer resource.
    138         "applicationTransferParams": [ # The transfer parameters for the application. These parameters are used to select the data which will get transfered in context of this application.
    139           { # Template for application transfer parameters.
    140             "value": [ # The value of the coressponding transfer parameter. eg: 'PRIVATE' or 'SHARED'
    141               "A String",
    142             ],
    143             "key": "A String", # The type of the transfer parameter. eg: 'PRIVACY_LEVEL'
    144           },
    145         ],
    146         "applicationTransferStatus": "A String", # Current status of transfer for this application. (Read-only)
    147         "applicationId": "A String", # The application's ID.
    148       },
    149     ],
    150     "newOwnerUserId": "A String", # ID of the user to whom the data is being transfered.
    151     "oldOwnerUserId": "A String", # ID of the user whose data is being transfered.
    152     "etag": "A String", # ETag of the resource.
    153     "overallTransferStatusCode": "A String", # Overall transfer status (Read-only).
    154     "id": "A String", # The transfer's ID (Read-only).
    155   }
    156 
    157 
    158 Returns:
    159   An object of the form:
    160 
    161     { # The JSON template for a DataTransfer resource.
    162       "kind": "admin#datatransfer#DataTransfer", # Identifies the resource as a DataTransfer request.
    163       "requestTime": "A String", # The time at which the data transfer was requested (Read-only).
    164       "applicationDataTransfers": [ # List of per application data transfer resources. It contains data transfer details of the applications associated with this transfer resource. Note that this list is also used to specify the applications for which data transfer has to be done at the time of the transfer resource creation.
    165         { # Template to map fields of ApplicationDataTransfer resource.
    166           "applicationTransferParams": [ # The transfer parameters for the application. These parameters are used to select the data which will get transfered in context of this application.
    167             { # Template for application transfer parameters.
    168               "value": [ # The value of the coressponding transfer parameter. eg: 'PRIVATE' or 'SHARED'
    169                 "A String",
    170               ],
    171               "key": "A String", # The type of the transfer parameter. eg: 'PRIVACY_LEVEL'
    172             },
    173           ],
    174           "applicationTransferStatus": "A String", # Current status of transfer for this application. (Read-only)
    175           "applicationId": "A String", # The application's ID.
    176         },
    177       ],
    178       "newOwnerUserId": "A String", # ID of the user to whom the data is being transfered.
    179       "oldOwnerUserId": "A String", # ID of the user whose data is being transfered.
    180       "etag": "A String", # ETag of the resource.
    181       "overallTransferStatusCode": "A String", # Overall transfer status (Read-only).
    182       "id": "A String", # The transfer's ID (Read-only).
    183     }</pre>
    184 </div>
    185 
    186 <div class="method">
    187     <code class="details" id="list">list(status=None, oldOwnerUserId=None, pageToken=None, maxResults=None, newOwnerUserId=None, customerId=None)</code>
    188   <pre>Lists the transfers for a customer by source user, destination user, or status.
    189 
    190 Args:
    191   status: string, Status of the transfer.
    192   oldOwnerUserId: string, Source user's profile ID.
    193   pageToken: string, Token to specify the next page in the list.
    194   maxResults: integer, Maximum number of results to return. Default is 100.
    195   newOwnerUserId: string, Destination user's profile ID.
    196   customerId: string, Immutable ID of the Google Apps account.
    197 
    198 Returns:
    199   An object of the form:
    200 
    201     { # Template for a collection of DataTransfer resources.
    202     "nextPageToken": "A String", # Continuation token which will be used to specify next page in list API.
    203     "kind": "admin#datatransfer#dataTransfersList", # Identifies the resource as a collection of data transfer requests.
    204     "etag": "A String", # ETag of the resource.
    205     "dataTransfers": [ # List of data transfer requests.
    206       { # The JSON template for a DataTransfer resource.
    207           "kind": "admin#datatransfer#DataTransfer", # Identifies the resource as a DataTransfer request.
    208           "requestTime": "A String", # The time at which the data transfer was requested (Read-only).
    209           "applicationDataTransfers": [ # List of per application data transfer resources. It contains data transfer details of the applications associated with this transfer resource. Note that this list is also used to specify the applications for which data transfer has to be done at the time of the transfer resource creation.
    210             { # Template to map fields of ApplicationDataTransfer resource.
    211               "applicationTransferParams": [ # The transfer parameters for the application. These parameters are used to select the data which will get transfered in context of this application.
    212                 { # Template for application transfer parameters.
    213                   "value": [ # The value of the coressponding transfer parameter. eg: 'PRIVATE' or 'SHARED'
    214                     "A String",
    215                   ],
    216                   "key": "A String", # The type of the transfer parameter. eg: 'PRIVACY_LEVEL'
    217                 },
    218               ],
    219               "applicationTransferStatus": "A String", # Current status of transfer for this application. (Read-only)
    220               "applicationId": "A String", # The application's ID.
    221             },
    222           ],
    223           "newOwnerUserId": "A String", # ID of the user to whom the data is being transfered.
    224           "oldOwnerUserId": "A String", # ID of the user whose data is being transfered.
    225           "etag": "A String", # ETag of the resource.
    226           "overallTransferStatusCode": "A String", # Overall transfer status (Read-only).
    227           "id": "A String", # The transfer's ID (Read-only).
    228         },
    229     ],
    230   }</pre>
    231 </div>
    232 
    233 <div class="method">
    234     <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
    235   <pre>Retrieves the next page of results.
    236 
    237 Args:
    238   previous_request: The request for the previous page. (required)
    239   previous_response: The response from the request for the previous page. (required)
    240 
    241 Returns:
    242   A request object that you can call 'execute()' on to request the next
    243   page. Returns None if there are no more items in the collection.
    244     </pre>
    245 </div>
    246 
    247 </body></html>