Forminator Payment, Quiz and Contact Form Plugin - Version 1.11.1

Version Description

  • Fix: PayPal throwing the 0 amount error when variable amount option is used.
  • Fix: Visitors able to change the form fields data while making the inline credit/debit card payment with the PayPal field.
Download this release

Release Info

Developer alerzhus
Plugin Icon 128x128 Forminator Payment, Quiz and Contact Form Plugin
Version 1.11.1
Comparing to
See all releases

Code changes from version 1.10.2 to 1.11.1

Files changed (59) hide show
  1. addons/pro/googlesheet/forminator-addon-googlesheet-form-hooks.php +21 -21
  2. addons/pro/googlesheet/forminator-addon-googlesheet-form-settings.php +5 -5
  3. addons/pro/googlesheet/forminator-addon-googlesheet-poll-hooks.php +25 -25
  4. addons/pro/googlesheet/forminator-addon-googlesheet-poll-settings.php +5 -5
  5. addons/pro/googlesheet/forminator-addon-googlesheet-quiz-hooks.php +29 -29
  6. addons/pro/googlesheet/forminator-addon-googlesheet-quiz-settings.php +5 -5
  7. addons/pro/googlesheet/forminator-addon-googlesheet.php +8 -8
  8. addons/pro/googlesheet/lib/class-wp-googlesheet-client-logger.php +2 -2
  9. addons/pro/googlesheet/lib/external/Google/Auth/Abstract.php +6 -6
  10. addons/pro/googlesheet/lib/external/Google/Auth/AppIdentity.php +8 -8
  11. addons/pro/googlesheet/lib/external/Google/Auth/AssertionCredentials.php +7 -7
  12. addons/pro/googlesheet/lib/external/Google/Auth/ComputeEngine.php +16 -16
  13. addons/pro/googlesheet/lib/external/Google/Auth/Exception.php +2 -2
  14. addons/pro/googlesheet/lib/external/Google/Auth/LoginTicket.php +4 -4
  15. addons/pro/googlesheet/lib/external/Google/Auth/OAuth2.php +50 -50
  16. addons/pro/googlesheet/lib/external/Google/Auth/Simple.php +7 -7
  17. addons/pro/googlesheet/lib/external/Google/Cache/Abstract.php +2 -2
  18. addons/pro/googlesheet/lib/external/Google/Cache/Apc.php +6 -6
  19. addons/pro/googlesheet/lib/external/Google/Cache/Exception.php +2 -2
  20. addons/pro/googlesheet/lib/external/Google/Cache/File.php +6 -6
  21. addons/pro/googlesheet/lib/external/Google/Cache/Memcache.php +9 -9
  22. addons/pro/googlesheet/lib/external/Google/Cache/Null.php +3 -3
  23. addons/pro/googlesheet/lib/external/Google/Client.php +50 -50
  24. addons/pro/googlesheet/lib/external/Google/Collection.php +3 -3
  25. addons/pro/googlesheet/lib/external/Google/Config.php +18 -18
  26. addons/pro/googlesheet/lib/external/Google/Exception.php +1 -1
  27. addons/pro/googlesheet/lib/external/Google/Http/Batch.php +11 -11
  28. addons/pro/googlesheet/lib/external/Google/Http/CacheParser.php +11 -11
  29. addons/pro/googlesheet/lib/external/Google/Http/MediaFileUpload.php +14 -14
  30. addons/pro/googlesheet/lib/external/Google/Http/REST.php +21 -21
  31. addons/pro/googlesheet/lib/external/Google/Http/Request.php +4 -4
  32. addons/pro/googlesheet/lib/external/Google/IO/Abstract.php +28 -28
  33. addons/pro/googlesheet/lib/external/Google/IO/Curl.php +13 -13
  34. addons/pro/googlesheet/lib/external/Google/IO/Exception.php +2 -2
  35. addons/pro/googlesheet/lib/external/Google/IO/Stream.php +10 -10
  36. addons/pro/googlesheet/lib/external/Google/Logger/Abstract.php +10 -10
  37. addons/pro/googlesheet/lib/external/Google/Logger/Exception.php +2 -2
  38. addons/pro/googlesheet/lib/external/Google/Logger/File.php +9 -9
  39. addons/pro/googlesheet/lib/external/Google/Logger/Null.php +2 -2
  40. addons/pro/googlesheet/lib/external/Google/Logger/Psr.php +5 -5
  41. addons/pro/googlesheet/lib/external/Google/Model.php +6 -6
  42. addons/pro/googlesheet/lib/external/Google/Service.php +6 -6
  43. addons/pro/googlesheet/lib/external/Google/Service/AdExchangeBuyer.php +287 -287
  44. addons/pro/googlesheet/lib/external/Google/Service/AdExchangeSeller.php +93 -93
  45. addons/pro/googlesheet/lib/external/Google/Service/AdSense.php +213 -213
  46. addons/pro/googlesheet/lib/external/Google/Service/AdSenseHost.php +134 -134
  47. addons/pro/googlesheet/lib/external/Google/Service/Admin.php +9 -9
  48. addons/pro/googlesheet/lib/external/Google/Service/Analytics.php +509 -509
  49. addons/pro/googlesheet/lib/external/Google/Service/AnalyticsReporting.php +101 -101
  50. addons/pro/googlesheet/lib/external/Google/Service/AndroidEnterprise.php +252 -252
  51. addons/pro/googlesheet/lib/external/Google/Service/AndroidPublisher.php +274 -274
  52. addons/pro/googlesheet/lib/external/Google/Service/AppState.php +21 -21
  53. addons/pro/googlesheet/lib/external/Google/Service/Appengine.php +119 -119
  54. addons/pro/googlesheet/lib/external/Google/Service/Appsactivity.php +40 -40
  55. addons/pro/googlesheet/lib/external/Google/Service/Audit.php +21 -21
  56. addons/pro/googlesheet/lib/external/Google/Service/Autoscaler.php +70 -70
  57. addons/pro/googlesheet/lib/external/Google/Service/Bigquery.php +228 -228
  58. addons/pro/googlesheet/lib/external/Google/Service/Blogger.php +188 -188
  59. addons/pro/googlesheet/lib/external/Google/Service/Books.php +262 -263
addons/pro/googlesheet/forminator-addon-googlesheet-form-hooks.php CHANGED
@@ -264,32 +264,32 @@ class Forminator_Addon_Googlesheet_Form_Hooks extends Forminator_Addon_Form_Hook
264
 
265
  $form_value = Forminator_Form_Entry_Model::meta_value_to_string( $field_type, $meta_value, false );
266
 
267
- $value = new Google_Service_Sheets_ExtendedValue();
268
- $cell_data = new Google_Service_Sheets_CellData();
269
  $value->setStringValue( $form_value );
270
  $cell_data->setUserEnteredValue( $value );
271
  $values[] = $cell_data;
272
  }
273
 
274
  // Build the RowData
275
- $row_data = new Google_Service_Sheets_RowData();
276
  $row_data->setValues( $values );
277
 
278
  // Prepare the request
279
- $append_request = new Google_Service_Sheets_AppendCellsRequest();
280
  $append_request->setSheetId( 0 );
281
  $append_request->setRows( $row_data );
282
  $append_request->setFields( 'userEnteredValue' );
283
 
284
  // Set the request
285
- $request = new Google_Service_Sheets_Request();
286
  $request->setAppendCells( $append_request );
287
  // Add the request to the requests array
288
  $requests = array();
289
  $requests[] = $request;
290
 
291
  // Prepare the update
292
- $batch_update_request = new Google_Service_Sheets_BatchUpdateSpreadsheetRequest(
293
  array(
294
 
295
  'requests' => $requests,
@@ -298,7 +298,7 @@ class Forminator_Addon_Googlesheet_Form_Hooks extends Forminator_Addon_Form_Hook
298
 
299
  $google_client = $this->addon->get_google_client();
300
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
301
- $spreadsheet_service = new Google_Service_Sheets( $google_client );
302
  $spreadsheet_service->spreadsheets->batchUpdate( $connection_settings['file_id'], $batch_update_request );
303
 
304
  if ( $google_client->getAccessToken() !== $this->addon->get_client_access_token() ) {
@@ -312,7 +312,7 @@ class Forminator_Addon_Googlesheet_Form_Hooks extends Forminator_Addon_Form_Hook
312
  'description' => __( 'Successfully send data to Google Sheets', Forminator::DOMAIN ),
313
  );
314
 
315
- } catch ( Google_Exception $e ) {
316
  forminator_addon_maybe_log( __METHOD__, 'Failed to Send to Google Sheets' );
317
 
318
  return array(
@@ -345,7 +345,7 @@ class Forminator_Addon_Googlesheet_Form_Hooks extends Forminator_Addon_Form_Hook
345
  $google_client = $this->addon->get_google_client();
346
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
347
 
348
- $spreadsheet_service = new Google_Service_Sheets( $google_client );
349
  $spreadsheet = $spreadsheet_service->spreadsheets->get( $file_id );
350
  $sheets = $spreadsheet->getSheets();
351
 
@@ -411,7 +411,7 @@ class Forminator_Addon_Googlesheet_Form_Hooks extends Forminator_Addon_Form_Hook
411
 
412
  // increment for next usage
413
  $column_number ++;
414
- $update_body = new Google_Service_Sheets_ValueRange();
415
  $update_body->setRange( $new_range );
416
  $update_body->setValues( array( array( $expected_header_value ) ) );
417
  $update_bodies[] = $update_body;
@@ -423,7 +423,7 @@ class Forminator_Addon_Googlesheet_Form_Hooks extends Forminator_Addon_Form_Hook
423
  $header_fields[ $element_id ]['value'] = $expected_header_value;
424
 
425
  // update sheet
426
- $update_body = new Google_Service_Sheets_ValueRange();
427
  $update_body->setRange( $header_field['range'] );
428
  $update_body->setValues( array( array( $expected_header_value ) ) );
429
  $update_bodies[] = $update_body;
@@ -435,46 +435,46 @@ class Forminator_Addon_Googlesheet_Form_Hooks extends Forminator_Addon_Form_Hook
435
  $total_column_needed = $columns_filled + $new_column_count;
436
  $new_column_needed = $total_column_needed - $sheet_column_count;
437
  if ( $new_column_needed > 0 ) {
438
- $dimension_range = new Google_Service_Sheets_DimensionRange();
439
  $dimension_range->setSheetId( 0 );
440
  $dimension_range->setDimension( 'COLUMNS' );
441
  $dimension_range->setStartIndex( $sheet_column_count );
442
  $dimension_range->setEndIndex( $total_column_needed );
443
 
444
- $insert_dimension = new Google_Service_Sheets_InsertDimensionRequest();
445
  $insert_dimension->setRange( $dimension_range );
446
  $insert_dimension->setInheritFromBefore( true );
447
 
448
- $request = new Google_Service_Sheets_Request();
449
  $request->setInsertDimension( $insert_dimension );
450
 
451
- $request_body = new Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
452
  $request_body->setRequests( array( $request ) );
453
 
454
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
455
  }
456
  if ( ! empty( $update_bodies ) ) {
457
- $request_body = new Google_Service_Sheets_BatchUpdateValuesRequest();
458
  $request_body->setData( $update_bodies );
459
  $request_body->setValueInputOption( 'RAW' );
460
  $spreadsheet_service->spreadsheets_values->batchUpdate( $file_id, $request_body );
461
  }
462
 
463
- $grid_properties = new Google_Service_Sheets_GridProperties();
464
  $grid_properties->setFrozenRowCount( 1 );
465
 
466
- $sheet_properties = new Google_Service_Sheets_SheetProperties();
467
  $sheet_properties->setSheetId( 0 );
468
  $sheet_properties->setGridProperties( $grid_properties );
469
 
470
- $update_properties = new Google_Service_Sheets_UpdateSheetPropertiesRequest();
471
  $update_properties->setProperties( $sheet_properties );
472
  $update_properties->setFields( 'gridProperties(frozenRowCount)' );
473
 
474
- $request = new Google_Service_Sheets_Request();
475
  $request->setUpdateSheetProperties( $update_properties );
476
 
477
- $request_body = new Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
478
  $request_body->setRequests( array( $request ) );
479
 
480
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
264
 
265
  $form_value = Forminator_Form_Entry_Model::meta_value_to_string( $field_type, $meta_value, false );
266
 
267
+ $value = new Forminator_Google_Service_Sheets_ExtendedValue();
268
+ $cell_data = new Forminator_Google_Service_Sheets_CellData();
269
  $value->setStringValue( $form_value );
270
  $cell_data->setUserEnteredValue( $value );
271
  $values[] = $cell_data;
272
  }
273
 
274
  // Build the RowData
275
+ $row_data = new Forminator_Google_Service_Sheets_RowData();
276
  $row_data->setValues( $values );
277
 
278
  // Prepare the request
279
+ $append_request = new Forminator_Google_Service_Sheets_AppendCellsRequest();
280
  $append_request->setSheetId( 0 );
281
  $append_request->setRows( $row_data );
282
  $append_request->setFields( 'userEnteredValue' );
283
 
284
  // Set the request
285
+ $request = new Forminator_Google_Service_Sheets_Request();
286
  $request->setAppendCells( $append_request );
287
  // Add the request to the requests array
288
  $requests = array();
289
  $requests[] = $request;
290
 
291
  // Prepare the update
292
+ $batch_update_request = new Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest(
293
  array(
294
 
295
  'requests' => $requests,
298
 
299
  $google_client = $this->addon->get_google_client();
300
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
301
+ $spreadsheet_service = new Forminator_Google_Service_Sheets( $google_client );
302
  $spreadsheet_service->spreadsheets->batchUpdate( $connection_settings['file_id'], $batch_update_request );
303
 
304
  if ( $google_client->getAccessToken() !== $this->addon->get_client_access_token() ) {
312
  'description' => __( 'Successfully send data to Google Sheets', Forminator::DOMAIN ),
313
  );
314
 
315
+ } catch ( Forminator_Google_Exception $e ) {
316
  forminator_addon_maybe_log( __METHOD__, 'Failed to Send to Google Sheets' );
317
 
318
  return array(
345
  $google_client = $this->addon->get_google_client();
346
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
347
 
348
+ $spreadsheet_service = new Forminator_Google_Service_Sheets( $google_client );
349
  $spreadsheet = $spreadsheet_service->spreadsheets->get( $file_id );
350
  $sheets = $spreadsheet->getSheets();
351
 
411
 
412
  // increment for next usage
413
  $column_number ++;
414
+ $update_body = new Forminator_Google_Service_Sheets_ValueRange();
415
  $update_body->setRange( $new_range );
416
  $update_body->setValues( array( array( $expected_header_value ) ) );
417
  $update_bodies[] = $update_body;
423
  $header_fields[ $element_id ]['value'] = $expected_header_value;
424
 
425
  // update sheet
426
+ $update_body = new Forminator_Google_Service_Sheets_ValueRange();
427
  $update_body->setRange( $header_field['range'] );
428
  $update_body->setValues( array( array( $expected_header_value ) ) );
429
  $update_bodies[] = $update_body;
435
  $total_column_needed = $columns_filled + $new_column_count;
436
  $new_column_needed = $total_column_needed - $sheet_column_count;
437
  if ( $new_column_needed > 0 ) {
438
+ $dimension_range = new Forminator_Google_Service_Sheets_DimensionRange();
439
  $dimension_range->setSheetId( 0 );
440
  $dimension_range->setDimension( 'COLUMNS' );
441
  $dimension_range->setStartIndex( $sheet_column_count );
442
  $dimension_range->setEndIndex( $total_column_needed );
443
 
444
+ $insert_dimension = new Forminator_Google_Service_Sheets_InsertDimensionRequest();
445
  $insert_dimension->setRange( $dimension_range );
446
  $insert_dimension->setInheritFromBefore( true );
447
 
448
+ $request = new Forminator_Google_Service_Sheets_Request();
449
  $request->setInsertDimension( $insert_dimension );
450
 
451
+ $request_body = new Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
452
  $request_body->setRequests( array( $request ) );
453
 
454
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
455
  }
456
  if ( ! empty( $update_bodies ) ) {
457
+ $request_body = new Forminator_Google_Service_Sheets_BatchUpdateValuesRequest();
458
  $request_body->setData( $update_bodies );
459
  $request_body->setValueInputOption( 'RAW' );
460
  $spreadsheet_service->spreadsheets_values->batchUpdate( $file_id, $request_body );
461
  }
462
 
463
+ $grid_properties = new Forminator_Google_Service_Sheets_GridProperties();
464
  $grid_properties->setFrozenRowCount( 1 );
465
 
466
+ $sheet_properties = new Forminator_Google_Service_Sheets_SheetProperties();
467
  $sheet_properties->setSheetId( 0 );
468
  $sheet_properties->setGridProperties( $grid_properties );
469
 
470
+ $update_properties = new Forminator_Google_Service_Sheets_UpdateSheetPropertiesRequest();
471
  $update_properties->setProperties( $sheet_properties );
472
  $update_properties->setFields( 'gridProperties(frozenRowCount)' );
473
 
474
+ $request = new Forminator_Google_Service_Sheets_Request();
475
  $request->setUpdateSheetProperties( $update_properties );
476
 
477
+ $request_body = new Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
478
  $request_body->setRequests( array( $request ) );
479
 
480
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
addons/pro/googlesheet/forminator-addon-googlesheet-form-settings.php CHANGED
@@ -207,7 +207,7 @@ class Forminator_Addon_Googlesheet_Form_Settings extends Forminator_Addon_Form_S
207
 
208
 
209
  if ( ! empty( $folder_id ) ) {
210
- $drive = new Google_Service_Drive( $google_client );
211
  try {
212
  $folder = $drive->files->get( $folder_id );
213
 
@@ -217,7 +217,7 @@ class Forminator_Addon_Googlesheet_Form_Settings extends Forminator_Addon_Form_S
217
  $input_exceptions->add_input_exception( __( 'This is not a folder, please use a valid Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
218
  }
219
 
220
- } catch ( Google_Exception $google_exception ) {
221
  // catch 404
222
  if ( false !== stripos( $google_exception->getMessage(), 'File not found' ) ) {
223
  $input_exceptions->add_input_exception( __( 'Folder not found, please put Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
@@ -231,7 +231,7 @@ class Forminator_Addon_Googlesheet_Form_Settings extends Forminator_Addon_Form_S
231
  throw $input_exceptions;
232
  }
233
 
234
- $file = new Google_Service_Drive_DriveFile();
235
  $file->setMimeType( Forminator_Addon_Googlesheet::MIME_TYPE_GOOGLE_SPREADSHEET );
236
  $file->setName( $file_name );
237
 
@@ -240,7 +240,7 @@ class Forminator_Addon_Googlesheet_Form_Settings extends Forminator_Addon_Form_S
240
  $file->setParents( array( $folder_id ) );
241
  }
242
 
243
- $drive = new Google_Service_Drive( $google_client );
244
  $new_sheet = $drive->files->create( $file );
245
 
246
  $this->save_multi_id_form_setting_values(
@@ -266,7 +266,7 @@ class Forminator_Addon_Googlesheet_Form_Settings extends Forminator_Addon_Form_S
266
  } catch ( Forminator_Addon_Googlesheet_Exception $e ) {
267
  $template_params['error_message'] = $e->getMessage();
268
  $has_errors = true;
269
- } catch ( Google_Exception $e ) {
270
  $template_params['error_message'] = $e->getMessage();
271
  $has_errors = true;
272
  }
207
 
208
 
209
  if ( ! empty( $folder_id ) ) {
210
+ $drive = new Forminator_Google_Service_Drive( $google_client );
211
  try {
212
  $folder = $drive->files->get( $folder_id );
213
 
217
  $input_exceptions->add_input_exception( __( 'This is not a folder, please use a valid Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
218
  }
219
 
220
+ } catch ( Forminator_Google_Exception $google_exception ) {
221
  // catch 404
222
  if ( false !== stripos( $google_exception->getMessage(), 'File not found' ) ) {
223
  $input_exceptions->add_input_exception( __( 'Folder not found, please put Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
231
  throw $input_exceptions;
232
  }
233
 
234
+ $file = new Forminator_Google_Service_Drive_DriveFile();
235
  $file->setMimeType( Forminator_Addon_Googlesheet::MIME_TYPE_GOOGLE_SPREADSHEET );
236
  $file->setName( $file_name );
237
 
240
  $file->setParents( array( $folder_id ) );
241
  }
242
 
243
+ $drive = new Forminator_Google_Service_Drive( $google_client );
244
  $new_sheet = $drive->files->create( $file );
245
 
246
  $this->save_multi_id_form_setting_values(
266
  } catch ( Forminator_Addon_Googlesheet_Exception $e ) {
267
  $template_params['error_message'] = $e->getMessage();
268
  $has_errors = true;
269
+ } catch ( Forminator_Google_Exception $e ) {
270
  $template_params['error_message'] = $e->getMessage();
271
  $has_errors = true;
272
  }
addons/pro/googlesheet/forminator-addon-googlesheet-poll-hooks.php CHANGED
@@ -242,21 +242,21 @@ class Forminator_Addon_Googlesheet_Poll_Hooks extends Forminator_Addon_Poll_Hook
242
 
243
  foreach ( $header_fields as $column_name => $header_field ) {
244
  if ( self::GSHEET_ANSWER_COLUMN_NAME === $column_name ) {
245
- $value = new Google_Service_Sheets_ExtendedValue();
246
- $cell_data = new Google_Service_Sheets_CellData();
247
  $value->setStringValue( $answer );
248
  $cell_data->setUserEnteredValue( $value );
249
  $values[] = $cell_data;
250
  } elseif ( self::GSHEET_EXTRA_COLUMN_NAME === $column_name ) {
251
- $value = new Google_Service_Sheets_ExtendedValue();
252
- $cell_data = new Google_Service_Sheets_CellData();
253
  $value->setStringValue( $extra );
254
  $cell_data->setUserEnteredValue( $value );
255
  $values[] = $cell_data;
256
  } else {
257
  // unknown column, set empty
258
- $value = new Google_Service_Sheets_ExtendedValue();
259
- $cell_data = new Google_Service_Sheets_CellData();
260
  $value->setStringValue( '' );
261
  $cell_data->setUserEnteredValue( $value );
262
  $values[] = $cell_data;
@@ -265,24 +265,24 @@ class Forminator_Addon_Googlesheet_Poll_Hooks extends Forminator_Addon_Poll_Hook
265
  }
266
 
267
  // Build the RowData
268
- $row_data = new Google_Service_Sheets_RowData();
269
  $row_data->setValues( $values );
270
 
271
  // Prepare the request
272
- $append_request = new Google_Service_Sheets_AppendCellsRequest();
273
  $append_request->setSheetId( 0 );
274
  $append_request->setRows( $row_data );
275
  $append_request->setFields( 'userEnteredValue' );
276
 
277
  // Set the request
278
- $request = new Google_Service_Sheets_Request();
279
  $request->setAppendCells( $append_request );
280
  // Add the request to the requests array
281
  $requests = array();
282
  $requests[] = $request;
283
 
284
  // Prepare the update
285
- $batch_update_request = new Google_Service_Sheets_BatchUpdateSpreadsheetRequest(
286
  array(
287
  'requests' => $requests,
288
  )
@@ -290,7 +290,7 @@ class Forminator_Addon_Googlesheet_Poll_Hooks extends Forminator_Addon_Poll_Hook
290
 
291
  $google_client = $this->addon->get_google_client();
292
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
293
- $spreadsheet_service = new Google_Service_Sheets( $google_client );
294
  $spreadsheet_service->spreadsheets->batchUpdate( $connection_settings['file_id'], $batch_update_request );
295
 
296
  if ( $google_client->getAccessToken() !== $this->addon->get_client_access_token() ) {
@@ -305,7 +305,7 @@ class Forminator_Addon_Googlesheet_Poll_Hooks extends Forminator_Addon_Poll_Hook
305
  'description' => __( 'Successfully send data to Google Sheets', Forminator::DOMAIN ),
306
  );
307
 
308
- } catch ( Google_Exception $e ) {
309
  forminator_addon_maybe_log( __METHOD__, 'Failed to Send to Google Sheets' );
310
 
311
  return array(
@@ -348,7 +348,7 @@ class Forminator_Addon_Googlesheet_Poll_Hooks extends Forminator_Addon_Poll_Hook
348
  $google_client = $this->addon->get_google_client();
349
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
350
 
351
- $spreadsheet_service = new Google_Service_Sheets( $google_client );
352
  $spreadsheet = $spreadsheet_service->spreadsheets->get( $file_id );
353
  $sheets = $spreadsheet->getSheets();
354
 
@@ -413,7 +413,7 @@ class Forminator_Addon_Googlesheet_Poll_Hooks extends Forminator_Addon_Poll_Hook
413
 
414
  // increment for next usage
415
  $column_number ++;
416
- $update_body = new Google_Service_Sheets_ValueRange();
417
  $update_body->setRange( $new_range );
418
  $update_body->setValues( array( array( $expected_header_value ) ) );
419
  $update_bodies[] = $update_body;
@@ -425,7 +425,7 @@ class Forminator_Addon_Googlesheet_Poll_Hooks extends Forminator_Addon_Poll_Hook
425
  $header_fields[ $required_header_column ]['value'] = $expected_header_value;
426
 
427
  // update sheet
428
- $update_body = new Google_Service_Sheets_ValueRange();
429
  $update_body->setRange( $header_field['range'] );
430
  $update_body->setValues( array( array( $expected_header_value ) ) );
431
  $update_bodies[] = $update_body;
@@ -437,46 +437,46 @@ class Forminator_Addon_Googlesheet_Poll_Hooks extends Forminator_Addon_Poll_Hook
437
  $total_column_needed = $columns_filled + $new_column_count;
438
  $new_column_needed = $total_column_needed - $sheet_column_count;
439
  if ( $new_column_needed > 0 ) {
440
- $dimension_range = new Google_Service_Sheets_DimensionRange();
441
  $dimension_range->setSheetId( 0 );
442
  $dimension_range->setDimension( 'COLUMNS' );
443
  $dimension_range->setStartIndex( $sheet_column_count );
444
  $dimension_range->setEndIndex( $total_column_needed );
445
 
446
- $insert_dimension = new Google_Service_Sheets_InsertDimensionRequest();
447
  $insert_dimension->setRange( $dimension_range );
448
  $insert_dimension->setInheritFromBefore( true );
449
 
450
- $request = new Google_Service_Sheets_Request();
451
  $request->setInsertDimension( $insert_dimension );
452
 
453
- $request_body = new Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
454
  $request_body->setRequests( array( $request ) );
455
 
456
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
457
  }
458
  if ( ! empty( $update_bodies ) ) {
459
- $request_body = new Google_Service_Sheets_BatchUpdateValuesRequest();
460
  $request_body->setData( $update_bodies );
461
  $request_body->setValueInputOption( 'RAW' );
462
  $spreadsheet_service->spreadsheets_values->batchUpdate( $file_id, $request_body );
463
  }
464
 
465
- $grid_properties = new Google_Service_Sheets_GridProperties();
466
  $grid_properties->setFrozenRowCount( 1 );
467
 
468
- $sheet_properties = new Google_Service_Sheets_SheetProperties();
469
  $sheet_properties->setSheetId( 0 );
470
  $sheet_properties->setGridProperties( $grid_properties );
471
 
472
- $update_properties = new Google_Service_Sheets_UpdateSheetPropertiesRequest();
473
  $update_properties->setProperties( $sheet_properties );
474
  $update_properties->setFields( 'gridProperties(frozenRowCount)' );
475
 
476
- $request = new Google_Service_Sheets_Request();
477
  $request->setUpdateSheetProperties( $update_properties );
478
 
479
- $request_body = new Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
480
  $request_body->setRequests( array( $request ) );
481
 
482
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
242
 
243
  foreach ( $header_fields as $column_name => $header_field ) {
244
  if ( self::GSHEET_ANSWER_COLUMN_NAME === $column_name ) {
245
+ $value = new Forminator_Google_Service_Sheets_ExtendedValue();
246
+ $cell_data = new Forminator_Google_Service_Sheets_CellData();
247
  $value->setStringValue( $answer );
248
  $cell_data->setUserEnteredValue( $value );
249
  $values[] = $cell_data;
250
  } elseif ( self::GSHEET_EXTRA_COLUMN_NAME === $column_name ) {
251
+ $value = new Forminator_Google_Service_Sheets_ExtendedValue();
252
+ $cell_data = new Forminator_Google_Service_Sheets_CellData();
253
  $value->setStringValue( $extra );
254
  $cell_data->setUserEnteredValue( $value );
255
  $values[] = $cell_data;
256
  } else {
257
  // unknown column, set empty
258
+ $value = new Forminator_Google_Service_Sheets_ExtendedValue();
259
+ $cell_data = new Forminator_Google_Service_Sheets_CellData();
260
  $value->setStringValue( '' );
261
  $cell_data->setUserEnteredValue( $value );
262
  $values[] = $cell_data;
265
  }
266
 
267
  // Build the RowData
268
+ $row_data = new Forminator_Google_Service_Sheets_RowData();
269
  $row_data->setValues( $values );
270
 
271
  // Prepare the request
272
+ $append_request = new Forminator_Google_Service_Sheets_AppendCellsRequest();
273
  $append_request->setSheetId( 0 );
274
  $append_request->setRows( $row_data );
275
  $append_request->setFields( 'userEnteredValue' );
276
 
277
  // Set the request
278
+ $request = new Forminator_Google_Service_Sheets_Request();
279
  $request->setAppendCells( $append_request );
280
  // Add the request to the requests array
281
  $requests = array();
282
  $requests[] = $request;
283
 
284
  // Prepare the update
285
+ $batch_update_request = new Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest(
286
  array(
287
  'requests' => $requests,
288
  )
290
 
291
  $google_client = $this->addon->get_google_client();
292
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
293
+ $spreadsheet_service = new Forminator_Google_Service_Sheets( $google_client );
294
  $spreadsheet_service->spreadsheets->batchUpdate( $connection_settings['file_id'], $batch_update_request );
295
 
296
  if ( $google_client->getAccessToken() !== $this->addon->get_client_access_token() ) {
305
  'description' => __( 'Successfully send data to Google Sheets', Forminator::DOMAIN ),
306
  );
307
 
308
+ } catch ( Forminator_Google_Exception $e ) {
309
  forminator_addon_maybe_log( __METHOD__, 'Failed to Send to Google Sheets' );
310
 
311
  return array(
348
  $google_client = $this->addon->get_google_client();
349
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
350
 
351
+ $spreadsheet_service = new Forminator_Google_Service_Sheets( $google_client );
352
  $spreadsheet = $spreadsheet_service->spreadsheets->get( $file_id );
353
  $sheets = $spreadsheet->getSheets();
354
 
413
 
414
  // increment for next usage
415
  $column_number ++;
416
+ $update_body = new Forminator_Google_Service_Sheets_ValueRange();
417
  $update_body->setRange( $new_range );
418
  $update_body->setValues( array( array( $expected_header_value ) ) );
419
  $update_bodies[] = $update_body;
425
  $header_fields[ $required_header_column ]['value'] = $expected_header_value;
426
 
427
  // update sheet
428
+ $update_body = new Forminator_Google_Service_Sheets_ValueRange();
429
  $update_body->setRange( $header_field['range'] );
430
  $update_body->setValues( array( array( $expected_header_value ) ) );
431
  $update_bodies[] = $update_body;
437
  $total_column_needed = $columns_filled + $new_column_count;
438
  $new_column_needed = $total_column_needed - $sheet_column_count;
439
  if ( $new_column_needed > 0 ) {
440
+ $dimension_range = new Forminator_Google_Service_Sheets_DimensionRange();
441
  $dimension_range->setSheetId( 0 );
442
  $dimension_range->setDimension( 'COLUMNS' );
443
  $dimension_range->setStartIndex( $sheet_column_count );
444
  $dimension_range->setEndIndex( $total_column_needed );
445
 
446
+ $insert_dimension = new Forminator_Google_Service_Sheets_InsertDimensionRequest();
447
  $insert_dimension->setRange( $dimension_range );
448
  $insert_dimension->setInheritFromBefore( true );
449
 
450
+ $request = new Forminator_Google_Service_Sheets_Request();
451
  $request->setInsertDimension( $insert_dimension );
452
 
453
+ $request_body = new Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
454
  $request_body->setRequests( array( $request ) );
455
 
456
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
457
  }
458
  if ( ! empty( $update_bodies ) ) {
459
+ $request_body = new Forminator_Google_Service_Sheets_BatchUpdateValuesRequest();
460
  $request_body->setData( $update_bodies );
461
  $request_body->setValueInputOption( 'RAW' );
462
  $spreadsheet_service->spreadsheets_values->batchUpdate( $file_id, $request_body );
463
  }
464
 
465
+ $grid_properties = new Forminator_Google_Service_Sheets_GridProperties();
466
  $grid_properties->setFrozenRowCount( 1 );
467
 
468
+ $sheet_properties = new Forminator_Google_Service_Sheets_SheetProperties();
469
  $sheet_properties->setSheetId( 0 );
470
  $sheet_properties->setGridProperties( $grid_properties );
471
 
472
+ $update_properties = new Forminator_Google_Service_Sheets_UpdateSheetPropertiesRequest();
473
  $update_properties->setProperties( $sheet_properties );
474
  $update_properties->setFields( 'gridProperties(frozenRowCount)' );
475
 
476
+ $request = new Forminator_Google_Service_Sheets_Request();
477
  $request->setUpdateSheetProperties( $update_properties );
478
 
479
+ $request_body = new Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
480
  $request_body->setRequests( array( $request ) );
481
 
482
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
addons/pro/googlesheet/forminator-addon-googlesheet-poll-settings.php CHANGED
@@ -179,7 +179,7 @@ class Forminator_Addon_Googlesheet_Poll_Settings extends Forminator_Addon_Poll_S
179
 
180
 
181
  if ( ! empty( $folder_id ) ) {
182
- $drive = new Google_Service_Drive( $google_client );
183
  try {
184
  $folder = $drive->files->get( $folder_id );
185
 
@@ -189,7 +189,7 @@ class Forminator_Addon_Googlesheet_Poll_Settings extends Forminator_Addon_Poll_S
189
  $input_exceptions->add_input_exception( __( 'This is not a folder, please use a valid Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
190
  }
191
 
192
- } catch ( Google_Exception $google_exception ) {
193
  // catch 404
194
  if ( false !== stripos( $google_exception->getMessage(), 'File not found' ) ) {
195
  $input_exceptions->add_input_exception( __( 'Folder not found, please put Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
@@ -203,7 +203,7 @@ class Forminator_Addon_Googlesheet_Poll_Settings extends Forminator_Addon_Poll_S
203
  throw $input_exceptions;
204
  }
205
 
206
- $file = new Google_Service_Drive_DriveFile();
207
  $file->setMimeType( Forminator_Addon_Googlesheet::MIME_TYPE_GOOGLE_SPREADSHEET );
208
  $file->setName( $file_name );
209
 
@@ -212,7 +212,7 @@ class Forminator_Addon_Googlesheet_Poll_Settings extends Forminator_Addon_Poll_S
212
  $file->setParents( array( $folder_id ) );
213
  }
214
 
215
- $drive = new Google_Service_Drive( $google_client );
216
  $new_sheet = $drive->files->create( $file );
217
 
218
  $this->save_multi_id_poll_setting_values(
@@ -238,7 +238,7 @@ class Forminator_Addon_Googlesheet_Poll_Settings extends Forminator_Addon_Poll_S
238
  } catch ( Forminator_Addon_Googlesheet_Exception $e ) {
239
  $template_params['error_message'] = $e->getMessage();
240
  $has_errors = true;
241
- } catch ( Google_Exception $e ) {
242
  $template_params['error_message'] = $e->getMessage();
243
  $has_errors = true;
244
  }
179
 
180
 
181
  if ( ! empty( $folder_id ) ) {
182
+ $drive = new Forminator_Google_Service_Drive( $google_client );
183
  try {
184
  $folder = $drive->files->get( $folder_id );
185
 
189
  $input_exceptions->add_input_exception( __( 'This is not a folder, please use a valid Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
190
  }
191
 
192
+ } catch ( Forminator_Google_Exception $google_exception ) {
193
  // catch 404
194
  if ( false !== stripos( $google_exception->getMessage(), 'File not found' ) ) {
195
  $input_exceptions->add_input_exception( __( 'Folder not found, please put Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
203
  throw $input_exceptions;
204
  }
205
 
206
+ $file = new Forminator_Google_Service_Drive_DriveFile();
207
  $file->setMimeType( Forminator_Addon_Googlesheet::MIME_TYPE_GOOGLE_SPREADSHEET );
208
  $file->setName( $file_name );
209
 
212
  $file->setParents( array( $folder_id ) );
213
  }
214
 
215
+ $drive = new Forminator_Google_Service_Drive( $google_client );
216
  $new_sheet = $drive->files->create( $file );
217
 
218
  $this->save_multi_id_poll_setting_values(
238
  } catch ( Forminator_Addon_Googlesheet_Exception $e ) {
239
  $template_params['error_message'] = $e->getMessage();
240
  $has_errors = true;
241
+ } catch ( Forminator_Google_Exception $e ) {
242
  $template_params['error_message'] = $e->getMessage();
243
  $has_errors = true;
244
  }
addons/pro/googlesheet/forminator-addon-googlesheet-quiz-hooks.php CHANGED
@@ -282,8 +282,8 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
282
  $values = array();
283
  foreach ( $header_fields as $column_name => $header_field ) {
284
  if ( self::GSHEET_DATE_COLUMN_NAME === $column_name ) {
285
- $value = new Google_Service_Sheets_ExtendedValue();
286
- $cell_data = new Google_Service_Sheets_CellData();
287
 
288
  // only once
289
  $date_value = 0 === $i ? $date : '';
@@ -291,20 +291,20 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
291
  $cell_data->setUserEnteredValue( $value );
292
  $values[] = $cell_data;
293
  } elseif ( self::GSHEET_QUESTION_COLUMN_NAME === $column_name ) {
294
- $value = new Google_Service_Sheets_ExtendedValue();
295
- $cell_data = new Google_Service_Sheets_CellData();
296
  $value->setStringValue( $answer['question'] );
297
  $cell_data->setUserEnteredValue( $value );
298
  $values[] = $cell_data;
299
  } elseif ( self::GSHEET_ANSWER_COLUMN_NAME === $column_name ) {
300
- $value = new Google_Service_Sheets_ExtendedValue();
301
- $cell_data = new Google_Service_Sheets_CellData();
302
  $value->setStringValue( $answer['answer'] );
303
  $cell_data->setUserEnteredValue( $value );
304
  $values[] = $cell_data;
305
  } elseif ( self::GSHEET_RESULT_COLUMN_NAME === $column_name ) {
306
- $value = new Google_Service_Sheets_ExtendedValue();
307
- $cell_data = new Google_Service_Sheets_CellData();
308
 
309
  // only once for nowrong
310
  $result_value = $answer['result'];
@@ -317,8 +317,8 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
317
  $values[] = $cell_data;
318
  } else {
319
  // unknown column, set empty
320
- $value = new Google_Service_Sheets_ExtendedValue();
321
- $cell_data = new Google_Service_Sheets_CellData();
322
  $value->setStringValue( '' );
323
  $cell_data->setUserEnteredValue( $value );
324
  $values[] = $cell_data;
@@ -326,17 +326,17 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
326
  }
327
 
328
  // Build the RowData
329
- $row_data = new Google_Service_Sheets_RowData();
330
  $row_data->setValues( $values );
331
 
332
  // Prepare the request
333
- $append_request = new Google_Service_Sheets_AppendCellsRequest();
334
  $append_request->setSheetId( 0 );
335
  $append_request->setRows( $row_data );
336
  $append_request->setFields( 'userEnteredValue' );
337
 
338
  // Set the request
339
- $request = new Google_Service_Sheets_Request();
340
  $request->setAppendCells( $append_request );
341
 
342
  // Add the request to the requests array
@@ -348,7 +348,7 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
348
  }
349
 
350
  // Prepare the update
351
- $batch_update_request = new Google_Service_Sheets_BatchUpdateSpreadsheetRequest(
352
  array(
353
  'requests' => $requests,
354
  )
@@ -356,7 +356,7 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
356
 
357
  $google_client = $this->addon->get_google_client();
358
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
359
- $spreadsheet_service = new Google_Service_Sheets( $google_client );
360
  $spreadsheet_service->spreadsheets->batchUpdate( $connection_settings['file_id'], $batch_update_request );
361
 
362
 
@@ -373,7 +373,7 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
373
  'description' => __( 'Successfully send data to Google Sheets', Forminator::DOMAIN ),
374
  );
375
 
376
- } catch ( Google_Exception $e ) {
377
  forminator_addon_maybe_log( __METHOD__, 'Failed to Send to Google Sheets' );
378
 
379
  return array(
@@ -416,7 +416,7 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
416
  $google_client = $this->addon->get_google_client();
417
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
418
 
419
- $spreadsheet_service = new Google_Service_Sheets( $google_client );
420
  $spreadsheet = $spreadsheet_service->spreadsheets->get( $file_id );
421
  $sheets = $spreadsheet->getSheets();
422
 
@@ -480,7 +480,7 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
480
 
481
  // increment for next usage
482
  $column_number ++;
483
- $update_body = new Google_Service_Sheets_ValueRange();
484
  $update_body->setRange( $new_range );
485
  $update_body->setValues( array( array( $expected_header_value ) ) );
486
  $update_bodies[] = $update_body;
@@ -492,7 +492,7 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
492
  $header_fields[ $required_header_column ]['value'] = $expected_header_value;
493
 
494
  // update sheet
495
- $update_body = new Google_Service_Sheets_ValueRange();
496
  $update_body->setRange( $header_field['range'] );
497
  $update_body->setValues( array( array( $expected_header_value ) ) );
498
  $update_bodies[] = $update_body;
@@ -504,46 +504,46 @@ class Forminator_Addon_Googlesheet_Quiz_Hooks extends Forminator_Addon_Quiz_Hook
504
  $total_column_needed = $columns_filled + $new_column_count;
505
  $new_column_needed = $total_column_needed - $sheet_column_count;
506
  if ( $new_column_needed > 0 ) {
507
- $dimension_range = new Google_Service_Sheets_DimensionRange();
508
  $dimension_range->setSheetId( 0 );
509
  $dimension_range->setDimension( 'COLUMNS' );
510
  $dimension_range->setStartIndex( $sheet_column_count );
511
  $dimension_range->setEndIndex( $total_column_needed );
512
 
513
- $insert_dimension = new Google_Service_Sheets_InsertDimensionRequest();
514
  $insert_dimension->setRange( $dimension_range );
515
  $insert_dimension->setInheritFromBefore( true );
516
 
517
- $request = new Google_Service_Sheets_Request();
518
  $request->setInsertDimension( $insert_dimension );
519
 
520
- $request_body = new Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
521
  $request_body->setRequests( array( $request ) );
522
 
523
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
524
  }
525
  if ( ! empty( $update_bodies ) ) {
526
- $request_body = new Google_Service_Sheets_BatchUpdateValuesRequest();
527
  $request_body->setData( $update_bodies );
528
  $request_body->setValueInputOption( 'RAW' );
529
  $spreadsheet_service->spreadsheets_values->batchUpdate( $file_id, $request_body );
530
  }
531
 
532
- $grid_properties = new Google_Service_Sheets_GridProperties();
533
  $grid_properties->setFrozenRowCount( 1 );
534
 
535
- $sheet_properties = new Google_Service_Sheets_SheetProperties();
536
  $sheet_properties->setSheetId( 0 );
537
  $sheet_properties->setGridProperties( $grid_properties );
538
 
539
- $update_properties = new Google_Service_Sheets_UpdateSheetPropertiesRequest();
540
  $update_properties->setProperties( $sheet_properties );
541
  $update_properties->setFields( 'gridProperties(frozenRowCount)' );
542
 
543
- $request = new Google_Service_Sheets_Request();
544
  $request->setUpdateSheetProperties( $update_properties );
545
 
546
- $request_body = new Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
547
  $request_body->setRequests( array( $request ) );
548
 
549
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
282
  $values = array();
283
  foreach ( $header_fields as $column_name => $header_field ) {
284
  if ( self::GSHEET_DATE_COLUMN_NAME === $column_name ) {
285
+ $value = new Forminator_Google_Service_Sheets_ExtendedValue();
286
+ $cell_data = new Forminator_Google_Service_Sheets_CellData();
287
 
288
  // only once
289
  $date_value = 0 === $i ? $date : '';
291
  $cell_data->setUserEnteredValue( $value );
292
  $values[] = $cell_data;
293
  } elseif ( self::GSHEET_QUESTION_COLUMN_NAME === $column_name ) {
294
+ $value = new Forminator_Google_Service_Sheets_ExtendedValue();
295
+ $cell_data = new Forminator_Google_Service_Sheets_CellData();
296
  $value->setStringValue( $answer['question'] );
297
  $cell_data->setUserEnteredValue( $value );
298
  $values[] = $cell_data;
299
  } elseif ( self::GSHEET_ANSWER_COLUMN_NAME === $column_name ) {
300
+ $value = new Forminator_Google_Service_Sheets_ExtendedValue();
301
+ $cell_data = new Forminator_Google_Service_Sheets_CellData();
302
  $value->setStringValue( $answer['answer'] );
303
  $cell_data->setUserEnteredValue( $value );
304
  $values[] = $cell_data;
305
  } elseif ( self::GSHEET_RESULT_COLUMN_NAME === $column_name ) {
306
+ $value = new Forminator_Google_Service_Sheets_ExtendedValue();
307
+ $cell_data = new Forminator_Google_Service_Sheets_CellData();
308
 
309
  // only once for nowrong
310
  $result_value = $answer['result'];
317
  $values[] = $cell_data;
318
  } else {
319
  // unknown column, set empty
320
+ $value = new Forminator_Google_Service_Sheets_ExtendedValue();
321
+ $cell_data = new Forminator_Google_Service_Sheets_CellData();
322
  $value->setStringValue( '' );
323
  $cell_data->setUserEnteredValue( $value );
324
  $values[] = $cell_data;
326
  }
327
 
328
  // Build the RowData
329
+ $row_data = new Forminator_Google_Service_Sheets_RowData();
330
  $row_data->setValues( $values );
331
 
332
  // Prepare the request
333
+ $append_request = new Forminator_Google_Service_Sheets_AppendCellsRequest();
334
  $append_request->setSheetId( 0 );
335
  $append_request->setRows( $row_data );
336
  $append_request->setFields( 'userEnteredValue' );
337
 
338
  // Set the request
339
+ $request = new Forminator_Google_Service_Sheets_Request();
340
  $request->setAppendCells( $append_request );
341
 
342
  // Add the request to the requests array
348
  }
349
 
350
  // Prepare the update
351
+ $batch_update_request = new Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest(
352
  array(
353
  'requests' => $requests,
354
  )
356
 
357
  $google_client = $this->addon->get_google_client();
358
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
359
+ $spreadsheet_service = new Forminator_Google_Service_Sheets( $google_client );
360
  $spreadsheet_service->spreadsheets->batchUpdate( $connection_settings['file_id'], $batch_update_request );
361
 
362
 
373
  'description' => __( 'Successfully send data to Google Sheets', Forminator::DOMAIN ),
374
  );
375
 
376
+ } catch ( Forminator_Google_Exception $e ) {
377
  forminator_addon_maybe_log( __METHOD__, 'Failed to Send to Google Sheets' );
378
 
379
  return array(
416
  $google_client = $this->addon->get_google_client();
417
  $google_client->setAccessToken( $this->addon->get_client_access_token() );
418
 
419
+ $spreadsheet_service = new Forminator_Google_Service_Sheets( $google_client );
420
  $spreadsheet = $spreadsheet_service->spreadsheets->get( $file_id );
421
  $sheets = $spreadsheet->getSheets();
422
 
480
 
481
  // increment for next usage
482
  $column_number ++;
483
+ $update_body = new Forminator_Google_Service_Sheets_ValueRange();
484
  $update_body->setRange( $new_range );
485
  $update_body->setValues( array( array( $expected_header_value ) ) );
486
  $update_bodies[] = $update_body;
492
  $header_fields[ $required_header_column ]['value'] = $expected_header_value;
493
 
494
  // update sheet
495
+ $update_body = new Forminator_Google_Service_Sheets_ValueRange();
496
  $update_body->setRange( $header_field['range'] );
497
  $update_body->setValues( array( array( $expected_header_value ) ) );
498
  $update_bodies[] = $update_body;
504
  $total_column_needed = $columns_filled + $new_column_count;
505
  $new_column_needed = $total_column_needed - $sheet_column_count;
506
  if ( $new_column_needed > 0 ) {
507
+ $dimension_range = new Forminator_Google_Service_Sheets_DimensionRange();
508
  $dimension_range->setSheetId( 0 );
509
  $dimension_range->setDimension( 'COLUMNS' );
510
  $dimension_range->setStartIndex( $sheet_column_count );
511
  $dimension_range->setEndIndex( $total_column_needed );
512
 
513
+ $insert_dimension = new Forminator_Google_Service_Sheets_InsertDimensionRequest();
514
  $insert_dimension->setRange( $dimension_range );
515
  $insert_dimension->setInheritFromBefore( true );
516
 
517
+ $request = new Forminator_Google_Service_Sheets_Request();
518
  $request->setInsertDimension( $insert_dimension );
519
 
520
+ $request_body = new Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
521
  $request_body->setRequests( array( $request ) );
522
 
523
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
524
  }
525
  if ( ! empty( $update_bodies ) ) {
526
+ $request_body = new Forminator_Google_Service_Sheets_BatchUpdateValuesRequest();
527
  $request_body->setData( $update_bodies );
528
  $request_body->setValueInputOption( 'RAW' );
529
  $spreadsheet_service->spreadsheets_values->batchUpdate( $file_id, $request_body );
530
  }
531
 
532
+ $grid_properties = new Forminator_Google_Service_Sheets_GridProperties();
533
  $grid_properties->setFrozenRowCount( 1 );
534
 
535
+ $sheet_properties = new Forminator_Google_Service_Sheets_SheetProperties();
536
  $sheet_properties->setSheetId( 0 );
537
  $sheet_properties->setGridProperties( $grid_properties );
538
 
539
+ $update_properties = new Forminator_Google_Service_Sheets_UpdateSheetPropertiesRequest();
540
  $update_properties->setProperties( $sheet_properties );
541
  $update_properties->setFields( 'gridProperties(frozenRowCount)' );
542
 
543
+ $request = new Forminator_Google_Service_Sheets_Request();
544
  $request->setUpdateSheetProperties( $update_properties );
545
 
546
+ $request_body = new Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest();
547
  $request_body->setRequests( array( $request ) );
548
 
549
  $spreadsheet_service->spreadsheets->batchUpdate( $file_id, $request_body );
addons/pro/googlesheet/forminator-addon-googlesheet-quiz-settings.php CHANGED
@@ -180,7 +180,7 @@ class Forminator_Addon_Googlesheet_Quiz_Settings extends Forminator_Addon_Quiz_S
180
 
181
 
182
  if ( ! empty( $folder_id ) ) {
183
- $drive = new Google_Service_Drive( $google_client );
184
  try {
185
  $folder = $drive->files->get( $folder_id );
186
 
@@ -190,7 +190,7 @@ class Forminator_Addon_Googlesheet_Quiz_Settings extends Forminator_Addon_Quiz_S
190
  $input_exceptions->add_input_exception( __( 'This is not a folder, please use a valid Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
191
  }
192
 
193
- } catch ( Google_Exception $google_exception ) {
194
  // catch 404
195
  if ( false !== stripos( $google_exception->getMessage(), 'File not found' ) ) {
196
  $input_exceptions->add_input_exception( __( 'Folder not found, please put Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
@@ -204,7 +204,7 @@ class Forminator_Addon_Googlesheet_Quiz_Settings extends Forminator_Addon_Quiz_S
204
  throw $input_exceptions;
205
  }
206
 
207
- $file = new Google_Service_Drive_DriveFile();
208
  $file->setMimeType( Forminator_Addon_Googlesheet::MIME_TYPE_GOOGLE_SPREADSHEET );
209
  $file->setName( $file_name );
210
 
@@ -213,7 +213,7 @@ class Forminator_Addon_Googlesheet_Quiz_Settings extends Forminator_Addon_Quiz_S
213
  $file->setParents( array( $folder_id ) );
214
  }
215
 
216
- $drive = new Google_Service_Drive( $google_client );
217
  $new_sheet = $drive->files->create( $file );
218
 
219
  $this->save_multi_id_quiz_setting_values(
@@ -239,7 +239,7 @@ class Forminator_Addon_Googlesheet_Quiz_Settings extends Forminator_Addon_Quiz_S
239
  } catch ( Forminator_Addon_Googlesheet_Exception $e ) {
240
  $template_params['error_message'] = $e->getMessage();
241
  $has_errors = true;
242
- } catch ( Google_Exception $e ) {
243
  $template_params['error_message'] = $e->getMessage();
244
  $has_errors = true;
245
  }
180
 
181
 
182
  if ( ! empty( $folder_id ) ) {
183
+ $drive = new Forminator_Google_Service_Drive( $google_client );
184
  try {
185
  $folder = $drive->files->get( $folder_id );
186
 
190
  $input_exceptions->add_input_exception( __( 'This is not a folder, please use a valid Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
191
  }
192
 
193
+ } catch ( Forminator_Google_Exception $google_exception ) {
194
  // catch 404
195
  if ( false !== stripos( $google_exception->getMessage(), 'File not found' ) ) {
196
  $input_exceptions->add_input_exception( __( 'Folder not found, please put Folder ID.', Forminator::DOMAIN ), 'folder_id_error' );
204
  throw $input_exceptions;
205
  }
206
 
207
+ $file = new Forminator_Google_Service_Drive_DriveFile();
208
  $file->setMimeType( Forminator_Addon_Googlesheet::MIME_TYPE_GOOGLE_SPREADSHEET );
209
  $file->setName( $file_name );
210
 
213
  $file->setParents( array( $folder_id ) );
214
  }
215
 
216
+ $drive = new Forminator_Google_Service_Drive( $google_client );
217
  $new_sheet = $drive->files->create( $file );
218
 
219
  $this->save_multi_id_quiz_setting_values(
239
  } catch ( Forminator_Addon_Googlesheet_Exception $e ) {
240
  $template_params['error_message'] = $e->getMessage();
241
  $has_errors = true;
242
+ } catch ( Forminator_Google_Exception $e ) {
243
  $template_params['error_message'] = $e->getMessage();
244
  $has_errors = true;
245
  }
addons/pro/googlesheet/forminator-addon-googlesheet.php CHANGED
@@ -607,10 +607,10 @@ final class Forminator_Addon_Googlesheet extends Forminator_Addon_Abstract {
607
  }
608
 
609
  /**
610
- * Get Google_Client Object
611
  *
612
  * @since 1.0 Google Sheets Addon
613
- * @return Google_Client
614
  * @throws Exception
615
  */
616
  public function get_google_client() {
@@ -619,13 +619,13 @@ final class Forminator_Addon_Googlesheet extends Forminator_Addon_Abstract {
619
  $client_id = $this->get_client_id();
620
  $client_secret = $this->get_client_secret();
621
  $scopes = array(
622
- Google_Service_Sheets::SPREADSHEETS,
623
- Google_Service_Sheets::DRIVE,
624
  );
625
 
626
- $config = new Google_Config();
627
  $config->setLoggerClass( 'Forminator_Addon_Wp_Googlesheet_Client_Logger' );
628
- $google_client = new Google_Client( $config );
629
  $google_client->setApplicationName( __( 'Forminator Pro', Forminator::DOMAIN ) );
630
  $google_client->setClientId( $client_id );
631
  $google_client->setClientSecret( $client_secret );
@@ -639,7 +639,7 @@ final class Forminator_Addon_Googlesheet extends Forminator_Addon_Abstract {
639
  *
640
  * @since 1.2
641
  *
642
- * @param Google_Client $google_client
643
  * @param string $client_id
644
  * @param string $client_secret
645
  * @param array $scopes
@@ -673,7 +673,7 @@ final class Forminator_Addon_Googlesheet extends Forminator_Addon_Abstract {
673
  *
674
  * @since 1.0 Google Sheets Addon
675
  * @return bool
676
- * @throws Google_Auth_Exception
677
  * @throws Exception
678
  */
679
  public function deactivate() {
607
  }
608
 
609
  /**
610
+ * Get Forminator_Google_Client Object
611
  *
612
  * @since 1.0 Google Sheets Addon
613
+ * @return Forminator_Google_Client
614
  * @throws Exception
615
  */
616
  public function get_google_client() {
619
  $client_id = $this->get_client_id();
620
  $client_secret = $this->get_client_secret();
621
  $scopes = array(
622
+ Forminator_Google_Service_Sheets::SPREADSHEETS,
623
+ Forminator_Google_Service_Sheets::DRIVE,
624
  );
625
 
626
+ $config = new Forminator_Google_Config();
627
  $config->setLoggerClass( 'Forminator_Addon_Wp_Googlesheet_Client_Logger' );
628
+ $google_client = new Forminator_Google_Client( $config );
629
  $google_client->setApplicationName( __( 'Forminator Pro', Forminator::DOMAIN ) );
630
  $google_client->setClientId( $client_id );
631
  $google_client->setClientSecret( $client_secret );
639
  *
640
  * @since 1.2
641
  *
642
+ * @param Forminator_Google_Client $google_client
643
  * @param string $client_id
644
  * @param string $client_secret
645
  * @param array $scopes
673
  *
674
  * @since 1.0 Google Sheets Addon
675
  * @return bool
676
+ * @throws Forminator_Google_Auth_Exception
677
  * @throws Exception
678
  */
679
  public function deactivate() {
addons/pro/googlesheet/lib/class-wp-googlesheet-client-logger.php CHANGED
@@ -5,7 +5,7 @@
5
  * this is the entry-point of autoload-ing Google library
6
  * Google/Logger/Abstract.php does include autoloder itself
7
  */
8
- if ( ! class_exists( 'Google_Logger_Abstract' ) ) {
9
  require_once dirname( __FILE__ ) . '/external/Google/Logger/Abstract.php';
10
  }
11
 
@@ -13,7 +13,7 @@ if ( ! class_exists( 'Google_Logger_Abstract' ) ) {
13
  /**
14
  * Class Forminator_Addon_Wp_Googlesheet_Client_Logger
15
  */
16
- class Forminator_Addon_Wp_Googlesheet_Client_Logger extends Google_Logger_Abstract {
17
 
18
  /**
19
  * Writes a message to the current log implementation.
5
  * this is the entry-point of autoload-ing Google library
6
  * Google/Logger/Abstract.php does include autoloder itself
7
  */
8
+ if ( ! class_exists( 'Forminator_Google_Logger_Abstract' ) ) {
9
  require_once dirname( __FILE__ ) . '/external/Google/Logger/Abstract.php';
10
  }
11
 
13
  /**
14
  * Class Forminator_Addon_Wp_Googlesheet_Client_Logger
15
  */
16
+ class Forminator_Addon_Wp_Googlesheet_Client_Logger extends Forminator_Google_Logger_Abstract {
17
 
18
  /**
19
  * Writes a message to the current log implementation.
addons/pro/googlesheet/lib/external/Google/Auth/Abstract.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -24,15 +24,15 @@ if (!class_exists('Google_Client')) {
24
  * @author Chris Chabot <chabotc@google.com>
25
  *
26
  */
27
- abstract class Google_Auth_Abstract
28
  {
29
  /**
30
  * An utility function that first calls $this->auth->sign($request) and then
31
  * executes makeRequest() on that signed request. Used for when a request
32
  * should be authenticated
33
- * @param Google_Http_Request $request
34
- * @return Google_Http_Request $request
35
  */
36
- abstract public function authenticatedRequest(Google_Http_Request $request);
37
- abstract public function sign(Google_Http_Request $request);
38
  }
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
24
  * @author Chris Chabot <chabotc@google.com>
25
  *
26
  */
27
+ abstract class Forminator_Google_Auth_Abstract
28
  {
29
  /**
30
  * An utility function that first calls $this->auth->sign($request) and then
31
  * executes makeRequest() on that signed request. Used for when a request
32
  * should be authenticated
33
+ * @param Forminator_Google_Http_Request $request
34
+ * @return Forminator_Google_Http_Request $request
35
  */
36
+ abstract public function authenticatedRequest(Forminator_Google_Http_Request $request);
37
+ abstract public function sign(Forminator_Google_Http_Request $request);
38
  }
addons/pro/googlesheet/lib/external/Google/Auth/AppIdentity.php CHANGED
@@ -22,21 +22,21 @@
22
  */
23
  use google\appengine\api\app_identity\AppIdentityService;
24
 
25
- if (!class_exists('Google_Client')) {
26
  require_once dirname(__FILE__) . '/../autoload.php';
27
  }
28
 
29
  /**
30
  * Authentication via the Google App Engine App Identity service.
31
  */
32
- class Google_Auth_AppIdentity extends Google_Auth_Abstract
33
  {
34
- const CACHE_PREFIX = "Google_Auth_AppIdentity::";
35
  private $client;
36
  private $token = false;
37
  private $tokenScopes = false;
38
 
39
- public function __construct(Google_Client $client, $config = null)
40
  {
41
  $this->client = $client;
42
  }
@@ -91,17 +91,17 @@ class Google_Auth_AppIdentity extends Google_Auth_Abstract
91
  * (which can modify the request in what ever way fits the auth mechanism)
92
  * and then calls apiCurlIO::makeRequest on the signed request
93
  *
94
- * @param Google_Http_Request $request
95
- * @return Google_Http_Request The resulting HTTP response including the
96
  * responseHttpCode, responseHeaders and responseBody.
97
  */
98
- public function authenticatedRequest(Google_Http_Request $request)
99
  {
100
  $request = $this->sign($request);
101
  return $this->client->getIo()->makeRequest($request);
102
  }
103
 
104
- public function sign(Google_Http_Request $request)
105
  {
106
  if (!$this->token) {
107
  // No token, so nothing to do.
22
  */
23
  use google\appengine\api\app_identity\AppIdentityService;
24
 
25
+ if (!class_exists('Forminator_Google_Client')) {
26
  require_once dirname(__FILE__) . '/../autoload.php';
27
  }
28
 
29
  /**
30
  * Authentication via the Google App Engine App Identity service.
31
  */
32
+ class Forminator_Google_Auth_AppIdentity extends Forminator_Google_Auth_Abstract
33
  {
34
+ const CACHE_PREFIX = "Forminator_Google_Auth_AppIdentity::";
35
  private $client;
36
  private $token = false;
37
  private $tokenScopes = false;
38
 
39
+ public function __construct(Forminator_Google_Client $client, $config = null)
40
  {
41
  $this->client = $client;
42
  }
91
  * (which can modify the request in what ever way fits the auth mechanism)
92
  * and then calls apiCurlIO::makeRequest on the signed request
93
  *
94
+ * @param Forminator_Google_Http_Request $request
95
+ * @return Forminator_Google_Http_Request The resulting HTTP response including the
96
  * responseHttpCode, responseHeaders and responseBody.
97
  */
98
+ public function authenticatedRequest(Forminator_Google_Http_Request $request)
99
  {
100
  $request = $this->sign($request);
101
  return $this->client->getIo()->makeRequest($request);
102
  }
103
 
104
+ public function sign(Forminator_Google_Http_Request $request)
105
  {
106
  if (!$this->token) {
107
  // No token, so nothing to do.
addons/pro/googlesheet/lib/external/Google/Auth/AssertionCredentials.php CHANGED
@@ -15,14 +15,14 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
  /**
23
  * Credentials object used for OAuth 2.0 Signed JWT assertion grants.
24
  */
25
- class Google_Auth_AssertionCredentials
26
  {
27
  const MAX_TOKEN_LIFETIME_SECS = 3600;
28
 
@@ -91,7 +91,7 @@ class Google_Auth_AssertionCredentials
91
  $now = time();
92
 
93
  $jwtParams = array(
94
- 'aud' => Google_Auth_OAuth2::OAUTH2_TOKEN_URI,
95
  'scope' => $this->scopes,
96
  'iat' => $now,
97
  'exp' => $now + self::MAX_TOKEN_LIFETIME_SECS,
@@ -122,14 +122,14 @@ class Google_Auth_AssertionCredentials
122
  $payload = str_replace('\/', '/', $payload);
123
 
124
  $segments = array(
125
- Google_Utils::urlSafeB64Encode(json_encode($header)),
126
- Google_Utils::urlSafeB64Encode($payload)
127
  );
128
 
129
  $signingInput = implode('.', $segments);
130
- $signer = new Google_Signer_P12($this->privateKey, $this->privateKeyPassword);
131
  $signature = $signer->sign($signingInput);
132
- $segments[] = Google_Utils::urlSafeB64Encode($signature);
133
 
134
  return implode(".", $segments);
135
  }
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
  /**
23
  * Credentials object used for OAuth 2.0 Signed JWT assertion grants.
24
  */
25
+ class Forminator_Google_Auth_AssertionCredentials
26
  {
27
  const MAX_TOKEN_LIFETIME_SECS = 3600;
28
 
91
  $now = time();
92
 
93
  $jwtParams = array(
94
+ 'aud' => Forminator_Google_Auth_OAuth2::OAUTH2_TOKEN_URI,
95
  'scope' => $this->scopes,
96
  'iat' => $now,
97
  'exp' => $now + self::MAX_TOKEN_LIFETIME_SECS,
122
  $payload = str_replace('\/', '/', $payload);
123
 
124
  $segments = array(
125
+ Forminator_Google_Utils::urlSafeB64Encode(json_encode($header)),
126
+ Forminator_Google_Utils::urlSafeB64Encode($payload)
127
  );
128
 
129
  $signingInput = implode('.', $segments);
130
+ $signer = new Forminator_Google_Signer_P12($this->privateKey, $this->privateKeyPassword);
131
  $signature = $signer->sign($signingInput);
132
+ $segments[] = Forminator_Google_Utils::urlSafeB64Encode($signature);
133
 
134
  return implode(".", $segments);
135
  }
addons/pro/googlesheet/lib/external/Google/Auth/ComputeEngine.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -25,14 +25,14 @@ if (!class_exists('Google_Client')) {
25
  * and the appropriate scopes.
26
  * @author Jonathan Parrott <jon.wayne.parrott@gmail.com>
27
  */
28
- class Google_Auth_ComputeEngine extends Google_Auth_Abstract
29
  {
30
  const METADATA_AUTH_URL =
31
  'http://metadata/computeMetadata/v1/instance/service-accounts/default/token';
32
  private $client;
33
  private $token;
34
 
35
- public function __construct(Google_Client $client, $config = null)
36
  {
37
  $this->client = $client;
38
  }
@@ -43,11 +43,11 @@ class Google_Auth_ComputeEngine extends Google_Auth_Abstract
43
  * (which can modify the request in what ever way fits the auth mechanism)
44
  * and then calls apiCurlIO::makeRequest on the signed request
45
  *
46
- * @param Google_Http_Request $request
47
- * @return Google_Http_Request The resulting HTTP response including the
48
  * responseHttpCode, responseHeaders and responseBody.
49
  */
50
- public function authenticatedRequest(Google_Http_Request $request)
51
  {
52
  $request = $this->sign($request);
53
  return $this->client->getIo()->makeRequest($request);
@@ -55,16 +55,16 @@ class Google_Auth_ComputeEngine extends Google_Auth_Abstract
55
 
56
  /**
57
  * @param string $token
58
- * @throws Google_Auth_Exception
59
  */
60
  public function setAccessToken($token)
61
  {
62
  $token = json_decode($token, true);
63
  if ($token == null) {
64
- throw new Google_Auth_Exception('Could not json decode the token');
65
  }
66
  if (! isset($token['access_token'])) {
67
- throw new Google_Auth_Exception("Invalid token format");
68
  }
69
  $token['created'] = time();
70
  $this->token = $token;
@@ -77,11 +77,11 @@ class Google_Auth_ComputeEngine extends Google_Auth_Abstract
77
 
78
  /**
79
  * Acquires a new access token from the compute engine metadata server.
80
- * @throws Google_Auth_Exception
81
  */
82
  public function acquireAccessToken()
83
  {
84
- $request = new Google_Http_Request(
85
  self::METADATA_AUTH_URL,
86
  'GET',
87
  array(
@@ -96,7 +96,7 @@ class Google_Auth_ComputeEngine extends Google_Auth_Abstract
96
  $this->token['created'] = time();
97
  return $this->getAccessToken();
98
  } else {
99
- throw new Google_Auth_Exception(
100
  sprintf(
101
  "Error fetching service account access token, message: '%s'",
102
  $response->getResponseBody()
@@ -108,11 +108,11 @@ class Google_Auth_ComputeEngine extends Google_Auth_Abstract
108
 
109
  /**
110
  * Include an accessToken in a given apiHttpRequest.
111
- * @param Google_Http_Request $request
112
- * @return Google_Http_Request
113
- * @throws Google_Auth_Exception
114
  */
115
- public function sign(Google_Http_Request $request)
116
  {
117
  if ($this->isAccessTokenExpired()) {
118
  $this->acquireAccessToken();
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
25
  * and the appropriate scopes.
26
  * @author Jonathan Parrott <jon.wayne.parrott@gmail.com>
27
  */
28
+ class Forminator_Google_Auth_ComputeEngine extends Forminator_Google_Auth_Abstract
29
  {
30
  const METADATA_AUTH_URL =
31
  'http://metadata/computeMetadata/v1/instance/service-accounts/default/token';
32
  private $client;
33
  private $token;
34
 
35
+ public function __construct(Forminator_Google_Client $client, $config = null)
36
  {
37
  $this->client = $client;
38
  }
43
  * (which can modify the request in what ever way fits the auth mechanism)
44
  * and then calls apiCurlIO::makeRequest on the signed request
45
  *
46
+ * @param Forminator_Google_Http_Request $request
47
+ * @return Forminator_Google_Http_Request The resulting HTTP response including the
48
  * responseHttpCode, responseHeaders and responseBody.
49
  */
50
+ public function authenticatedRequest(Forminator_Google_Http_Request $request)
51
  {
52
  $request = $this->sign($request);
53
  return $this->client->getIo()->makeRequest($request);
55
 
56
  /**
57
  * @param string $token
58
+ * @throws Forminator_Google_Auth_Exception
59
  */
60
  public function setAccessToken($token)
61
  {
62
  $token = json_decode($token, true);
63
  if ($token == null) {
64
+ throw new Forminator_Google_Auth_Exception('Could not json decode the token');
65
  }
66
  if (! isset($token['access_token'])) {
67
+ throw new Forminator_Google_Auth_Exception("Invalid token format");
68
  }
69
  $token['created'] = time();
70
  $this->token = $token;
77
 
78
  /**
79
  * Acquires a new access token from the compute engine metadata server.
80
+ * @throws Forminator_Google_Auth_Exception
81
  */
82
  public function acquireAccessToken()
83
  {
84
+ $request = new Forminator_Google_Http_Request(
85
  self::METADATA_AUTH_URL,
86
  'GET',
87
  array(
96
  $this->token['created'] = time();
97
  return $this->getAccessToken();
98
  } else {
99
+ throw new Forminator_Google_Auth_Exception(
100
  sprintf(
101
  "Error fetching service account access token, message: '%s'",
102
  $response->getResponseBody()
108
 
109
  /**
110
  * Include an accessToken in a given apiHttpRequest.
111
+ * @param Forminator_Google_Http_Request $request
112
+ * @return Forminator_Google_Http_Request
113
+ * @throws Forminator_Google_Auth_Exception
114
  */
115
+ public function sign(Forminator_Google_Http_Request $request)
116
  {
117
  if ($this->isAccessTokenExpired()) {
118
  $this->acquireAccessToken();
addons/pro/googlesheet/lib/external/Google/Auth/Exception.php CHANGED
@@ -15,10 +15,10 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
- class Google_Auth_Exception extends Google_Exception
23
  {
24
  }
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
+ class Forminator_Google_Auth_Exception extends Forminator_Google_Exception
23
  {
24
  }
addons/pro/googlesheet/lib/external/Google/Auth/LoginTicket.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -24,7 +24,7 @@ if (!class_exists('Google_Client')) {
24
  *
25
  * @author Brian Eaton <beaton@google.com>
26
  */
27
- class Google_Auth_LoginTicket
28
  {
29
  const USER_ATTR = "sub";
30
 
@@ -48,7 +48,7 @@ class Google_Auth_LoginTicket
48
 
49
  /**
50
  * Returns the numeric identifier for the user.
51
- * @throws Google_Auth_Exception
52
  * @return
53
  */
54
  public function getUserId()
@@ -56,7 +56,7 @@ class Google_Auth_LoginTicket
56
  if (array_key_exists(self::USER_ATTR, $this->payload)) {
57
  return $this->payload[self::USER_ATTR];
58
  }
59
- throw new Google_Auth_Exception("No user_id in token");
60
  }
61
 
62
  /**
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
24
  *
25
  * @author Brian Eaton <beaton@google.com>
26
  */
27
+ class Forminator_Google_Auth_LoginTicket
28
  {
29
  const USER_ATTR = "sub";
30
 
48
 
49
  /**
50
  * Returns the numeric identifier for the user.
51
+ * @throws Forminator_Google_Auth_Exception
52
  * @return
53
  */
54
  public function getUserId()
56
  if (array_key_exists(self::USER_ATTR, $this->payload)) {
57
  return $this->payload[self::USER_ATTR];
58
  }
59
+ throw new Forminator_Google_Auth_Exception("No user_id in token");
60
  }
61
 
62
  /**
addons/pro/googlesheet/lib/external/Google/Auth/OAuth2.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -23,7 +23,7 @@ if (!class_exists('Google_Client')) {
23
  * Authentication class that deals with the OAuth 2 web-server authentication flow
24
  *
25
  */
26
- class Google_Auth_OAuth2 extends Google_Auth_Abstract
27
  {
28
  const OAUTH2_REVOKE_URI = 'https://accounts.google.com/o/oauth2/revoke';
29
  const OAUTH2_TOKEN_URI = 'https://accounts.google.com/o/oauth2/token';
@@ -34,7 +34,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
34
  const OAUTH2_ISSUER = 'accounts.google.com';
35
  const OAUTH2_ISSUER_HTTPS = 'https://accounts.google.com';
36
 
37
- /** @var Google_Auth_AssertionCredentials $assertionCredentials */
38
  private $assertionCredentials;
39
 
40
  /**
@@ -48,7 +48,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
48
  private $token = array();
49
 
50
  /**
51
- * @var Google_Client the base client
52
  */
53
  private $client;
54
 
@@ -56,7 +56,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
56
  * Instantiates the class, but does not initiate the login flow, leaving it
57
  * to the discretion of the caller.
58
  */
59
- public function __construct(Google_Client $client)
60
  {
61
  $this->client = $client;
62
  }
@@ -67,11 +67,11 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
67
  * (which can modify the request in what ever way fits the auth mechanism)
68
  * and then calls apiCurlIO::makeRequest on the signed request
69
  *
70
- * @param Google_Http_Request $request
71
- * @return Google_Http_Request The resulting HTTP response including the
72
  * responseHttpCode, responseHeaders and responseBody.
73
  */
74
- public function authenticatedRequest(Google_Http_Request $request)
75
  {
76
  $request = $this->sign($request);
77
  return $this->client->getIo()->makeRequest($request);
@@ -80,13 +80,13 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
80
  /**
81
  * @param string $code
82
  * @param boolean $crossClient
83
- * @throws Google_Auth_Exception
84
  * @return string
85
  */
86
  public function authenticate($code, $crossClient = false)
87
  {
88
  if (strlen($code) == 0) {
89
- throw new Google_Auth_Exception("Invalid code");
90
  }
91
 
92
  $arguments = array(
@@ -102,7 +102,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
102
 
103
  // We got here from the redirect from a successful authorization grant,
104
  // fetch the access token
105
- $request = new Google_Http_Request(
106
  self::OAUTH2_TOKEN_URI,
107
  'POST',
108
  array(),
@@ -123,7 +123,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
123
  $errorText .= ": " . $decodedResponse['error_description'];
124
  }
125
  }
126
- throw new Google_Auth_Exception(
127
  sprintf(
128
  "Error fetching OAuth2 access token, message: '%s'",
129
  $errorText
@@ -177,16 +177,16 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
177
 
178
  /**
179
  * @param string $token
180
- * @throws Google_Auth_Exception
181
  */
182
  public function setAccessToken($token)
183
  {
184
  $token = json_decode($token, true);
185
  if ($token == null) {
186
- throw new Google_Auth_Exception('Could not json decode the token');
187
  }
188
  if (! isset($token['access_token'])) {
189
- throw new Google_Auth_Exception("Invalid token format");
190
  }
191
  $this->token = $token;
192
  }
@@ -210,18 +210,18 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
210
  $this->state = $state;
211
  }
212
 
213
- public function setAssertionCredentials(Google_Auth_AssertionCredentials $creds)
214
  {
215
  $this->assertionCredentials = $creds;
216
  }
217
 
218
  /**
219
  * Include an accessToken in a given apiHttpRequest.
220
- * @param Google_Http_Request $request
221
- * @return Google_Http_Request
222
- * @throws Google_Auth_Exception
223
  */
224
- public function sign(Google_Http_Request $request)
225
  {
226
  // add the developer key to the request before signing it
227
  if ($this->client->getClassConfig($this, 'developer_key')) {
@@ -246,7 +246,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
246
  ." are not returned for responses that were auto-approved.";
247
 
248
  $this->client->getLogger()->error($error);
249
- throw new Google_Auth_Exception($error);
250
  }
251
  $this->refreshToken($this->token['refresh_token']);
252
  }
@@ -281,7 +281,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
281
 
282
  /**
283
  * Fetches a fresh access token with a given assertion token.
284
- * @param Google_Auth_AssertionCredentials $assertionCredentials optional.
285
  * @return void
286
  */
287
  public function refreshTokenWithAssertion($assertionCredentials = null)
@@ -333,7 +333,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
333
  $this->client->getLogger()->info('OAuth2 access token refresh');
334
  }
335
 
336
- $http = new Google_Http_Request(
337
  self::OAUTH2_TOKEN_URI,
338
  'POST',
339
  array(),
@@ -347,11 +347,11 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
347
  if (200 == $code) {
348
  $token = json_decode($body, true);
349
  if ($token == null) {
350
- throw new Google_Auth_Exception("Could not json decode the access token");
351
  }
352
 
353
  if (! isset($token['access_token']) || ! isset($token['expires_in'])) {
354
- throw new Google_Auth_Exception("Invalid token format");
355
  }
356
 
357
  if (isset($token['id_token'])) {
@@ -361,14 +361,14 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
361
  $this->token['expires_in'] = $token['expires_in'];
362
  $this->token['created'] = time();
363
  } else {
364
- throw new Google_Auth_Exception("Error refreshing the OAuth2 token, message: '$body'", $code);
365
  }
366
  }
367
 
368
  /**
369
  * Revoke an OAuth2 access token or refresh token. This method will revoke the current access
370
  * token, if a token isn't provided.
371
- * @throws Google_Auth_Exception
372
  * @param string|null $token The token (access token or a refresh token) that should be revoked.
373
  * @return boolean Returns True if the revocation was successful, otherwise False.
374
  */
@@ -384,7 +384,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
384
  $token = $this->token['access_token'];
385
  }
386
  }
387
- $request = new Google_Http_Request(
388
  self::OAUTH2_REVOKE_URI,
389
  'POST',
390
  array(),
@@ -432,7 +432,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
432
  * Retrieve and cache a certificates file.
433
  *
434
  * @param $url string location
435
- * @throws Google_Auth_Exception
436
  * @return array certificates
437
  */
438
  public function retrieveCertsFromLocation($url)
@@ -443,7 +443,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
443
  if ($file) {
444
  return json_decode($file, true);
445
  } else {
446
- throw new Google_Auth_Exception(
447
  "Failed to retrieve verification certificates: '" .
448
  $url . "'."
449
  );
@@ -452,7 +452,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
452
 
453
  // This relies on makeRequest caching certificate responses.
454
  $request = $this->client->getIo()->makeRequest(
455
- new Google_Http_Request(
456
  $url
457
  )
458
  );
@@ -462,7 +462,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
462
  return $certs;
463
  }
464
  }
465
- throw new Google_Auth_Exception(
466
  "Failed to retrieve verification certificates: '" .
467
  $request->getResponseBody() . "'.",
468
  $request->getResponseHttpCode()
@@ -477,7 +477,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
477
  *
478
  * @param $id_token
479
  * @param $audience
480
- * @return Google_Auth_LoginTicket
481
  */
482
  public function verifyIdToken($id_token = null, $audience = null)
483
  {
@@ -505,7 +505,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
505
  * @param $required_audience string the expected consumer of the token
506
  * @param [$issuer] the expected issues, defaults to Google
507
  * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
508
- * @throws Google_Auth_Exception
509
  * @return mixed token information if valid, false if not
510
  */
511
  public function verifySignedJwtWithCerts(
@@ -522,28 +522,28 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
522
 
523
  $segments = explode(".", $jwt);
524
  if (count($segments) != 3) {
525
- throw new Google_Auth_Exception("Wrong number of segments in token: $jwt");
526
  }
527
  $signed = $segments[0] . "." . $segments[1];
528
- $signature = Google_Utils::urlSafeB64Decode($segments[2]);
529
 
530
  // Parse envelope.
531
- $envelope = json_decode(Google_Utils::urlSafeB64Decode($segments[0]), true);
532
  if (!$envelope) {
533
- throw new Google_Auth_Exception("Can't parse token envelope: " . $segments[0]);
534
  }
535
 
536
  // Parse token
537
- $json_body = Google_Utils::urlSafeB64Decode($segments[1]);
538
  $payload = json_decode($json_body, true);
539
  if (!$payload) {
540
- throw new Google_Auth_Exception("Can't parse token payload: " . $segments[1]);
541
  }
542
 
543
  // Check signature
544
  $verified = false;
545
  foreach ($certs as $keyName => $pem) {
546
- $public_key = new Google_Verifier_Pem($pem);
547
  if ($public_key->verify($signed, $signature)) {
548
  $verified = true;
549
  break;
@@ -551,7 +551,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
551
  }
552
 
553
  if (!$verified) {
554
- throw new Google_Auth_Exception("Invalid token signature: $jwt");
555
  }
556
 
557
  // Check issued-at timestamp
@@ -560,7 +560,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
560
  $iat = $payload["iat"];
561
  }
562
  if (!$iat) {
563
- throw new Google_Auth_Exception("No issue time in token: $json_body");
564
  }
565
  $earliest = $iat - self::CLOCK_SKEW_SECS;
566
 
@@ -571,17 +571,17 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
571
  $exp = $payload["exp"];
572
  }
573
  if (!$exp) {
574
- throw new Google_Auth_Exception("No expiration time in token: $json_body");
575
  }
576
  if ($exp >= $now + $max_expiry) {
577
- throw new Google_Auth_Exception(
578
  sprintf("Expiration time too far in future: %s", $json_body)
579
  );
580
  }
581
 
582
  $latest = $exp + self::CLOCK_SKEW_SECS;
583
  if ($now < $earliest) {
584
- throw new Google_Auth_Exception(
585
  sprintf(
586
  "Token used too early, %s < %s: %s",
587
  $now,
@@ -591,7 +591,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
591
  );
592
  }
593
  if ($now > $latest) {
594
- throw new Google_Auth_Exception(
595
  sprintf(
596
  "Token used too late, %s > %s: %s",
597
  $now,
@@ -605,7 +605,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
605
  // @see https://developers.google.com/identity/sign-in/web/backend-auth
606
  $iss = $payload['iss'];
607
  if ($issuer && !in_array($iss, (array) $issuer)) {
608
- throw new Google_Auth_Exception(
609
  sprintf(
610
  "Invalid issuer, %s not in %s: %s",
611
  $iss,
@@ -618,7 +618,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
618
  // Check audience
619
  $aud = $payload["aud"];
620
  if ($aud != $required_audience) {
621
- throw new Google_Auth_Exception(
622
  sprintf(
623
  "Wrong recipient, %s != %s:",
624
  $aud,
@@ -629,7 +629,7 @@ class Google_Auth_OAuth2 extends Google_Auth_Abstract
629
  }
630
 
631
  // All good.
632
- return new Google_Auth_LoginTicket($envelope, $payload);
633
  }
634
 
635
  /**
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
23
  * Authentication class that deals with the OAuth 2 web-server authentication flow
24
  *
25
  */
26
+ class Forminator_Google_Auth_OAuth2 extends Forminator_Google_Auth_Abstract
27
  {
28
  const OAUTH2_REVOKE_URI = 'https://accounts.google.com/o/oauth2/revoke';
29
  const OAUTH2_TOKEN_URI = 'https://accounts.google.com/o/oauth2/token';
34
  const OAUTH2_ISSUER = 'accounts.google.com';
35
  const OAUTH2_ISSUER_HTTPS = 'https://accounts.google.com';
36
 
37
+ /** @var Forminator_Google_Auth_AssertionCredentials $assertionCredentials */
38
  private $assertionCredentials;
39
 
40
  /**
48
  private $token = array();
49
 
50
  /**
51
+ * @var Forminator_Google_Client the base client
52
  */
53
  private $client;
54
 
56
  * Instantiates the class, but does not initiate the login flow, leaving it
57
  * to the discretion of the caller.
58
  */
59
+ public function __construct(Forminator_Google_Client $client)
60
  {
61
  $this->client = $client;
62
  }
67
  * (which can modify the request in what ever way fits the auth mechanism)
68
  * and then calls apiCurlIO::makeRequest on the signed request
69
  *
70
+ * @param Forminator_Google_Http_Request $request
71
+ * @return Forminator_Google_Http_Request The resulting HTTP response including the
72
  * responseHttpCode, responseHeaders and responseBody.
73
  */
74
+ public function authenticatedRequest(Forminator_Google_Http_Request $request)
75
  {
76
  $request = $this->sign($request);
77
  return $this->client->getIo()->makeRequest($request);
80
  /**
81
  * @param string $code
82
  * @param boolean $crossClient
83
+ * @throws Forminator_Google_Auth_Exception
84
  * @return string
85
  */
86
  public function authenticate($code, $crossClient = false)
87
  {
88
  if (strlen($code) == 0) {
89
+ throw new Forminator_Google_Auth_Exception("Invalid code");
90
  }
91
 
92
  $arguments = array(
102
 
103
  // We got here from the redirect from a successful authorization grant,
104
  // fetch the access token
105
+ $request = new Forminator_Google_Http_Request(
106
  self::OAUTH2_TOKEN_URI,
107
  'POST',
108
  array(),
123
  $errorText .= ": " . $decodedResponse['error_description'];
124
  }
125
  }
126
+ throw new Forminator_Google_Auth_Exception(
127
  sprintf(
128
  "Error fetching OAuth2 access token, message: '%s'",
129
  $errorText
177
 
178
  /**
179
  * @param string $token
180
+ * @throws Forminator_Google_Auth_Exception
181
  */
182
  public function setAccessToken($token)
183
  {
184
  $token = json_decode($token, true);
185
  if ($token == null) {
186
+ throw new Forminator_Google_Auth_Exception('Could not json decode the token');
187
  }
188
  if (! isset($token['access_token'])) {
189
+ throw new Forminator_Google_Auth_Exception("Invalid token format");
190
  }
191
  $this->token = $token;
192
  }
210
  $this->state = $state;
211
  }
212
 
213
+ public function setAssertionCredentials(Forminator_Google_Auth_AssertionCredentials $creds)
214
  {
215
  $this->assertionCredentials = $creds;
216
  }
217
 
218
  /**
219
  * Include an accessToken in a given apiHttpRequest.
220
+ * @param Forminator_Google_Http_Request $request
221
+ * @return Forminator_Google_Http_Request
222
+ * @throws Forminator_Google_Auth_Exception
223
  */
224
+ public function sign(Forminator_Google_Http_Request $request)
225
  {
226
  // add the developer key to the request before signing it
227
  if ($this->client->getClassConfig($this, 'developer_key')) {
246
  ." are not returned for responses that were auto-approved.";
247
 
248
  $this->client->getLogger()->error($error);
249
+ throw new Forminator_Google_Auth_Exception($error);
250
  }
251
  $this->refreshToken($this->token['refresh_token']);
252
  }
281
 
282
  /**
283
  * Fetches a fresh access token with a given assertion token.
284
+ * @param Forminator_Google_Auth_AssertionCredentials $assertionCredentials optional.
285
  * @return void
286
  */
287
  public function refreshTokenWithAssertion($assertionCredentials = null)
333
  $this->client->getLogger()->info('OAuth2 access token refresh');
334
  }
335
 
336
+ $http = new Forminator_Google_Http_Request(
337
  self::OAUTH2_TOKEN_URI,
338
  'POST',
339
  array(),
347
  if (200 == $code) {
348
  $token = json_decode($body, true);
349
  if ($token == null) {
350
+ throw new Forminator_Google_Auth_Exception("Could not json decode the access token");
351
  }
352
 
353
  if (! isset($token['access_token']) || ! isset($token['expires_in'])) {
354
+ throw new Forminator_Google_Auth_Exception("Invalid token format");
355
  }
356
 
357
  if (isset($token['id_token'])) {
361
  $this->token['expires_in'] = $token['expires_in'];
362
  $this->token['created'] = time();
363
  } else {
364
+ throw new Forminator_Google_Auth_Exception("Error refreshing the OAuth2 token, message: '$body'", $code);
365
  }
366
  }
367
 
368
  /**
369
  * Revoke an OAuth2 access token or refresh token. This method will revoke the current access
370
  * token, if a token isn't provided.
371
+ * @throws Forminator_Google_Auth_Exception
372
  * @param string|null $token The token (access token or a refresh token) that should be revoked.
373
  * @return boolean Returns True if the revocation was successful, otherwise False.
374
  */
384
  $token = $this->token['access_token'];
385
  }
386
  }
387
+ $request = new Forminator_Google_Http_Request(
388
  self::OAUTH2_REVOKE_URI,
389
  'POST',
390
  array(),
432
  * Retrieve and cache a certificates file.
433
  *
434
  * @param $url string location
435
+ * @throws Forminator_Google_Auth_Exception
436
  * @return array certificates
437
  */
438
  public function retrieveCertsFromLocation($url)
443
  if ($file) {
444
  return json_decode($file, true);
445
  } else {
446
+ throw new Forminator_Google_Auth_Exception(
447
  "Failed to retrieve verification certificates: '" .
448
  $url . "'."
449
  );
452
 
453
  // This relies on makeRequest caching certificate responses.
454
  $request = $this->client->getIo()->makeRequest(
455
+ new Forminator_Google_Http_Request(
456
  $url
457
  )
458
  );
462
  return $certs;
463
  }
464
  }
465
+ throw new Forminator_Google_Auth_Exception(
466
  "Failed to retrieve verification certificates: '" .
467
  $request->getResponseBody() . "'.",
468
  $request->getResponseHttpCode()
477
  *
478
  * @param $id_token
479
  * @param $audience
480
+ * @return Forminator_Google_Auth_LoginTicket
481
  */
482
  public function verifyIdToken($id_token = null, $audience = null)
483
  {
505
  * @param $required_audience string the expected consumer of the token
506
  * @param [$issuer] the expected issues, defaults to Google
507
  * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
508
+ * @throws Forminator_Google_Auth_Exception
509
  * @return mixed token information if valid, false if not
510
  */
511
  public function verifySignedJwtWithCerts(
522
 
523
  $segments = explode(".", $jwt);
524
  if (count($segments) != 3) {
525
+ throw new Forminator_Google_Auth_Exception("Wrong number of segments in token: $jwt");
526
  }
527
  $signed = $segments[0] . "." . $segments[1];
528
+ $signature = Forminator_Google_Utils::urlSafeB64Decode($segments[2]);
529
 
530
  // Parse envelope.
531
+ $envelope = json_decode(Forminator_Google_Utils::urlSafeB64Decode($segments[0]), true);
532
  if (!$envelope) {
533
+ throw new Forminator_Google_Auth_Exception("Can't parse token envelope: " . $segments[0]);
534
  }
535
 
536
  // Parse token
537
+ $json_body = Forminator_Google_Utils::urlSafeB64Decode($segments[1]);
538
  $payload = json_decode($json_body, true);
539
  if (!$payload) {
540
+ throw new Forminator_Google_Auth_Exception("Can't parse token payload: " . $segments[1]);
541
  }
542
 
543
  // Check signature
544
  $verified = false;
545
  foreach ($certs as $keyName => $pem) {
546
+ $public_key = new Forminator_Google_Verifier_Pem($pem);
547
  if ($public_key->verify($signed, $signature)) {
548
  $verified = true;
549
  break;
551
  }
552
 
553
  if (!$verified) {
554
+ throw new Forminator_Google_Auth_Exception("Invalid token signature: $jwt");
555
  }
556
 
557
  // Check issued-at timestamp
560
  $iat = $payload["iat"];
561
  }
562
  if (!$iat) {
563
+ throw new Forminator_Google_Auth_Exception("No issue time in token: $json_body");
564
  }
565
  $earliest = $iat - self::CLOCK_SKEW_SECS;
566
 
571
  $exp = $payload["exp"];
572
  }
573
  if (!$exp) {
574
+ throw new Forminator_Google_Auth_Exception("No expiration time in token: $json_body");
575
  }
576
  if ($exp >= $now + $max_expiry) {
577
+ throw new Forminator_Google_Auth_Exception(
578
  sprintf("Expiration time too far in future: %s", $json_body)
579
  );
580
  }
581
 
582
  $latest = $exp + self::CLOCK_SKEW_SECS;
583
  if ($now < $earliest) {
584
+ throw new Forminator_Google_Auth_Exception(
585
  sprintf(
586
  "Token used too early, %s < %s: %s",
587
  $now,
591
  );
592
  }
593
  if ($now > $latest) {
594
+ throw new Forminator_Google_Auth_Exception(
595
  sprintf(
596
  "Token used too late, %s > %s: %s",
597
  $now,
605
  // @see https://developers.google.com/identity/sign-in/web/backend-auth
606
  $iss = $payload['iss'];
607
  if ($issuer && !in_array($iss, (array) $issuer)) {
608
+ throw new Forminator_Google_Auth_Exception(
609
  sprintf(
610
  "Invalid issuer, %s not in %s: %s",
611
  $iss,
618
  // Check audience
619
  $aud = $payload["aud"];
620
  if ($aud != $required_audience) {
621
+ throw new Forminator_Google_Auth_Exception(
622
  sprintf(
623
  "Wrong recipient, %s != %s:",
624
  $aud,
629
  }
630
 
631
  // All good.
632
+ return new Forminator_Google_Auth_LoginTicket($envelope, $payload);
633
  }
634
 
635
  /**
addons/pro/googlesheet/lib/external/Google/Auth/Simple.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -24,11 +24,11 @@ if (!class_exists('Google_Client')) {
24
  * completely unauthenticated, or by using a Simple API Access developer
25
  * key.
26
  */
27
- class Google_Auth_Simple extends Google_Auth_Abstract
28
  {
29
  private $client;
30
 
31
- public function __construct(Google_Client $client, $config = null)
32
  {
33
  $this->client = $client;
34
  }
@@ -39,17 +39,17 @@ class Google_Auth_Simple extends Google_Auth_Abstract
39
  * (which can modify the request in what ever way fits the auth mechanism)
40
  * and then calls apiCurlIO::makeRequest on the signed request
41
  *
42
- * @param Google_Http_Request $request
43
- * @return Google_Http_Request The resulting HTTP response including the
44
  * responseHttpCode, responseHeaders and responseBody.
45
  */
46
- public function authenticatedRequest(Google_Http_Request $request)
47
  {
48
  $request = $this->sign($request);
49
  return $this->io->makeRequest($request);
50
  }
51
 
52
- public function sign(Google_Http_Request $request)
53
  {
54
  $key = $this->client->getClassConfig($this, 'developer_key');
55
  if ($key) {
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
24
  * completely unauthenticated, or by using a Simple API Access developer
25
  * key.
26
  */
27
+ class Forminator_Google_Auth_Simple extends Forminator_Google_Auth_Abstract
28
  {
29
  private $client;
30
 
31
+ public function __construct(Forminator_Google_Client $client, $config = null)
32
  {
33
  $this->client = $client;
34
  }
39
  * (which can modify the request in what ever way fits the auth mechanism)
40
  * and then calls apiCurlIO::makeRequest on the signed request
41
  *
42
+ * @param Forminator_Google_Http_Request $request
43
+ * @return Forminator_Google_Http_Request The resulting HTTP response including the
44
  * responseHttpCode, responseHeaders and responseBody.
45
  */
46
+ public function authenticatedRequest(Forminator_Google_Http_Request $request)
47
  {
48
  $request = $this->sign($request);
49
  return $this->io->makeRequest($request);
50
  }
51
 
52
+ public function sign(Forminator_Google_Http_Request $request)
53
  {
54
  $key = $this->client->getClassConfig($this, 'developer_key');
55
  if ($key) {
addons/pro/googlesheet/lib/external/Google/Cache/Abstract.php CHANGED
@@ -20,10 +20,10 @@
20
  *
21
  * @author Chris Chabot <chabotc@google.com>
22
  */
23
- abstract class Google_Cache_Abstract
24
  {
25
 
26
- abstract public function __construct(Google_Client $client);
27
 
28
  /**
29
  * Retrieves the data for the given key, or false if they
20
  *
21
  * @author Chris Chabot <chabotc@google.com>
22
  */
23
+ abstract class Forminator_Google_Cache_Abstract
24
  {
25
 
26
+ abstract public function __construct(Forminator_Google_Client $client);
27
 
28
  /**
29
  * Retrieves the data for the given key, or false if they
addons/pro/googlesheet/lib/external/Google/Cache/Apc.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -27,20 +27,20 @@ if (!class_exists('Google_Client')) {
27
  *
28
  * @author Chris Chabot <chabotc@google.com>
29
  */
30
- class Google_Cache_Apc extends Google_Cache_Abstract
31
  {
32
  /**
33
- * @var Google_Client the current client
34
  */
35
  private $client;
36
 
37
- public function __construct(Google_Client $client)
38
  {
39
  if (! function_exists('apc_add') ) {
40
  $error = "Apc functions not available";
41
 
42
  $client->getLogger()->error($error);
43
- throw new Google_Cache_Exception($error);
44
  }
45
 
46
  $this->client = $client;
@@ -89,7 +89,7 @@ class Google_Cache_Apc extends Google_Cache_Abstract
89
  'APC cache set failed',
90
  array('key' => $key, 'var' => $var)
91
  );
92
- throw new Google_Cache_Exception("Couldn't store data");
93
  }
94
 
95
  $this->client->getLogger()->debug(
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
27
  *
28
  * @author Chris Chabot <chabotc@google.com>
29
  */
30
+ class Forminator_Google_Cache_Apc extends Forminator_Google_Cache_Abstract
31
  {
32
  /**
33
+ * @var Forminator_Google_Client the current client
34
  */
35
  private $client;
36
 
37
+ public function __construct(Forminator_Google_Client $client)
38
  {
39
  if (! function_exists('apc_add') ) {
40
  $error = "Apc functions not available";
41
 
42
  $client->getLogger()->error($error);
43
+ throw new Forminator_Google_Cache_Exception($error);
44
  }
45
 
46
  $this->client = $client;
89
  'APC cache set failed',
90
  array('key' => $key, 'var' => $var)
91
  );
92
+ throw new Forminator_Google_Cache_Exception("Couldn't store data");
93
  }
94
 
95
  $this->client->getLogger()->debug(
addons/pro/googlesheet/lib/external/Google/Cache/Exception.php CHANGED
@@ -15,10 +15,10 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
- class Google_Cache_Exception extends Google_Exception
23
  {
24
  }
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
+ class Forminator_Google_Cache_Exception extends Forminator_Google_Exception
23
  {
24
  }
addons/pro/googlesheet/lib/external/Google/Cache/File.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -27,18 +27,18 @@ if (!class_exists('Google_Client')) {
27
  *
28
  * @author Chris Chabot <chabotc@google.com>
29
  */
30
- class Google_Cache_File extends Google_Cache_Abstract
31
  {
32
  const MAX_LOCK_RETRIES = 10;
33
  private $path;
34
  private $fh;
35
 
36
  /**
37
- * @var Google_Client the current client
38
  */
39
  private $client;
40
 
41
- public function __construct(Google_Client $client)
42
  {
43
  $this->client = $client;
44
  $this->path = $this->client->getClassConfig($this, 'directory');
@@ -120,7 +120,7 @@ class Google_Cache_File extends Google_Cache_Abstract
120
  'File cache delete failed',
121
  array('key' => $key, 'file' => $file)
122
  );
123
- throw new Google_Cache_Exception("Cache file could not be deleted");
124
  }
125
 
126
  $this->client->getLogger()->debug(
@@ -151,7 +151,7 @@ class Google_Cache_File extends Google_Cache_Abstract
151
  'File cache creation failed',
152
  array('dir' => $storageDir)
153
  );
154
- throw new Google_Cache_Exception("Could not create storage directory: $storageDir");
155
  }
156
  }
157
  return $storageDir;
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
27
  *
28
  * @author Chris Chabot <chabotc@google.com>
29
  */
30
+ class Forminator_Google_Cache_File extends Forminator_Google_Cache_Abstract
31
  {
32
  const MAX_LOCK_RETRIES = 10;
33
  private $path;
34
  private $fh;
35
 
36
  /**
37
+ * @var Forminator_Google_Client the current client
38
  */
39
  private $client;
40
 
41
+ public function __construct(Forminator_Google_Client $client)
42
  {
43
  $this->client = $client;
44
  $this->path = $this->client->getClassConfig($this, 'directory');
120
  'File cache delete failed',
121
  array('key' => $key, 'file' => $file)
122
  );
123
+ throw new Forminator_Google_Cache_Exception("Cache file could not be deleted");
124
  }
125
 
126
  $this->client->getLogger()->debug(
151
  'File cache creation failed',
152
  array('dir' => $storageDir)
153
  );
154
+ throw new Forminator_Google_Cache_Exception("Could not create storage directory: $storageDir");
155
  }
156
  }
157
  return $storageDir;
addons/pro/googlesheet/lib/external/Google/Cache/Memcache.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -29,7 +29,7 @@ if (!class_exists('Google_Client')) {
29
  *
30
  * @author Chris Chabot <chabotc@google.com>
31
  */
32
- class Google_Cache_Memcache extends Google_Cache_Abstract
33
  {
34
  private $connection = false;
35
  private $mc = false;
@@ -37,17 +37,17 @@ class Google_Cache_Memcache extends Google_Cache_Abstract
37
  private $port;
38
 
39
  /**
40
- * @var Google_Client the current client
41
  */
42
  private $client;
43
 
44
- public function __construct(Google_Client $client)
45
  {
46
  if (!function_exists('memcache_connect') && !class_exists("Memcached")) {
47
  $error = "Memcache functions not available";
48
 
49
  $client->getLogger()->error($error);
50
- throw new Google_Cache_Exception($error);
51
  }
52
 
53
  $this->client = $client;
@@ -63,7 +63,7 @@ class Google_Cache_Memcache extends Google_Cache_Abstract
63
  $error = "You need to supply a valid memcache host and port";
64
 
65
  $client->getLogger()->error($error);
66
- throw new Google_Cache_Exception($error);
67
  }
68
  }
69
  }
@@ -108,7 +108,7 @@ class Google_Cache_Memcache extends Google_Cache_Abstract
108
  * @inheritDoc
109
  * @param string $key
110
  * @param string $value
111
- * @throws Google_Cache_Exception
112
  */
113
  public function set($key, $value)
114
  {
@@ -128,7 +128,7 @@ class Google_Cache_Memcache extends Google_Cache_Abstract
128
  array('key' => $key, 'var' => $data)
129
  );
130
 
131
- throw new Google_Cache_Exception("Couldn't store data in cache");
132
  }
133
 
134
  $this->client->getLogger()->debug(
@@ -178,7 +178,7 @@ class Google_Cache_Memcache extends Google_Cache_Abstract
178
  $error = "Couldn't connect to memcache server";
179
 
180
  $this->client->getLogger()->error($error);
181
- throw new Google_Cache_Exception($error);
182
  }
183
  }
184
  }
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
29
  *
30
  * @author Chris Chabot <chabotc@google.com>
31
  */
32
+ class Forminator_Google_Cache_Memcache extends Forminator_Google_Cache_Abstract
33
  {
34
  private $connection = false;
35
  private $mc = false;
37
  private $port;
38
 
39
  /**
40
+ * @var Forminator_Google_Client the current client
41
  */
42
  private $client;
43
 
44
+ public function __construct(Forminator_Google_Client $client)
45
  {
46
  if (!function_exists('memcache_connect') && !class_exists("Memcached")) {
47
  $error = "Memcache functions not available";
48
 
49
  $client->getLogger()->error($error);
50
+ throw new Forminator_Google_Cache_Exception($error);
51
  }
52
 
53
  $this->client = $client;
63
  $error = "You need to supply a valid memcache host and port";
64
 
65
  $client->getLogger()->error($error);
66
+ throw new Forminator_Google_Cache_Exception($error);
67
  }
68
  }
69
  }
108
  * @inheritDoc
109
  * @param string $key
110
  * @param string $value
111
+ * @throws Forminator_Google_Cache_Exception
112
  */
113
  public function set($key, $value)
114
  {
128
  array('key' => $key, 'var' => $data)
129
  );
130
 
131
+ throw new Forminator_Google_Cache_Exception("Couldn't store data in cache");
132
  }
133
 
134
  $this->client->getLogger()->debug(
178
  $error = "Couldn't connect to memcache server";
179
 
180
  $this->client->getLogger()->error($error);
181
+ throw new Forminator_Google_Cache_Exception($error);
182
  }
183
  }
184
  }
addons/pro/googlesheet/lib/external/Google/Cache/Null.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -23,9 +23,9 @@ if (!class_exists('Google_Client')) {
23
  * A blank storage class, for cases where caching is not
24
  * required.
25
  */
26
- class Google_Cache_Null extends Google_Cache_Abstract
27
  {
28
- public function __construct(Google_Client $client)
29
  {
30
 
31
  }
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
23
  * A blank storage class, for cases where caching is not
24
  * required.
25
  */
26
+ class Forminator_Google_Cache_Null extends Forminator_Google_Cache_Abstract
27
  {
28
+ public function __construct(Forminator_Google_Client $client)
29
  {
30
 
31
  }
addons/pro/googlesheet/lib/external/Google/Client.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/autoload.php';
20
  }
21
 
@@ -23,32 +23,32 @@ if (!class_exists('Google_Client')) {
23
  * The Google API Client
24
  * https://github.com/google/google-api-php-client
25
  */
26
- class Google_Client
27
  {
28
  const LIBVER = "1.1.5";
29
  const USER_AGENT_SUFFIX = "google-api-php-client/";
30
  /**
31
- * @var Google_Auth_Abstract $auth
32
  */
33
  private $auth;
34
 
35
  /**
36
- * @var Google_IO_Abstract $io
37
  */
38
  private $io;
39
 
40
  /**
41
- * @var Google_Cache_Abstract $cache
42
  */
43
  private $cache;
44
 
45
  /**
46
- * @var Google_Config $config
47
  */
48
  private $config;
49
 
50
  /**
51
- * @var Google_Logger_Abstract $logger
52
  */
53
  private $logger;
54
 
@@ -70,32 +70,32 @@ class Google_Client
70
  /**
71
  * Construct the Google Client.
72
  *
73
- * @param $config Google_Config or string for the ini file to load
74
  */
75
  public function __construct($config = null)
76
  {
77
  if (is_string($config) && strlen($config)) {
78
- $config = new Google_Config($config);
79
- } else if ( !($config instanceof Google_Config)) {
80
- $config = new Google_Config();
81
 
82
  if ($this->isAppEngine()) {
83
  // Automatically use Memcache if we're in AppEngine.
84
- $config->setCacheClass('Google_Cache_Memcache');
85
  }
86
 
87
  if (version_compare(phpversion(), "5.3.4", "<=") || $this->isAppEngine()) {
88
  // Automatically disable compress.zlib, as currently unsupported.
89
- $config->setClassConfig('Google_Http_Request', 'disable_gzip', true);
90
  }
91
  }
92
 
93
- if ($config->getIoClass() == Google_Config::USE_AUTO_IO_SELECTION) {
94
  if (function_exists('curl_version') && function_exists('curl_exec')
95
  && !$this->isAppEngine()) {
96
- $config->setIoClass("Google_IO_Curl");
97
  } else {
98
- $config->setIoClass("Google_IO_Stream");
99
  }
100
  }
101
 
@@ -136,7 +136,7 @@ class Google_Client
136
  *
137
  * @param string $jsonLocation File location of the project-key.json.
138
  * @param array $scopes The scopes to assert.
139
- * @return Google_Auth_AssertionCredentials.
140
  * @
141
  */
142
  public function loadServiceAccountJson($jsonLocation, $scopes)
@@ -144,14 +144,14 @@ class Google_Client
144
  $data = json_decode(file_get_contents($jsonLocation));
145
  if (isset($data->type) && $data->type == 'service_account') {
146
  // Service Account format.
147
- $cred = new Google_Auth_AssertionCredentials(
148
  $data->client_email,
149
  $scopes,
150
  $data->private_key
151
  );
152
  return $cred;
153
  } else {
154
- throw new Google_Exception("Invalid service account JSON file.");
155
  }
156
  }
157
 
@@ -161,14 +161,14 @@ class Google_Client
161
  * the "Download JSON" button on in the Google Developer
162
  * Console.
163
  * @param string $json the configuration json
164
- * @throws Google_Exception
165
  */
166
  public function setAuthConfig($json)
167
  {
168
  $data = json_decode($json);
169
  $key = isset($data->installed) ? 'installed' : 'web';
170
  if (!isset($data->$key)) {
171
- throw new Google_Exception("Invalid client secret JSON file.");
172
  }
173
  $this->setClientId($data->$key->client_id);
174
  $this->setClientSecret($data->$key->client_secret);
@@ -190,14 +190,14 @@ class Google_Client
190
  }
191
 
192
  /**
193
- * @throws Google_Auth_Exception
194
  * @return array
195
  * @visible For Testing
196
  */
197
  public function prepareScopes()
198
  {
199
  if (empty($this->requestedScopes)) {
200
- throw new Google_Auth_Exception("No scopes specified");
201
  }
202
  $scopes = implode(' ', $this->requestedScopes);
203
  return $scopes;
@@ -205,7 +205,7 @@ class Google_Client
205
 
206
  /**
207
  * Set the OAuth 2.0 access token using the string that resulted from calling createAuthUrl()
208
- * or Google_Client#getAccessToken().
209
  * @param string $accessToken JSON encoded string containing in the following format:
210
  * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer",
211
  * "expires_in":3600, "id_token":"TOKEN", "created":1320790426}
@@ -222,9 +222,9 @@ class Google_Client
222
 
223
  /**
224
  * Set the authenticator object
225
- * @param Google_Auth_Abstract $auth
226
  */
227
- public function setAuth(Google_Auth_Abstract $auth)
228
  {
229
  $this->config->setAuthClass(get_class($auth));
230
  $this->auth = $auth;
@@ -232,9 +232,9 @@ class Google_Client
232
 
233
  /**
234
  * Set the IO object
235
- * @param Google_IO_Abstract $io
236
  */
237
- public function setIo(Google_IO_Abstract $io)
238
  {
239
  $this->config->setIoClass(get_class($io));
240
  $this->io = $io;
@@ -242,9 +242,9 @@ class Google_Client
242
 
243
  /**
244
  * Set the Cache object
245
- * @param Google_Cache_Abstract $cache
246
  */
247
- public function setCache(Google_Cache_Abstract $cache)
248
  {
249
  $this->config->setCacheClass(get_class($cache));
250
  $this->cache = $cache;
@@ -252,9 +252,9 @@ class Google_Client
252
 
253
  /**
254
  * Set the Logger object
255
- * @param Google_Logger_Abstract $logger
256
  */
257
- public function setLogger(Google_Logger_Abstract $logger)
258
  {
259
  $this->config->setLoggerClass(get_class($logger));
260
  $this->logger = $logger;
@@ -460,7 +460,7 @@ class Google_Client
460
  /**
461
  * Revoke an OAuth2 access token or refresh token. This method will revoke the current access
462
  * token, if a token isn't provided.
463
- * @throws Google_Auth_Exception
464
  * @param string|null $token The token (access token or a refresh token) that should be revoked.
465
  * @return boolean Returns True if the revocation was successful, otherwise False.
466
  */
@@ -472,9 +472,9 @@ class Google_Client
472
  /**
473
  * Verify an id_token. This method will verify the current id_token, if one
474
  * isn't provided.
475
- * @throws Google_Auth_Exception
476
  * @param string|null $token The token (id_token) that should be verified.
477
- * @return Google_Auth_LoginTicket Returns an apiLoginTicket if the verification was
478
  * successful.
479
  */
480
  public function verifyIdToken($token = null)
@@ -494,15 +494,15 @@ class Google_Client
494
  */
495
  public function verifySignedJwt($id_token, $cert_location, $audience, $issuer, $max_expiry = null)
496
  {
497
- $auth = new Google_Auth_OAuth2($this);
498
  $certs = $auth->retrieveCertsFromLocation($cert_location);
499
  return $auth->verifySignedJwtWithCerts($id_token, $certs, $audience, $issuer, $max_expiry);
500
  }
501
 
502
  /**
503
- * @param $creds Google_Auth_AssertionCredentials
504
  */
505
- public function setAssertionCredentials(Google_Auth_AssertionCredentials $creds)
506
  {
507
  $this->getAuth()->setAssertionCredentials($creds);
508
  }
@@ -574,27 +574,27 @@ class Google_Client
574
  /**
575
  * Helper method to execute deferred HTTP requests.
576
  *
577
- * @param $request Google_Http_Request|Google_Http_Batch
578
- * @throws Google_Exception
579
  * @return object of the type of the expected class or array.
580
  */
581
  public function execute($request)
582
  {
583
- if ($request instanceof Google_Http_Request) {
584
  $request->setUserAgent(
585
  $this->getApplicationName()
586
  . " " . self::USER_AGENT_SUFFIX
587
  . $this->getLibraryVersion()
588
  );
589
- if (!$this->getClassConfig("Google_Http_Request", "disable_gzip")) {
590
  $request->enableGzip();
591
  }
592
  $request->maybeMoveParametersToBody();
593
- return Google_Http_REST::execute($this, $request);
594
- } else if ($request instanceof Google_Http_Batch) {
595
  return $request->execute();
596
  } else {
597
- throw new Google_Exception("Do not know how to execute this type of object.");
598
  }
599
  }
600
 
@@ -608,7 +608,7 @@ class Google_Client
608
  }
609
 
610
  /**
611
- * @return Google_Auth_Abstract Authentication implementation
612
  */
613
  public function getAuth()
614
  {
@@ -620,7 +620,7 @@ class Google_Client
620
  }
621
 
622
  /**
623
- * @return Google_IO_Abstract IO implementation
624
  */
625
  public function getIo()
626
  {
@@ -632,7 +632,7 @@ class Google_Client
632
  }
633
 
634
  /**
635
- * @return Google_Cache_Abstract Cache implementation
636
  */
637
  public function getCache()
638
  {
@@ -644,7 +644,7 @@ class Google_Client
644
  }
645
 
646
  /**
647
- * @return Google_Logger_Abstract Logger implementation
648
  */
649
  public function getLogger()
650
  {
@@ -671,7 +671,7 @@ class Google_Client
671
 
672
  /**
673
  * Set configuration specific to a given class.
674
- * $config->setClassConfig('Google_Cache_File',
675
  * array('directory' => '/tmp/cache'));
676
  * @param $class string|object - The class name for the configuration
677
  * @param $config string key or an array of configuration values
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/autoload.php';
20
  }
21
 
23
  * The Google API Client
24
  * https://github.com/google/google-api-php-client
25
  */
26
+ class Forminator_Google_Client
27
  {
28
  const LIBVER = "1.1.5";
29
  const USER_AGENT_SUFFIX = "google-api-php-client/";
30
  /**
31
+ * @var Forminator_Google_Auth_Abstract $auth
32
  */
33
  private $auth;
34
 
35
  /**
36
+ * @var Forminator_Google_IO_Abstract $io
37
  */
38
  private $io;
39
 
40
  /**
41
+ * @var Forminator_Google_Cache_Abstract $cache
42
  */
43
  private $cache;
44
 
45
  /**
46
+ * @var Forminator_Google_Config $config
47
  */
48
  private $config;
49
 
50
  /**
51
+ * @var Forminator_Google_Logger_Abstract $logger
52
  */
53
  private $logger;
54
 
70
  /**
71
  * Construct the Google Client.
72
  *
73
+ * @param $config Forminator_Google_Config or string for the ini file to load
74
  */
75
  public function __construct($config = null)
76
  {
77
  if (is_string($config) && strlen($config)) {
78
+ $config = new Forminator_Google_Config($config);
79
+ } else if ( !($config instanceof Forminator_Google_Config)) {
80
+ $config = new Forminator_Google_Config();
81
 
82
  if ($this->isAppEngine()) {
83
  // Automatically use Memcache if we're in AppEngine.
84
+ $config->setCacheClass('Forminator_Google_Cache_Memcache');
85
  }
86
 
87
  if (version_compare(phpversion(), "5.3.4", "<=") || $this->isAppEngine()) {
88
  // Automatically disable compress.zlib, as currently unsupported.
89
+ $config->setClassConfig('Forminator_Google_Http_Request', 'disable_gzip', true);
90
  }
91
  }
92
 
93
+ if ($config->getIoClass() == Forminator_Google_Config::USE_AUTO_IO_SELECTION) {
94
  if (function_exists('curl_version') && function_exists('curl_exec')
95
  && !$this->isAppEngine()) {
96
+ $config->setIoClass("Forminator_Google_IO_Curl");
97
  } else {
98
+ $config->setIoClass("Forminator_Google_IO_Stream");
99
  }
100
  }
101
 
136
  *
137
  * @param string $jsonLocation File location of the project-key.json.
138
  * @param array $scopes The scopes to assert.
139
+ * @return Forminator_Google_Auth_AssertionCredentials.
140
  * @
141
  */
142
  public function loadServiceAccountJson($jsonLocation, $scopes)
144
  $data = json_decode(file_get_contents($jsonLocation));
145
  if (isset($data->type) && $data->type == 'service_account') {
146
  // Service Account format.
147
+ $cred = new Forminator_Google_Auth_AssertionCredentials(
148
  $data->client_email,
149
  $scopes,
150
  $data->private_key
151
  );
152
  return $cred;
153
  } else {
154
+ throw new Forminator_Google_Exception("Invalid service account JSON file.");
155
  }
156
  }
157
 
161
  * the "Download JSON" button on in the Google Developer
162
  * Console.
163
  * @param string $json the configuration json
164
+ * @throws Forminator_Google_Exception
165
  */
166
  public function setAuthConfig($json)
167
  {
168
  $data = json_decode($json);
169
  $key = isset($data->installed) ? 'installed' : 'web';
170
  if (!isset($data->$key)) {
171
+ throw new Forminator_Google_Exception("Invalid client secret JSON file.");
172
  }
173
  $this->setClientId($data->$key->client_id);
174
  $this->setClientSecret($data->$key->client_secret);
190
  }
191
 
192
  /**
193
+ * @throws Forminator_Google_Auth_Exception
194
  * @return array
195
  * @visible For Testing
196
  */
197
  public function prepareScopes()
198
  {
199
  if (empty($this->requestedScopes)) {
200
+ throw new Forminator_Google_Auth_Exception("No scopes specified");
201
  }
202
  $scopes = implode(' ', $this->requestedScopes);
203
  return $scopes;
205
 
206
  /**
207
  * Set the OAuth 2.0 access token using the string that resulted from calling createAuthUrl()
208
+ * or Forminator_Google_Client#getAccessToken().
209
  * @param string $accessToken JSON encoded string containing in the following format:
210
  * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer",
211
  * "expires_in":3600, "id_token":"TOKEN", "created":1320790426}
222
 
223
  /**
224
  * Set the authenticator object
225
+ * @param Forminator_Google_Auth_Abstract $auth
226
  */
227
+ public function setAuth(Forminator_Google_Auth_Abstract $auth)
228
  {
229
  $this->config->setAuthClass(get_class($auth));
230
  $this->auth = $auth;
232
 
233
  /**
234
  * Set the IO object
235
+ * @param Forminator_Google_IO_Abstract $io
236
  */
237
+ public function setIo(Forminator_Google_IO_Abstract $io)
238
  {
239
  $this->config->setIoClass(get_class($io));
240
  $this->io = $io;
242
 
243
  /**
244
  * Set the Cache object
245
+ * @param Forminator_Google_Cache_Abstract $cache
246
  */
247
+ public function setCache(Forminator_Google_Cache_Abstract $cache)
248
  {
249
  $this->config->setCacheClass(get_class($cache));
250
  $this->cache = $cache;
252
 
253
  /**
254
  * Set the Logger object
255
+ * @param Forminator_Google_Logger_Abstract $logger
256
  */
257
+ public function setLogger(Forminator_Google_Logger_Abstract $logger)
258
  {
259
  $this->config->setLoggerClass(get_class($logger));
260
  $this->logger = $logger;
460
  /**
461
  * Revoke an OAuth2 access token or refresh token. This method will revoke the current access
462
  * token, if a token isn't provided.
463
+ * @throws Forminator_Google_Auth_Exception
464
  * @param string|null $token The token (access token or a refresh token) that should be revoked.
465
  * @return boolean Returns True if the revocation was successful, otherwise False.
466
  */
472
  /**
473
  * Verify an id_token. This method will verify the current id_token, if one
474
  * isn't provided.
475
+ * @throws Forminator_Google_Auth_Exception
476
  * @param string|null $token The token (id_token) that should be verified.
477
+ * @return Forminator_Google_Auth_LoginTicket Returns an apiLoginTicket if the verification was
478
  * successful.
479
  */
480
  public function verifyIdToken($token = null)
494
  */
495
  public function verifySignedJwt($id_token, $cert_location, $audience, $issuer, $max_expiry = null)
496
  {
497
+ $auth = new Forminator_Google_Auth_OAuth2($this);
498
  $certs = $auth->retrieveCertsFromLocation($cert_location);
499
  return $auth->verifySignedJwtWithCerts($id_token, $certs, $audience, $issuer, $max_expiry);
500
  }
501
 
502
  /**
503
+ * @param $creds Forminator_Google_Auth_AssertionCredentials
504
  */
505
+ public function setAssertionCredentials(Forminator_Google_Auth_AssertionCredentials $creds)
506
  {
507
  $this->getAuth()->setAssertionCredentials($creds);
508
  }
574
  /**
575
  * Helper method to execute deferred HTTP requests.
576
  *
577
+ * @param $request Forminator_Google_Http_Request|Forminator_Google_Http_Batch
578
+ * @throws Forminator_Google_Exception
579
  * @return object of the type of the expected class or array.
580
  */
581
  public function execute($request)
582
  {
583
+ if ($request instanceof Forminator_Google_Http_Request) {
584
  $request->setUserAgent(
585
  $this->getApplicationName()
586
  . " " . self::USER_AGENT_SUFFIX
587
  . $this->getLibraryVersion()
588
  );
589
+ if (!$this->getClassConfig("Forminator_Google_Http_Request", "disable_gzip")) {
590
  $request->enableGzip();
591
  }
592
  $request->maybeMoveParametersToBody();
593
+ return Forminator_Google_Http_REST::execute($this, $request);
594
+ } else if ($request instanceof Forminator_Google_Http_Batch) {
595
  return $request->execute();
596
  } else {
597
+ throw new Forminator_Google_Exception("Do not know how to execute this type of object.");
598
  }
599
  }
600
 
608
  }
609
 
610
  /**
611
+ * @return Forminator_Google_Auth_Abstract Authentication implementation
612
  */
613
  public function getAuth()
614
  {
620
  }
621
 
622
  /**
623
+ * @return Forminator_Google_IO_Abstract IO implementation
624
  */
625
  public function getIo()
626
  {
632
  }
633
 
634
  /**
635
+ * @return Forminator_Google_Cache_Abstract Cache implementation
636
  */
637
  public function getCache()
638
  {
644
  }
645
 
646
  /**
647
+ * @return Forminator_Google_Logger_Abstract Logger implementation
648
  */
649
  public function getLogger()
650
  {
671
 
672
  /**
673
  * Set configuration specific to a given class.
674
+ * $config->setClassConfig('Forminator_Google_Cache_File',
675
  * array('directory' => '/tmp/cache'));
676
  * @param $class string|object - The class name for the configuration
677
  * @param $config string key or an array of configuration values
addons/pro/googlesheet/lib/external/Google/Collection.php CHANGED
@@ -1,15 +1,15 @@
1
  <?php
2
 
3
- if (!class_exists('Google_Client')) {
4
  require_once dirname(__FILE__) . '/autoload.php';
5
  }
6
 
7
  /**
8
- * Extension to the regular Google_Model that automatically
9
  * exposes the items array for iteration, so you can just
10
  * iterate over the object rather than a reference inside.
11
  */
12
- class Google_Collection extends Google_Model implements Iterator, Countable
13
  {
14
  protected $collection_key = 'items';
15
 
1
  <?php
2
 
3
+ if (!class_exists('Forminator_Google_Client')) {
4
  require_once dirname(__FILE__) . '/autoload.php';
5
  }
6
 
7
  /**
8
+ * Extension to the regular Forminator_Google_Model that automatically
9
  * exposes the items array for iteration, so you can just
10
  * iterate over the object rather than a reference inside.
11
  */
12
+ class Forminator_Google_Collection extends Forminator_Google_Model implements Iterator, Countable
13
  {
14
  protected $collection_key = 'items';
15
 
addons/pro/googlesheet/lib/external/Google/Config.php CHANGED
@@ -18,7 +18,7 @@
18
  /**
19
  * A class to contain the library configuration for the Google API client.
20
  */
21
- class Google_Config
22
  {
23
  const GZIP_DISABLED = true;
24
  const GZIP_ENABLED = false;
@@ -31,7 +31,7 @@ class Google_Config
31
  protected $configuration;
32
 
33
  /**
34
- * Create a new Google_Config. Can accept an ini file location with the
35
  * local configuration. For example:
36
  * application_name="My App"
37
  *
@@ -44,10 +44,10 @@ class Google_Config
44
  'application_name' => '',
45
 
46
  // Which Authentication, Storage and HTTP IO classes to use.
47
- 'auth_class' => 'Google_Auth_OAuth2',
48
  'io_class' => self::USE_AUTO_IO_SELECTION,
49
- 'cache_class' => 'Google_Cache_File',
50
- 'logger_class' => 'Google_Logger_Null',
51
 
52
  // Don't change these unless you're working against a special development
53
  // or testing environment.
@@ -55,25 +55,25 @@ class Google_Config
55
 
56
  // Definition of class specific values, like file paths and so on.
57
  'classes' => array(
58
- 'Google_IO_Abstract' => array(
59
  'request_timeout_seconds' => 100,
60
  ),
61
- 'Google_IO_Curl' => array(
62
  'disable_proxy_workaround' => false,
63
  'options' => null,
64
  ),
65
- 'Google_Logger_Abstract' => array(
66
  'level' => 'debug',
67
  'log_format' => "[%datetime%] %level%: %message% %context%\n",
68
  'date_format' => 'd/M/Y:H:i:s O',
69
  'allow_newlines' => true
70
  ),
71
- 'Google_Logger_File' => array(
72
  'file' => 'php://stdout',
73
  'mode' => 0640,
74
  'lock' => false,
75
  ),
76
- 'Google_Http_Request' => array(
77
  // Disable the use of gzip on calls if set to true. Defaults to false.
78
  'disable_gzip' => self::GZIP_ENABLED,
79
 
@@ -85,7 +85,7 @@ class Google_Config
85
  ),
86
  // If you want to pass in OAuth 2.0 settings, they will need to be
87
  // structured like this.
88
- 'Google_Auth_OAuth2' => array(
89
  // Keys for OAuth 2.0 access, see the API console at
90
  // https://developers.google.com/console
91
  'client_id' => '',
@@ -108,7 +108,7 @@ class Google_Config
108
  'federated_signon_certs_url' =>
109
  'https://www.googleapis.com/oauth2/v1/certs',
110
  ),
111
- 'Google_Task_Runner' => array(
112
  // Delays are specified in seconds
113
  'initial_delay' => 1,
114
  'max_delay' => 60,
@@ -121,7 +121,7 @@ class Google_Config
121
  // Maximum number of retries allowed
122
  'retries' => 0
123
  ),
124
- 'Google_Service_Exception' => array(
125
  'retry_map' => array(
126
  '500' => self::TASK_RETRY_ALWAYS,
127
  '503' => self::TASK_RETRY_ALWAYS,
@@ -129,7 +129,7 @@ class Google_Config
129
  'userRateLimitExceeded' => self::TASK_RETRY_ALWAYS
130
  )
131
  ),
132
- 'Google_IO_Exception' => array(
133
  'retry_map' => !extension_loaded('curl') ? array() : array(
134
  CURLE_COULDNT_RESOLVE_HOST => self::TASK_RETRY_ALWAYS,
135
  CURLE_COULDNT_CONNECT => self::TASK_RETRY_ALWAYS,
@@ -139,8 +139,8 @@ class Google_Config
139
  )
140
  ),
141
  // Set a default directory for the file cache.
142
- 'Google_Cache_File' => array(
143
- 'directory' => sys_get_temp_dir() . '/Google_Client'
144
  )
145
  ),
146
  );
@@ -158,7 +158,7 @@ class Google_Config
158
 
159
  /**
160
  * Set configuration specific to a given class.
161
- * $config->setClassConfig('Google_Cache_File',
162
  * array('directory' => '/tmp/cache'));
163
  * @param $class string The class name for the configuration
164
  * @param $config string key or an array of configuration values
@@ -387,7 +387,7 @@ class Google_Config
387
  * restrict sign-in to accounts at that domain.
388
  *
389
  * This should not be used to ensure security on your application - check
390
- * the hd values within an id token (@see Google_Auth_LoginTicket) after sign
391
  * in to ensure that the user is from the domain you were expecting.
392
  *
393
  * @param $hd string - the domain to use.
18
  /**
19
  * A class to contain the library configuration for the Google API client.
20
  */
21
+ class Forminator_Google_Config
22
  {
23
  const GZIP_DISABLED = true;
24
  const GZIP_ENABLED = false;
31
  protected $configuration;
32
 
33
  /**
34
+ * Create a new Forminator_Google_Config. Can accept an ini file location with the
35
  * local configuration. For example:
36
  * application_name="My App"
37
  *
44
  'application_name' => '',
45
 
46
  // Which Authentication, Storage and HTTP IO classes to use.
47
+ 'auth_class' => 'Forminator_Google_Auth_OAuth2',
48
  'io_class' => self::USE_AUTO_IO_SELECTION,
49
+ 'cache_class' => 'Forminator_Google_Cache_File',
50
+ 'logger_class' => 'Forminator_Google_Logger_Null',
51
 
52
  // Don't change these unless you're working against a special development
53
  // or testing environment.
55
 
56
  // Definition of class specific values, like file paths and so on.
57
  'classes' => array(
58
+ 'Forminator_Google_IO_Abstract' => array(
59
  'request_timeout_seconds' => 100,
60
  ),
61
+ 'Forminator_Google_IO_Curl' => array(
62
  'disable_proxy_workaround' => false,
63
  'options' => null,
64
  ),
65
+ 'Forminator_Google_Logger_Abstract' => array(
66
  'level' => 'debug',
67
  'log_format' => "[%datetime%] %level%: %message% %context%\n",
68
  'date_format' => 'd/M/Y:H:i:s O',
69
  'allow_newlines' => true
70
  ),
71
+ 'Forminator_Google_Logger_File' => array(
72
  'file' => 'php://stdout',
73
  'mode' => 0640,
74
  'lock' => false,
75
  ),
76
+ 'Forminator_Google_Http_Request' => array(
77
  // Disable the use of gzip on calls if set to true. Defaults to false.
78
  'disable_gzip' => self::GZIP_ENABLED,
79
 
85
  ),
86
  // If you want to pass in OAuth 2.0 settings, they will need to be
87
  // structured like this.
88
+ 'Forminator_Google_Auth_OAuth2' => array(
89
  // Keys for OAuth 2.0 access, see the API console at
90
  // https://developers.google.com/console
91
  'client_id' => '',
108
  'federated_signon_certs_url' =>
109
  'https://www.googleapis.com/oauth2/v1/certs',
110
  ),
111
+ 'Forminator_Google_Task_Runner' => array(
112
  // Delays are specified in seconds
113
  'initial_delay' => 1,
114
  'max_delay' => 60,
121
  // Maximum number of retries allowed
122
  'retries' => 0
123
  ),
124
+ 'Forminator_Google_Service_Exception' => array(
125
  'retry_map' => array(
126
  '500' => self::TASK_RETRY_ALWAYS,
127
  '503' => self::TASK_RETRY_ALWAYS,
129
  'userRateLimitExceeded' => self::TASK_RETRY_ALWAYS
130
  )
131
  ),
132
+ 'Forminator_Google_IO_Exception' => array(
133
  'retry_map' => !extension_loaded('curl') ? array() : array(
134
  CURLE_COULDNT_RESOLVE_HOST => self::TASK_RETRY_ALWAYS,
135
  CURLE_COULDNT_CONNECT => self::TASK_RETRY_ALWAYS,
139
  )
140
  ),
141
  // Set a default directory for the file cache.
142
+ 'Forminator_Google_Cache_File' => array(
143
+ 'directory' => sys_get_temp_dir() . '/Forminator_Google_Client'
144
  )
145
  ),
146
  );
158
 
159
  /**
160
  * Set configuration specific to a given class.
161
+ * $config->setClassConfig('Forminator_Google_Cache_File',
162
  * array('directory' => '/tmp/cache'));
163
  * @param $class string The class name for the configuration
164
  * @param $config string key or an array of configuration values
387
  * restrict sign-in to accounts at that domain.
388
  *
389
  * This should not be used to ensure security on your application - check
390
+ * the hd values within an id token (@see Forminator_Google_Auth_LoginTicket) after sign
391
  * in to ensure that the user is from the domain you were expecting.
392
  *
393
  * @param $hd string - the domain to use.
addons/pro/googlesheet/lib/external/Google/Exception.php CHANGED
@@ -15,6 +15,6 @@
15
  * limitations under the License.
16
  */
17
 
18
- class Google_Exception extends Exception
19
  {
20
  }
15
  * limitations under the License.
16
  */
17
 
18
+ class Forminator_Google_Exception extends Exception
19
  {
20
  }
addons/pro/googlesheet/lib/external/Google/Http/Batch.php CHANGED
@@ -15,14 +15,14 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
  /**
23
  * Class to handle batched requests to the Google API service.
24
  */
25
- class Google_Http_Batch
26
  {
27
  /** @var string Multipart Boundary. */
28
  private $boundary;
@@ -30,7 +30,7 @@ class Google_Http_Batch
30
  /** @var array service requests to be executed. */
31
  private $requests = array();
32
 
33
- /** @var Google_Client */
34
  private $client;
35
 
36
  private $expected_classes = array();
@@ -39,7 +39,7 @@ class Google_Http_Batch
39
 
40
  private $batch_path;
41
 
42
- public function __construct(Google_Client $client, $boundary = false, $rootUrl = '', $batchPath = '')
43
  {
44
  $this->client = $client;
45
  $this->root_url = rtrim($rootUrl ? $rootUrl : $this->client->getBasePath(), '/');
@@ -49,7 +49,7 @@ class Google_Http_Batch
49
  $this->boundary = str_replace('"', '', $boundary);
50
  }
51
 
52
- public function add(Google_Http_Request $request, $key = false)
53
  {
54
  if (false == $key) {
55
  $key = mt_rand();
@@ -62,7 +62,7 @@ class Google_Http_Batch
62
  {
63
  $body = '';
64
 
65
- /** @var Google_Http_Request $req */
66
  foreach ($this->requests as $key => $req) {
67
  $body .= "--{$this->boundary}\n";
68
  $body .= $req->toBatchString($key) . "\n\n";
@@ -72,7 +72,7 @@ class Google_Http_Batch
72
  $body .= "--{$this->boundary}--";
73
 
74
  $url = $this->root_url . '/' . $this->batch_path;
75
- $httpRequest = new Google_Http_Request($url, 'POST');
76
  $httpRequest->setRequestHeaders(
77
  array('Content-Type' => 'multipart/mixed; boundary=' . $this->boundary)
78
  );
@@ -83,7 +83,7 @@ class Google_Http_Batch
83
  return $this->parseResponse($response);
84
  }
85
 
86
- public function parseResponse(Google_Http_Request $response)
87
  {
88
  $contentType = $response->getResponseHeader('content-type');
89
  $contentType = explode(';', $contentType);
@@ -112,7 +112,7 @@ class Google_Http_Batch
112
  $status = $status[1];
113
 
114
  list($partHeaders, $partBody) = $this->client->getIo()->ParseHttpResponse($part, false);
115
- $response = new Google_Http_Request("");
116
  $response->setResponseHttpCode($status);
117
  $response->setResponseHeaders($partHeaders);
118
  $response->setResponseBody($partBody);
@@ -127,9 +127,9 @@ class Google_Http_Batch
127
  }
128
 
129
  try {
130
- $response = Google_Http_REST::decodeHttpResponse($response, $this->client);
131
  $responses[$key] = $response;
132
- } catch (Google_Service_Exception $e) {
133
  // Store the exception as the response, so successful responses
134
  // can be processed.
135
  $responses[$key] = $e;
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
  /**
23
  * Class to handle batched requests to the Google API service.
24
  */
25
+ class Forminator_Google_Http_Batch
26
  {
27
  /** @var string Multipart Boundary. */
28
  private $boundary;
30
  /** @var array service requests to be executed. */
31
  private $requests = array();
32
 
33
+ /** @var Forminator_Google_Client */
34
  private $client;
35
 
36
  private $expected_classes = array();
39
 
40
  private $batch_path;
41
 
42
+ public function __construct(Forminator_Google_Client $client, $boundary = false, $rootUrl = '', $batchPath = '')
43
  {
44
  $this->client = $client;
45
  $this->root_url = rtrim($rootUrl ? $rootUrl : $this->client->getBasePath(), '/');
49
  $this->boundary = str_replace('"', '', $boundary);
50
  }
51
 
52
+ public function add(Forminator_Google_Http_Request $request, $key = false)
53
  {
54
  if (false == $key) {
55
  $key = mt_rand();
62
  {
63
  $body = '';
64
 
65
+ /** @var Forminator_Google_Http_Request $req */
66
  foreach ($this->requests as $key => $req) {
67
  $body .= "--{$this->boundary}\n";
68
  $body .= $req->toBatchString($key) . "\n\n";
72
  $body .= "--{$this->boundary}--";
73
 
74
  $url = $this->root_url . '/' . $this->batch_path;
75
+ $httpRequest = new Forminator_Google_Http_Request($url, 'POST');
76
  $httpRequest->setRequestHeaders(
77
  array('Content-Type' => 'multipart/mixed; boundary=' . $this->boundary)
78
  );
83
  return $this->parseResponse($response);
84
  }
85
 
86
+ public function parseResponse(Forminator_Google_Http_Request $response)
87
  {
88
  $contentType = $response->getResponseHeader('content-type');
89
  $contentType = explode(';', $contentType);
112
  $status = $status[1];
113
 
114
  list($partHeaders, $partBody) = $this->client->getIo()->ParseHttpResponse($part, false);
115
+ $response = new Forminator_Google_Http_Request("");
116
  $response->setResponseHttpCode($status);
117
  $response->setResponseHeaders($partHeaders);
118
  $response->setResponseBody($partBody);
127
  }
128
 
129
  try {
130
+ $response = Forminator_Google_Http_REST::decodeHttpResponse($response, $this->client);
131
  $responses[$key] = $response;
132
+ } catch (Forminator_Google_Service_Exception $e) {
133
  // Store the exception as the response, so successful responses
134
  // can be processed.
135
  $responses[$key] = $e;
addons/pro/googlesheet/lib/external/Google/Http/CacheParser.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -23,7 +23,7 @@ if (!class_exists('Google_Client')) {
23
  * Implement the caching directives specified in rfc2616. This
24
  * implementation is guided by the guidance offered in rfc2616-sec13.
25
  */
26
- class Google_Http_CacheParser
27
  {
28
  public static $CACHEABLE_HTTP_METHODS = array('GET', 'HEAD');
29
  public static $CACHEABLE_STATUS_CODES = array('200', '203', '300', '301');
@@ -32,11 +32,11 @@ class Google_Http_CacheParser
32
  * Check if an HTTP request can be cached by a private local cache.
33
  *
34
  * @static
35
- * @param Google_Http_Request $resp
36
  * @return bool True if the request is cacheable.
37
  * False if the request is uncacheable.
38
  */
39
- public static function isRequestCacheable(Google_Http_Request $resp)
40
  {
41
  $method = $resp->getRequestMethod();
42
  if (! in_array($method, self::$CACHEABLE_HTTP_METHODS)) {
@@ -58,11 +58,11 @@ class Google_Http_CacheParser
58
  * Check if an HTTP response can be cached by a private local cache.
59
  *
60
  * @static
61
- * @param Google_Http_Request $resp
62
  * @return bool True if the response is cacheable.
63
  * False if the response is un-cacheable.
64
  */
65
- public static function isResponseCacheable(Google_Http_Request $resp)
66
  {
67
  // First, check if the HTTP request was cacheable before inspecting the
68
  // HTTP response.
@@ -110,11 +110,11 @@ class Google_Http_CacheParser
110
 
111
  /**
112
  * @static
113
- * @param Google_Http_Request $resp
114
  * @return bool True if the HTTP response is considered to be expired.
115
  * False if it is considered to be fresh.
116
  */
117
- public static function isExpired(Google_Http_Request $resp)
118
  {
119
  // HTTP/1.1 clients and caches MUST treat other invalid date formats,
120
  // especially including the value “0”, as in the past.
@@ -149,7 +149,7 @@ class Google_Http_CacheParser
149
  // We can't default this to now, as that means future cache reads
150
  // will always pass with the logic below, so we will require a
151
  // date be injected if not supplied.
152
- throw new Google_Exception("All cacheable requests must have creation dates.");
153
  }
154
 
155
  if (false == $freshnessLifetime && isset($responseHeaders['expires'])) {
@@ -172,10 +172,10 @@ class Google_Http_CacheParser
172
  /**
173
  * Determine if a cache entry should be revalidated with by the origin.
174
  *
175
- * @param Google_Http_Request $response
176
  * @return bool True if the entry is expired, else return false.
177
  */
178
- public static function mustRevalidate(Google_Http_Request $response)
179
  {
180
  // [13.3] When a cache has a stale entry that it would like to use as a
181
  // response to a client's request, it first has to check with the origin
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
23
  * Implement the caching directives specified in rfc2616. This
24
  * implementation is guided by the guidance offered in rfc2616-sec13.
25
  */
26
+ class Forminator_Google_Http_CacheParser
27
  {
28
  public static $CACHEABLE_HTTP_METHODS = array('GET', 'HEAD');
29
  public static $CACHEABLE_STATUS_CODES = array('200', '203', '300', '301');
32
  * Check if an HTTP request can be cached by a private local cache.
33
  *
34
  * @static
35
+ * @param Forminator_Google_Http_Request $resp
36
  * @return bool True if the request is cacheable.
37
  * False if the request is uncacheable.
38
  */
39
+ public static function isRequestCacheable(Forminator_Google_Http_Request $resp)
40
  {
41
  $method = $resp->getRequestMethod();
42
  if (! in_array($method, self::$CACHEABLE_HTTP_METHODS)) {
58
  * Check if an HTTP response can be cached by a private local cache.
59
  *
60
  * @static
61
+ * @param Forminator_Google_Http_Request $resp
62
  * @return bool True if the response is cacheable.
63
  * False if the response is un-cacheable.
64
  */
65
+ public static function isResponseCacheable(Forminator_Google_Http_Request $resp)
66
  {
67
  // First, check if the HTTP request was cacheable before inspecting the
68
  // HTTP response.
110
 
111
  /**
112
  * @static
113
+ * @param Forminator_Google_Http_Request $resp
114
  * @return bool True if the HTTP response is considered to be expired.
115
  * False if it is considered to be fresh.
116
  */
117
+ public static function isExpired(Forminator_Google_Http_Request $resp)
118
  {
119
  // HTTP/1.1 clients and caches MUST treat other invalid date formats,
120
  // especially including the value “0”, as in the past.
149
  // We can't default this to now, as that means future cache reads
150
  // will always pass with the logic below, so we will require a
151
  // date be injected if not supplied.
152
+ throw new Forminator_Google_Exception("All cacheable requests must have creation dates.");
153
  }
154
 
155
  if (false == $freshnessLifetime && isset($responseHeaders['expires'])) {
172
  /**
173
  * Determine if a cache entry should be revalidated with by the origin.
174
  *
175
+ * @param Forminator_Google_Http_Request $response
176
  * @return bool True if the entry is expired, else return false.
177
  */
178
+ public static function mustRevalidate(Forminator_Google_Http_Request $response)
179
  {
180
  // [13.3] When a cache has a stale entry that it would like to use as a
181
  // response to a client's request, it first has to check with the origin
addons/pro/googlesheet/lib/external/Google/Http/MediaFileUpload.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -23,7 +23,7 @@ if (!class_exists('Google_Client')) {
23
  * Manage large file uploads, which may be media but can be any type
24
  * of sizable data.
25
  */
26
- class Google_Http_MediaFileUpload
27
  {
28
  const UPLOAD_MEDIA_TYPE = 'media';
29
  const UPLOAD_MULTIPART_TYPE = 'multipart';
@@ -50,10 +50,10 @@ class Google_Http_MediaFileUpload
50
  /** @var int $progress */
51
  private $progress;
52
 
53
- /** @var Google_Client */
54
  private $client;
55
 
56
- /** @var Google_Http_Request */
57
  private $request;
58
 
59
  /** @var string */
@@ -73,8 +73,8 @@ class Google_Http_MediaFileUpload
73
  * only used if resumable=True
74
  */
75
  public function __construct(
76
- Google_Client $client,
77
- Google_Http_Request $request,
78
  $mimeType,
79
  $data,
80
  $resumable = false,
@@ -129,14 +129,14 @@ class Google_Http_MediaFileUpload
129
  * Sends a PUT-Request to google drive and parses the response,
130
  * setting the appropiate variables from the response()
131
  *
132
- * @param Google_Http_Request $httpRequest the Reuqest which will be send
133
  *
134
  * @return false|mixed false when the upload is unfinished or the decoded http response
135
  *
136
  */
137
- private function makePutRequest(Google_Http_Request $httpRequest)
138
  {
139
- if ($this->client->getClassConfig("Google_Http_Request", "enable_gzip_for_uploads")) {
140
  $httpRequest->enableGzip();
141
  } else {
142
  $httpRequest->disableGzip();
@@ -161,7 +161,7 @@ class Google_Http_MediaFileUpload
161
  // No problems, but upload not complete.
162
  return false;
163
  } else {
164
- return Google_Http_REST::decodeHttpResponse($response, $this->client);
165
  }
166
  }
167
 
@@ -187,7 +187,7 @@ class Google_Http_MediaFileUpload
187
  'expect' => '',
188
  );
189
 
190
- $httpRequest = new Google_Http_Request(
191
  $this->resumeUri,
192
  'PUT',
193
  $headers,
@@ -207,7 +207,7 @@ class Google_Http_MediaFileUpload
207
  'content-range' => "bytes */$this->size",
208
  'content-length' => 0,
209
  );
210
- $httpRequest = new Google_Http_Request(
211
  $this->resumeUri,
212
  'PUT',
213
  $headers
@@ -304,7 +304,7 @@ class Google_Http_MediaFileUpload
304
  if ($body) {
305
  $headers = array(
306
  'content-type' => 'application/json; charset=UTF-8',
307
- 'content-length' => Google_Utils::getStrLen($body),
308
  'x-upload-content-type' => $this->mimeType,
309
  'x-upload-content-length' => $this->size,
310
  'expect' => '',
@@ -331,7 +331,7 @@ class Google_Http_MediaFileUpload
331
 
332
  $error = "Failed to start the resumable upload (HTTP {$message})";
333
  $this->client->getLogger()->error($error);
334
- throw new Google_Exception($error);
335
  }
336
 
337
  public function setChunkSize($chunkSize)
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
23
  * Manage large file uploads, which may be media but can be any type
24
  * of sizable data.
25
  */
26
+ class Forminator_Google_Http_MediaFileUpload
27
  {
28
  const UPLOAD_MEDIA_TYPE = 'media';
29
  const UPLOAD_MULTIPART_TYPE = 'multipart';
50
  /** @var int $progress */
51
  private $progress;
52
 
53
+ /** @var Forminator_Google_Client */
54
  private $client;
55
 
56
+ /** @var Forminator_Google_Http_Request */
57
  private $request;
58
 
59
  /** @var string */
73
  * only used if resumable=True
74
  */
75
  public function __construct(
76
+ Forminator_Google_Client $client,
77
+ Forminator_Google_Http_Request $request,
78
  $mimeType,
79
  $data,
80
  $resumable = false,
129
  * Sends a PUT-Request to google drive and parses the response,
130
  * setting the appropiate variables from the response()
131
  *
132
+ * @param Forminator_Google_Http_Request $httpRequest the Reuqest which will be send
133
  *
134
  * @return false|mixed false when the upload is unfinished or the decoded http response
135
  *
136
  */
137
+ private function makePutRequest(Forminator_Google_Http_Request $httpRequest)
138
  {
139
+ if ($this->client->getClassConfig("Forminator_Google_Http_Request", "enable_gzip_for_uploads")) {
140
  $httpRequest->enableGzip();
141
  } else {
142
  $httpRequest->disableGzip();
161
  // No problems, but upload not complete.
162
  return false;
163
  } else {
164
+ return Forminator_Google_Http_REST::decodeHttpResponse($response, $this->client);
165
  }
166
  }
167
 
187
  'expect' => '',
188
  );
189
 
190
+ $httpRequest = new Forminator_Google_Http_Request(
191
  $this->resumeUri,
192
  'PUT',
193
  $headers,
207
  'content-range' => "bytes */$this->size",
208
  'content-length' => 0,
209
  );
210
+ $httpRequest = new Forminator_Google_Http_Request(
211
  $this->resumeUri,
212
  'PUT',
213
  $headers
304
  if ($body) {
305
  $headers = array(
306
  'content-type' => 'application/json; charset=UTF-8',
307
+ 'content-length' => Forminator_Google_Utils::getStrLen($body),
308
  'x-upload-content-type' => $this->mimeType,
309
  'x-upload-content-length' => $this->size,
310
  'expect' => '',
331
 
332
  $error = "Failed to start the resumable upload (HTTP {$message})";
333
  $this->client->getLogger()->error($error);
334
+ throw new Forminator_Google_Exception($error);
335
  }
336
 
337
  public function setChunkSize($chunkSize)
addons/pro/googlesheet/lib/external/Google/Http/REST.php CHANGED
@@ -15,28 +15,28 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
  /**
23
  * This class implements the RESTful transport of apiServiceRequest()'s
24
  */
25
- class Google_Http_REST
26
  {
27
  /**
28
- * Executes a Google_Http_Request and (if applicable) automatically retries
29
  * when errors occur.
30
  *
31
- * @param Google_Client $client
32
- * @param Google_Http_Request $req
33
  * @return array decoded result
34
- * @throws Google_Service_Exception on server side error (ie: not authenticated,
35
  * invalid or malformed post body, invalid url)
36
  */
37
- public static function execute(Google_Client $client, Google_Http_Request $req)
38
  {
39
- $runner = new Google_Task_Runner(
40
  $client,
41
  sprintf('%s %s', $req->getRequestMethod(), $req->getUrl()),
42
  array(get_class(), 'doExecute'),
@@ -47,15 +47,15 @@ class Google_Http_REST
47
  }
48
 
49
  /**
50
- * Executes a Google_Http_Request
51
  *
52
- * @param Google_Client $client
53
- * @param Google_Http_Request $req
54
  * @return array decoded result
55
- * @throws Google_Service_Exception on server side error (ie: not authenticated,
56
  * invalid or malformed post body, invalid url)
57
  */
58
- public static function doExecute(Google_Client $client, Google_Http_Request $req)
59
  {
60
  $httpRequest = $client->getIo()->makeRequest($req);
61
  $httpRequest->setExpectedClass($req->getExpectedClass());
@@ -65,12 +65,12 @@ class Google_Http_REST
65
  /**
66
  * Decode an HTTP Response.
67
  * @static
68
- * @throws Google_Service_Exception
69
- * @param Google_Http_Request $response The http response to be decoded.
70
- * @param Google_Client $client
71
  * @return mixed|null
72
  */
73
- public static function decodeHttpResponse($response, Google_Client $client = null)
74
  {
75
  $code = $response->getResponseHttpCode();
76
  $body = $response->getResponseBody();
@@ -103,11 +103,11 @@ class Google_Http_REST
103
  );
104
 
105
  $map = $client->getClassConfig(
106
- 'Google_Service_Exception',
107
  'retry_map'
108
  );
109
  }
110
- throw new Google_Service_Exception($err, $code, null, $errors, $map);
111
  }
112
 
113
  // Only attempt to decode the response, if the response code wasn't (204) 'no content'
@@ -122,7 +122,7 @@ class Google_Http_REST
122
  if ($client) {
123
  $client->getLogger()->error($error);
124
  }
125
- throw new Google_Service_Exception($error);
126
  }
127
 
128
  if ($response->getExpectedClass()) {
@@ -165,7 +165,7 @@ class Google_Http_REST
165
  }
166
 
167
  if (count($uriTemplateVars)) {
168
- $uriTemplateParser = new Google_Utils_URITemplate();
169
  $requestUrl = $uriTemplateParser->parse($requestUrl, $uriTemplateVars);
170
  }
171
 
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
  /**
23
  * This class implements the RESTful transport of apiServiceRequest()'s
24
  */
25
+ class Forminator_Google_Http_REST
26
  {
27
  /**
28
+ * Executes a Forminator_Google_Http_Request and (if applicable) automatically retries
29
  * when errors occur.
30
  *
31
+ * @param Forminator_Google_Client $client
32
+ * @param Forminator_Google_Http_Request $req
33
  * @return array decoded result
34
+ * @throws Forminator_Google_Service_Exception on server side error (ie: not authenticated,
35
  * invalid or malformed post body, invalid url)
36
  */
37
+ public static function execute(Forminator_Google_Client $client, Forminator_Google_Http_Request $req)
38
  {
39
+ $runner = new Forminator_Google_Task_Runner(
40
  $client,
41
  sprintf('%s %s', $req->getRequestMethod(), $req->getUrl()),
42
  array(get_class(), 'doExecute'),
47
  }
48
 
49
  /**
50
+ * Executes a Forminator_Google_Http_Request
51
  *
52
+ * @param Forminator_Google_Client $client
53
+ * @param Forminator_Google_Http_Request $req
54
  * @return array decoded result
55
+ * @throws Forminator_Google_Service_Exception on server side error (ie: not authenticated,
56
  * invalid or malformed post body, invalid url)
57
  */
58
+ public static function doExecute(Forminator_Google_Client $client, Forminator_Google_Http_Request $req)
59
  {
60
  $httpRequest = $client->getIo()->makeRequest($req);
61
  $httpRequest->setExpectedClass($req->getExpectedClass());
65
  /**
66
  * Decode an HTTP Response.
67
  * @static
68
+ * @throws Forminator_Google_Service_Exception
69
+ * @param Forminator_Google_Http_Request $response The http response to be decoded.
70
+ * @param Forminator_Google_Client $client
71
  * @return mixed|null
72
  */
73
+ public static function decodeHttpResponse($response, Forminator_Google_Client $client = null)
74
  {
75
  $code = $response->getResponseHttpCode();
76
  $body = $response->getResponseBody();
103
  );
104
 
105
  $map = $client->getClassConfig(
106
+ 'Forminator_Google_Service_Exception',
107
  'retry_map'
108
  );
109
  }
110
+ throw new Forminator_Google_Service_Exception($err, $code, null, $errors, $map);
111
  }
112
 
113
  // Only attempt to decode the response, if the response code wasn't (204) 'no content'
122
  if ($client) {
123
  $client->getLogger()->error($error);
124
  }
125
+ throw new Forminator_Google_Service_Exception($error);
126
  }
127
 
128
  if ($response->getExpectedClass()) {
165
  }
166
 
167
  if (count($uriTemplateVars)) {
168
+ $uriTemplateParser = new Forminator_Google_Utils_URITemplate();
169
  $requestUrl = $uriTemplateParser->parse($requestUrl, $uriTemplateVars);
170
  }
171
 
addons/pro/googlesheet/lib/external/Google/Http/Request.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -27,7 +27,7 @@ if (!class_exists('Google_Client')) {
27
  * @author Chirag Shah <chirags@google.com>
28
  *
29
  */
30
- class Google_Http_Request
31
  {
32
  const GZIP_UA = " (gzip)";
33
 
@@ -222,7 +222,7 @@ class Google_Http_Request
222
  */
223
  public function setResponseHeaders($headers)
224
  {
225
- $headers = Google_Utils::normalize($headers);
226
  if ($this->responseHeaders) {
227
  $headers = array_merge($this->responseHeaders, $headers);
228
  }
@@ -340,7 +340,7 @@ class Google_Http_Request
340
  */
341
  public function setRequestHeaders($headers)
342
  {
343
- $headers = Google_Utils::normalize($headers);
344
  if ($this->requestHeaders) {
345
  $headers = array_merge($this->requestHeaders, $headers);
346
  }
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
27
  * @author Chirag Shah <chirags@google.com>
28
  *
29
  */
30
+ class Forminator_Google_Http_Request
31
  {
32
  const GZIP_UA = " (gzip)";
33
 
222
  */
223
  public function setResponseHeaders($headers)
224
  {
225
+ $headers = Forminator_Google_Utils::normalize($headers);
226
  if ($this->responseHeaders) {
227
  $headers = array_merge($this->responseHeaders, $headers);
228
  }
340
  */
341
  public function setRequestHeaders($headers)
342
  {
343
+ $headers = Forminator_Google_Utils::normalize($headers);
344
  if ($this->requestHeaders) {
345
  $headers = array_merge($this->requestHeaders, $headers);
346
  }
addons/pro/googlesheet/lib/external/Google/IO/Abstract.php CHANGED
@@ -19,11 +19,11 @@
19
  * Abstract IO base class
20
  */
21
 
22
- if (!class_exists('Google_Client')) {
23
  require_once dirname(__FILE__) . '/../autoload.php';
24
  }
25
 
26
- abstract class Google_IO_Abstract
27
  {
28
  const UNKNOWN_CODE = 0;
29
  const FORM_URLENCODED = 'application/x-www-form-urlencoded';
@@ -44,25 +44,25 @@ abstract class Google_IO_Abstract
44
  );
45
 
46
 
47
- /** @var Google_Client */
48
  protected $client;
49
 
50
- public function __construct(Google_Client $client)
51
  {
52
  $this->client = $client;
53
- $timeout = $client->getClassConfig('Google_IO_Abstract', 'request_timeout_seconds');
54
  if ($timeout > 0) {
55
  $this->setTimeout($timeout);
56
  }
57
  }
58
 
59
  /**
60
- * Executes a Google_Http_Request
61
- * @param Google_Http_Request $request the http request to be executed
62
  * @return array containing response headers, body, and http code
63
- * @throws Google_IO_Exception on curl or IO error
64
  */
65
- abstract public function executeRequest(Google_Http_Request $request);
66
 
67
  /**
68
  * Set options that update the transport implementation's behavior.
@@ -96,14 +96,14 @@ abstract class Google_IO_Abstract
96
  /**
97
  * @visible for testing.
98
  * Cache the response to an HTTP request if it is cacheable.
99
- * @param Google_Http_Request $request
100
  * @return bool Returns true if the insertion was successful.
101
  * Otherwise, return false.
102
  */
103
- public function setCachedRequest(Google_Http_Request $request)
104
  {
105
  // Determine if the request is cacheable.
106
- if (Google_Http_CacheParser::isResponseCacheable($request)) {
107
  $this->client->getCache()->set($request->getCacheKey(), $request);
108
  return true;
109
  }
@@ -114,16 +114,16 @@ abstract class Google_IO_Abstract
114
  /**
115
  * Execute an HTTP Request
116
  *
117
- * @param Google_Http_Request $request the http request to be executed
118
- * @return Google_Http_Request http request with the response http code,
119
  * response headers and response body filled in
120
- * @throws Google_IO_Exception on curl or IO error
121
  */
122
- public function makeRequest(Google_Http_Request $request)
123
  {
124
  // First, check to see if we have a valid cached version.
125
  $cached = $this->getCachedRequest($request);
126
- if ($cached !== false && $cached instanceof Google_Http_Request) {
127
  if (!$this->checkMustRevalidateCachedRequest($cached, $request)) {
128
  return $cached;
129
  }
@@ -156,13 +156,13 @@ abstract class Google_IO_Abstract
156
 
157
  /**
158
  * @visible for testing.
159
- * @param Google_Http_Request $request
160
- * @return Google_Http_Request|bool Returns the cached object or
161
  * false if the operation was unsuccessful.
162
  */
163
- public function getCachedRequest(Google_Http_Request $request)
164
  {
165
- if (false === Google_Http_CacheParser::isRequestCacheable($request)) {
166
  return false;
167
  }
168
 
@@ -172,10 +172,10 @@ abstract class Google_IO_Abstract
172
  /**
173
  * @visible for testing
174
  * Process an http request that contains an enclosed entity.
175
- * @param Google_Http_Request $request
176
- * @return Google_Http_Request Processed request with the enclosed entity.
177
  */
178
- public function processEntityRequest(Google_Http_Request $request)
179
  {
180
  $postBody = $request->getPostBody();
181
  $contentType = $request->getRequestHeader("content-type");
@@ -204,14 +204,14 @@ abstract class Google_IO_Abstract
204
  /**
205
  * Check if an already cached request must be revalidated, and if so update
206
  * the request with the correct ETag headers.
207
- * @param Google_Http_Request $cached A previously cached response.
208
- * @param Google_Http_Request $request The outbound request.
209
  * return bool If the cached object needs to be revalidated, false if it is
210
  * still current and can be re-used.
211
  */
212
  protected function checkMustRevalidateCachedRequest($cached, $request)
213
  {
214
- if (Google_Http_CacheParser::mustRevalidate($cached)) {
215
  $addHeaders = array();
216
  if ($cached->getResponseHeader('etag')) {
217
  // [13.3.4] If an entity tag has been provided by the origin server,
@@ -230,7 +230,7 @@ abstract class Google_IO_Abstract
230
 
231
  /**
232
  * Update a cached request, using the headers from the last response.
233
- * @param Google_Http_Request $cached A previously cached response.
234
  * @param mixed Associative array of response headers from the last request.
235
  */
236
  protected function updateCachedRequest($cached, $responseHeaders)
19
  * Abstract IO base class
20
  */
21
 
22
+ if (!class_exists('Forminator_Google_Client')) {
23
  require_once dirname(__FILE__) . '/../autoload.php';
24
  }
25
 
26
+ abstract class Forminator_Google_IO_Abstract
27
  {
28
  const UNKNOWN_CODE = 0;
29
  const FORM_URLENCODED = 'application/x-www-form-urlencoded';
44
  );
45
 
46
 
47
+ /** @var Forminator_Google_Client */
48
  protected $client;
49
 
50
+ public function __construct(Forminator_Google_Client $client)
51
  {
52
  $this->client = $client;
53
+ $timeout = $client->getClassConfig('Forminator_Google_IO_Abstract', 'request_timeout_seconds');
54
  if ($timeout > 0) {
55
  $this->setTimeout($timeout);
56
  }
57
  }
58
 
59
  /**
60
+ * Executes a Forminator_Google_Http_Request
61
+ * @param Forminator_Google_Http_Request $request the http request to be executed
62
  * @return array containing response headers, body, and http code
63
+ * @throws Forminator_Google_IO_Exception on curl or IO error
64
  */
65
+ abstract public function executeRequest(Forminator_Google_Http_Request $request);
66
 
67
  /**
68
  * Set options that update the transport implementation's behavior.
96
  /**
97
  * @visible for testing.
98
  * Cache the response to an HTTP request if it is cacheable.
99
+ * @param Forminator_Google_Http_Request $request
100
  * @return bool Returns true if the insertion was successful.
101
  * Otherwise, return false.
102
  */
103
+ public function setCachedRequest(Forminator_Google_Http_Request $request)
104
  {
105
  // Determine if the request is cacheable.
106
+ if (Forminator_Google_Http_CacheParser::isResponseCacheable($request)) {
107
  $this->client->getCache()->set($request->getCacheKey(), $request);
108
  return true;
109
  }
114
  /**
115
  * Execute an HTTP Request
116
  *
117
+ * @param Forminator_Google_Http_Request $request the http request to be executed
118
+ * @return Forminator_Google_Http_Request http request with the response http code,
119
  * response headers and response body filled in
120
+ * @throws Forminator_Google_IO_Exception on curl or IO error
121
  */
122
+ public function makeRequest(Forminator_Google_Http_Request $request)
123
  {
124
  // First, check to see if we have a valid cached version.
125
  $cached = $this->getCachedRequest($request);
126
+ if ($cached !== false && $cached instanceof Forminator_Google_Http_Request) {
127
  if (!$this->checkMustRevalidateCachedRequest($cached, $request)) {
128
  return $cached;
129
  }
156
 
157
  /**
158
  * @visible for testing.
159
+ * @param Forminator_Google_Http_Request $request
160
+ * @return Forminator_Google_Http_Request|bool Returns the cached object or
161
  * false if the operation was unsuccessful.
162
  */
163
+ public function getCachedRequest(Forminator_Google_Http_Request $request)
164
  {
165
+ if (false === Forminator_Google_Http_CacheParser::isRequestCacheable($request)) {
166
  return false;
167
  }
168
 
172
  /**
173
  * @visible for testing
174
  * Process an http request that contains an enclosed entity.
175
+ * @param Forminator_Google_Http_Request $request
176
+ * @return Forminator_Google_Http_Request Processed request with the enclosed entity.
177
  */
178
+ public function processEntityRequest(Forminator_Google_Http_Request $request)
179
  {
180
  $postBody = $request->getPostBody();
181
  $contentType = $request->getRequestHeader("content-type");
204
  /**
205
  * Check if an already cached request must be revalidated, and if so update
206
  * the request with the correct ETag headers.
207
+ * @param Forminator_Google_Http_Request $cached A previously cached response.
208
+ * @param Forminator_Google_Http_Request $request The outbound request.
209
  * return bool If the cached object needs to be revalidated, false if it is
210
  * still current and can be re-used.
211
  */
212
  protected function checkMustRevalidateCachedRequest($cached, $request)
213
  {
214
+ if (Forminator_Google_Http_CacheParser::mustRevalidate($cached)) {
215
  $addHeaders = array();
216
  if ($cached->getResponseHeader('etag')) {
217
  // [13.3.4] If an entity tag has been provided by the origin server,
230
 
231
  /**
232
  * Update a cached request, using the headers from the last response.
233
+ * @param Forminator_Google_Http_Request $cached A previously cached response.
234
  * @param mixed Associative array of response headers from the last request.
235
  */
236
  protected function updateCachedRequest($cached, $responseHeaders)
addons/pro/googlesheet/lib/external/Google/IO/Curl.php CHANGED
@@ -16,16 +16,16 @@
16
  */
17
 
18
  /**
19
- * Curl based implementation of Google_IO.
20
  *
21
  * @author Stuart Langley <slangley@google.com>
22
  */
23
 
24
- if (!class_exists('Google_Client')) {
25
  require_once dirname(__FILE__) . '/../autoload.php';
26
  }
27
 
28
- class Google_IO_Curl extends Google_IO_Abstract
29
  {
30
  // cURL hex representation of version 7.30.0
31
  const NO_QUIRK_VERSION = 0x071E00;
@@ -35,18 +35,18 @@ class Google_IO_Curl extends Google_IO_Abstract
35
  /** @var bool $disableProxyWorkaround */
36
  private $disableProxyWorkaround;
37
 
38
- public function __construct(Google_Client $client)
39
  {
40
  if (!extension_loaded('curl')) {
41
  $error = 'The cURL IO handler requires the cURL extension to be enabled';
42
  $client->getLogger()->critical($error);
43
- throw new Google_IO_Exception($error);
44
  }
45
 
46
  parent::__construct($client);
47
 
48
  $this->disableProxyWorkaround = $this->client->getClassConfig(
49
- 'Google_IO_Curl',
50
  'disable_proxy_workaround'
51
  );
52
  }
@@ -54,11 +54,11 @@ class Google_IO_Curl extends Google_IO_Abstract
54
  /**
55
  * Execute an HTTP Request
56
  *
57
- * @param Google_Http_Request $request the http request to be executed
58
  * @return array containing response headers, body, and http code
59
- * @throws Google_IO_Exception on curl or IO error
60
  */
61
- public function executeRequest(Google_Http_Request $request)
62
  {
63
  $curl = curl_init();
64
 
@@ -93,7 +93,7 @@ class Google_IO_Curl extends Google_IO_Abstract
93
  curl_setopt($curl, CURLOPT_ENCODING, 'gzip,deflate');
94
  }
95
 
96
- $options = $this->client->getClassConfig('Google_IO_Curl', 'options');
97
  if (is_array($options)) {
98
  $this->setOptions($options);
99
  }
@@ -120,10 +120,10 @@ class Google_IO_Curl extends Google_IO_Abstract
120
  if ($response === false) {
121
  $error = curl_error($curl);
122
  $code = curl_errno($curl);
123
- $map = $this->client->getClassConfig('Google_IO_Exception', 'retry_map');
124
 
125
  $this->client->getLogger()->error('cURL ' . $error);
126
- throw new Google_IO_Exception($error, $code, null, $map);
127
  }
128
  $headerSize = curl_getinfo($curl, CURLINFO_HEADER_SIZE);
129
 
@@ -189,6 +189,6 @@ class Google_IO_Curl extends Google_IO_Abstract
189
 
190
  $ver = curl_version();
191
  $versionNum = $ver['version_number'];
192
- return $versionNum < Google_IO_Curl::NO_QUIRK_VERSION;
193
  }
194
  }
16
  */
17
 
18
  /**
19
+ * Curl based implementation of Forminator_Google_IO.
20
  *
21
  * @author Stuart Langley <slangley@google.com>
22
  */
23
 
24
+ if (!class_exists('Forminator_Google_Client')) {
25
  require_once dirname(__FILE__) . '/../autoload.php';
26
  }
27
 
28
+ class Forminator_Google_IO_Curl extends Forminator_Google_IO_Abstract
29
  {
30
  // cURL hex representation of version 7.30.0
31
  const NO_QUIRK_VERSION = 0x071E00;
35
  /** @var bool $disableProxyWorkaround */
36
  private $disableProxyWorkaround;
37
 
38
+ public function __construct(Forminator_Google_Client $client)
39
  {
40
  if (!extension_loaded('curl')) {
41
  $error = 'The cURL IO handler requires the cURL extension to be enabled';
42
  $client->getLogger()->critical($error);
43
+ throw new Forminator_Google_IO_Exception($error);
44
  }
45
 
46
  parent::__construct($client);
47
 
48
  $this->disableProxyWorkaround = $this->client->getClassConfig(
49
+ 'Forminator_Google_IO_Curl',
50
  'disable_proxy_workaround'
51
  );
52
  }
54
  /**
55
  * Execute an HTTP Request
56
  *
57
+ * @param Forminator_Google_Http_Request $request the http request to be executed
58
  * @return array containing response headers, body, and http code
59
+ * @throws Forminator_Google_IO_Exception on curl or IO error
60
  */
61
+ public function executeRequest(Forminator_Google_Http_Request $request)
62
  {
63
  $curl = curl_init();
64
 
93
  curl_setopt($curl, CURLOPT_ENCODING, 'gzip,deflate');
94
  }
95
 
96
+ $options = $this->client->getClassConfig('Forminator_Google_IO_Curl', 'options');
97
  if (is_array($options)) {
98
  $this->setOptions($options);
99
  }
120
  if ($response === false) {
121
  $error = curl_error($curl);
122
  $code = curl_errno($curl);
123
+ $map = $this->client->getClassConfig('Forminator_Google_IO_Exception', 'retry_map');
124
 
125
  $this->client->getLogger()->error('cURL ' . $error);
126
+ throw new Forminator_Google_IO_Exception($error, $code, null, $map);
127
  }
128
  $headerSize = curl_getinfo($curl, CURLINFO_HEADER_SIZE);
129
 
189
 
190
  $ver = curl_version();
191
  $versionNum = $ver['version_number'];
192
+ return $versionNum < Forminator_Google_IO_Curl::NO_QUIRK_VERSION;
193
  }
194
  }
addons/pro/googlesheet/lib/external/Google/IO/Exception.php CHANGED
@@ -15,11 +15,11 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
- class Google_IO_Exception extends Google_Exception implements Google_Task_Retryable
23
  {
24
  /**
25
  * @var array $retryMap Map of errors with retry counts.
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
+ class Forminator_Google_IO_Exception extends Forminator_Google_Exception implements Forminator_Google_Task_Retryable
23
  {
24
  /**
25
  * @var array $retryMap Map of errors with retry counts.
addons/pro/googlesheet/lib/external/Google/IO/Stream.php CHANGED
@@ -16,16 +16,16 @@
16
  */
17
 
18
  /**
19
- * Http Streams based implementation of Google_IO.
20
  *
21
  * @author Stuart Langley <slangley@google.com>
22
  */
23
 
24
- if (!class_exists('Google_Client')) {
25
  require_once dirname(__FILE__) . '/../autoload.php';
26
  }
27
 
28
- class Google_IO_Stream extends Google_IO_Abstract
29
  {
30
  const TIMEOUT = "timeout";
31
  const ZLIB = "compress.zlib://";
@@ -42,13 +42,13 @@ class Google_IO_Stream extends Google_IO_Abstract
42
  "verify_peer" => true,
43
  );
44
 
45
- public function __construct(Google_Client $client)
46
  {
47
  if (!ini_get('allow_url_fopen')) {
48
  $error = 'The stream IO handler requires the allow_url_fopen runtime ' .
49
  'configuration to be enabled';
50
  $client->getLogger()->critical($error);
51
- throw new Google_IO_Exception($error);
52
  }
53
 
54
  parent::__construct($client);
@@ -57,11 +57,11 @@ class Google_IO_Stream extends Google_IO_Abstract
57
  /**
58
  * Execute an HTTP Request
59
  *
60
- * @param Google_Http_Request $request the http request to be executed
61
  * @return array containing response headers, body, and http code
62
- * @throws Google_IO_Exception on curl or IO error
63
  */
64
- public function executeRequest(Google_Http_Request $request)
65
  {
66
  $default_options = stream_context_get_options(stream_context_get_default());
67
 
@@ -138,7 +138,7 @@ class Google_IO_Stream extends Google_IO_Abstract
138
  );
139
 
140
  $this->client->getLogger()->error('Stream ' . $error);
141
- throw new Google_IO_Exception($error, $this->trappedErrorNumber);
142
  }
143
 
144
  $response_data = false;
@@ -161,7 +161,7 @@ class Google_IO_Stream extends Google_IO_Abstract
161
  );
162
 
163
  $this->client->getLogger()->error('Stream ' . $error);
164
- throw new Google_IO_Exception($error, $respHttpCode);
165
  }
166
 
167
  $responseHeaders = $this->getHttpResponseHeaders($http_response_header);
16
  */
17
 
18
  /**
19
+ * Http Streams based implementation of Forminator_Google_IO.
20
  *
21
  * @author Stuart Langley <slangley@google.com>
22
  */
23
 
24
+ if (!class_exists('Forminator_Google_Client')) {
25
  require_once dirname(__FILE__) . '/../autoload.php';
26
  }
27
 
28
+ class Forminator_Google_IO_Stream extends Forminator_Google_IO_Abstract
29
  {
30
  const TIMEOUT = "timeout";
31
  const ZLIB = "compress.zlib://";
42
  "verify_peer" => true,
43
  );
44
 
45
+ public function __construct(Forminator_Google_Client $client)
46
  {
47
  if (!ini_get('allow_url_fopen')) {
48
  $error = 'The stream IO handler requires the allow_url_fopen runtime ' .
49
  'configuration to be enabled';
50
  $client->getLogger()->critical($error);
51
+ throw new Forminator_Google_IO_Exception($error);
52
  }
53
 
54
  parent::__construct($client);
57
  /**
58
  * Execute an HTTP Request
59
  *
60
+ * @param Forminator_Google_Http_Request $request the http request to be executed
61
  * @return array containing response headers, body, and http code
62
+ * @throws Forminator_Google_IO_Exception on curl or IO error
63
  */
64
+ public function executeRequest(Forminator_Google_Http_Request $request)
65
  {
66
  $default_options = stream_context_get_options(stream_context_get_default());
67
 
138
  );
139
 
140
  $this->client->getLogger()->error('Stream ' . $error);
141
+ throw new Forminator_Google_IO_Exception($error, $this->trappedErrorNumber);
142
  }
143
 
144
  $response_data = false;
161
  );
162
 
163
  $this->client->getLogger()->error('Stream ' . $error);
164
+ throw new Forminator_Google_IO_Exception($error, $respHttpCode);
165
  }
166
 
167
  $responseHeaders = $this->getHttpResponseHeaders($http_response_header);
addons/pro/googlesheet/lib/external/Google/Logger/Abstract.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -27,7 +27,7 @@ if (!class_exists('Google_Client')) {
27
  *
28
  * @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
29
  */
30
- abstract class Google_Logger_Abstract
31
  {
32
  /**
33
  * Default log format
@@ -118,22 +118,22 @@ abstract class Google_Logger_Abstract
118
  protected $allowNewLines = false;
119
 
120
  /**
121
- * @param Google_Client $client The current Google client
122
  */
123
- public function __construct(Google_Client $client)
124
  {
125
  $this->setLevel(
126
- $client->getClassConfig('Google_Logger_Abstract', 'level')
127
  );
128
 
129
- $format = $client->getClassConfig('Google_Logger_Abstract', 'log_format');
130
  $this->logFormat = $format ? $format : self::DEFAULT_LOG_FORMAT;
131
 
132
- $format = $client->getClassConfig('Google_Logger_Abstract', 'date_format');
133
  $this->dateFormat = $format ? $format : self::DEFAULT_DATE_FORMAT;
134
 
135
  $this->allowNewLines = (bool) $client->getClassConfig(
136
- 'Google_Logger_Abstract',
137
  'allow_newlines'
138
  );
139
  }
@@ -382,7 +382,7 @@ abstract class Google_Logger_Abstract
382
  *
383
  * @param mixed $level The logging level
384
  * @return integer $level The normalized level
385
- * @throws Google_Logger_Exception If $level is invalid
386
  */
387
  protected function normalizeLevel($level)
388
  {
@@ -394,7 +394,7 @@ abstract class Google_Logger_Abstract
394
  return self::$levels[$level];
395
  }
396
 
397
- throw new Google_Logger_Exception(
398
  sprintf("Unknown LogLevel: '%s'", $level)
399
  );
400
  }
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
27
  *
28
  * @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
29
  */
30
+ abstract class Forminator_Google_Logger_Abstract
31
  {
32
  /**
33
  * Default log format
118
  protected $allowNewLines = false;
119
 
120
  /**
121
+ * @param Forminator_Google_Client $client The current Google client
122
  */
123
+ public function __construct(Forminator_Google_Client $client)
124
  {
125
  $this->setLevel(
126
+ $client->getClassConfig('Forminator_Google_Logger_Abstract', 'level')
127
  );
128
 
129
+ $format = $client->getClassConfig('Forminator_Google_Logger_Abstract', 'log_format');
130
  $this->logFormat = $format ? $format : self::DEFAULT_LOG_FORMAT;
131
 
132
+ $format = $client->getClassConfig('Forminator_Google_Logger_Abstract', 'date_format');
133
  $this->dateFormat = $format ? $format : self::DEFAULT_DATE_FORMAT;
134
 
135
  $this->allowNewLines = (bool) $client->getClassConfig(
136
+ 'Forminator_Google_Logger_Abstract',
137
  'allow_newlines'
138
  );
139
  }
382
  *
383
  * @param mixed $level The logging level
384
  * @return integer $level The normalized level
385
+ * @throws Forminator_Google_Logger_Exception If $level is invalid
386
  */
387
  protected function normalizeLevel($level)
388
  {
394
  return self::$levels[$level];
395
  }
396
 
397
+ throw new Forminator_Google_Logger_Exception(
398
  sprintf("Unknown LogLevel: '%s'", $level)
399
  );
400
  }
addons/pro/googlesheet/lib/external/Google/Logger/Exception.php CHANGED
@@ -15,10 +15,10 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
- class Google_Logger_Exception extends Google_Exception
23
  {
24
  }
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
22
+ class Forminator_Google_Logger_Exception extends Forminator_Google_Exception
23
  {
24
  }
addons/pro/googlesheet/lib/external/Google/Logger/File.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -24,7 +24,7 @@ if (!class_exists('Google_Client')) {
24
  *
25
  * This logger writes to a PHP stream resource.
26
  */
27
- class Google_Logger_File extends Google_Logger_Abstract
28
  {
29
  /**
30
  * @var string|resource $file Where logs are written
@@ -51,23 +51,23 @@ class Google_Logger_File extends Google_Logger_Abstract
51
  /**
52
  * {@inheritdoc}
53
  */
54
- public function __construct(Google_Client $client)
55
  {
56
  parent::__construct($client);
57
 
58
- $file = $client->getClassConfig('Google_Logger_File', 'file');
59
  if (!is_string($file) && !is_resource($file)) {
60
- throw new Google_Logger_Exception(
61
  'File logger requires a filename or a valid file pointer'
62
  );
63
  }
64
 
65
- $mode = $client->getClassConfig('Google_Logger_File', 'mode');
66
  if (!$mode) {
67
  $this->mode = $mode;
68
  }
69
 
70
- $this->lock = (bool) $client->getClassConfig('Google_Logger_File', 'lock');
71
  $this->file = $file;
72
  }
73
 
@@ -79,7 +79,7 @@ class Google_Logger_File extends Google_Logger_Abstract
79
  if (is_string($this->file)) {
80
  $this->open();
81
  } elseif (!is_resource($this->file)) {
82
- throw new Google_Logger_Exception('File pointer is no longer available');
83
  }
84
 
85
  if ($this->lock) {
@@ -113,7 +113,7 @@ class Google_Logger_File extends Google_Logger_Abstract
113
 
114
  // Handles trapped `fopen()` errors.
115
  if ($this->trappedErrorNumber) {
116
- throw new Google_Logger_Exception(
117
  sprintf(
118
  "Logger Error: '%s'",
119
  $this->trappedErrorString
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
24
  *
25
  * This logger writes to a PHP stream resource.
26
  */
27
+ class Forminator_Google_Logger_File extends Forminator_Google_Logger_Abstract
28
  {
29
  /**
30
  * @var string|resource $file Where logs are written
51
  /**
52
  * {@inheritdoc}
53
  */
54
+ public function __construct(Forminator_Google_Client $client)
55
  {
56
  parent::__construct($client);
57
 
58
+ $file = $client->getClassConfig('Forminator_Google_Logger_File', 'file');
59
  if (!is_string($file) && !is_resource($file)) {
60
+ throw new Forminator_Google_Logger_Exception(
61
  'File logger requires a filename or a valid file pointer'
62
  );
63
  }
64
 
65
+ $mode = $client->getClassConfig('Forminator_Google_Logger_File', 'mode');
66
  if (!$mode) {
67
  $this->mode = $mode;
68
  }
69
 
70
+ $this->lock = (bool) $client->getClassConfig('Forminator_Google_Logger_File', 'lock');
71
  $this->file = $file;
72
  }
73
 
79
  if (is_string($this->file)) {
80
  $this->open();
81
  } elseif (!is_resource($this->file)) {
82
+ throw new Forminator_Google_Logger_Exception('File pointer is no longer available');
83
  }
84
 
85
  if ($this->lock) {
113
 
114
  // Handles trapped `fopen()` errors.
115
  if ($this->trappedErrorNumber) {
116
+ throw new Forminator_Google_Logger_Exception(
117
  sprintf(
118
  "Logger Error: '%s'",
119
  $this->trappedErrorString
addons/pro/googlesheet/lib/external/Google/Logger/Null.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -24,7 +24,7 @@ if (!class_exists('Google_Client')) {
24
  *
25
  * This logger simply discards all messages.
26
  */
27
- class Google_Logger_Null extends Google_Logger_Abstract
28
  {
29
  /**
30
  * {@inheritdoc}
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
24
  *
25
  * This logger simply discards all messages.
26
  */
27
+ class Forminator_Google_Logger_Null extends Forminator_Google_Logger_Abstract
28
  {
29
  /**
30
  * {@inheritdoc}
addons/pro/googlesheet/lib/external/Google/Logger/Psr.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- if (!class_exists('Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
@@ -23,9 +23,9 @@ if (!class_exists('Google_Client')) {
23
  * Psr logging class based on the PSR-3 standard.
24
  *
25
  * This logger will delegate all logging to a PSR-3 compatible logger specified
26
- * with the `Google_Logger_Psr::setLogger()` method.
27
  */
28
- class Google_Logger_Psr extends Google_Logger_Abstract
29
  {
30
  /**
31
  * @param Psr\Log\LoggerInterface $logger The PSR-3 logger
@@ -33,10 +33,10 @@ class Google_Logger_Psr extends Google_Logger_Abstract
33
  private $logger;
34
 
35
  /**
36
- * @param Google_Client $client The current Google client
37
  * @param Psr\Log\LoggerInterface $logger PSR-3 logger where logging will be delegated.
38
  */
39
- public function __construct(Google_Client $client, /*Psr\Log\LoggerInterface*/ $logger = null)
40
  {
41
  parent::__construct($client);
42
 
15
  * limitations under the License.
16
  */
17
 
18
+ if (!class_exists('Forminator_Google_Client')) {
19
  require_once dirname(__FILE__) . '/../autoload.php';
20
  }
21
 
23
  * Psr logging class based on the PSR-3 standard.
24
  *
25
  * This logger will delegate all logging to a PSR-3 compatible logger specified
26
+ * with the `Forminator_Google_Logger_Psr::setLogger()` method.
27
  */
28
+ class Forminator_Google_Logger_Psr extends Forminator_Google_Logger_Abstract
29
  {
30
  /**
31
  * @param Psr\Log\LoggerInterface $logger The PSR-3 logger
33
  private $logger;
34
 
35
  /**
36
+ * @param Forminator_Google_Client $client The current Google client
37
  * @param Psr\Log\LoggerInterface $logger PSR-3 logger where logging will be delegated.
38
  */
39
+ public function __construct(Forminator_Google_Client $client, /*Psr\Log\LoggerInterface*/ $logger = null)
40
  {
41
  parent::__construct($client);
42
 
addons/pro/googlesheet/lib/external/Google/Model.php CHANGED
@@ -21,10 +21,10 @@
21
  * http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5
22
  *
23
  */
24
- class Google_Model implements ArrayAccess
25
  {
26
  /**
27
- * If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE
28
  * instead - it will be replaced when converting to JSON with a real null.
29
  */
30
  const NULL_VALUE = "{}gapi-php-null";
@@ -102,7 +102,7 @@ class Google_Model implements ArrayAccess
102
  property_exists($this, $key)) {
103
  $this->$key = $val;
104
  unset($array[$key]);
105
- } elseif (property_exists($this, $camelKey = Google_Utils::camelCase($key))) {
106
  // This checks if property exists as camelCase, leaving it in array as snake_case
107
  // in case of backwards compatibility issues.
108
  $this->$camelKey = $val;
@@ -160,7 +160,7 @@ class Google_Model implements ArrayAccess
160
  */
161
  private function getSimpleValue($value)
162
  {
163
- if ($value instanceof Google_Model) {
164
  return $value->toSimpleObject();
165
  } else if (is_array($value)) {
166
  $return = array();
@@ -233,14 +233,14 @@ class Google_Model implements ArrayAccess
233
 
234
  /**
235
  * Verify if $obj is an array.
236
- * @throws Google_Exception Thrown if $obj isn't an array.
237
  * @param array $obj Items that should be validated.
238
  * @param string $method Method expecting an array as an argument.
239
  */
240
  public function assertIsArray($obj, $method)
241
  {
242
  if ($obj && !is_array($obj)) {
243
- throw new Google_Exception(
244
  "Incorrect parameter type passed to $method(). Expected an array."
245
  );
246
  }
21
  * http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5
22
  *
23
  */
24
+ class Forminator_Google_Model implements ArrayAccess
25
  {
26
  /**
27
+ * If you need to specify a NULL JSON value, use Forminator_Google_Model::NULL_VALUE
28
  * instead - it will be replaced when converting to JSON with a real null.
29
  */
30
  const NULL_VALUE = "{}gapi-php-null";
102
  property_exists($this, $key)) {
103
  $this->$key = $val;
104
  unset($array[$key]);
105
+ } elseif (property_exists($this, $camelKey = Forminator_Google_Utils::camelCase($key))) {
106
  // This checks if property exists as camelCase, leaving it in array as snake_case
107
  // in case of backwards compatibility issues.
108
  $this->$camelKey = $val;
160
  */
161
  private function getSimpleValue($value)
162
  {
163
+ if ($value instanceof Forminator_Google_Model) {
164
  return $value->toSimpleObject();
165
  } else if (is_array($value)) {
166
  $return = array();
233
 
234
  /**
235
  * Verify if $obj is an array.
236
+ * @throws Forminator_Google_Exception Thrown if $obj isn't an array.
237
  * @param array $obj Items that should be validated.
238
  * @param string $method Method expecting an array as an argument.
239
  */
240
  public function assertIsArray($obj, $method)
241
  {
242
  if ($obj && !is_array($obj)) {
243
+ throw new Forminator_Google_Exception(
244
  "Incorrect parameter type passed to $method(). Expected an array."
245
  );
246
  }
addons/pro/googlesheet/lib/external/Google/Service.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- class Google_Service
19
  {
20
  public $batchPath;
21
  public $rootUrl;
@@ -25,14 +25,14 @@ class Google_Service
25
  public $resource;
26
  private $client;
27
 
28
- public function __construct(Google_Client $client)
29
  {
30
  $this->client = $client;
31
  }
32
 
33
  /**
34
- * Return the associated Google_Client class.
35
- * @return Google_Client
36
  */
37
  public function getClient()
38
  {
@@ -42,11 +42,11 @@ class Google_Service
42
  /**
43
  * Create a new HTTP Batch handler for this service
44
  *
45
- * @return Google_Http_Batch
46
  */
47
  public function createBatch()
48
  {
49
- return new Google_Http_Batch(
50
  $this->client,
51
  false,
52
  $this->rootUrl,
15
  * limitations under the License.
16
  */
17
 
18
+ class Forminator_Google_Service
19
  {
20
  public $batchPath;
21
  public $rootUrl;
25
  public $resource;
26
  private $client;
27
 
28
+ public function __construct(Forminator_Google_Client $client)
29
  {
30
  $this->client = $client;
31
  }
32
 
33
  /**
34
+ * Return the associated Forminator_Google_Client class.
35
+ * @return Forminator_Google_Client
36
  */
37
  public function getClient()
38
  {
42
  /**
43
  * Create a new HTTP Batch handler for this service
44
  *
45
+ * @return Forminator_Google_Http_Batch
46
  */
47
  public function createBatch()
48
  {
49
+ return new Forminator_Google_Http_Batch(
50
  $this->client,
51
  false,
52
  $this->rootUrl,
addons/pro/googlesheet/lib/external/Google/Service/AdExchangeBuyer.php CHANGED
@@ -27,7 +27,7 @@
27
  *
28
  * @author Google, Inc.
29
  */
30
- class Google_Service_AdExchangeBuyer extends Google_Service
31
  {
32
  /** Manage your Ad Exchange buyer account configuration. */
33
  const ADEXCHANGE_BUYER =
@@ -48,9 +48,9 @@ class Google_Service_AdExchangeBuyer extends Google_Service
48
  /**
49
  * Constructs the internal representation of the AdExchangeBuyer service.
50
  *
51
- * @param Google_Client $client
52
  */
53
- public function __construct(Google_Client $client)
54
  {
55
  parent::__construct($client);
56
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -58,7 +58,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
58
  $this->version = 'v1.4';
59
  $this->serviceName = 'adexchangebuyer';
60
 
61
- $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource(
62
  $this,
63
  $this->serviceName,
64
  'accounts',
@@ -102,7 +102,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
102
  )
103
  )
104
  );
105
- $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource(
106
  $this,
107
  $this->serviceName,
108
  'billingInfo',
@@ -126,7 +126,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
126
  )
127
  )
128
  );
129
- $this->budget = new Google_Service_AdExchangeBuyer_Budget_Resource(
130
  $this,
131
  $this->serviceName,
132
  'budget',
@@ -181,7 +181,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
181
  )
182
  )
183
  );
184
- $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource(
185
  $this,
186
  $this->serviceName,
187
  'creatives',
@@ -281,7 +281,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
281
  )
282
  )
283
  );
284
- $this->marketplacedeals = new Google_Service_AdExchangeBuyer_Marketplacedeals_Resource(
285
  $this,
286
  $this->serviceName,
287
  'marketplacedeals',
@@ -331,7 +331,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
331
  )
332
  )
333
  );
334
- $this->marketplacenotes = new Google_Service_AdExchangeBuyer_Marketplacenotes_Resource(
335
  $this,
336
  $this->serviceName,
337
  'marketplacenotes',
@@ -361,7 +361,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
361
  )
362
  )
363
  );
364
- $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource(
365
  $this,
366
  $this->serviceName,
367
  'performanceReport',
@@ -399,7 +399,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
399
  )
400
  )
401
  );
402
- $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource(
403
  $this,
404
  $this->serviceName,
405
  'pretargetingConfig',
@@ -489,7 +489,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
489
  )
490
  )
491
  );
492
- $this->products = new Google_Service_AdExchangeBuyer_Products_Resource(
493
  $this,
494
  $this->serviceName,
495
  'products',
@@ -518,7 +518,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
518
  )
519
  )
520
  );
521
- $this->proposals = new Google_Service_AdExchangeBuyer_Proposals_Resource(
522
  $this,
523
  $this->serviceName,
524
  'proposals',
@@ -599,11 +599,11 @@ class Google_Service_AdExchangeBuyer extends Google_Service
599
  * The "accounts" collection of methods.
600
  * Typical usage is:
601
  * <code>
602
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
603
  * $accounts = $adexchangebuyerService->accounts;
604
  * </code>
605
  */
606
- class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Resource
607
  {
608
 
609
  /**
@@ -611,26 +611,26 @@ class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Re
611
  *
612
  * @param int $id The account id
613
  * @param array $optParams Optional parameters.
614
- * @return Google_Service_AdExchangeBuyer_Account
615
  */
616
  public function get($id, $optParams = array())
617
  {
618
  $params = array('id' => $id);
619
  $params = array_merge($params, $optParams);
620
- return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account");
621
  }
622
 
623
  /**
624
  * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
625
  *
626
  * @param array $optParams Optional parameters.
627
- * @return Google_Service_AdExchangeBuyer_AccountsList
628
  */
629
  public function listAccounts($optParams = array())
630
  {
631
  $params = array();
632
  $params = array_merge($params, $optParams);
633
- return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList");
634
  }
635
 
636
  /**
@@ -638,30 +638,30 @@ class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Re
638
  * (accounts.patch)
639
  *
640
  * @param int $id The account id
641
- * @param Google_Account $postBody
642
  * @param array $optParams Optional parameters.
643
- * @return Google_Service_AdExchangeBuyer_Account
644
  */
645
- public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
646
  {
647
  $params = array('id' => $id, 'postBody' => $postBody);
648
  $params = array_merge($params, $optParams);
649
- return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account");
650
  }
651
 
652
  /**
653
  * Updates an existing account. (accounts.update)
654
  *
655
  * @param int $id The account id
656
- * @param Google_Account $postBody
657
  * @param array $optParams Optional parameters.
658
- * @return Google_Service_AdExchangeBuyer_Account
659
  */
660
- public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
661
  {
662
  $params = array('id' => $id, 'postBody' => $postBody);
663
  $params = array_merge($params, $optParams);
664
- return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account");
665
  }
666
  }
667
 
@@ -669,11 +669,11 @@ class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Re
669
  * The "billingInfo" collection of methods.
670
  * Typical usage is:
671
  * <code>
672
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
673
  * $billingInfo = $adexchangebuyerService->billingInfo;
674
  * </code>
675
  */
676
- class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service_Resource
677
  {
678
 
679
  /**
@@ -682,13 +682,13 @@ class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service
682
  *
683
  * @param int $accountId The account id.
684
  * @param array $optParams Optional parameters.
685
- * @return Google_Service_AdExchangeBuyer_BillingInfo
686
  */
687
  public function get($accountId, $optParams = array())
688
  {
689
  $params = array('accountId' => $accountId);
690
  $params = array_merge($params, $optParams);
691
- return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_BillingInfo");
692
  }
693
 
694
  /**
@@ -696,13 +696,13 @@ class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service
696
  * user. (billingInfo.listBillingInfo)
697
  *
698
  * @param array $optParams Optional parameters.
699
- * @return Google_Service_AdExchangeBuyer_BillingInfoList
700
  */
701
  public function listBillingInfo($optParams = array())
702
  {
703
  $params = array();
704
  $params = array_merge($params, $optParams);
705
- return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList");
706
  }
707
  }
708
 
@@ -710,11 +710,11 @@ class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service
710
  * The "budget" collection of methods.
711
  * Typical usage is:
712
  * <code>
713
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
714
  * $budget = $adexchangebuyerService->budget;
715
  * </code>
716
  */
717
- class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Resource
718
  {
719
 
720
  /**
@@ -724,13 +724,13 @@ class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Reso
724
  * @param string $accountId The account id to get the budget information for.
725
  * @param string $billingId The billing id to get the budget information for.
726
  * @param array $optParams Optional parameters.
727
- * @return Google_Service_AdExchangeBuyer_Budget
728
  */
729
  public function get($accountId, $billingId, $optParams = array())
730
  {
731
  $params = array('accountId' => $accountId, 'billingId' => $billingId);
732
  $params = array_merge($params, $optParams);
733
- return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Budget");
734
  }
735
 
736
  /**
@@ -742,15 +742,15 @@ class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Reso
742
  * updated.
743
  * @param string $billingId The billing id associated with the budget being
744
  * updated.
745
- * @param Google_Budget $postBody
746
  * @param array $optParams Optional parameters.
747
- * @return Google_Service_AdExchangeBuyer_Budget
748
  */
749
- public function patch($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
750
  {
751
  $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
752
  $params = array_merge($params, $optParams);
753
- return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Budget");
754
  }
755
 
756
  /**
@@ -762,15 +762,15 @@ class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Reso
762
  * updated.
763
  * @param string $billingId The billing id associated with the budget being
764
  * updated.
765
- * @param Google_Budget $postBody
766
  * @param array $optParams Optional parameters.
767
- * @return Google_Service_AdExchangeBuyer_Budget
768
  */
769
- public function update($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
770
  {
771
  $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
772
  $params = array_merge($params, $optParams);
773
- return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Budget");
774
  }
775
  }
776
 
@@ -778,11 +778,11 @@ class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Reso
778
  * The "creatives" collection of methods.
779
  * Typical usage is:
780
  * <code>
781
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
782
  * $creatives = $adexchangebuyerService->creatives;
783
  * </code>
784
  */
785
- class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_Resource
786
  {
787
 
788
  /**
@@ -807,27 +807,27 @@ class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_R
807
  * @param int $accountId The id for the account that will serve this creative.
808
  * @param string $buyerCreativeId The buyer-specific id for this creative.
809
  * @param array $optParams Optional parameters.
810
- * @return Google_Service_AdExchangeBuyer_Creative
811
  */
812
  public function get($accountId, $buyerCreativeId, $optParams = array())
813
  {
814
  $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
815
  $params = array_merge($params, $optParams);
816
- return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Creative");
817
  }
818
 
819
  /**
820
  * Submit a new creative. (creatives.insert)
821
  *
822
- * @param Google_Creative $postBody
823
  * @param array $optParams Optional parameters.
824
- * @return Google_Service_AdExchangeBuyer_Creative
825
  */
826
- public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
827
  {
828
  $params = array('postBody' => $postBody);
829
  $params = array_merge($params, $optParams);
830
- return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_Creative");
831
  }
832
 
833
  /**
@@ -849,13 +849,13 @@ class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_R
849
  * @opt_param string pageToken A continuation token, used to page through ad
850
  * clients. To retrieve the next page, set this parameter to the value of
851
  * "nextPageToken" from the previous response. Optional.
852
- * @return Google_Service_AdExchangeBuyer_CreativesList
853
  */
854
  public function listCreatives($optParams = array())
855
  {
856
  $params = array();
857
  $params = array_merge($params, $optParams);
858
- return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList");
859
  }
860
 
861
  /**
@@ -879,41 +879,41 @@ class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_R
879
  * The "marketplacedeals" collection of methods.
880
  * Typical usage is:
881
  * <code>
882
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
883
  * $marketplacedeals = $adexchangebuyerService->marketplacedeals;
884
  * </code>
885
  */
886
- class Google_Service_AdExchangeBuyer_Marketplacedeals_Resource extends Google_Service_Resource
887
  {
888
 
889
  /**
890
  * Delete the specified deals from the proposal (marketplacedeals.delete)
891
  *
892
  * @param string $proposalId The proposalId to delete deals from.
893
- * @param Google_DeleteOrderDealsRequest $postBody
894
  * @param array $optParams Optional parameters.
895
- * @return Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse
896
  */
897
- public function delete($proposalId, Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody, $optParams = array())
898
  {
899
  $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
900
  $params = array_merge($params, $optParams);
901
- return $this->call('delete', array($params), "Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse");
902
  }
903
 
904
  /**
905
  * Add new deals for the specified proposal (marketplacedeals.insert)
906
  *
907
  * @param string $proposalId proposalId for which deals need to be added.
908
- * @param Google_AddOrderDealsRequest $postBody
909
  * @param array $optParams Optional parameters.
910
- * @return Google_Service_AdExchangeBuyer_AddOrderDealsResponse
911
  */
912
- public function insert($proposalId, Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody, $optParams = array())
913
  {
914
  $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
915
  $params = array_merge($params, $optParams);
916
- return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderDealsResponse");
917
  }
918
 
919
  /**
@@ -922,13 +922,13 @@ class Google_Service_AdExchangeBuyer_Marketplacedeals_Resource extends Google_Se
922
  *
923
  * @param string $proposalId The proposalId to get deals for.
924
  * @param array $optParams Optional parameters.
925
- * @return Google_Service_AdExchangeBuyer_GetOrderDealsResponse
926
  */
927
  public function listMarketplacedeals($proposalId, $optParams = array())
928
  {
929
  $params = array('proposalId' => $proposalId);
930
  $params = array_merge($params, $optParams);
931
- return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderDealsResponse");
932
  }
933
 
934
  /**
@@ -936,15 +936,15 @@ class Google_Service_AdExchangeBuyer_Marketplacedeals_Resource extends Google_Se
936
  * (marketplacedeals.update)
937
  *
938
  * @param string $proposalId The proposalId to edit deals on.
939
- * @param Google_EditAllOrderDealsRequest $postBody
940
  * @param array $optParams Optional parameters.
941
- * @return Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse
942
  */
943
- public function update($proposalId, Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody, $optParams = array())
944
  {
945
  $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
946
  $params = array_merge($params, $optParams);
947
- return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse");
948
  }
949
  }
950
 
@@ -952,26 +952,26 @@ class Google_Service_AdExchangeBuyer_Marketplacedeals_Resource extends Google_Se
952
  * The "marketplacenotes" collection of methods.
953
  * Typical usage is:
954
  * <code>
955
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
956
  * $marketplacenotes = $adexchangebuyerService->marketplacenotes;
957
  * </code>
958
  */
959
- class Google_Service_AdExchangeBuyer_Marketplacenotes_Resource extends Google_Service_Resource
960
  {
961
 
962
  /**
963
  * Add notes to the proposal (marketplacenotes.insert)
964
  *
965
  * @param string $proposalId The proposalId to add notes for.
966
- * @param Google_AddOrderNotesRequest $postBody
967
  * @param array $optParams Optional parameters.
968
- * @return Google_Service_AdExchangeBuyer_AddOrderNotesResponse
969
  */
970
- public function insert($proposalId, Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody, $optParams = array())
971
  {
972
  $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
973
  $params = array_merge($params, $optParams);
974
- return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderNotesResponse");
975
  }
976
 
977
  /**
@@ -980,13 +980,13 @@ class Google_Service_AdExchangeBuyer_Marketplacenotes_Resource extends Google_Se
980
  *
981
  * @param string $proposalId The proposalId to get notes for.
982
  * @param array $optParams Optional parameters.
983
- * @return Google_Service_AdExchangeBuyer_GetOrderNotesResponse
984
  */
985
  public function listMarketplacenotes($proposalId, $optParams = array())
986
  {
987
  $params = array('proposalId' => $proposalId);
988
  $params = array_merge($params, $optParams);
989
- return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderNotesResponse");
990
  }
991
  }
992
 
@@ -994,11 +994,11 @@ class Google_Service_AdExchangeBuyer_Marketplacenotes_Resource extends Google_Se
994
  * The "performanceReport" collection of methods.
995
  * Typical usage is:
996
  * <code>
997
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
998
  * $performanceReport = $adexchangebuyerService->performanceReport;
999
  * </code>
1000
  */
1001
- class Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Google_Service_Resource
1002
  {
1003
 
1004
  /**
@@ -1017,13 +1017,13 @@ class Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Google_S
1017
  * @opt_param string pageToken A continuation token, used to page through
1018
  * performance reports. To retrieve the next page, set this parameter to the
1019
  * value of "nextPageToken" from the previous response. Optional.
1020
- * @return Google_Service_AdExchangeBuyer_PerformanceReportList
1021
  */
1022
  public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
1023
  {
1024
  $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
1025
  $params = array_merge($params, $optParams);
1026
- return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PerformanceReportList");
1027
  }
1028
  }
1029
 
@@ -1031,11 +1031,11 @@ class Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Google_S
1031
  * The "pretargetingConfig" collection of methods.
1032
  * Typical usage is:
1033
  * <code>
1034
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1035
  * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
1036
  * </code>
1037
  */
1038
- class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_Service_Resource
1039
  {
1040
 
1041
  /**
@@ -1059,13 +1059,13 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_
1059
  * @param string $accountId The account id to get the pretargeting config for.
1060
  * @param string $configId The specific id of the configuration to retrieve.
1061
  * @param array $optParams Optional parameters.
1062
- * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1063
  */
1064
  public function get($accountId, $configId, $optParams = array())
1065
  {
1066
  $params = array('accountId' => $accountId, 'configId' => $configId);
1067
  $params = array_merge($params, $optParams);
1068
- return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1069
  }
1070
 
1071
  /**
@@ -1073,15 +1073,15 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_
1073
  *
1074
  * @param string $accountId The account id to insert the pretargeting config
1075
  * for.
1076
- * @param Google_PretargetingConfig $postBody
1077
  * @param array $optParams Optional parameters.
1078
- * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1079
  */
1080
- public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1081
  {
1082
  $params = array('accountId' => $accountId, 'postBody' => $postBody);
1083
  $params = array_merge($params, $optParams);
1084
- return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1085
  }
1086
 
1087
  /**
@@ -1090,13 +1090,13 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_
1090
  *
1091
  * @param string $accountId The account id to get the pretargeting configs for.
1092
  * @param array $optParams Optional parameters.
1093
- * @return Google_Service_AdExchangeBuyer_PretargetingConfigList
1094
  */
1095
  public function listPretargetingConfig($accountId, $optParams = array())
1096
  {
1097
  $params = array('accountId' => $accountId);
1098
  $params = array_merge($params, $optParams);
1099
- return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList");
1100
  }
1101
 
1102
  /**
@@ -1106,15 +1106,15 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_
1106
  * @param string $accountId The account id to update the pretargeting config
1107
  * for.
1108
  * @param string $configId The specific id of the configuration to update.
1109
- * @param Google_PretargetingConfig $postBody
1110
  * @param array $optParams Optional parameters.
1111
- * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1112
  */
1113
- public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1114
  {
1115
  $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
1116
  $params = array_merge($params, $optParams);
1117
- return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1118
  }
1119
 
1120
  /**
@@ -1123,15 +1123,15 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_
1123
  * @param string $accountId The account id to update the pretargeting config
1124
  * for.
1125
  * @param string $configId The specific id of the configuration to update.
1126
- * @param Google_PretargetingConfig $postBody
1127
  * @param array $optParams Optional parameters.
1128
- * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1129
  */
1130
- public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1131
  {
1132
  $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
1133
  $params = array_merge($params, $optParams);
1134
- return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1135
  }
1136
  }
1137
 
@@ -1139,11 +1139,11 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_
1139
  * The "products" collection of methods.
1140
  * Typical usage is:
1141
  * <code>
1142
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1143
  * $products = $adexchangebuyerService->products;
1144
  * </code>
1145
  */
1146
- class Google_Service_AdExchangeBuyer_Products_Resource extends Google_Service_Resource
1147
  {
1148
 
1149
  /**
@@ -1151,13 +1151,13 @@ class Google_Service_AdExchangeBuyer_Products_Resource extends Google_Service_Re
1151
  *
1152
  * @param string $productId The id for the product to get the head revision for.
1153
  * @param array $optParams Optional parameters.
1154
- * @return Google_Service_AdExchangeBuyer_Product
1155
  */
1156
  public function get($productId, $optParams = array())
1157
  {
1158
  $params = array('productId' => $productId);
1159
  $params = array_merge($params, $optParams);
1160
- return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Product");
1161
  }
1162
 
1163
  /**
@@ -1166,13 +1166,13 @@ class Google_Service_AdExchangeBuyer_Products_Resource extends Google_Service_Re
1166
  * @param array $optParams Optional parameters.
1167
  *
1168
  * @opt_param string pqlQuery The pql query used to query for products.
1169
- * @return Google_Service_AdExchangeBuyer_GetOffersResponse
1170
  */
1171
  public function search($optParams = array())
1172
  {
1173
  $params = array();
1174
  $params = array_merge($params, $optParams);
1175
- return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOffersResponse");
1176
  }
1177
  }
1178
 
@@ -1180,11 +1180,11 @@ class Google_Service_AdExchangeBuyer_Products_Resource extends Google_Service_Re
1180
  * The "proposals" collection of methods.
1181
  * Typical usage is:
1182
  * <code>
1183
- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1184
  * $proposals = $adexchangebuyerService->proposals;
1185
  * </code>
1186
  */
1187
- class Google_Service_AdExchangeBuyer_Proposals_Resource extends Google_Service_Resource
1188
  {
1189
 
1190
  /**
@@ -1192,27 +1192,27 @@ class Google_Service_AdExchangeBuyer_Proposals_Resource extends Google_Service_R
1192
  *
1193
  * @param string $proposalId Id of the proposal to retrieve.
1194
  * @param array $optParams Optional parameters.
1195
- * @return Google_Service_AdExchangeBuyer_Proposal
1196
  */
1197
  public function get($proposalId, $optParams = array())
1198
  {
1199
  $params = array('proposalId' => $proposalId);
1200
  $params = array_merge($params, $optParams);
1201
- return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Proposal");
1202
  }
1203
 
1204
  /**
1205
  * Create the given list of proposals (proposals.insert)
1206
  *
1207
- * @param Google_CreateOrdersRequest $postBody
1208
  * @param array $optParams Optional parameters.
1209
- * @return Google_Service_AdExchangeBuyer_CreateOrdersResponse
1210
  */
1211
- public function insert(Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody, $optParams = array())
1212
  {
1213
  $params = array('postBody' => $postBody);
1214
  $params = array_merge($params, $optParams);
1215
- return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_CreateOrdersResponse");
1216
  }
1217
 
1218
  /**
@@ -1225,15 +1225,15 @@ class Google_Service_AdExchangeBuyer_Proposals_Resource extends Google_Service_R
1225
  * will be thrown. The caller should then fetch the latest proposal at head
1226
  * revision and retry the update at that revision.
1227
  * @param string $updateAction The proposed action to take on the proposal.
1228
- * @param Google_Proposal $postBody
1229
  * @param array $optParams Optional parameters.
1230
- * @return Google_Service_AdExchangeBuyer_Proposal
1231
  */
1232
- public function patch($proposalId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_Proposal $postBody, $optParams = array())
1233
  {
1234
  $params = array('proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
1235
  $params = array_merge($params, $optParams);
1236
- return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Proposal");
1237
  }
1238
 
1239
  /**
@@ -1242,13 +1242,13 @@ class Google_Service_AdExchangeBuyer_Proposals_Resource extends Google_Service_R
1242
  * @param array $optParams Optional parameters.
1243
  *
1244
  * @opt_param string pqlQuery Query string to retrieve specific proposals.
1245
- * @return Google_Service_AdExchangeBuyer_GetOrdersResponse
1246
  */
1247
  public function search($optParams = array())
1248
  {
1249
  $params = array();
1250
  $params = array_merge($params, $optParams);
1251
- return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOrdersResponse");
1252
  }
1253
 
1254
  /**
@@ -1260,27 +1260,27 @@ class Google_Service_AdExchangeBuyer_Proposals_Resource extends Google_Service_R
1260
  * will be thrown. The caller should then fetch the latest proposal at head
1261
  * revision and retry the update at that revision.
1262
  * @param string $updateAction The proposed action to take on the proposal.
1263
- * @param Google_Proposal $postBody
1264
  * @param array $optParams Optional parameters.
1265
- * @return Google_Service_AdExchangeBuyer_Proposal
1266
  */
1267
- public function update($proposalId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_Proposal $postBody, $optParams = array())
1268
  {
1269
  $params = array('proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
1270
  $params = array_merge($params, $optParams);
1271
- return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Proposal");
1272
  }
1273
  }
1274
 
1275
 
1276
 
1277
 
1278
- class Google_Service_AdExchangeBuyer_Account extends Google_Collection
1279
  {
1280
  protected $collection_key = 'bidderLocation';
1281
  protected $internal_gapi_mappings = array(
1282
  );
1283
- protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
1284
  protected $bidderLocationDataType = 'array';
1285
  public $cookieMatchingNid;
1286
  public $cookieMatchingUrl;
@@ -1357,7 +1357,7 @@ class Google_Service_AdExchangeBuyer_Account extends Google_Collection
1357
  }
1358
  }
1359
 
1360
- class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
1361
  {
1362
  protected $internal_gapi_mappings = array(
1363
  );
@@ -1392,12 +1392,12 @@ class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
1392
  }
1393
  }
1394
 
1395
- class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
1396
  {
1397
  protected $collection_key = 'items';
1398
  protected $internal_gapi_mappings = array(
1399
  );
1400
- protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
1401
  protected $itemsDataType = 'array';
1402
  public $kind;
1403
 
@@ -1420,12 +1420,12 @@ class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
1420
  }
1421
  }
1422
 
1423
- class Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection
1424
  {
1425
  protected $collection_key = 'deals';
1426
  protected $internal_gapi_mappings = array(
1427
  );
1428
- protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
1429
  protected $dealsDataType = 'array';
1430
  public $proposalRevisionNumber;
1431
  public $updateAction;
@@ -1457,12 +1457,12 @@ class Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collect
1457
  }
1458
  }
1459
 
1460
- class Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection
1461
  {
1462
  protected $collection_key = 'deals';
1463
  protected $internal_gapi_mappings = array(
1464
  );
1465
- protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
1466
  protected $dealsDataType = 'array';
1467
  public $proposalRevisionNumber;
1468
 
@@ -1485,12 +1485,12 @@ class Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collec
1485
  }
1486
  }
1487
 
1488
- class Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collection
1489
  {
1490
  protected $collection_key = 'notes';
1491
  protected $internal_gapi_mappings = array(
1492
  );
1493
- protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
1494
  protected $notesDataType = 'array';
1495
 
1496
 
@@ -1504,12 +1504,12 @@ class Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collect
1504
  }
1505
  }
1506
 
1507
- class Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collection
1508
  {
1509
  protected $collection_key = 'notes';
1510
  protected $internal_gapi_mappings = array(
1511
  );
1512
- protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
1513
  protected $notesDataType = 'array';
1514
 
1515
 
@@ -1523,7 +1523,7 @@ class Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collec
1523
  }
1524
  }
1525
 
1526
- class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
1527
  {
1528
  protected $collection_key = 'billingId';
1529
  protected $internal_gapi_mappings = array(
@@ -1568,12 +1568,12 @@ class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
1568
  }
1569
  }
1570
 
1571
- class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
1572
  {
1573
  protected $collection_key = 'items';
1574
  protected $internal_gapi_mappings = array(
1575
  );
1576
- protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
1577
  protected $itemsDataType = 'array';
1578
  public $kind;
1579
 
@@ -1596,7 +1596,7 @@ class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
1596
  }
1597
  }
1598
 
1599
- class Google_Service_AdExchangeBuyer_Budget extends Google_Model
1600
  {
1601
  protected $internal_gapi_mappings = array(
1602
  );
@@ -1658,7 +1658,7 @@ class Google_Service_AdExchangeBuyer_Budget extends Google_Model
1658
  }
1659
  }
1660
 
1661
- class Google_Service_AdExchangeBuyer_Buyer extends Google_Model
1662
  {
1663
  protected $internal_gapi_mappings = array(
1664
  );
@@ -1675,7 +1675,7 @@ class Google_Service_AdExchangeBuyer_Buyer extends Google_Model
1675
  }
1676
  }
1677
 
1678
- class Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model
1679
  {
1680
  protected $internal_gapi_mappings = array(
1681
  );
@@ -1701,12 +1701,12 @@ class Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model
1701
  }
1702
  }
1703
 
1704
- class Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Google_Collection
1705
  {
1706
  protected $collection_key = 'proposals';
1707
  protected $internal_gapi_mappings = array(
1708
  );
1709
- protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
1710
  protected $proposalsDataType = 'array';
1711
  public $webPropertyCode;
1712
 
@@ -1729,12 +1729,12 @@ class Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Google_Collecti
1729
  }
1730
  }
1731
 
1732
- class Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Google_Collection
1733
  {
1734
  protected $collection_key = 'proposals';
1735
  protected $internal_gapi_mappings = array(
1736
  );
1737
- protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
1738
  protected $proposalsDataType = 'array';
1739
 
1740
 
@@ -1748,7 +1748,7 @@ class Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Google_Collect
1748
  }
1749
  }
1750
 
1751
- class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
1752
  {
1753
  protected $collection_key = 'vendorType';
1754
  protected $internal_gapi_mappings = array(
@@ -1763,21 +1763,21 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
1763
  public $attribute;
1764
  public $buyerCreativeId;
1765
  public $clickThroughUrl;
1766
- protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
1767
  protected $correctionsDataType = 'array';
1768
  public $dealsStatus;
1769
- protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
1770
  protected $filteringReasonsDataType = '';
1771
  public $height;
1772
  public $impressionTrackingUrl;
1773
  public $kind;
1774
- protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd';
1775
  protected $nativeAdDataType = '';
1776
  public $openAuctionStatus;
1777
  public $productCategories;
1778
  public $restrictedCategories;
1779
  public $sensitiveCategories;
1780
- protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
1781
  protected $servingRestrictionsDataType = 'array';
1782
  public $vendorType;
1783
  public $version;
@@ -1873,7 +1873,7 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
1873
  {
1874
  return $this->dealsStatus;
1875
  }
1876
- public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
1877
  {
1878
  $this->filteringReasons = $filteringReasons;
1879
  }
@@ -1905,7 +1905,7 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
1905
  {
1906
  return $this->kind;
1907
  }
1908
- public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
1909
  {
1910
  $this->nativeAd = $nativeAd;
1911
  }
@@ -1987,7 +1987,7 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
1987
  }
1988
  }
1989
 
1990
- class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
1991
  {
1992
  protected $collection_key = 'details';
1993
  protected $internal_gapi_mappings = array(
@@ -2014,13 +2014,13 @@ class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collecti
2014
  }
2015
  }
2016
 
2017
- class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
2018
  {
2019
  protected $collection_key = 'reasons';
2020
  protected $internal_gapi_mappings = array(
2021
  );
2022
  public $date;
2023
- protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
2024
  protected $reasonsDataType = 'array';
2025
 
2026
 
@@ -2042,7 +2042,7 @@ class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Col
2042
  }
2043
  }
2044
 
2045
- class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
2046
  {
2047
  protected $internal_gapi_mappings = array(
2048
  );
@@ -2068,22 +2068,22 @@ class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Goo
2068
  }
2069
  }
2070
 
2071
- class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
2072
  {
2073
  protected $collection_key = 'impressionTrackingUrl';
2074
  protected $internal_gapi_mappings = array(
2075
  );
2076
  public $advertiser;
2077
- protected $appIconType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon';
2078
  protected $appIconDataType = '';
2079
  public $body;
2080
  public $callToAction;
2081
  public $clickTrackingUrl;
2082
  public $headline;
2083
- protected $imageType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage';
2084
  protected $imageDataType = '';
2085
  public $impressionTrackingUrl;
2086
- protected $logoType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo';
2087
  protected $logoDataType = '';
2088
  public $price;
2089
  public $starRating;
@@ -2098,7 +2098,7 @@ class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
2098
  {
2099
  return $this->advertiser;
2100
  }
2101
- public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon)
2102
  {
2103
  $this->appIcon = $appIcon;
2104
  }
@@ -2138,7 +2138,7 @@ class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
2138
  {
2139
  return $this->headline;
2140
  }
2141
- public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image)
2142
  {
2143
  $this->image = $image;
2144
  }
@@ -2154,7 +2154,7 @@ class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
2154
  {
2155
  return $this->impressionTrackingUrl;
2156
  }
2157
- public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo)
2158
  {
2159
  $this->logo = $logo;
2160
  }
@@ -2188,7 +2188,7 @@ class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
2188
  }
2189
  }
2190
 
2191
- class Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Model
2192
  {
2193
  protected $internal_gapi_mappings = array(
2194
  );
@@ -2223,7 +2223,7 @@ class Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Mode
2223
  }
2224
  }
2225
 
2226
- class Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model
2227
  {
2228
  protected $internal_gapi_mappings = array(
2229
  );
@@ -2258,7 +2258,7 @@ class Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model
2258
  }
2259
  }
2260
 
2261
- class Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model
2262
  {
2263
  protected $internal_gapi_mappings = array(
2264
  );
@@ -2293,14 +2293,14 @@ class Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model
2293
  }
2294
  }
2295
 
2296
- class Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Google_Collection
2297
  {
2298
  protected $collection_key = 'disapprovalReasons';
2299
  protected $internal_gapi_mappings = array(
2300
  );
2301
- protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts';
2302
  protected $contextsDataType = 'array';
2303
- protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons';
2304
  protected $disapprovalReasonsDataType = 'array';
2305
  public $reason;
2306
 
@@ -2331,7 +2331,7 @@ class Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Google_
2331
  }
2332
  }
2333
 
2334
- class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends Google_Collection
2335
  {
2336
  protected $collection_key = 'platform';
2337
  protected $internal_gapi_mappings = array(
@@ -2376,7 +2376,7 @@ class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends
2376
  }
2377
  }
2378
 
2379
- class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons extends Google_Collection
2380
  {
2381
  protected $collection_key = 'details';
2382
  protected $internal_gapi_mappings = array(
@@ -2403,12 +2403,12 @@ class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReaso
2403
  }
2404
  }
2405
 
2406
- class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
2407
  {
2408
  protected $collection_key = 'items';
2409
  protected $internal_gapi_mappings = array(
2410
  );
2411
- protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
2412
  protected $itemsDataType = 'array';
2413
  public $kind;
2414
  public $nextPageToken;
@@ -2440,20 +2440,20 @@ class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
2440
  }
2441
  }
2442
 
2443
- class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
2444
  {
2445
  protected $internal_gapi_mappings = array(
2446
  );
2447
  public $brandingType;
2448
  public $description;
2449
- protected $estimatedGrossSpendType = 'Google_Service_AdExchangeBuyer_Price';
2450
  protected $estimatedGrossSpendDataType = '';
2451
  public $estimatedImpressionsPerDay;
2452
- protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
2453
  protected $guaranteedFixedPriceTermsDataType = '';
2454
- protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
2455
  protected $nonGuaranteedAuctionTermsDataType = '';
2456
- protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
2457
  protected $nonGuaranteedFixedPriceTermsDataType = '';
2458
 
2459
 
@@ -2473,7 +2473,7 @@ class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
2473
  {
2474
  return $this->description;
2475
  }
2476
- public function setEstimatedGrossSpend(Google_Service_AdExchangeBuyer_Price $estimatedGrossSpend)
2477
  {
2478
  $this->estimatedGrossSpend = $estimatedGrossSpend;
2479
  }
@@ -2489,7 +2489,7 @@ class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
2489
  {
2490
  return $this->estimatedImpressionsPerDay;
2491
  }
2492
- public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
2493
  {
2494
  $this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
2495
  }
@@ -2497,7 +2497,7 @@ class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
2497
  {
2498
  return $this->guaranteedFixedPriceTerms;
2499
  }
2500
- public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
2501
  {
2502
  $this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
2503
  }
@@ -2505,7 +2505,7 @@ class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
2505
  {
2506
  return $this->nonGuaranteedAuctionTerms;
2507
  }
2508
- public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
2509
  {
2510
  $this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
2511
  }
@@ -2515,12 +2515,12 @@ class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
2515
  }
2516
  }
2517
 
2518
- class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends Google_Collection
2519
  {
2520
  protected $collection_key = 'fixedPrices';
2521
  protected $internal_gapi_mappings = array(
2522
  );
2523
- protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
2524
  protected $fixedPricesDataType = 'array';
2525
  public $guaranteedImpressions;
2526
  public $guaranteedLooks;
@@ -2552,13 +2552,13 @@ class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends
2552
  }
2553
  }
2554
 
2555
- class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Google_Collection
2556
  {
2557
  protected $collection_key = 'reservePricePerBuyers';
2558
  protected $internal_gapi_mappings = array(
2559
  );
2560
  public $privateAuctionId;
2561
- protected $reservePricePerBuyersType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
2562
  protected $reservePricePerBuyersDataType = 'array';
2563
 
2564
 
@@ -2580,12 +2580,12 @@ class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends
2580
  }
2581
  }
2582
 
2583
- class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Google_Collection
2584
  {
2585
  protected $collection_key = 'fixedPrices';
2586
  protected $internal_gapi_mappings = array(
2587
  );
2588
- protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
2589
  protected $fixedPricesDataType = 'array';
2590
 
2591
 
@@ -2599,7 +2599,7 @@ class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms exten
2599
  }
2600
  }
2601
 
2602
- class Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Google_Collection
2603
  {
2604
  protected $collection_key = 'dealIds';
2605
  protected $internal_gapi_mappings = array(
@@ -2635,12 +2635,12 @@ class Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Google_Coll
2635
  }
2636
  }
2637
 
2638
- class Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Google_Collection
2639
  {
2640
  protected $collection_key = 'deals';
2641
  protected $internal_gapi_mappings = array(
2642
  );
2643
- protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
2644
  protected $dealsDataType = 'array';
2645
  public $proposalRevisionNumber;
2646
 
@@ -2663,14 +2663,14 @@ class Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Google_Col
2663
  }
2664
  }
2665
 
2666
- class Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection
2667
  {
2668
  protected $collection_key = 'frequencyCaps';
2669
  protected $internal_gapi_mappings = array(
2670
  );
2671
  public $creativeBlockingLevel;
2672
  public $deliveryRateType;
2673
- protected $frequencyCapsType = 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap';
2674
  protected $frequencyCapsDataType = 'array';
2675
 
2676
 
@@ -2700,7 +2700,7 @@ class Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection
2700
  }
2701
  }
2702
 
2703
- class Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Google_Model
2704
  {
2705
  protected $internal_gapi_mappings = array(
2706
  );
@@ -2735,14 +2735,14 @@ class Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Google_
2735
  }
2736
  }
2737
 
2738
- class Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Google_Collection
2739
  {
2740
  protected $collection_key = 'deals';
2741
  protected $internal_gapi_mappings = array(
2742
  );
2743
- protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
2744
  protected $dealsDataType = 'array';
2745
- protected $proposalType = 'Google_Service_AdExchangeBuyer_Proposal';
2746
  protected $proposalDataType = '';
2747
  public $proposalRevisionNumber;
2748
  public $updateAction;
@@ -2756,7 +2756,7 @@ class Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Google_Col
2756
  {
2757
  return $this->deals;
2758
  }
2759
- public function setProposal(Google_Service_AdExchangeBuyer_Proposal $proposal)
2760
  {
2761
  $this->proposal = $proposal;
2762
  }
@@ -2782,12 +2782,12 @@ class Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Google_Col
2782
  }
2783
  }
2784
 
2785
- class Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse extends Google_Collection
2786
  {
2787
  protected $collection_key = 'deals';
2788
  protected $internal_gapi_mappings = array(
2789
  );
2790
- protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
2791
  protected $dealsDataType = 'array';
2792
 
2793
 
@@ -2801,12 +2801,12 @@ class Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse extends Google_Co
2801
  }
2802
  }
2803
 
2804
- class Google_Service_AdExchangeBuyer_GetOffersResponse extends Google_Collection
2805
  {
2806
  protected $collection_key = 'products';
2807
  protected $internal_gapi_mappings = array(
2808
  );
2809
- protected $productsType = 'Google_Service_AdExchangeBuyer_Product';
2810
  protected $productsDataType = 'array';
2811
 
2812
 
@@ -2820,12 +2820,12 @@ class Google_Service_AdExchangeBuyer_GetOffersResponse extends Google_Collection
2820
  }
2821
  }
2822
 
2823
- class Google_Service_AdExchangeBuyer_GetOrderDealsResponse extends Google_Collection
2824
  {
2825
  protected $collection_key = 'deals';
2826
  protected $internal_gapi_mappings = array(
2827
  );
2828
- protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
2829
  protected $dealsDataType = 'array';
2830
 
2831
 
@@ -2839,12 +2839,12 @@ class Google_Service_AdExchangeBuyer_GetOrderDealsResponse extends Google_Collec
2839
  }
2840
  }
2841
 
2842
- class Google_Service_AdExchangeBuyer_GetOrderNotesResponse extends Google_Collection
2843
  {
2844
  protected $collection_key = 'notes';
2845
  protected $internal_gapi_mappings = array(
2846
  );
2847
- protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
2848
  protected $notesDataType = 'array';
2849
 
2850
 
@@ -2858,12 +2858,12 @@ class Google_Service_AdExchangeBuyer_GetOrderNotesResponse extends Google_Collec
2858
  }
2859
  }
2860
 
2861
- class Google_Service_AdExchangeBuyer_GetOrdersResponse extends Google_Collection
2862
  {
2863
  protected $collection_key = 'proposals';
2864
  protected $internal_gapi_mappings = array(
2865
  );
2866
- protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
2867
  protected $proposalsDataType = 'array';
2868
 
2869
 
@@ -2877,17 +2877,17 @@ class Google_Service_AdExchangeBuyer_GetOrdersResponse extends Google_Collection
2877
  }
2878
  }
2879
 
2880
- class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
2881
  {
2882
  protected $collection_key = 'sharedTargetings';
2883
  protected $internal_gapi_mappings = array(
2884
  );
2885
- protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
2886
  protected $buyerPrivateDataDataType = '';
2887
  public $creationTimeMs;
2888
  public $creativePreApprovalPolicy;
2889
  public $dealId;
2890
- protected $deliveryControlType = 'Google_Service_AdExchangeBuyer_DeliveryControl';
2891
  protected $deliveryControlDataType = '';
2892
  public $externalDealId;
2893
  public $flightEndTimeMs;
@@ -2899,17 +2899,17 @@ class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
2899
  public $productId;
2900
  public $productRevisionNumber;
2901
  public $proposalId;
2902
- protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
2903
  protected $sellerContactsDataType = 'array';
2904
- protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
2905
  protected $sharedTargetingsDataType = 'array';
2906
  public $syndicationProduct;
2907
- protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
2908
  protected $termsDataType = '';
2909
  public $webPropertyCode;
2910
 
2911
 
2912
- public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
2913
  {
2914
  $this->buyerPrivateData = $buyerPrivateData;
2915
  }
@@ -2941,7 +2941,7 @@ class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
2941
  {
2942
  return $this->dealId;
2943
  }
2944
- public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl)
2945
  {
2946
  $this->deliveryControl = $deliveryControl;
2947
  }
@@ -3053,7 +3053,7 @@ class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
3053
  {
3054
  return $this->syndicationProduct;
3055
  }
3056
- public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
3057
  {
3058
  $this->terms = $terms;
3059
  }
@@ -3071,17 +3071,17 @@ class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
3071
  }
3072
  }
3073
 
3074
- class Google_Service_AdExchangeBuyer_MarketplaceDealParty extends Google_Model
3075
  {
3076
  protected $internal_gapi_mappings = array(
3077
  );
3078
- protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
3079
  protected $buyerDataType = '';
3080
- protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
3081
  protected $sellerDataType = '';
3082
 
3083
 
3084
- public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
3085
  {
3086
  $this->buyer = $buyer;
3087
  }
@@ -3089,7 +3089,7 @@ class Google_Service_AdExchangeBuyer_MarketplaceDealParty extends Google_Model
3089
  {
3090
  return $this->buyer;
3091
  }
3092
- public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
3093
  {
3094
  $this->seller = $seller;
3095
  }
@@ -3099,13 +3099,13 @@ class Google_Service_AdExchangeBuyer_MarketplaceDealParty extends Google_Model
3099
  }
3100
  }
3101
 
3102
- class Google_Service_AdExchangeBuyer_MarketplaceLabel extends Google_Model
3103
  {
3104
  protected $internal_gapi_mappings = array(
3105
  );
3106
  public $accountId;
3107
  public $createTimeMs;
3108
- protected $deprecatedMarketplaceDealPartyType = 'Google_Service_AdExchangeBuyer_MarketplaceDealParty';
3109
  protected $deprecatedMarketplaceDealPartyDataType = '';
3110
  public $label;
3111
 
@@ -3126,7 +3126,7 @@ class Google_Service_AdExchangeBuyer_MarketplaceLabel extends Google_Model
3126
  {
3127
  return $this->createTimeMs;
3128
  }
3129
- public function setDeprecatedMarketplaceDealParty(Google_Service_AdExchangeBuyer_MarketplaceDealParty $deprecatedMarketplaceDealParty)
3130
  {
3131
  $this->deprecatedMarketplaceDealParty = $deprecatedMarketplaceDealParty;
3132
  }
@@ -3144,7 +3144,7 @@ class Google_Service_AdExchangeBuyer_MarketplaceLabel extends Google_Model
3144
  }
3145
  }
3146
 
3147
- class Google_Service_AdExchangeBuyer_MarketplaceNote extends Google_Model
3148
  {
3149
  protected $internal_gapi_mappings = array(
3150
  );
@@ -3224,7 +3224,7 @@ class Google_Service_AdExchangeBuyer_MarketplaceNote extends Google_Model
3224
  }
3225
  }
3226
 
3227
- class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
3228
  {
3229
  protected $collection_key = 'hostedMatchStatusRate';
3230
  protected $internal_gapi_mappings = array(
@@ -3431,13 +3431,13 @@ class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
3431
  }
3432
  }
3433
 
3434
- class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
3435
  {
3436
  protected $collection_key = 'performanceReport';
3437
  protected $internal_gapi_mappings = array(
3438
  );
3439
  public $kind;
3440
- protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport';
3441
  protected $performanceReportDataType = 'array';
3442
 
3443
 
@@ -3459,7 +3459,7 @@ class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collec
3459
  }
3460
  }
3461
 
3462
- class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
3463
  {
3464
  protected $collection_key = 'videoPlayerSizes';
3465
  protected $internal_gapi_mappings = array(
@@ -3468,11 +3468,11 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collectio
3468
  public $configId;
3469
  public $configName;
3470
  public $creativeType;
3471
- protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
3472
  protected $dimensionsDataType = 'array';
3473
  public $excludedContentLabels;
3474
  public $excludedGeoCriteriaIds;
3475
- protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
3476
  protected $excludedPlacementsDataType = 'array';
3477
  public $excludedUserLists;
3478
  public $excludedVerticals;
@@ -3483,14 +3483,14 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collectio
3483
  public $mobileCarriers;
3484
  public $mobileDevices;
3485
  public $mobileOperatingSystemVersions;
3486
- protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
3487
  protected $placementsDataType = 'array';
3488
  public $platforms;
3489
  public $supportedCreativeAttributes;
3490
  public $userLists;
3491
  public $vendorTypes;
3492
  public $verticals;
3493
- protected $videoPlayerSizesType = 'Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes';
3494
  protected $videoPlayerSizesDataType = 'array';
3495
 
3496
 
@@ -3688,7 +3688,7 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collectio
3688
  }
3689
  }
3690
 
3691
- class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
3692
  {
3693
  protected $internal_gapi_mappings = array(
3694
  );
@@ -3714,7 +3714,7 @@ class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google
3714
  }
3715
  }
3716
 
3717
- class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
3718
  {
3719
  protected $internal_gapi_mappings = array(
3720
  );
@@ -3740,12 +3740,12 @@ class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extend
3740
  }
3741
  }
3742
 
3743
- class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
3744
  {
3745
  protected $collection_key = 'items';
3746
  protected $internal_gapi_mappings = array(
3747
  );
3748
- protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
3749
  protected $itemsDataType = 'array';
3750
  public $kind;
3751
 
@@ -3768,7 +3768,7 @@ class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Colle
3768
  }
3769
  }
3770
 
3771
- class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
3772
  {
3773
  protected $internal_gapi_mappings = array(
3774
  );
@@ -3794,7 +3794,7 @@ class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google
3794
  }
3795
  }
3796
 
3797
- class Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes extends Google_Model
3798
  {
3799
  protected $internal_gapi_mappings = array(
3800
  );
@@ -3829,7 +3829,7 @@ class Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes extends
3829
  }
3830
  }
3831
 
3832
- class Google_Service_AdExchangeBuyer_Price extends Google_Model
3833
  {
3834
  protected $internal_gapi_mappings = array(
3835
  );
@@ -3864,17 +3864,17 @@ class Google_Service_AdExchangeBuyer_Price extends Google_Model
3864
  }
3865
  }
3866
 
3867
- class Google_Service_AdExchangeBuyer_PricePerBuyer extends Google_Model
3868
  {
3869
  protected $internal_gapi_mappings = array(
3870
  );
3871
- protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
3872
  protected $buyerDataType = '';
3873
- protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
3874
  protected $priceDataType = '';
3875
 
3876
 
3877
- public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
3878
  {
3879
  $this->buyer = $buyer;
3880
  }
@@ -3882,7 +3882,7 @@ class Google_Service_AdExchangeBuyer_PricePerBuyer extends Google_Model
3882
  {
3883
  return $this->buyer;
3884
  }
3885
- public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
3886
  {
3887
  $this->price = $price;
3888
  }
@@ -3892,7 +3892,7 @@ class Google_Service_AdExchangeBuyer_PricePerBuyer extends Google_Model
3892
  }
3893
  }
3894
 
3895
- class Google_Service_AdExchangeBuyer_PrivateData extends Google_Model
3896
  {
3897
  protected $internal_gapi_mappings = array(
3898
  );
@@ -3918,32 +3918,32 @@ class Google_Service_AdExchangeBuyer_PrivateData extends Google_Model
3918
  }
3919
  }
3920
 
3921
- class Google_Service_AdExchangeBuyer_Product extends Google_Collection
3922
  {
3923
  protected $collection_key = 'sharedTargetings';
3924
  protected $internal_gapi_mappings = array(
3925
  );
3926
  public $creationTimeMs;
3927
- protected $creatorContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
3928
  protected $creatorContactsDataType = 'array';
3929
  public $flightEndTimeMs;
3930
  public $flightStartTimeMs;
3931
  public $hasCreatorSignedOff;
3932
  public $inventorySource;
3933
  public $kind;
3934
- protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
3935
  protected $labelsDataType = 'array';
3936
  public $lastUpdateTimeMs;
3937
  public $name;
3938
  public $productId;
3939
  public $revisionNumber;
3940
- protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
3941
  protected $sellerDataType = '';
3942
- protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
3943
  protected $sharedTargetingsDataType = 'array';
3944
  public $state;
3945
  public $syndicationProduct;
3946
- protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
3947
  protected $termsDataType = '';
3948
  public $webPropertyCode;
3949
 
@@ -4044,7 +4044,7 @@ class Google_Service_AdExchangeBuyer_Product extends Google_Collection
4044
  {
4045
  return $this->revisionNumber;
4046
  }
4047
- public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
4048
  {
4049
  $this->seller = $seller;
4050
  }
@@ -4076,7 +4076,7 @@ class Google_Service_AdExchangeBuyer_Product extends Google_Collection
4076
  {
4077
  return $this->syndicationProduct;
4078
  }
4079
- public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
4080
  {
4081
  $this->terms = $terms;
4082
  }
@@ -4094,18 +4094,18 @@ class Google_Service_AdExchangeBuyer_Product extends Google_Collection
4094
  }
4095
  }
4096
 
4097
- class Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
4098
  {
4099
  protected $collection_key = 'sellerContacts';
4100
  protected $internal_gapi_mappings = array(
4101
  );
4102
- protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_Buyer';
4103
  protected $billedBuyerDataType = '';
4104
- protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
4105
  protected $buyerDataType = '';
4106
- protected $buyerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
4107
  protected $buyerContactsDataType = 'array';
4108
- protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
4109
  protected $buyerPrivateDataDataType = '';
4110
  public $hasBuyerSignedOff;
4111
  public $hasSellerSignedOff;
@@ -4113,7 +4113,7 @@ class Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
4113
  public $isRenegotiating;
4114
  public $isSetupComplete;
4115
  public $kind;
4116
- protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
4117
  protected $labelsDataType = 'array';
4118
  public $lastUpdaterOrCommentorRole;
4119
  public $lastUpdaterRole;
@@ -4123,13 +4123,13 @@ class Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
4123
  public $proposalState;
4124
  public $revisionNumber;
4125
  public $revisionTimeMs;
4126
- protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
4127
  protected $sellerDataType = '';
4128
- protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
4129
  protected $sellerContactsDataType = 'array';
4130
 
4131
 
4132
- public function setBilledBuyer(Google_Service_AdExchangeBuyer_Buyer $billedBuyer)
4133
  {
4134
  $this->billedBuyer = $billedBuyer;
4135
  }
@@ -4137,7 +4137,7 @@ class Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
4137
  {
4138
  return $this->billedBuyer;
4139
  }
4140
- public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
4141
  {
4142
  $this->buyer = $buyer;
4143
  }
@@ -4153,7 +4153,7 @@ class Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
4153
  {
4154
  return $this->buyerContacts;
4155
  }
4156
- public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
4157
  {
4158
  $this->buyerPrivateData = $buyerPrivateData;
4159
  }
@@ -4281,7 +4281,7 @@ class Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
4281
  {
4282
  return $this->revisionTimeMs;
4283
  }
4284
- public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
4285
  {
4286
  $this->seller = $seller;
4287
  }
@@ -4299,7 +4299,7 @@ class Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
4299
  }
4300
  }
4301
 
4302
- class Google_Service_AdExchangeBuyer_Seller extends Google_Model
4303
  {
4304
  protected $internal_gapi_mappings = array(
4305
  );
@@ -4325,14 +4325,14 @@ class Google_Service_AdExchangeBuyer_Seller extends Google_Model
4325
  }
4326
  }
4327
 
4328
- class Google_Service_AdExchangeBuyer_SharedTargeting extends Google_Collection
4329
  {
4330
  protected $collection_key = 'inclusions';
4331
  protected $internal_gapi_mappings = array(
4332
  );
4333
- protected $exclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue';
4334
  protected $exclusionsDataType = 'array';
4335
- protected $inclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue';
4336
  protected $inclusionsDataType = 'array';
4337
  public $key;
4338
 
@@ -4363,19 +4363,19 @@ class Google_Service_AdExchangeBuyer_SharedTargeting extends Google_Collection
4363
  }
4364
  }
4365
 
4366
- class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
4367
  {
4368
  protected $internal_gapi_mappings = array(
4369
  );
4370
- protected $creativeSizeValueType = 'Google_Service_AdExchangeBuyer_TargetingValueCreativeSize';
4371
  protected $creativeSizeValueDataType = '';
4372
- protected $dayPartTargetingValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting';
4373
  protected $dayPartTargetingValueDataType = '';
4374
  public $longValue;
4375
  public $stringValue;
4376
 
4377
 
4378
- public function setCreativeSizeValue(Google_Service_AdExchangeBuyer_TargetingValueCreativeSize $creativeSizeValue)
4379
  {
4380
  $this->creativeSizeValue = $creativeSizeValue;
4381
  }
@@ -4383,7 +4383,7 @@ class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
4383
  {
4384
  return $this->creativeSizeValue;
4385
  }
4386
- public function setDayPartTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting $dayPartTargetingValue)
4387
  {
4388
  $this->dayPartTargetingValue = $dayPartTargetingValue;
4389
  }
@@ -4409,15 +4409,15 @@ class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
4409
  }
4410
  }
4411
 
4412
- class Google_Service_AdExchangeBuyer_TargetingValueCreativeSize extends Google_Collection
4413
  {
4414
  protected $collection_key = 'companionSizes';
4415
  protected $internal_gapi_mappings = array(
4416
  );
4417
- protected $companionSizesType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
4418
  protected $companionSizesDataType = 'array';
4419
  public $creativeSizeType;
4420
- protected $sizeType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
4421
  protected $sizeDataType = '';
4422
 
4423
 
@@ -4437,7 +4437,7 @@ class Google_Service_AdExchangeBuyer_TargetingValueCreativeSize extends Google_C
4437
  {
4438
  return $this->creativeSizeType;
4439
  }
4440
- public function setSize(Google_Service_AdExchangeBuyer_TargetingValueSize $size)
4441
  {
4442
  $this->size = $size;
4443
  }
@@ -4447,12 +4447,12 @@ class Google_Service_AdExchangeBuyer_TargetingValueCreativeSize extends Google_C
4447
  }
4448
  }
4449
 
4450
- class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting extends Google_Collection
4451
  {
4452
  protected $collection_key = 'dayParts';
4453
  protected $internal_gapi_mappings = array(
4454
  );
4455
- protected $dayPartsType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart';
4456
  protected $dayPartsDataType = 'array';
4457
  public $timeZoneType;
4458
 
@@ -4475,7 +4475,7 @@ class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting extends Goog
4475
  }
4476
  }
4477
 
4478
- class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart extends Google_Model
4479
  {
4480
  protected $internal_gapi_mappings = array(
4481
  );
@@ -4528,7 +4528,7 @@ class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart exten
4528
  }
4529
  }
4530
 
4531
- class Google_Service_AdExchangeBuyer_TargetingValueSize extends Google_Model
4532
  {
4533
  protected $internal_gapi_mappings = array(
4534
  );
27
  *
28
  * @author Google, Inc.
29
  */
30
+ class Forminator_Google_Service_AdExchangeBuyer extends Forminator_Google_Service
31
  {
32
  /** Manage your Ad Exchange buyer account configuration. */
33
  const ADEXCHANGE_BUYER =
48
  /**
49
  * Constructs the internal representation of the AdExchangeBuyer service.
50
  *
51
+ * @param Forminator_Google_Client $client
52
  */
53
+ public function __construct(Forminator_Google_Client $client)
54
  {
55
  parent::__construct($client);
56
  $this->rootUrl = 'https://www.googleapis.com/';
58
  $this->version = 'v1.4';
59
  $this->serviceName = 'adexchangebuyer';
60
 
61
+ $this->accounts = new Forminator_Google_Service_AdExchangeBuyer_Accounts_Resource(
62
  $this,
63
  $this->serviceName,
64
  'accounts',
102
  )
103
  )
104
  );
105
+ $this->billingInfo = new Forminator_Google_Service_AdExchangeBuyer_BillingInfo_Resource(
106
  $this,
107
  $this->serviceName,
108
  'billingInfo',
126
  )
127
  )
128
  );
129
+ $this->budget = new Forminator_Google_Service_AdExchangeBuyer_Budget_Resource(
130
  $this,
131
  $this->serviceName,
132
  'budget',
181
  )
182
  )
183
  );
184
+ $this->creatives = new Forminator_Google_Service_AdExchangeBuyer_Creatives_Resource(
185
  $this,
186
  $this->serviceName,
187
  'creatives',
281
  )
282
  )
283
  );
284
+ $this->marketplacedeals = new Forminator_Google_Service_AdExchangeBuyer_Marketplacedeals_Resource(
285
  $this,
286
  $this->serviceName,
287
  'marketplacedeals',
331
  )
332
  )
333
  );
334
+ $this->marketplacenotes = new Forminator_Google_Service_AdExchangeBuyer_Marketplacenotes_Resource(
335
  $this,
336
  $this->serviceName,
337
  'marketplacenotes',
361
  )
362
  )
363
  );
364
+ $this->performanceReport = new Forminator_Google_Service_AdExchangeBuyer_PerformanceReport_Resource(
365
  $this,
366
  $this->serviceName,
367
  'performanceReport',
399
  )
400
  )
401
  );
402
+ $this->pretargetingConfig = new Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig_Resource(
403
  $this,
404
  $this->serviceName,
405
  'pretargetingConfig',
489
  )
490
  )
491
  );
492
+ $this->products = new Forminator_Google_Service_AdExchangeBuyer_Products_Resource(
493
  $this,
494
  $this->serviceName,
495
  'products',
518
  )
519
  )
520
  );
521
+ $this->proposals = new Forminator_Google_Service_AdExchangeBuyer_Proposals_Resource(
522
  $this,
523
  $this->serviceName,
524
  'proposals',
599
  * The "accounts" collection of methods.
600
  * Typical usage is:
601
  * <code>
602
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
603
  * $accounts = $adexchangebuyerService->accounts;
604
  * </code>
605
  */
606
+ class Forminator_Google_Service_AdExchangeBuyer_Accounts_Resource extends Forminator_Google_Service_Resource
607
  {
608
 
609
  /**
611
  *
612
  * @param int $id The account id
613
  * @param array $optParams Optional parameters.
614
+ * @return Forminator_Google_Service_AdExchangeBuyer_Account
615
  */
616
  public function get($id, $optParams = array())
617
  {
618
  $params = array('id' => $id);
619
  $params = array_merge($params, $optParams);
620
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeBuyer_Account");
621
  }
622
 
623
  /**
624
  * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
625
  *
626
  * @param array $optParams Optional parameters.
627
+ * @return Forminator_Google_Service_AdExchangeBuyer_AccountsList
628
  */
629
  public function listAccounts($optParams = array())
630
  {
631
  $params = array();
632
  $params = array_merge($params, $optParams);
633
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeBuyer_AccountsList");
634
  }
635
 
636
  /**
638
  * (accounts.patch)
639
  *
640
  * @param int $id The account id
641
+ * @param Forminator_Google_Account $postBody
642
  * @param array $optParams Optional parameters.
643
+ * @return Forminator_Google_Service_AdExchangeBuyer_Account
644
  */
645
+ public function patch($id, Forminator_Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
646
  {
647
  $params = array('id' => $id, 'postBody' => $postBody);
648
  $params = array_merge($params, $optParams);
649
+ return $this->call('patch', array($params), "Forminator_Google_Service_AdExchangeBuyer_Account");
650
  }
651
 
652
  /**
653
  * Updates an existing account. (accounts.update)
654
  *
655
  * @param int $id The account id
656
+ * @param Forminator_Google_Account $postBody
657
  * @param array $optParams Optional parameters.
658
+ * @return Forminator_Google_Service_AdExchangeBuyer_Account
659
  */
660
+ public function update($id, Forminator_Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
661
  {
662
  $params = array('id' => $id, 'postBody' => $postBody);
663
  $params = array_merge($params, $optParams);
664
+ return $this->call('update', array($params), "Forminator_Google_Service_AdExchangeBuyer_Account");
665
  }
666
  }
667
 
669
  * The "billingInfo" collection of methods.
670
  * Typical usage is:
671
  * <code>
672
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
673
  * $billingInfo = $adexchangebuyerService->billingInfo;
674
  * </code>
675
  */
676
+ class Forminator_Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Forminator_Google_Service_Resource
677
  {
678
 
679
  /**
682
  *
683
  * @param int $accountId The account id.
684
  * @param array $optParams Optional parameters.
685
+ * @return Forminator_Google_Service_AdExchangeBuyer_BillingInfo
686
  */
687
  public function get($accountId, $optParams = array())
688
  {
689
  $params = array('accountId' => $accountId);
690
  $params = array_merge($params, $optParams);
691
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeBuyer_BillingInfo");
692
  }
693
 
694
  /**
696
  * user. (billingInfo.listBillingInfo)
697
  *
698
  * @param array $optParams Optional parameters.
699
+ * @return Forminator_Google_Service_AdExchangeBuyer_BillingInfoList
700
  */
701
  public function listBillingInfo($optParams = array())
702
  {
703
  $params = array();
704
  $params = array_merge($params, $optParams);
705
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeBuyer_BillingInfoList");
706
  }
707
  }
708
 
710
  * The "budget" collection of methods.
711
  * Typical usage is:
712
  * <code>
713
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
714
  * $budget = $adexchangebuyerService->budget;
715
  * </code>
716
  */
717
+ class Forminator_Google_Service_AdExchangeBuyer_Budget_Resource extends Forminator_Google_Service_Resource
718
  {
719
 
720
  /**
724
  * @param string $accountId The account id to get the budget information for.
725
  * @param string $billingId The billing id to get the budget information for.
726
  * @param array $optParams Optional parameters.
727
+ * @return Forminator_Google_Service_AdExchangeBuyer_Budget
728
  */
729
  public function get($accountId, $billingId, $optParams = array())
730
  {
731
  $params = array('accountId' => $accountId, 'billingId' => $billingId);
732
  $params = array_merge($params, $optParams);
733
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeBuyer_Budget");
734
  }
735
 
736
  /**
742
  * updated.
743
  * @param string $billingId The billing id associated with the budget being
744
  * updated.
745
+ * @param Forminator_Google_Budget $postBody
746
  * @param array $optParams Optional parameters.
747
+ * @return Forminator_Google_Service_AdExchangeBuyer_Budget
748
  */
749
+ public function patch($accountId, $billingId, Forminator_Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
750
  {
751
  $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
752
  $params = array_merge($params, $optParams);
753
+ return $this->call('patch', array($params), "Forminator_Google_Service_AdExchangeBuyer_Budget");
754
  }
755
 
756
  /**
762
  * updated.
763
  * @param string $billingId The billing id associated with the budget being
764
  * updated.
765
+ * @param Forminator_Google_Budget $postBody
766
  * @param array $optParams Optional parameters.
767
+ * @return Forminator_Google_Service_AdExchangeBuyer_Budget
768
  */
769
+ public function update($accountId, $billingId, Forminator_Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
770
  {
771
  $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
772
  $params = array_merge($params, $optParams);
773
+ return $this->call('update', array($params), "Forminator_Google_Service_AdExchangeBuyer_Budget");
774
  }
775
  }
776
 
778
  * The "creatives" collection of methods.
779
  * Typical usage is:
780
  * <code>
781
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
782
  * $creatives = $adexchangebuyerService->creatives;
783
  * </code>
784
  */
785
+ class Forminator_Google_Service_AdExchangeBuyer_Creatives_Resource extends Forminator_Google_Service_Resource
786
  {
787
 
788
  /**
807
  * @param int $accountId The id for the account that will serve this creative.
808
  * @param string $buyerCreativeId The buyer-specific id for this creative.
809
  * @param array $optParams Optional parameters.
810
+ * @return Forminator_Google_Service_AdExchangeBuyer_Creative
811
  */
812
  public function get($accountId, $buyerCreativeId, $optParams = array())
813
  {
814
  $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
815
  $params = array_merge($params, $optParams);
816
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeBuyer_Creative");
817
  }
818
 
819
  /**
820
  * Submit a new creative. (creatives.insert)
821
  *
822
+ * @param Forminator_Google_Creative $postBody
823
  * @param array $optParams Optional parameters.
824
+ * @return Forminator_Google_Service_AdExchangeBuyer_Creative
825
  */
826
+ public function insert(Forminator_Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
827
  {
828
  $params = array('postBody' => $postBody);
829
  $params = array_merge($params, $optParams);
830
+ return $this->call('insert', array($params), "Forminator_Google_Service_AdExchangeBuyer_Creative");
831
  }
832
 
833
  /**
849
  * @opt_param string pageToken A continuation token, used to page through ad
850
  * clients. To retrieve the next page, set this parameter to the value of
851
  * "nextPageToken" from the previous response. Optional.
852
+ * @return Forminator_Google_Service_AdExchangeBuyer_CreativesList
853
  */
854
  public function listCreatives($optParams = array())
855
  {
856
  $params = array();
857
  $params = array_merge($params, $optParams);
858
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeBuyer_CreativesList");
859
  }
860
 
861
  /**
879
  * The "marketplacedeals" collection of methods.
880
  * Typical usage is:
881
  * <code>
882
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
883
  * $marketplacedeals = $adexchangebuyerService->marketplacedeals;
884
  * </code>
885
  */
886
+ class Forminator_Google_Service_AdExchangeBuyer_Marketplacedeals_Resource extends Forminator_Google_Service_Resource
887
  {
888
 
889
  /**
890
  * Delete the specified deals from the proposal (marketplacedeals.delete)
891
  *
892
  * @param string $proposalId The proposalId to delete deals from.
893
+ * @param Forminator_Google_DeleteOrderDealsRequest $postBody
894
  * @param array $optParams Optional parameters.
895
+ * @return Forminator_Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse
896
  */
897
+ public function delete($proposalId, Forminator_Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody, $optParams = array())
898
  {
899
  $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
900
  $params = array_merge($params, $optParams);
901
+ return $this->call('delete', array($params), "Forminator_Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse");
902
  }
903
 
904
  /**
905
  * Add new deals for the specified proposal (marketplacedeals.insert)
906
  *
907
  * @param string $proposalId proposalId for which deals need to be added.
908
+ * @param Forminator_Google_AddOrderDealsRequest $postBody
909
  * @param array $optParams Optional parameters.
910
+ * @return Forminator_Google_Service_AdExchangeBuyer_AddOrderDealsResponse
911
  */
912
+ public function insert($proposalId, Forminator_Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody, $optParams = array())
913
  {
914
  $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
915
  $params = array_merge($params, $optParams);
916
+ return $this->call('insert', array($params), "Forminator_Google_Service_AdExchangeBuyer_AddOrderDealsResponse");
917
  }
918
 
919
  /**
922
  *
923
  * @param string $proposalId The proposalId to get deals for.
924
  * @param array $optParams Optional parameters.
925
+ * @return Forminator_Google_Service_AdExchangeBuyer_GetOrderDealsResponse
926
  */
927
  public function listMarketplacedeals($proposalId, $optParams = array())
928
  {
929
  $params = array('proposalId' => $proposalId);
930
  $params = array_merge($params, $optParams);
931
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeBuyer_GetOrderDealsResponse");
932
  }
933
 
934
  /**
936
  * (marketplacedeals.update)
937
  *
938
  * @param string $proposalId The proposalId to edit deals on.
939
+ * @param Forminator_Google_EditAllOrderDealsRequest $postBody
940
  * @param array $optParams Optional parameters.
941
+ * @return Forminator_Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse
942
  */
943
+ public function update($proposalId, Forminator_Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody, $optParams = array())
944
  {
945
  $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
946
  $params = array_merge($params, $optParams);
947
+ return $this->call('update', array($params), "Forminator_Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse");
948
  }
949
  }
950
 
952
  * The "marketplacenotes" collection of methods.
953
  * Typical usage is:
954
  * <code>
955
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
956
  * $marketplacenotes = $adexchangebuyerService->marketplacenotes;
957
  * </code>
958
  */
959
+ class Forminator_Google_Service_AdExchangeBuyer_Marketplacenotes_Resource extends Forminator_Google_Service_Resource
960
  {
961
 
962
  /**
963
  * Add notes to the proposal (marketplacenotes.insert)
964
  *
965
  * @param string $proposalId The proposalId to add notes for.
966
+ * @param Forminator_Google_AddOrderNotesRequest $postBody
967
  * @param array $optParams Optional parameters.
968
+ * @return Forminator_Google_Service_AdExchangeBuyer_AddOrderNotesResponse
969
  */
970
+ public function insert($proposalId, Forminator_Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody, $optParams = array())
971
  {
972
  $params = array('proposalId' => $proposalId, 'postBody' => $postBody);
973
  $params = array_merge($params, $optParams);
974
+ return $this->call('insert', array($params), "Forminator_Google_Service_AdExchangeBuyer_AddOrderNotesResponse");
975
  }
976
 
977
  /**
980
  *
981
  * @param string $proposalId The proposalId to get notes for.
982
  * @param array $optParams Optional parameters.
983
+ * @return Forminator_Google_Service_AdExchangeBuyer_GetOrderNotesResponse
984
  */
985
  public function listMarketplacenotes($proposalId, $optParams = array())
986
  {
987
  $params = array('proposalId' => $proposalId);
988
  $params = array_merge($params, $optParams);
989
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeBuyer_GetOrderNotesResponse");
990
  }
991
  }
992
 
994
  * The "performanceReport" collection of methods.
995
  * Typical usage is:
996
  * <code>
997
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
998
  * $performanceReport = $adexchangebuyerService->performanceReport;
999
  * </code>
1000
  */
1001
+ class Forminator_Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Forminator_Google_Service_Resource
1002
  {
1003
 
1004
  /**
1017
  * @opt_param string pageToken A continuation token, used to page through
1018
  * performance reports. To retrieve the next page, set this parameter to the
1019
  * value of "nextPageToken" from the previous response. Optional.
1020
+ * @return Forminator_Google_Service_AdExchangeBuyer_PerformanceReportList
1021
  */
1022
  public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
1023
  {
1024
  $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
1025
  $params = array_merge($params, $optParams);
1026
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeBuyer_PerformanceReportList");
1027
  }
1028
  }
1029
 
1031
  * The "pretargetingConfig" collection of methods.
1032
  * Typical usage is:
1033
  * <code>
1034
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
1035
  * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
1036
  * </code>
1037
  */
1038
+ class Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Forminator_Google_Service_Resource
1039
  {
1040
 
1041
  /**
1059
  * @param string $accountId The account id to get the pretargeting config for.
1060
  * @param string $configId The specific id of the configuration to retrieve.
1061
  * @param array $optParams Optional parameters.
1062
+ * @return Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig
1063
  */
1064
  public function get($accountId, $configId, $optParams = array())
1065
  {
1066
  $params = array('accountId' => $accountId, 'configId' => $configId);
1067
  $params = array_merge($params, $optParams);
1068
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig");
1069
  }
1070
 
1071
  /**
1073
  *
1074
  * @param string $accountId The account id to insert the pretargeting config
1075
  * for.
1076
+ * @param Forminator_Google_PretargetingConfig $postBody
1077
  * @param array $optParams Optional parameters.
1078
+ * @return Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig
1079
  */
1080
+ public function insert($accountId, Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1081
  {
1082
  $params = array('accountId' => $accountId, 'postBody' => $postBody);
1083
  $params = array_merge($params, $optParams);
1084
+ return $this->call('insert', array($params), "Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig");
1085
  }
1086
 
1087
  /**
1090
  *
1091
  * @param string $accountId The account id to get the pretargeting configs for.
1092
  * @param array $optParams Optional parameters.
1093
+ * @return Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigList
1094
  */
1095
  public function listPretargetingConfig($accountId, $optParams = array())
1096
  {
1097
  $params = array('accountId' => $accountId);
1098
  $params = array_merge($params, $optParams);
1099
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigList");
1100
  }
1101
 
1102
  /**
1106
  * @param string $accountId The account id to update the pretargeting config
1107
  * for.
1108
  * @param string $configId The specific id of the configuration to update.
1109
+ * @param Forminator_Google_PretargetingConfig $postBody
1110
  * @param array $optParams Optional parameters.
1111
+ * @return Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig
1112
  */
1113
+ public function patch($accountId, $configId, Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1114
  {
1115
  $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
1116
  $params = array_merge($params, $optParams);
1117
+ return $this->call('patch', array($params), "Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig");
1118
  }
1119
 
1120
  /**
1123
  * @param string $accountId The account id to update the pretargeting config
1124
  * for.
1125
  * @param string $configId The specific id of the configuration to update.
1126
+ * @param Forminator_Google_PretargetingConfig $postBody
1127
  * @param array $optParams Optional parameters.
1128
+ * @return Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig
1129
  */
1130
+ public function update($accountId, $configId, Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1131
  {
1132
  $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
1133
  $params = array_merge($params, $optParams);
1134
+ return $this->call('update', array($params), "Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig");
1135
  }
1136
  }
1137
 
1139
  * The "products" collection of methods.
1140
  * Typical usage is:
1141
  * <code>
1142
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
1143
  * $products = $adexchangebuyerService->products;
1144
  * </code>
1145
  */
1146
+ class Forminator_Google_Service_AdExchangeBuyer_Products_Resource extends Forminator_Google_Service_Resource
1147
  {
1148
 
1149
  /**
1151
  *
1152
  * @param string $productId The id for the product to get the head revision for.
1153
  * @param array $optParams Optional parameters.
1154
+ * @return Forminator_Google_Service_AdExchangeBuyer_Product
1155
  */
1156
  public function get($productId, $optParams = array())
1157
  {
1158
  $params = array('productId' => $productId);
1159
  $params = array_merge($params, $optParams);
1160
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeBuyer_Product");
1161
  }
1162
 
1163
  /**
1166
  * @param array $optParams Optional parameters.
1167
  *
1168
  * @opt_param string pqlQuery The pql query used to query for products.
1169
+ * @return Forminator_Google_Service_AdExchangeBuyer_GetOffersResponse
1170
  */
1171
  public function search($optParams = array())
1172
  {
1173
  $params = array();
1174
  $params = array_merge($params, $optParams);
1175
+ return $this->call('search', array($params), "Forminator_Google_Service_AdExchangeBuyer_GetOffersResponse");
1176
  }
1177
  }
1178
 
1180
  * The "proposals" collection of methods.
1181
  * Typical usage is:
1182
  * <code>
1183
+ * $adexchangebuyerService = new Forminator_Google_Service_AdExchangeBuyer(...);
1184
  * $proposals = $adexchangebuyerService->proposals;
1185
  * </code>
1186
  */
1187
+ class Forminator_Google_Service_AdExchangeBuyer_Proposals_Resource extends Forminator_Google_Service_Resource
1188
  {
1189
 
1190
  /**
1192
  *
1193
  * @param string $proposalId Id of the proposal to retrieve.
1194
  * @param array $optParams Optional parameters.
1195
+ * @return Forminator_Google_Service_AdExchangeBuyer_Proposal
1196
  */
1197
  public function get($proposalId, $optParams = array())
1198
  {
1199
  $params = array('proposalId' => $proposalId);
1200
  $params = array_merge($params, $optParams);
1201
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeBuyer_Proposal");
1202
  }
1203
 
1204
  /**
1205
  * Create the given list of proposals (proposals.insert)
1206
  *
1207
+ * @param Forminator_Google_CreateOrdersRequest $postBody
1208
  * @param array $optParams Optional parameters.
1209
+ * @return Forminator_Google_Service_AdExchangeBuyer_CreateOrdersResponse
1210
  */
1211
+ public function insert(Forminator_Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody, $optParams = array())
1212
  {
1213
  $params = array('postBody' => $postBody);
1214
  $params = array_merge($params, $optParams);
1215
+ return $this->call('insert', array($params), "Forminator_Google_Service_AdExchangeBuyer_CreateOrdersResponse");
1216
  }
1217
 
1218
  /**
1225
  * will be thrown. The caller should then fetch the latest proposal at head
1226
  * revision and retry the update at that revision.
1227
  * @param string $updateAction The proposed action to take on the proposal.
1228
+ * @param Forminator_Google_Proposal $postBody
1229
  * @param array $optParams Optional parameters.
1230
+ * @return Forminator_Google_Service_AdExchangeBuyer_Proposal
1231
  */
1232
+ public function patch($proposalId, $revisionNumber, $updateAction, Forminator_Google_Service_AdExchangeBuyer_Proposal $postBody, $optParams = array())
1233
  {
1234
  $params = array('proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
1235
  $params = array_merge($params, $optParams);
1236
+ return $this->call('patch', array($params), "Forminator_Google_Service_AdExchangeBuyer_Proposal");
1237
  }
1238
 
1239
  /**
1242
  * @param array $optParams Optional parameters.
1243
  *
1244
  * @opt_param string pqlQuery Query string to retrieve specific proposals.
1245
+ * @return Forminator_Google_Service_AdExchangeBuyer_GetOrdersResponse
1246
  */
1247
  public function search($optParams = array())
1248
  {
1249
  $params = array();
1250
  $params = array_merge($params, $optParams);
1251
+ return $this->call('search', array($params), "Forminator_Google_Service_AdExchangeBuyer_GetOrdersResponse");
1252
  }
1253
 
1254
  /**
1260
  * will be thrown. The caller should then fetch the latest proposal at head
1261
  * revision and retry the update at that revision.
1262
  * @param string $updateAction The proposed action to take on the proposal.
1263
+ * @param Forminator_Google_Proposal $postBody
1264
  * @param array $optParams Optional parameters.
1265
+ * @return Forminator_Google_Service_AdExchangeBuyer_Proposal
1266
  */
1267
+ public function update($proposalId, $revisionNumber, $updateAction, Forminator_Google_Service_AdExchangeBuyer_Proposal $postBody, $optParams = array())
1268
  {
1269
  $params = array('proposalId' => $proposalId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
1270
  $params = array_merge($params, $optParams);
1271
+ return $this->call('update', array($params), "Forminator_Google_Service_AdExchangeBuyer_Proposal");
1272
  }
1273
  }
1274
 
1275
 
1276
 
1277
 
1278
+ class Forminator_Google_Service_AdExchangeBuyer_Account extends Forminator_Google_Collection
1279
  {
1280
  protected $collection_key = 'bidderLocation';
1281
  protected $internal_gapi_mappings = array(
1282
  );
1283
+ protected $bidderLocationType = 'Forminator_Google_Service_AdExchangeBuyer_AccountBidderLocation';
1284
  protected $bidderLocationDataType = 'array';
1285
  public $cookieMatchingNid;
1286
  public $cookieMatchingUrl;
1357
  }
1358
  }
1359
 
1360
+ class Forminator_Google_Service_AdExchangeBuyer_AccountBidderLocation extends Forminator_Google_Model
1361
  {
1362
  protected $internal_gapi_mappings = array(
1363
  );
1392
  }
1393
  }
1394
 
1395
+ class Forminator_Google_Service_AdExchangeBuyer_AccountsList extends Forminator_Google_Collection
1396
  {
1397
  protected $collection_key = 'items';
1398
  protected $internal_gapi_mappings = array(
1399
  );
1400
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeBuyer_Account';
1401
  protected $itemsDataType = 'array';
1402
  public $kind;
1403
 
1420
  }
1421
  }
1422
 
1423
+ class Forminator_Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Forminator_Google_Collection
1424
  {
1425
  protected $collection_key = 'deals';
1426
  protected $internal_gapi_mappings = array(
1427
  );
1428
+ protected $dealsType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceDeal';
1429
  protected $dealsDataType = 'array';
1430
  public $proposalRevisionNumber;
1431
  public $updateAction;
1457
  }
1458
  }
1459
 
1460
+ class Forminator_Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Forminator_Google_Collection
1461
  {
1462
  protected $collection_key = 'deals';
1463
  protected $internal_gapi_mappings = array(
1464
  );
1465
+ protected $dealsType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceDeal';
1466
  protected $dealsDataType = 'array';
1467
  public $proposalRevisionNumber;
1468
 
1485
  }
1486
  }
1487
 
1488
+ class Forminator_Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Forminator_Google_Collection
1489
  {
1490
  protected $collection_key = 'notes';
1491
  protected $internal_gapi_mappings = array(
1492
  );
1493
+ protected $notesType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceNote';
1494
  protected $notesDataType = 'array';
1495
 
1496
 
1504
  }
1505
  }
1506
 
1507
+ class Forminator_Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Forminator_Google_Collection
1508
  {
1509
  protected $collection_key = 'notes';
1510
  protected $internal_gapi_mappings = array(
1511
  );
1512
+ protected $notesType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceNote';
1513
  protected $notesDataType = 'array';
1514
 
1515
 
1523
  }
1524
  }
1525
 
1526
+ class Forminator_Google_Service_AdExchangeBuyer_BillingInfo extends Forminator_Google_Collection
1527
  {
1528
  protected $collection_key = 'billingId';
1529
  protected $internal_gapi_mappings = array(
1568
  }
1569
  }
1570
 
1571
+ class Forminator_Google_Service_AdExchangeBuyer_BillingInfoList extends Forminator_Google_Collection
1572
  {
1573
  protected $collection_key = 'items';
1574
  protected $internal_gapi_mappings = array(
1575
  );
1576
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeBuyer_BillingInfo';
1577
  protected $itemsDataType = 'array';
1578
  public $kind;
1579
 
1596
  }
1597
  }
1598
 
1599
+ class Forminator_Google_Service_AdExchangeBuyer_Budget extends Forminator_Google_Model
1600
  {
1601
  protected $internal_gapi_mappings = array(
1602
  );
1658
  }
1659
  }
1660
 
1661
+ class Forminator_Google_Service_AdExchangeBuyer_Buyer extends Forminator_Google_Model
1662
  {
1663
  protected $internal_gapi_mappings = array(
1664
  );
1675
  }
1676
  }
1677
 
1678
+ class Forminator_Google_Service_AdExchangeBuyer_ContactInformation extends Forminator_Google_Model
1679
  {
1680
  protected $internal_gapi_mappings = array(
1681
  );
1701
  }
1702
  }
1703
 
1704
+ class Forminator_Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Forminator_Google_Collection
1705
  {
1706
  protected $collection_key = 'proposals';
1707
  protected $internal_gapi_mappings = array(
1708
  );
1709
+ protected $proposalsType = 'Forminator_Google_Service_AdExchangeBuyer_Proposal';
1710
  protected $proposalsDataType = 'array';
1711
  public $webPropertyCode;
1712
 
1729
  }
1730
  }
1731
 
1732
+ class Forminator_Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Forminator_Google_Collection
1733
  {
1734
  protected $collection_key = 'proposals';
1735
  protected $internal_gapi_mappings = array(
1736
  );
1737
+ protected $proposalsType = 'Forminator_Google_Service_AdExchangeBuyer_Proposal';
1738
  protected $proposalsDataType = 'array';
1739
 
1740
 
1748
  }
1749
  }
1750
 
1751
+ class Forminator_Google_Service_AdExchangeBuyer_Creative extends Forminator_Google_Collection
1752
  {
1753
  protected $collection_key = 'vendorType';
1754
  protected $internal_gapi_mappings = array(
1763
  public $attribute;
1764
  public $buyerCreativeId;
1765
  public $clickThroughUrl;
1766
+ protected $correctionsType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeCorrections';
1767
  protected $correctionsDataType = 'array';
1768
  public $dealsStatus;
1769
+ protected $filteringReasonsType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
1770
  protected $filteringReasonsDataType = '';
1771
  public $height;
1772
  public $impressionTrackingUrl;
1773
  public $kind;
1774
+ protected $nativeAdType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAd';
1775
  protected $nativeAdDataType = '';
1776
  public $openAuctionStatus;
1777
  public $productCategories;
1778
  public $restrictedCategories;
1779
  public $sensitiveCategories;
1780
+ protected $servingRestrictionsType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
1781
  protected $servingRestrictionsDataType = 'array';
1782
  public $vendorType;
1783
  public $version;
1873
  {
1874
  return $this->dealsStatus;
1875
  }
1876
+ public function setFilteringReasons(Forminator_Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
1877
  {
1878
  $this->filteringReasons = $filteringReasons;
1879
  }
1905
  {
1906
  return $this->kind;
1907
  }
1908
+ public function setNativeAd(Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
1909
  {
1910
  $this->nativeAd = $nativeAd;
1911
  }
1987
  }
1988
  }
1989
 
1990
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeCorrections extends Forminator_Google_Collection
1991
  {
1992
  protected $collection_key = 'details';
1993
  protected $internal_gapi_mappings = array(
2014
  }
2015
  }
2016
 
2017
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Forminator_Google_Collection
2018
  {
2019
  protected $collection_key = 'reasons';
2020
  protected $internal_gapi_mappings = array(
2021
  );
2022
  public $date;
2023
+ protected $reasonsType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
2024
  protected $reasonsDataType = 'array';
2025
 
2026
 
2042
  }
2043
  }
2044
 
2045
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Forminator_Google_Model
2046
  {
2047
  protected $internal_gapi_mappings = array(
2048
  );
2068
  }
2069
  }
2070
 
2071
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAd extends Forminator_Google_Collection
2072
  {
2073
  protected $collection_key = 'impressionTrackingUrl';
2074
  protected $internal_gapi_mappings = array(
2075
  );
2076
  public $advertiser;
2077
+ protected $appIconType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon';
2078
  protected $appIconDataType = '';
2079
  public $body;
2080
  public $callToAction;
2081
  public $clickTrackingUrl;
2082
  public $headline;
2083
+ protected $imageType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAdImage';
2084
  protected $imageDataType = '';
2085
  public $impressionTrackingUrl;
2086
+ protected $logoType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAdLogo';
2087
  protected $logoDataType = '';
2088
  public $price;
2089
  public $starRating;
2098
  {
2099
  return $this->advertiser;
2100
  }
2101
+ public function setAppIcon(Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon)
2102
  {
2103
  $this->appIcon = $appIcon;
2104
  }
2138
  {
2139
  return $this->headline;
2140
  }
2141
+ public function setImage(Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image)
2142
  {
2143
  $this->image = $image;
2144
  }
2154
  {
2155
  return $this->impressionTrackingUrl;
2156
  }
2157
+ public function setLogo(Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo)
2158
  {
2159
  $this->logo = $logo;
2160
  }
2188
  }
2189
  }
2190
 
2191
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Forminator_Google_Model
2192
  {
2193
  protected $internal_gapi_mappings = array(
2194
  );
2223
  }
2224
  }
2225
 
2226
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Forminator_Google_Model
2227
  {
2228
  protected $internal_gapi_mappings = array(
2229
  );
2258
  }
2259
  }
2260
 
2261
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Forminator_Google_Model
2262
  {
2263
  protected $internal_gapi_mappings = array(
2264
  );
2293
  }
2294
  }
2295
 
2296
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Forminator_Google_Collection
2297
  {
2298
  protected $collection_key = 'disapprovalReasons';
2299
  protected $internal_gapi_mappings = array(
2300
  );
2301
+ protected $contextsType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts';
2302
  protected $contextsDataType = 'array';
2303
+ protected $disapprovalReasonsType = 'Forminator_Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons';
2304
  protected $disapprovalReasonsDataType = 'array';
2305
  public $reason;
2306
 
2331
  }
2332
  }
2333
 
2334
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends Forminator_Google_Collection
2335
  {
2336
  protected $collection_key = 'platform';
2337
  protected $internal_gapi_mappings = array(
2376
  }
2377
  }
2378
 
2379
+ class Forminator_Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons extends Forminator_Google_Collection
2380
  {
2381
  protected $collection_key = 'details';
2382
  protected $internal_gapi_mappings = array(
2403
  }
2404
  }
2405
 
2406
+ class Forminator_Google_Service_AdExchangeBuyer_CreativesList extends Forminator_Google_Collection
2407
  {
2408
  protected $collection_key = 'items';
2409
  protected $internal_gapi_mappings = array(
2410
  );
2411
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeBuyer_Creative';
2412
  protected $itemsDataType = 'array';
2413
  public $kind;
2414
  public $nextPageToken;
2440
  }
2441
  }
2442
 
2443
+ class Forminator_Google_Service_AdExchangeBuyer_DealTerms extends Forminator_Google_Model
2444
  {
2445
  protected $internal_gapi_mappings = array(
2446
  );
2447
  public $brandingType;
2448
  public $description;
2449
+ protected $estimatedGrossSpendType = 'Forminator_Google_Service_AdExchangeBuyer_Price';
2450
  protected $estimatedGrossSpendDataType = '';
2451
  public $estimatedImpressionsPerDay;
2452
+ protected $guaranteedFixedPriceTermsType = 'Forminator_Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
2453
  protected $guaranteedFixedPriceTermsDataType = '';
2454
+ protected $nonGuaranteedAuctionTermsType = 'Forminator_Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
2455
  protected $nonGuaranteedAuctionTermsDataType = '';
2456
+ protected $nonGuaranteedFixedPriceTermsType = 'Forminator_Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
2457
  protected $nonGuaranteedFixedPriceTermsDataType = '';
2458
 
2459
 
2473
  {
2474
  return $this->description;
2475
  }
2476
+ public function setEstimatedGrossSpend(Forminator_Google_Service_AdExchangeBuyer_Price $estimatedGrossSpend)
2477
  {
2478
  $this->estimatedGrossSpend = $estimatedGrossSpend;
2479
  }
2489
  {
2490
  return $this->estimatedImpressionsPerDay;
2491
  }
2492
+ public function setGuaranteedFixedPriceTerms(Forminator_Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
2493
  {
2494
  $this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
2495
  }
2497
  {
2498
  return $this->guaranteedFixedPriceTerms;
2499
  }
2500
+ public function setNonGuaranteedAuctionTerms(Forminator_Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
2501
  {
2502
  $this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
2503
  }
2505
  {
2506
  return $this->nonGuaranteedAuctionTerms;
2507
  }
2508
+ public function setNonGuaranteedFixedPriceTerms(Forminator_Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
2509
  {
2510
  $this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
2511
  }
2515
  }
2516
  }
2517
 
2518
+ class Forminator_Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends Forminator_Google_Collection
2519
  {
2520
  protected $collection_key = 'fixedPrices';
2521
  protected $internal_gapi_mappings = array(
2522
  );
2523
+ protected $fixedPricesType = 'Forminator_Google_Service_AdExchangeBuyer_PricePerBuyer';
2524
  protected $fixedPricesDataType = 'array';
2525
  public $guaranteedImpressions;
2526
  public $guaranteedLooks;
2552
  }
2553
  }
2554
 
2555
+ class Forminator_Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Forminator_Google_Collection
2556
  {
2557
  protected $collection_key = 'reservePricePerBuyers';
2558
  protected $internal_gapi_mappings = array(
2559
  );
2560
  public $privateAuctionId;
2561
+ protected $reservePricePerBuyersType = 'Forminator_Google_Service_AdExchangeBuyer_PricePerBuyer';
2562
  protected $reservePricePerBuyersDataType = 'array';
2563
 
2564
 
2580
  }
2581
  }
2582
 
2583
+ class Forminator_Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Forminator_Google_Collection
2584
  {
2585
  protected $collection_key = 'fixedPrices';
2586
  protected $internal_gapi_mappings = array(
2587
  );
2588
+ protected $fixedPricesType = 'Forminator_Google_Service_AdExchangeBuyer_PricePerBuyer';
2589
  protected $fixedPricesDataType = 'array';
2590
 
2591
 
2599
  }
2600
  }
2601
 
2602
+ class Forminator_Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Forminator_Google_Collection
2603
  {
2604
  protected $collection_key = 'dealIds';
2605
  protected $internal_gapi_mappings = array(
2635
  }
2636
  }
2637
 
2638
+ class Forminator_Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Forminator_Google_Collection
2639
  {
2640
  protected $collection_key = 'deals';
2641
  protected $internal_gapi_mappings = array(
2642
  );
2643
+ protected $dealsType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceDeal';
2644
  protected $dealsDataType = 'array';
2645
  public $proposalRevisionNumber;
2646
 
2663
  }
2664
  }
2665
 
2666
+ class Forminator_Google_Service_AdExchangeBuyer_DeliveryControl extends Forminator_Google_Collection
2667
  {
2668
  protected $collection_key = 'frequencyCaps';
2669
  protected $internal_gapi_mappings = array(
2670
  );
2671
  public $creativeBlockingLevel;
2672
  public $deliveryRateType;
2673
+ protected $frequencyCapsType = 'Forminator_Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap';
2674
  protected $frequencyCapsDataType = 'array';
2675
 
2676
 
2700
  }
2701
  }
2702
 
2703
+ class Forminator_Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Forminator_Google_Model
2704
  {
2705
  protected $internal_gapi_mappings = array(
2706
  );
2735
  }
2736
  }
2737
 
2738
+ class Forminator_Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Forminator_Google_Collection
2739
  {
2740
  protected $collection_key = 'deals';
2741
  protected $internal_gapi_mappings = array(
2742
  );
2743
+ protected $dealsType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceDeal';
2744
  protected $dealsDataType = 'array';
2745
+ protected $proposalType = 'Forminator_Google_Service_AdExchangeBuyer_Proposal';
2746
  protected $proposalDataType = '';
2747
  public $proposalRevisionNumber;
2748
  public $updateAction;
2756
  {
2757
  return $this->deals;
2758
  }
2759
+ public function setProposal(Forminator_Google_Service_AdExchangeBuyer_Proposal $proposal)
2760
  {
2761
  $this->proposal = $proposal;
2762
  }
2782
  }
2783
  }
2784
 
2785
+ class Forminator_Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse extends Forminator_Google_Collection
2786
  {
2787
  protected $collection_key = 'deals';
2788
  protected $internal_gapi_mappings = array(
2789
  );
2790
+ protected $dealsType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceDeal';
2791
  protected $dealsDataType = 'array';
2792
 
2793
 
2801
  }
2802
  }
2803
 
2804
+ class Forminator_Google_Service_AdExchangeBuyer_GetOffersResponse extends Forminator_Google_Collection
2805
  {
2806
  protected $collection_key = 'products';
2807
  protected $internal_gapi_mappings = array(
2808
  );
2809
+ protected $productsType = 'Forminator_Google_Service_AdExchangeBuyer_Product';
2810
  protected $productsDataType = 'array';
2811
 
2812
 
2820
  }
2821
  }
2822
 
2823
+ class Forminator_Google_Service_AdExchangeBuyer_GetOrderDealsResponse extends Forminator_Google_Collection
2824
  {
2825
  protected $collection_key = 'deals';
2826
  protected $internal_gapi_mappings = array(
2827
  );
2828
+ protected $dealsType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceDeal';
2829
  protected $dealsDataType = 'array';
2830
 
2831
 
2839
  }
2840
  }
2841
 
2842
+ class Forminator_Google_Service_AdExchangeBuyer_GetOrderNotesResponse extends Forminator_Google_Collection
2843
  {
2844
  protected $collection_key = 'notes';
2845
  protected $internal_gapi_mappings = array(
2846
  );
2847
+ protected $notesType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceNote';
2848
  protected $notesDataType = 'array';
2849
 
2850
 
2858
  }
2859
  }
2860
 
2861
+ class Forminator_Google_Service_AdExchangeBuyer_GetOrdersResponse extends Forminator_Google_Collection
2862
  {
2863
  protected $collection_key = 'proposals';
2864
  protected $internal_gapi_mappings = array(
2865
  );
2866
+ protected $proposalsType = 'Forminator_Google_Service_AdExchangeBuyer_Proposal';
2867
  protected $proposalsDataType = 'array';
2868
 
2869
 
2877
  }
2878
  }
2879
 
2880
+ class Forminator_Google_Service_AdExchangeBuyer_MarketplaceDeal extends Forminator_Google_Collection
2881
  {
2882
  protected $collection_key = 'sharedTargetings';
2883
  protected $internal_gapi_mappings = array(
2884
  );
2885
+ protected $buyerPrivateDataType = 'Forminator_Google_Service_AdExchangeBuyer_PrivateData';
2886
  protected $buyerPrivateDataDataType = '';
2887
  public $creationTimeMs;
2888
  public $creativePreApprovalPolicy;
2889
  public $dealId;
2890
+ protected $deliveryControlType = 'Forminator_Google_Service_AdExchangeBuyer_DeliveryControl';
2891
  protected $deliveryControlDataType = '';
2892
  public $externalDealId;
2893
  public $flightEndTimeMs;
2899
  public $productId;
2900
  public $productRevisionNumber;
2901
  public $proposalId;
2902
+ protected $sellerContactsType = 'Forminator_Google_Service_AdExchangeBuyer_ContactInformation';
2903
  protected $sellerContactsDataType = 'array';
2904
+ protected $sharedTargetingsType = 'Forminator_Google_Service_AdExchangeBuyer_SharedTargeting';
2905
  protected $sharedTargetingsDataType = 'array';
2906
  public $syndicationProduct;
2907
+ protected $termsType = 'Forminator_Google_Service_AdExchangeBuyer_DealTerms';
2908
  protected $termsDataType = '';
2909
  public $webPropertyCode;
2910
 
2911
 
2912
+ public function setBuyerPrivateData(Forminator_Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
2913
  {
2914
  $this->buyerPrivateData = $buyerPrivateData;
2915
  }
2941
  {
2942
  return $this->dealId;
2943
  }
2944
+ public function setDeliveryControl(Forminator_Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl)
2945
  {
2946
  $this->deliveryControl = $deliveryControl;
2947
  }
3053
  {
3054
  return $this->syndicationProduct;
3055
  }
3056
+ public function setTerms(Forminator_Google_Service_AdExchangeBuyer_DealTerms $terms)
3057
  {
3058
  $this->terms = $terms;
3059
  }
3071
  }
3072
  }
3073
 
3074
+ class Forminator_Google_Service_AdExchangeBuyer_MarketplaceDealParty extends Forminator_Google_Model
3075
  {
3076
  protected $internal_gapi_mappings = array(
3077
  );
3078
+ protected $buyerType = 'Forminator_Google_Service_AdExchangeBuyer_Buyer';
3079
  protected $buyerDataType = '';
3080
+ protected $sellerType = 'Forminator_Google_Service_AdExchangeBuyer_Seller';
3081
  protected $sellerDataType = '';
3082
 
3083
 
3084
+ public function setBuyer(Forminator_Google_Service_AdExchangeBuyer_Buyer $buyer)
3085
  {
3086
  $this->buyer = $buyer;
3087
  }
3089
  {
3090
  return $this->buyer;
3091
  }
3092
+ public function setSeller(Forminator_Google_Service_AdExchangeBuyer_Seller $seller)
3093
  {
3094
  $this->seller = $seller;
3095
  }
3099
  }
3100
  }
3101
 
3102
+ class Forminator_Google_Service_AdExchangeBuyer_MarketplaceLabel extends Forminator_Google_Model
3103
  {
3104
  protected $internal_gapi_mappings = array(
3105
  );
3106
  public $accountId;
3107
  public $createTimeMs;
3108
+ protected $deprecatedMarketplaceDealPartyType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceDealParty';
3109
  protected $deprecatedMarketplaceDealPartyDataType = '';
3110
  public $label;
3111
 
3126
  {
3127
  return $this->createTimeMs;
3128
  }
3129
+ public function setDeprecatedMarketplaceDealParty(Forminator_Google_Service_AdExchangeBuyer_MarketplaceDealParty $deprecatedMarketplaceDealParty)
3130
  {
3131
  $this->deprecatedMarketplaceDealParty = $deprecatedMarketplaceDealParty;
3132
  }
3144
  }
3145
  }
3146
 
3147
+ class Forminator_Google_Service_AdExchangeBuyer_MarketplaceNote extends Forminator_Google_Model
3148
  {
3149
  protected $internal_gapi_mappings = array(
3150
  );
3224
  }
3225
  }
3226
 
3227
+ class Forminator_Google_Service_AdExchangeBuyer_PerformanceReport extends Forminator_Google_Collection
3228
  {
3229
  protected $collection_key = 'hostedMatchStatusRate';
3230
  protected $internal_gapi_mappings = array(
3431
  }
3432
  }
3433
 
3434
+ class Forminator_Google_Service_AdExchangeBuyer_PerformanceReportList extends Forminator_Google_Collection
3435
  {
3436
  protected $collection_key = 'performanceReport';
3437
  protected $internal_gapi_mappings = array(
3438
  );
3439
  public $kind;
3440
+ protected $performanceReportType = 'Forminator_Google_Service_AdExchangeBuyer_PerformanceReport';
3441
  protected $performanceReportDataType = 'array';
3442
 
3443
 
3459
  }
3460
  }
3461
 
3462
+ class Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig extends Forminator_Google_Collection
3463
  {
3464
  protected $collection_key = 'videoPlayerSizes';
3465
  protected $internal_gapi_mappings = array(
3468
  public $configId;
3469
  public $configName;
3470
  public $creativeType;
3471
+ protected $dimensionsType = 'Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
3472
  protected $dimensionsDataType = 'array';
3473
  public $excludedContentLabels;
3474
  public $excludedGeoCriteriaIds;
3475
+ protected $excludedPlacementsType = 'Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
3476
  protected $excludedPlacementsDataType = 'array';
3477
  public $excludedUserLists;
3478
  public $excludedVerticals;
3483
  public $mobileCarriers;
3484
  public $mobileDevices;
3485
  public $mobileOperatingSystemVersions;
3486
+ protected $placementsType = 'Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
3487
  protected $placementsDataType = 'array';
3488
  public $platforms;
3489
  public $supportedCreativeAttributes;
3490
  public $userLists;
3491
  public $vendorTypes;
3492
  public $verticals;
3493
+ protected $videoPlayerSizesType = 'Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes';
3494
  protected $videoPlayerSizesDataType = 'array';
3495
 
3496
 
3688
  }
3689
  }
3690
 
3691
+ class Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Forminator_Google_Model
3692
  {
3693
  protected $internal_gapi_mappings = array(
3694
  );
3714
  }
3715
  }
3716
 
3717
+ class Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Forminator_Google_Model
3718
  {
3719
  protected $internal_gapi_mappings = array(
3720
  );
3740
  }
3741
  }
3742
 
3743
+ class Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigList extends Forminator_Google_Collection
3744
  {
3745
  protected $collection_key = 'items';
3746
  protected $internal_gapi_mappings = array(
3747
  );
3748
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeBuyer_PretargetingConfig';
3749
  protected $itemsDataType = 'array';
3750
  public $kind;
3751
 
3768
  }
3769
  }
3770
 
3771
+ class Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Forminator_Google_Model
3772
  {
3773
  protected $internal_gapi_mappings = array(
3774
  );
3794
  }
3795
  }
3796
 
3797
+ class Forminator_Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes extends Forminator_Google_Model
3798
  {
3799
  protected $internal_gapi_mappings = array(
3800
  );
3829
  }
3830
  }
3831
 
3832
+ class Forminator_Google_Service_AdExchangeBuyer_Price extends Forminator_Google_Model
3833
  {
3834
  protected $internal_gapi_mappings = array(
3835
  );
3864
  }
3865
  }
3866
 
3867
+ class Forminator_Google_Service_AdExchangeBuyer_PricePerBuyer extends Forminator_Google_Model
3868
  {
3869
  protected $internal_gapi_mappings = array(
3870
  );
3871
+ protected $buyerType = 'Forminator_Google_Service_AdExchangeBuyer_Buyer';
3872
  protected $buyerDataType = '';
3873
+ protected $priceType = 'Forminator_Google_Service_AdExchangeBuyer_Price';
3874
  protected $priceDataType = '';
3875
 
3876
 
3877
+ public function setBuyer(Forminator_Google_Service_AdExchangeBuyer_Buyer $buyer)
3878
  {
3879
  $this->buyer = $buyer;
3880
  }
3882
  {
3883
  return $this->buyer;
3884
  }
3885
+ public function setPrice(Forminator_Google_Service_AdExchangeBuyer_Price $price)
3886
  {
3887
  $this->price = $price;
3888
  }
3892
  }
3893
  }
3894
 
3895
+ class Forminator_Google_Service_AdExchangeBuyer_PrivateData extends Forminator_Google_Model
3896
  {
3897
  protected $internal_gapi_mappings = array(
3898
  );
3918
  }
3919
  }
3920
 
3921
+ class Forminator_Google_Service_AdExchangeBuyer_Product extends Forminator_Google_Collection
3922
  {
3923
  protected $collection_key = 'sharedTargetings';
3924
  protected $internal_gapi_mappings = array(
3925
  );
3926
  public $creationTimeMs;
3927
+ protected $creatorContactsType = 'Forminator_Google_Service_AdExchangeBuyer_ContactInformation';
3928
  protected $creatorContactsDataType = 'array';
3929
  public $flightEndTimeMs;
3930
  public $flightStartTimeMs;
3931
  public $hasCreatorSignedOff;
3932
  public $inventorySource;
3933
  public $kind;
3934
+ protected $labelsType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceLabel';
3935
  protected $labelsDataType = 'array';
3936
  public $lastUpdateTimeMs;
3937
  public $name;
3938
  public $productId;
3939
  public $revisionNumber;
3940
+ protected $sellerType = 'Forminator_Google_Service_AdExchangeBuyer_Seller';
3941
  protected $sellerDataType = '';
3942
+ protected $sharedTargetingsType = 'Forminator_Google_Service_AdExchangeBuyer_SharedTargeting';
3943
  protected $sharedTargetingsDataType = 'array';
3944
  public $state;
3945
  public $syndicationProduct;
3946
+ protected $termsType = 'Forminator_Google_Service_AdExchangeBuyer_DealTerms';
3947
  protected $termsDataType = '';
3948
  public $webPropertyCode;
3949
 
4044
  {
4045
  return $this->revisionNumber;
4046
  }
4047
+ public function setSeller(Forminator_Google_Service_AdExchangeBuyer_Seller $seller)
4048
  {
4049
  $this->seller = $seller;
4050
  }
4076
  {
4077
  return $this->syndicationProduct;
4078
  }
4079
+ public function setTerms(Forminator_Google_Service_AdExchangeBuyer_DealTerms $terms)
4080
  {
4081
  $this->terms = $terms;
4082
  }
4094
  }
4095
  }
4096
 
4097
+ class Forminator_Google_Service_AdExchangeBuyer_Proposal extends Forminator_Google_Collection
4098
  {
4099
  protected $collection_key = 'sellerContacts';
4100
  protected $internal_gapi_mappings = array(
4101
  );
4102
+ protected $billedBuyerType = 'Forminator_Google_Service_AdExchangeBuyer_Buyer';
4103
  protected $billedBuyerDataType = '';
4104
+ protected $buyerType = 'Forminator_Google_Service_AdExchangeBuyer_Buyer';
4105
  protected $buyerDataType = '';
4106
+ protected $buyerContactsType = 'Forminator_Google_Service_AdExchangeBuyer_ContactInformation';
4107
  protected $buyerContactsDataType = 'array';
4108
+ protected $buyerPrivateDataType = 'Forminator_Google_Service_AdExchangeBuyer_PrivateData';
4109
  protected $buyerPrivateDataDataType = '';
4110
  public $hasBuyerSignedOff;
4111
  public $hasSellerSignedOff;
4113
  public $isRenegotiating;
4114
  public $isSetupComplete;
4115
  public $kind;
4116
+ protected $labelsType = 'Forminator_Google_Service_AdExchangeBuyer_MarketplaceLabel';
4117
  protected $labelsDataType = 'array';
4118
  public $lastUpdaterOrCommentorRole;
4119
  public $lastUpdaterRole;
4123
  public $proposalState;
4124
  public $revisionNumber;
4125
  public $revisionTimeMs;
4126
+ protected $sellerType = 'Forminator_Google_Service_AdExchangeBuyer_Seller';
4127
  protected $sellerDataType = '';
4128
+ protected $sellerContactsType = 'Forminator_Google_Service_AdExchangeBuyer_ContactInformation';
4129
  protected $sellerContactsDataType = 'array';
4130
 
4131
 
4132
+ public function setBilledBuyer(Forminator_Google_Service_AdExchangeBuyer_Buyer $billedBuyer)
4133
  {
4134
  $this->billedBuyer = $billedBuyer;
4135
  }
4137
  {
4138
  return $this->billedBuyer;
4139
  }
4140
+ public function setBuyer(Forminator_Google_Service_AdExchangeBuyer_Buyer $buyer)
4141
  {
4142
  $this->buyer = $buyer;
4143
  }
4153
  {
4154
  return $this->buyerContacts;
4155
  }
4156
+ public function setBuyerPrivateData(Forminator_Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
4157
  {
4158
  $this->buyerPrivateData = $buyerPrivateData;
4159
  }
4281
  {
4282
  return $this->revisionTimeMs;
4283
  }
4284
+ public function setSeller(Forminator_Google_Service_AdExchangeBuyer_Seller $seller)
4285
  {
4286
  $this->seller = $seller;
4287
  }
4299
  }
4300
  }
4301
 
4302
+ class Forminator_Google_Service_AdExchangeBuyer_Seller extends Forminator_Google_Model
4303
  {
4304
  protected $internal_gapi_mappings = array(
4305
  );
4325
  }
4326
  }
4327
 
4328
+ class Forminator_Google_Service_AdExchangeBuyer_SharedTargeting extends Forminator_Google_Collection
4329
  {
4330
  protected $collection_key = 'inclusions';
4331
  protected $internal_gapi_mappings = array(
4332
  );
4333
+ protected $exclusionsType = 'Forminator_Google_Service_AdExchangeBuyer_TargetingValue';
4334
  protected $exclusionsDataType = 'array';
4335
+ protected $inclusionsType = 'Forminator_Google_Service_AdExchangeBuyer_TargetingValue';
4336
  protected $inclusionsDataType = 'array';
4337
  public $key;
4338
 
4363
  }
4364
  }
4365
 
4366
+ class Forminator_Google_Service_AdExchangeBuyer_TargetingValue extends Forminator_Google_Model
4367
  {
4368
  protected $internal_gapi_mappings = array(
4369
  );
4370
+ protected $creativeSizeValueType = 'Forminator_Google_Service_AdExchangeBuyer_TargetingValueCreativeSize';
4371
  protected $creativeSizeValueDataType = '';
4372
+ protected $dayPartTargetingValueType = 'Forminator_Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting';
4373
  protected $dayPartTargetingValueDataType = '';
4374
  public $longValue;
4375
  public $stringValue;
4376
 
4377
 
4378
+ public function setCreativeSizeValue(Forminator_Google_Service_AdExchangeBuyer_TargetingValueCreativeSize $creativeSizeValue)
4379
  {
4380
  $this->creativeSizeValue = $creativeSizeValue;
4381
  }
4383
  {
4384
  return $this->creativeSizeValue;
4385
  }
4386
+ public function setDayPartTargetingValue(Forminator_Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting $dayPartTargetingValue)
4387
  {
4388
  $this->dayPartTargetingValue = $dayPartTargetingValue;
4389
  }
4409
  }
4410
  }
4411
 
4412
+ class Forminator_Google_Service_AdExchangeBuyer_TargetingValueCreativeSize extends Forminator_Google_Collection
4413
  {
4414
  protected $collection_key = 'companionSizes';
4415
  protected $internal_gapi_mappings = array(
4416
  );
4417
+ protected $companionSizesType = 'Forminator_Google_Service_AdExchangeBuyer_TargetingValueSize';
4418
  protected $companionSizesDataType = 'array';
4419
  public $creativeSizeType;
4420
+ protected $sizeType = 'Forminator_Google_Service_AdExchangeBuyer_TargetingValueSize';
4421
  protected $sizeDataType = '';
4422
 
4423
 
4437
  {
4438
  return $this->creativeSizeType;
4439
  }
4440
+ public function setSize(Forminator_Google_Service_AdExchangeBuyer_TargetingValueSize $size)
4441
  {
4442
  $this->size = $size;
4443
  }
4447
  }
4448
  }
4449
 
4450
+ class Forminator_Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting extends Forminator_Google_Collection
4451
  {
4452
  protected $collection_key = 'dayParts';
4453
  protected $internal_gapi_mappings = array(
4454
  );
4455
+ protected $dayPartsType = 'Forminator_Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart';
4456
  protected $dayPartsDataType = 'array';
4457
  public $timeZoneType;
4458
 
4475
  }
4476
  }
4477
 
4478
+ class Forminator_Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart extends Forminator_Google_Model
4479
  {
4480
  protected $internal_gapi_mappings = array(
4481
  );
4528
  }
4529
  }
4530
 
4531
+ class Forminator_Google_Service_AdExchangeBuyer_TargetingValueSize extends Forminator_Google_Model
4532
  {
4533
  protected $internal_gapi_mappings = array(
4534
  );
addons/pro/googlesheet/lib/external/Google/Service/AdExchangeSeller.php CHANGED
@@ -27,7 +27,7 @@
27
  *
28
  * @author Google, Inc.
29
  */
30
- class Google_Service_AdExchangeSeller extends Google_Service
31
  {
32
  /** View and manage your Ad Exchange data. */
33
  const ADEXCHANGE_SELLER =
@@ -51,9 +51,9 @@ class Google_Service_AdExchangeSeller extends Google_Service
51
  /**
52
  * Constructs the internal representation of the AdExchangeSeller service.
53
  *
54
- * @param Google_Client $client
55
  */
56
- public function __construct(Google_Client $client)
57
  {
58
  parent::__construct($client);
59
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -61,7 +61,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
61
  $this->version = 'v2.0';
62
  $this->serviceName = 'adexchangeseller';
63
 
64
- $this->accounts = new Google_Service_AdExchangeSeller_Accounts_Resource(
65
  $this,
66
  $this->serviceName,
67
  'accounts',
@@ -94,7 +94,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
94
  )
95
  )
96
  );
97
- $this->accounts_adclients = new Google_Service_AdExchangeSeller_AccountsAdclients_Resource(
98
  $this,
99
  $this->serviceName,
100
  'adclients',
@@ -122,7 +122,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
122
  )
123
  )
124
  );
125
- $this->accounts_alerts = new Google_Service_AdExchangeSeller_AccountsAlerts_Resource(
126
  $this,
127
  $this->serviceName,
128
  'alerts',
@@ -146,7 +146,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
146
  )
147
  )
148
  );
149
- $this->accounts_customchannels = new Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource(
150
  $this,
151
  $this->serviceName,
152
  'customchannels',
@@ -199,7 +199,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
199
  )
200
  )
201
  );
202
- $this->accounts_metadata_dimensions = new Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource(
203
  $this,
204
  $this->serviceName,
205
  'dimensions',
@@ -219,7 +219,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
219
  )
220
  )
221
  );
222
- $this->accounts_metadata_metrics = new Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource(
223
  $this,
224
  $this->serviceName,
225
  'metrics',
@@ -239,7 +239,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
239
  )
240
  )
241
  );
242
- $this->accounts_preferreddeals = new Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource(
243
  $this,
244
  $this->serviceName,
245
  'preferreddeals',
@@ -274,7 +274,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
274
  )
275
  )
276
  );
277
- $this->accounts_reports = new Google_Service_AdExchangeSeller_AccountsReports_Resource(
278
  $this,
279
  $this->serviceName,
280
  'reports',
@@ -336,7 +336,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
336
  )
337
  )
338
  );
339
- $this->accounts_reports_saved = new Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource(
340
  $this,
341
  $this->serviceName,
342
  'saved',
@@ -391,7 +391,7 @@ class Google_Service_AdExchangeSeller extends Google_Service
391
  )
392
  )
393
  );
394
- $this->accounts_urlchannels = new Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource(
395
  $this,
396
  $this->serviceName,
397
  'urlchannels',
@@ -432,11 +432,11 @@ class Google_Service_AdExchangeSeller extends Google_Service
432
  * The "accounts" collection of methods.
433
  * Typical usage is:
434
  * <code>
435
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
436
  * $accounts = $adexchangesellerService->accounts;
437
  * </code>
438
  */
439
- class Google_Service_AdExchangeSeller_Accounts_Resource extends Google_Service_Resource
440
  {
441
 
442
  /**
@@ -445,13 +445,13 @@ class Google_Service_AdExchangeSeller_Accounts_Resource extends Google_Service_R
445
  * @param string $accountId Account to get information about. Tip: 'myaccount'
446
  * is a valid ID.
447
  * @param array $optParams Optional parameters.
448
- * @return Google_Service_AdExchangeSeller_Account
449
  */
450
  public function get($accountId, $optParams = array())
451
  {
452
  $params = array('accountId' => $accountId);
453
  $params = array_merge($params, $optParams);
454
- return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account");
455
  }
456
 
457
  /**
@@ -465,13 +465,13 @@ class Google_Service_AdExchangeSeller_Accounts_Resource extends Google_Service_R
465
  * @opt_param string pageToken A continuation token, used to page through
466
  * accounts. To retrieve the next page, set this parameter to the value of
467
  * "nextPageToken" from the previous response.
468
- * @return Google_Service_AdExchangeSeller_Accounts
469
  */
470
  public function listAccounts($optParams = array())
471
  {
472
  $params = array();
473
  $params = array_merge($params, $optParams);
474
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Accounts");
475
  }
476
  }
477
 
@@ -479,11 +479,11 @@ class Google_Service_AdExchangeSeller_Accounts_Resource extends Google_Service_R
479
  * The "adclients" collection of methods.
480
  * Typical usage is:
481
  * <code>
482
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
483
  * $adclients = $adexchangesellerService->adclients;
484
  * </code>
485
  */
486
- class Google_Service_AdExchangeSeller_AccountsAdclients_Resource extends Google_Service_Resource
487
  {
488
 
489
  /**
@@ -498,24 +498,24 @@ class Google_Service_AdExchangeSeller_AccountsAdclients_Resource extends Google_
498
  * @opt_param string pageToken A continuation token, used to page through ad
499
  * clients. To retrieve the next page, set this parameter to the value of
500
  * "nextPageToken" from the previous response.
501
- * @return Google_Service_AdExchangeSeller_AdClients
502
  */
503
  public function listAccountsAdclients($accountId, $optParams = array())
504
  {
505
  $params = array('accountId' => $accountId);
506
  $params = array_merge($params, $optParams);
507
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients");
508
  }
509
  }
510
  /**
511
  * The "alerts" collection of methods.
512
  * Typical usage is:
513
  * <code>
514
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
515
  * $alerts = $adexchangesellerService->alerts;
516
  * </code>
517
  */
518
- class Google_Service_AdExchangeSeller_AccountsAlerts_Resource extends Google_Service_Resource
519
  {
520
 
521
  /**
@@ -527,24 +527,24 @@ class Google_Service_AdExchangeSeller_AccountsAlerts_Resource extends Google_Ser
527
  * @opt_param string locale The locale to use for translating alert messages.
528
  * The account locale will be used if this is not supplied. The AdSense default
529
  * (English) will be used if the supplied locale is invalid or unsupported.
530
- * @return Google_Service_AdExchangeSeller_Alerts
531
  */
532
  public function listAccountsAlerts($accountId, $optParams = array())
533
  {
534
  $params = array('accountId' => $accountId);
535
  $params = array_merge($params, $optParams);
536
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Alerts");
537
  }
538
  }
539
  /**
540
  * The "customchannels" collection of methods.
541
  * Typical usage is:
542
  * <code>
543
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
544
  * $customchannels = $adexchangesellerService->customchannels;
545
  * </code>
546
  */
547
- class Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource extends Google_Service_Resource
548
  {
549
 
550
  /**
@@ -555,13 +555,13 @@ class Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource extends Go
555
  * @param string $adClientId Ad client which contains the custom channel.
556
  * @param string $customChannelId Custom channel to retrieve.
557
  * @param array $optParams Optional parameters.
558
- * @return Google_Service_AdExchangeSeller_CustomChannel
559
  */
560
  public function get($accountId, $adClientId, $customChannelId, $optParams = array())
561
  {
562
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
563
  $params = array_merge($params, $optParams);
564
- return $this->call('get', array($params), "Google_Service_AdExchangeSeller_CustomChannel");
565
  }
566
 
567
  /**
@@ -577,24 +577,24 @@ class Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource extends Go
577
  * @opt_param string pageToken A continuation token, used to page through custom
578
  * channels. To retrieve the next page, set this parameter to the value of
579
  * "nextPageToken" from the previous response.
580
- * @return Google_Service_AdExchangeSeller_CustomChannels
581
  */
582
  public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
583
  {
584
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
585
  $params = array_merge($params, $optParams);
586
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels");
587
  }
588
  }
589
  /**
590
  * The "metadata" collection of methods.
591
  * Typical usage is:
592
  * <code>
593
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
594
  * $metadata = $adexchangesellerService->metadata;
595
  * </code>
596
  */
597
- class Google_Service_AdExchangeSeller_AccountsMetadata_Resource extends Google_Service_Resource
598
  {
599
  }
600
 
@@ -602,11 +602,11 @@ class Google_Service_AdExchangeSeller_AccountsMetadata_Resource extends Google_S
602
  * The "dimensions" collection of methods.
603
  * Typical usage is:
604
  * <code>
605
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
606
  * $dimensions = $adexchangesellerService->dimensions;
607
  * </code>
608
  */
609
- class Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource extends Google_Service_Resource
610
  {
611
 
612
  /**
@@ -615,24 +615,24 @@ class Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource extend
615
  *
616
  * @param string $accountId Account with visibility to the dimensions.
617
  * @param array $optParams Optional parameters.
618
- * @return Google_Service_AdExchangeSeller_Metadata
619
  */
620
  public function listAccountsMetadataDimensions($accountId, $optParams = array())
621
  {
622
  $params = array('accountId' => $accountId);
623
  $params = array_merge($params, $optParams);
624
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata");
625
  }
626
  }
627
  /**
628
  * The "metrics" collection of methods.
629
  * Typical usage is:
630
  * <code>
631
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
632
  * $metrics = $adexchangesellerService->metrics;
633
  * </code>
634
  */
635
- class Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource extends Google_Service_Resource
636
  {
637
 
638
  /**
@@ -641,24 +641,24 @@ class Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource extends G
641
  *
642
  * @param string $accountId Account with visibility to the metrics.
643
  * @param array $optParams Optional parameters.
644
- * @return Google_Service_AdExchangeSeller_Metadata
645
  */
646
  public function listAccountsMetadataMetrics($accountId, $optParams = array())
647
  {
648
  $params = array('accountId' => $accountId);
649
  $params = array_merge($params, $optParams);
650
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata");
651
  }
652
  }
653
  /**
654
  * The "preferreddeals" collection of methods.
655
  * Typical usage is:
656
  * <code>
657
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
658
  * $preferreddeals = $adexchangesellerService->preferreddeals;
659
  * </code>
660
  */
661
- class Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource extends Google_Service_Resource
662
  {
663
 
664
  /**
@@ -668,13 +668,13 @@ class Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource extends Go
668
  * @param string $accountId Account owning the deal.
669
  * @param string $dealId Preferred deal to get information about.
670
  * @param array $optParams Optional parameters.
671
- * @return Google_Service_AdExchangeSeller_PreferredDeal
672
  */
673
  public function get($accountId, $dealId, $optParams = array())
674
  {
675
  $params = array('accountId' => $accountId, 'dealId' => $dealId);
676
  $params = array_merge($params, $optParams);
677
- return $this->call('get', array($params), "Google_Service_AdExchangeSeller_PreferredDeal");
678
  }
679
 
680
  /**
@@ -683,24 +683,24 @@ class Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource extends Go
683
  *
684
  * @param string $accountId Account owning the deals.
685
  * @param array $optParams Optional parameters.
686
- * @return Google_Service_AdExchangeSeller_PreferredDeals
687
  */
688
  public function listAccountsPreferreddeals($accountId, $optParams = array())
689
  {
690
  $params = array('accountId' => $accountId);
691
  $params = array_merge($params, $optParams);
692
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_PreferredDeals");
693
  }
694
  }
695
  /**
696
  * The "reports" collection of methods.
697
  * Typical usage is:
698
  * <code>
699
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
700
  * $reports = $adexchangesellerService->reports;
701
  * </code>
702
  */
703
- class Google_Service_AdExchangeSeller_AccountsReports_Resource extends Google_Service_Resource
704
  {
705
 
706
  /**
@@ -726,13 +726,13 @@ class Google_Service_AdExchangeSeller_AccountsReports_Resource extends Google_Se
726
  * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
727
  * sort descending. If no prefix is specified, the column is sorted ascending.
728
  * @opt_param string startIndex Index of the first row of report data to return.
729
- * @return Google_Service_AdExchangeSeller_Report
730
  */
731
  public function generate($accountId, $startDate, $endDate, $optParams = array())
732
  {
733
  $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
734
  $params = array_merge($params, $optParams);
735
- return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
736
  }
737
  }
738
 
@@ -740,11 +740,11 @@ class Google_Service_AdExchangeSeller_AccountsReports_Resource extends Google_Se
740
  * The "saved" collection of methods.
741
  * Typical usage is:
742
  * <code>
743
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
744
  * $saved = $adexchangesellerService->saved;
745
  * </code>
746
  */
747
- class Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource extends Google_Service_Resource
748
  {
749
 
750
  /**
@@ -760,13 +760,13 @@ class Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource extends Goog
760
  * @opt_param int maxResults The maximum number of rows of report data to
761
  * return.
762
  * @opt_param int startIndex Index of the first row of report data to return.
763
- * @return Google_Service_AdExchangeSeller_Report
764
  */
765
  public function generate($accountId, $savedReportId, $optParams = array())
766
  {
767
  $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
768
  $params = array_merge($params, $optParams);
769
- return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
770
  }
771
 
772
  /**
@@ -781,24 +781,24 @@ class Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource extends Goog
781
  * @opt_param string pageToken A continuation token, used to page through saved
782
  * reports. To retrieve the next page, set this parameter to the value of
783
  * "nextPageToken" from the previous response.
784
- * @return Google_Service_AdExchangeSeller_SavedReports
785
  */
786
  public function listAccountsReportsSaved($accountId, $optParams = array())
787
  {
788
  $params = array('accountId' => $accountId);
789
  $params = array_merge($params, $optParams);
790
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports");
791
  }
792
  }
793
  /**
794
  * The "urlchannels" collection of methods.
795
  * Typical usage is:
796
  * <code>
797
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
798
  * $urlchannels = $adexchangesellerService->urlchannels;
799
  * </code>
800
  */
801
- class Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource extends Google_Service_Resource
802
  {
803
 
804
  /**
@@ -814,20 +814,20 @@ class Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource extends Googl
814
  * @opt_param string pageToken A continuation token, used to page through URL
815
  * channels. To retrieve the next page, set this parameter to the value of
816
  * "nextPageToken" from the previous response.
817
- * @return Google_Service_AdExchangeSeller_UrlChannels
818
  */
819
  public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
820
  {
821
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
822
  $params = array_merge($params, $optParams);
823
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_UrlChannels");
824
  }
825
  }
826
 
827
 
828
 
829
 
830
- class Google_Service_AdExchangeSeller_Account extends Google_Model
831
  {
832
  protected $internal_gapi_mappings = array(
833
  );
@@ -862,13 +862,13 @@ class Google_Service_AdExchangeSeller_Account extends Google_Model
862
  }
863
  }
864
 
865
- class Google_Service_AdExchangeSeller_Accounts extends Google_Collection
866
  {
867
  protected $collection_key = 'items';
868
  protected $internal_gapi_mappings = array(
869
  );
870
  public $etag;
871
- protected $itemsType = 'Google_Service_AdExchangeSeller_Account';
872
  protected $itemsDataType = 'array';
873
  public $kind;
874
  public $nextPageToken;
@@ -908,7 +908,7 @@ class Google_Service_AdExchangeSeller_Accounts extends Google_Collection
908
  }
909
  }
910
 
911
- class Google_Service_AdExchangeSeller_AdClient extends Google_Model
912
  {
913
  protected $internal_gapi_mappings = array(
914
  );
@@ -961,13 +961,13 @@ class Google_Service_AdExchangeSeller_AdClient extends Google_Model
961
  }
962
  }
963
 
964
- class Google_Service_AdExchangeSeller_AdClients extends Google_Collection
965
  {
966
  protected $collection_key = 'items';
967
  protected $internal_gapi_mappings = array(
968
  );
969
  public $etag;
970
- protected $itemsType = 'Google_Service_AdExchangeSeller_AdClient';
971
  protected $itemsDataType = 'array';
972
  public $kind;
973
  public $nextPageToken;
@@ -1007,7 +1007,7 @@ class Google_Service_AdExchangeSeller_AdClients extends Google_Collection
1007
  }
1008
  }
1009
 
1010
- class Google_Service_AdExchangeSeller_Alert extends Google_Model
1011
  {
1012
  protected $internal_gapi_mappings = array(
1013
  );
@@ -1060,12 +1060,12 @@ class Google_Service_AdExchangeSeller_Alert extends Google_Model
1060
  }
1061
  }
1062
 
1063
- class Google_Service_AdExchangeSeller_Alerts extends Google_Collection
1064
  {
1065
  protected $collection_key = 'items';
1066
  protected $internal_gapi_mappings = array(
1067
  );
1068
- protected $itemsType = 'Google_Service_AdExchangeSeller_Alert';
1069
  protected $itemsDataType = 'array';
1070
  public $kind;
1071
 
@@ -1088,7 +1088,7 @@ class Google_Service_AdExchangeSeller_Alerts extends Google_Collection
1088
  }
1089
  }
1090
 
1091
- class Google_Service_AdExchangeSeller_CustomChannel extends Google_Model
1092
  {
1093
  protected $internal_gapi_mappings = array(
1094
  );
@@ -1096,7 +1096,7 @@ class Google_Service_AdExchangeSeller_CustomChannel extends Google_Model
1096
  public $id;
1097
  public $kind;
1098
  public $name;
1099
- protected $targetingInfoType = 'Google_Service_AdExchangeSeller_CustomChannelTargetingInfo';
1100
  protected $targetingInfoDataType = '';
1101
 
1102
 
@@ -1132,7 +1132,7 @@ class Google_Service_AdExchangeSeller_CustomChannel extends Google_Model
1132
  {
1133
  return $this->name;
1134
  }
1135
- public function setTargetingInfo(Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo)
1136
  {
1137
  $this->targetingInfo = $targetingInfo;
1138
  }
@@ -1142,7 +1142,7 @@ class Google_Service_AdExchangeSeller_CustomChannel extends Google_Model
1142
  }
1143
  }
1144
 
1145
- class Google_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Google_Model
1146
  {
1147
  protected $internal_gapi_mappings = array(
1148
  );
@@ -1186,13 +1186,13 @@ class Google_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Google_
1186
  }
1187
  }
1188
 
1189
- class Google_Service_AdExchangeSeller_CustomChannels extends Google_Collection
1190
  {
1191
  protected $collection_key = 'items';
1192
  protected $internal_gapi_mappings = array(
1193
  );
1194
  public $etag;
1195
- protected $itemsType = 'Google_Service_AdExchangeSeller_CustomChannel';
1196
  protected $itemsDataType = 'array';
1197
  public $kind;
1198
  public $nextPageToken;
@@ -1232,12 +1232,12 @@ class Google_Service_AdExchangeSeller_CustomChannels extends Google_Collection
1232
  }
1233
  }
1234
 
1235
- class Google_Service_AdExchangeSeller_Metadata extends Google_Collection
1236
  {
1237
  protected $collection_key = 'items';
1238
  protected $internal_gapi_mappings = array(
1239
  );
1240
- protected $itemsType = 'Google_Service_AdExchangeSeller_ReportingMetadataEntry';
1241
  protected $itemsDataType = 'array';
1242
  public $kind;
1243
 
@@ -1260,7 +1260,7 @@ class Google_Service_AdExchangeSeller_Metadata extends Google_Collection
1260
  }
1261
  }
1262
 
1263
- class Google_Service_AdExchangeSeller_PreferredDeal extends Google_Model
1264
  {
1265
  protected $internal_gapi_mappings = array(
1266
  );
@@ -1340,12 +1340,12 @@ class Google_Service_AdExchangeSeller_PreferredDeal extends Google_Model
1340
  }
1341
  }
1342
 
1343
- class Google_Service_AdExchangeSeller_PreferredDeals extends Google_Collection
1344
  {
1345
  protected $collection_key = 'items';
1346
  protected $internal_gapi_mappings = array(
1347
  );
1348
- protected $itemsType = 'Google_Service_AdExchangeSeller_PreferredDeal';
1349
  protected $itemsDataType = 'array';
1350
  public $kind;
1351
 
@@ -1368,13 +1368,13 @@ class Google_Service_AdExchangeSeller_PreferredDeals extends Google_Collection
1368
  }
1369
  }
1370
 
1371
- class Google_Service_AdExchangeSeller_Report extends Google_Collection
1372
  {
1373
  protected $collection_key = 'warnings';
1374
  protected $internal_gapi_mappings = array(
1375
  );
1376
  public $averages;
1377
- protected $headersType = 'Google_Service_AdExchangeSeller_ReportHeaders';
1378
  protected $headersDataType = 'array';
1379
  public $kind;
1380
  public $rows;
@@ -1441,7 +1441,7 @@ class Google_Service_AdExchangeSeller_Report extends Google_Collection
1441
  }
1442
  }
1443
 
1444
- class Google_Service_AdExchangeSeller_ReportHeaders extends Google_Model
1445
  {
1446
  protected $internal_gapi_mappings = array(
1447
  );
@@ -1476,7 +1476,7 @@ class Google_Service_AdExchangeSeller_ReportHeaders extends Google_Model
1476
  }
1477
  }
1478
 
1479
- class Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Google_Collection
1480
  {
1481
  protected $collection_key = 'supportedProducts';
1482
  protected $internal_gapi_mappings = array(
@@ -1548,7 +1548,7 @@ class Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Google_Coll
1548
  }
1549
  }
1550
 
1551
- class Google_Service_AdExchangeSeller_SavedReport extends Google_Model
1552
  {
1553
  protected $internal_gapi_mappings = array(
1554
  );
@@ -1583,13 +1583,13 @@ class Google_Service_AdExchangeSeller_SavedReport extends Google_Model
1583
  }
1584
  }
1585
 
1586
- class Google_Service_AdExchangeSeller_SavedReports extends Google_Collection
1587
  {
1588
  protected $collection_key = 'items';
1589
  protected $internal_gapi_mappings = array(
1590
  );
1591
  public $etag;
1592
- protected $itemsType = 'Google_Service_AdExchangeSeller_SavedReport';
1593
  protected $itemsDataType = 'array';
1594
  public $kind;
1595
  public $nextPageToken;
@@ -1629,7 +1629,7 @@ class Google_Service_AdExchangeSeller_SavedReports extends Google_Collection
1629
  }
1630
  }
1631
 
1632
- class Google_Service_AdExchangeSeller_UrlChannel extends Google_Model
1633
  {
1634
  protected $internal_gapi_mappings = array(
1635
  );
@@ -1664,13 +1664,13 @@ class Google_Service_AdExchangeSeller_UrlChannel extends Google_Model
1664
  }
1665
  }
1666
 
1667
- class Google_Service_AdExchangeSeller_UrlChannels extends Google_Collection
1668
  {
1669
  protected $collection_key = 'items';
1670
  protected $internal_gapi_mappings = array(
1671
  );
1672
  public $etag;
1673
- protected $itemsType = 'Google_Service_AdExchangeSeller_UrlChannel';
1674
  protected $itemsDataType = 'array';
1675
  public $kind;
1676
  public $nextPageToken;
27
  *
28
  * @author Google, Inc.
29
  */
30
+ class Forminator_Google_Service_AdExchangeSeller extends Forminator_Google_Service
31
  {
32
  /** View and manage your Ad Exchange data. */
33
  const ADEXCHANGE_SELLER =
51
  /**
52
  * Constructs the internal representation of the AdExchangeSeller service.
53
  *
54
+ * @param Forminator_Google_Client $client
55
  */
56
+ public function __construct(Forminator_Google_Client $client)
57
  {
58
  parent::__construct($client);
59
  $this->rootUrl = 'https://www.googleapis.com/';
61
  $this->version = 'v2.0';
62
  $this->serviceName = 'adexchangeseller';
63
 
64
+ $this->accounts = new Forminator_Google_Service_AdExchangeSeller_Accounts_Resource(
65
  $this,
66
  $this->serviceName,
67
  'accounts',
94
  )
95
  )
96
  );
97
+ $this->accounts_adclients = new Forminator_Google_Service_AdExchangeSeller_AccountsAdclients_Resource(
98
  $this,
99
  $this->serviceName,
100
  'adclients',
122
  )
123
  )
124
  );
125
+ $this->accounts_alerts = new Forminator_Google_Service_AdExchangeSeller_AccountsAlerts_Resource(
126
  $this,
127
  $this->serviceName,
128
  'alerts',
146
  )
147
  )
148
  );
149
+ $this->accounts_customchannels = new Forminator_Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource(
150
  $this,
151
  $this->serviceName,
152
  'customchannels',
199
  )
200
  )
201
  );
202
+ $this->accounts_metadata_dimensions = new Forminator_Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource(
203
  $this,
204
  $this->serviceName,
205
  'dimensions',
219
  )
220
  )
221
  );
222
+ $this->accounts_metadata_metrics = new Forminator_Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource(
223
  $this,
224
  $this->serviceName,
225
  'metrics',
239
  )
240
  )
241
  );
242
+ $this->accounts_preferreddeals = new Forminator_Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource(
243
  $this,
244
  $this->serviceName,
245
  'preferreddeals',
274
  )
275
  )
276
  );
277
+ $this->accounts_reports = new Forminator_Google_Service_AdExchangeSeller_AccountsReports_Resource(
278
  $this,
279
  $this->serviceName,
280
  'reports',
336
  )
337
  )
338
  );
339
+ $this->accounts_reports_saved = new Forminator_Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource(
340
  $this,
341
  $this->serviceName,
342
  'saved',
391
  )
392
  )
393
  );
394
+ $this->accounts_urlchannels = new Forminator_Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource(
395
  $this,
396
  $this->serviceName,
397
  'urlchannels',
432
  * The "accounts" collection of methods.
433
  * Typical usage is:
434
  * <code>
435
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
436
  * $accounts = $adexchangesellerService->accounts;
437
  * </code>
438
  */
439
+ class Forminator_Google_Service_AdExchangeSeller_Accounts_Resource extends Forminator_Google_Service_Resource
440
  {
441
 
442
  /**
445
  * @param string $accountId Account to get information about. Tip: 'myaccount'
446
  * is a valid ID.
447
  * @param array $optParams Optional parameters.
448
+ * @return Forminator_Google_Service_AdExchangeSeller_Account
449
  */
450
  public function get($accountId, $optParams = array())
451
  {
452
  $params = array('accountId' => $accountId);
453
  $params = array_merge($params, $optParams);
454
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeSeller_Account");
455
  }
456
 
457
  /**
465
  * @opt_param string pageToken A continuation token, used to page through
466
  * accounts. To retrieve the next page, set this parameter to the value of
467
  * "nextPageToken" from the previous response.
468
+ * @return Forminator_Google_Service_AdExchangeSeller_Accounts
469
  */
470
  public function listAccounts($optParams = array())
471
  {
472
  $params = array();
473
  $params = array_merge($params, $optParams);
474
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeSeller_Accounts");
475
  }
476
  }
477
 
479
  * The "adclients" collection of methods.
480
  * Typical usage is:
481
  * <code>
482
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
483
  * $adclients = $adexchangesellerService->adclients;
484
  * </code>
485
  */
486
+ class Forminator_Google_Service_AdExchangeSeller_AccountsAdclients_Resource extends Forminator_Google_Service_Resource
487
  {
488
 
489
  /**
498
  * @opt_param string pageToken A continuation token, used to page through ad
499
  * clients. To retrieve the next page, set this parameter to the value of
500
  * "nextPageToken" from the previous response.
501
+ * @return Forminator_Google_Service_AdExchangeSeller_AdClients
502
  */
503
  public function listAccountsAdclients($accountId, $optParams = array())
504
  {
505
  $params = array('accountId' => $accountId);
506
  $params = array_merge($params, $optParams);
507
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeSeller_AdClients");
508
  }
509
  }
510
  /**
511
  * The "alerts" collection of methods.
512
  * Typical usage is:
513
  * <code>
514
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
515
  * $alerts = $adexchangesellerService->alerts;
516
  * </code>
517
  */
518
+ class Forminator_Google_Service_AdExchangeSeller_AccountsAlerts_Resource extends Forminator_Google_Service_Resource
519
  {
520
 
521
  /**
527
  * @opt_param string locale The locale to use for translating alert messages.
528
  * The account locale will be used if this is not supplied. The AdSense default
529
  * (English) will be used if the supplied locale is invalid or unsupported.
530
+ * @return Forminator_Google_Service_AdExchangeSeller_Alerts
531
  */
532
  public function listAccountsAlerts($accountId, $optParams = array())
533
  {
534
  $params = array('accountId' => $accountId);
535
  $params = array_merge($params, $optParams);
536
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeSeller_Alerts");
537
  }
538
  }
539
  /**
540
  * The "customchannels" collection of methods.
541
  * Typical usage is:
542
  * <code>
543
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
544
  * $customchannels = $adexchangesellerService->customchannels;
545
  * </code>
546
  */
547
+ class Forminator_Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource extends Forminator_Google_Service_Resource
548
  {
549
 
550
  /**
555
  * @param string $adClientId Ad client which contains the custom channel.
556
  * @param string $customChannelId Custom channel to retrieve.
557
  * @param array $optParams Optional parameters.
558
+ * @return Forminator_Google_Service_AdExchangeSeller_CustomChannel
559
  */
560
  public function get($accountId, $adClientId, $customChannelId, $optParams = array())
561
  {
562
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
563
  $params = array_merge($params, $optParams);
564
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeSeller_CustomChannel");
565
  }
566
 
567
  /**
577
  * @opt_param string pageToken A continuation token, used to page through custom
578
  * channels. To retrieve the next page, set this parameter to the value of
579
  * "nextPageToken" from the previous response.
580
+ * @return Forminator_Google_Service_AdExchangeSeller_CustomChannels
581
  */
582
  public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
583
  {
584
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
585
  $params = array_merge($params, $optParams);
586
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeSeller_CustomChannels");
587
  }
588
  }
589
  /**
590
  * The "metadata" collection of methods.
591
  * Typical usage is:
592
  * <code>
593
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
594
  * $metadata = $adexchangesellerService->metadata;
595
  * </code>
596
  */
597
+ class Forminator_Google_Service_AdExchangeSeller_AccountsMetadata_Resource extends Forminator_Google_Service_Resource
598
  {
599
  }
600
 
602
  * The "dimensions" collection of methods.
603
  * Typical usage is:
604
  * <code>
605
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
606
  * $dimensions = $adexchangesellerService->dimensions;
607
  * </code>
608
  */
609
+ class Forminator_Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource extends Forminator_Google_Service_Resource
610
  {
611
 
612
  /**
615
  *
616
  * @param string $accountId Account with visibility to the dimensions.
617
  * @param array $optParams Optional parameters.
618
+ * @return Forminator_Google_Service_AdExchangeSeller_Metadata
619
  */
620
  public function listAccountsMetadataDimensions($accountId, $optParams = array())
621
  {
622
  $params = array('accountId' => $accountId);
623
  $params = array_merge($params, $optParams);
624
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeSeller_Metadata");
625
  }
626
  }
627
  /**
628
  * The "metrics" collection of methods.
629
  * Typical usage is:
630
  * <code>
631
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
632
  * $metrics = $adexchangesellerService->metrics;
633
  * </code>
634
  */
635
+ class Forminator_Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource extends Forminator_Google_Service_Resource
636
  {
637
 
638
  /**
641
  *
642
  * @param string $accountId Account with visibility to the metrics.
643
  * @param array $optParams Optional parameters.
644
+ * @return Forminator_Google_Service_AdExchangeSeller_Metadata
645
  */
646
  public function listAccountsMetadataMetrics($accountId, $optParams = array())
647
  {
648
  $params = array('accountId' => $accountId);
649
  $params = array_merge($params, $optParams);
650
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeSeller_Metadata");
651
  }
652
  }
653
  /**
654
  * The "preferreddeals" collection of methods.
655
  * Typical usage is:
656
  * <code>
657
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
658
  * $preferreddeals = $adexchangesellerService->preferreddeals;
659
  * </code>
660
  */
661
+ class Forminator_Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource extends Forminator_Google_Service_Resource
662
  {
663
 
664
  /**
668
  * @param string $accountId Account owning the deal.
669
  * @param string $dealId Preferred deal to get information about.
670
  * @param array $optParams Optional parameters.
671
+ * @return Forminator_Google_Service_AdExchangeSeller_PreferredDeal
672
  */
673
  public function get($accountId, $dealId, $optParams = array())
674
  {
675
  $params = array('accountId' => $accountId, 'dealId' => $dealId);
676
  $params = array_merge($params, $optParams);
677
+ return $this->call('get', array($params), "Forminator_Google_Service_AdExchangeSeller_PreferredDeal");
678
  }
679
 
680
  /**
683
  *
684
  * @param string $accountId Account owning the deals.
685
  * @param array $optParams Optional parameters.
686
+ * @return Forminator_Google_Service_AdExchangeSeller_PreferredDeals
687
  */
688
  public function listAccountsPreferreddeals($accountId, $optParams = array())
689
  {
690
  $params = array('accountId' => $accountId);
691
  $params = array_merge($params, $optParams);
692
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeSeller_PreferredDeals");
693
  }
694
  }
695
  /**
696
  * The "reports" collection of methods.
697
  * Typical usage is:
698
  * <code>
699
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
700
  * $reports = $adexchangesellerService->reports;
701
  * </code>
702
  */
703
+ class Forminator_Google_Service_AdExchangeSeller_AccountsReports_Resource extends Forminator_Google_Service_Resource
704
  {
705
 
706
  /**
726
  * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
727
  * sort descending. If no prefix is specified, the column is sorted ascending.
728
  * @opt_param string startIndex Index of the first row of report data to return.
729
+ * @return Forminator_Google_Service_AdExchangeSeller_Report
730
  */
731
  public function generate($accountId, $startDate, $endDate, $optParams = array())
732
  {
733
  $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
734
  $params = array_merge($params, $optParams);
735
+ return $this->call('generate', array($params), "Forminator_Google_Service_AdExchangeSeller_Report");
736
  }
737
  }
738
 
740
  * The "saved" collection of methods.
741
  * Typical usage is:
742
  * <code>
743
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
744
  * $saved = $adexchangesellerService->saved;
745
  * </code>
746
  */
747
+ class Forminator_Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource extends Forminator_Google_Service_Resource
748
  {
749
 
750
  /**
760
  * @opt_param int maxResults The maximum number of rows of report data to
761
  * return.
762
  * @opt_param int startIndex Index of the first row of report data to return.
763
+ * @return Forminator_Google_Service_AdExchangeSeller_Report
764
  */
765
  public function generate($accountId, $savedReportId, $optParams = array())
766
  {
767
  $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
768
  $params = array_merge($params, $optParams);
769
+ return $this->call('generate', array($params), "Forminator_Google_Service_AdExchangeSeller_Report");
770
  }
771
 
772
  /**
781
  * @opt_param string pageToken A continuation token, used to page through saved
782
  * reports. To retrieve the next page, set this parameter to the value of
783
  * "nextPageToken" from the previous response.
784
+ * @return Forminator_Google_Service_AdExchangeSeller_SavedReports
785
  */
786
  public function listAccountsReportsSaved($accountId, $optParams = array())
787
  {
788
  $params = array('accountId' => $accountId);
789
  $params = array_merge($params, $optParams);
790
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeSeller_SavedReports");
791
  }
792
  }
793
  /**
794
  * The "urlchannels" collection of methods.
795
  * Typical usage is:
796
  * <code>
797
+ * $adexchangesellerService = new Forminator_Google_Service_AdExchangeSeller(...);
798
  * $urlchannels = $adexchangesellerService->urlchannels;
799
  * </code>
800
  */
801
+ class Forminator_Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource extends Forminator_Google_Service_Resource
802
  {
803
 
804
  /**
814
  * @opt_param string pageToken A continuation token, used to page through URL
815
  * channels. To retrieve the next page, set this parameter to the value of
816
  * "nextPageToken" from the previous response.
817
+ * @return Forminator_Google_Service_AdExchangeSeller_UrlChannels
818
  */
819
  public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
820
  {
821
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
822
  $params = array_merge($params, $optParams);
823
+ return $this->call('list', array($params), "Forminator_Google_Service_AdExchangeSeller_UrlChannels");
824
  }
825
  }
826
 
827
 
828
 
829
 
830
+ class Forminator_Google_Service_AdExchangeSeller_Account extends Forminator_Google_Model
831
  {
832
  protected $internal_gapi_mappings = array(
833
  );
862
  }
863
  }
864
 
865
+ class Forminator_Google_Service_AdExchangeSeller_Accounts extends Forminator_Google_Collection
866
  {
867
  protected $collection_key = 'items';
868
  protected $internal_gapi_mappings = array(
869
  );
870
  public $etag;
871
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeSeller_Account';
872
  protected $itemsDataType = 'array';
873
  public $kind;
874
  public $nextPageToken;
908
  }
909
  }
910
 
911
+ class Forminator_Google_Service_AdExchangeSeller_AdClient extends Forminator_Google_Model
912
  {
913
  protected $internal_gapi_mappings = array(
914
  );
961
  }
962
  }
963
 
964
+ class Forminator_Google_Service_AdExchangeSeller_AdClients extends Forminator_Google_Collection
965
  {
966
  protected $collection_key = 'items';
967
  protected $internal_gapi_mappings = array(
968
  );
969
  public $etag;
970
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeSeller_AdClient';
971
  protected $itemsDataType = 'array';
972
  public $kind;
973
  public $nextPageToken;
1007
  }
1008
  }
1009
 
1010
+ class Forminator_Google_Service_AdExchangeSeller_Alert extends Forminator_Google_Model
1011
  {
1012
  protected $internal_gapi_mappings = array(
1013
  );
1060
  }
1061
  }
1062
 
1063
+ class Forminator_Google_Service_AdExchangeSeller_Alerts extends Forminator_Google_Collection
1064
  {
1065
  protected $collection_key = 'items';
1066
  protected $internal_gapi_mappings = array(
1067
  );
1068
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeSeller_Alert';
1069
  protected $itemsDataType = 'array';
1070
  public $kind;
1071
 
1088
  }
1089
  }
1090
 
1091
+ class Forminator_Google_Service_AdExchangeSeller_CustomChannel extends Forminator_Google_Model
1092
  {
1093
  protected $internal_gapi_mappings = array(
1094
  );
1096
  public $id;
1097
  public $kind;
1098
  public $name;
1099
+ protected $targetingInfoType = 'Forminator_Google_Service_AdExchangeSeller_CustomChannelTargetingInfo';
1100
  protected $targetingInfoDataType = '';
1101
 
1102
 
1132
  {
1133
  return $this->name;
1134
  }
1135
+ public function setTargetingInfo(Forminator_Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo)
1136
  {
1137
  $this->targetingInfo = $targetingInfo;
1138
  }
1142
  }
1143
  }
1144
 
1145
+ class Forminator_Google_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Forminator_Google_Model
1146
  {
1147
  protected $internal_gapi_mappings = array(
1148
  );
1186
  }
1187
  }
1188
 
1189
+ class Forminator_Google_Service_AdExchangeSeller_CustomChannels extends Forminator_Google_Collection
1190
  {
1191
  protected $collection_key = 'items';
1192
  protected $internal_gapi_mappings = array(
1193
  );
1194
  public $etag;
1195
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeSeller_CustomChannel';
1196
  protected $itemsDataType = 'array';
1197
  public $kind;
1198
  public $nextPageToken;
1232
  }
1233
  }
1234
 
1235
+ class Forminator_Google_Service_AdExchangeSeller_Metadata extends Forminator_Google_Collection
1236
  {
1237
  protected $collection_key = 'items';
1238
  protected $internal_gapi_mappings = array(
1239
  );
1240
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeSeller_ReportingMetadataEntry';
1241
  protected $itemsDataType = 'array';
1242
  public $kind;
1243
 
1260
  }
1261
  }
1262
 
1263
+ class Forminator_Google_Service_AdExchangeSeller_PreferredDeal extends Forminator_Google_Model
1264
  {
1265
  protected $internal_gapi_mappings = array(
1266
  );
1340
  }
1341
  }
1342
 
1343
+ class Forminator_Google_Service_AdExchangeSeller_PreferredDeals extends Forminator_Google_Collection
1344
  {
1345
  protected $collection_key = 'items';
1346
  protected $internal_gapi_mappings = array(
1347
  );
1348
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeSeller_PreferredDeal';
1349
  protected $itemsDataType = 'array';
1350
  public $kind;
1351
 
1368
  }
1369
  }
1370
 
1371
+ class Forminator_Google_Service_AdExchangeSeller_Report extends Forminator_Google_Collection
1372
  {
1373
  protected $collection_key = 'warnings';
1374
  protected $internal_gapi_mappings = array(
1375
  );
1376
  public $averages;
1377
+ protected $headersType = 'Forminator_Google_Service_AdExchangeSeller_ReportHeaders';
1378
  protected $headersDataType = 'array';
1379
  public $kind;
1380
  public $rows;
1441
  }
1442
  }
1443
 
1444
+ class Forminator_Google_Service_AdExchangeSeller_ReportHeaders extends Forminator_Google_Model
1445
  {
1446
  protected $internal_gapi_mappings = array(
1447
  );
1476
  }
1477
  }
1478
 
1479
+ class Forminator_Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Forminator_Google_Collection
1480
  {
1481
  protected $collection_key = 'supportedProducts';
1482
  protected $internal_gapi_mappings = array(
1548
  }
1549
  }
1550
 
1551
+ class Forminator_Google_Service_AdExchangeSeller_SavedReport extends Forminator_Google_Model
1552
  {
1553
  protected $internal_gapi_mappings = array(
1554
  );
1583
  }
1584
  }
1585
 
1586
+ class Forminator_Google_Service_AdExchangeSeller_SavedReports extends Forminator_Google_Collection
1587
  {
1588
  protected $collection_key = 'items';
1589
  protected $internal_gapi_mappings = array(
1590
  );
1591
  public $etag;
1592
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeSeller_SavedReport';
1593
  protected $itemsDataType = 'array';
1594
  public $kind;
1595
  public $nextPageToken;
1629
  }
1630
  }
1631
 
1632
+ class Forminator_Google_Service_AdExchangeSeller_UrlChannel extends Forminator_Google_Model
1633
  {
1634
  protected $internal_gapi_mappings = array(
1635
  );
1664
  }
1665
  }
1666
 
1667
+ class Forminator_Google_Service_AdExchangeSeller_UrlChannels extends Forminator_Google_Collection
1668
  {
1669
  protected $collection_key = 'items';
1670
  protected $internal_gapi_mappings = array(
1671
  );
1672
  public $etag;
1673
+ protected $itemsType = 'Forminator_Google_Service_AdExchangeSeller_UrlChannel';
1674
  protected $itemsDataType = 'array';
1675
  public $kind;
1676
  public $nextPageToken;
addons/pro/googlesheet/lib/external/Google/Service/AdSense.php CHANGED
@@ -27,7 +27,7 @@
27
  *
28
  * @author Google, Inc.
29
  */
30
- class Google_Service_AdSense extends Google_Service
31
  {
32
  /** View and manage your AdSense data. */
33
  const ADSENSE =
@@ -66,9 +66,9 @@ class Google_Service_AdSense extends Google_Service
66
  /**
67
  * Constructs the internal representation of the AdSense service.
68
  *
69
- * @param Google_Client $client
70
  */
71
- public function __construct(Google_Client $client)
72
  {
73
  parent::__construct($client);
74
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -76,7 +76,7 @@ class Google_Service_AdSense extends Google_Service
76
  $this->version = 'v1.4';
77
  $this->serviceName = 'adsense';
78
 
79
- $this->accounts = new Google_Service_AdSense_Accounts_Resource(
80
  $this,
81
  $this->serviceName,
82
  'accounts',
@@ -113,7 +113,7 @@ class Google_Service_AdSense extends Google_Service
113
  )
114
  )
115
  );
116
- $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource(
117
  $this,
118
  $this->serviceName,
119
  'adclients',
@@ -141,7 +141,7 @@ class Google_Service_AdSense extends Google_Service
141
  )
142
  )
143
  );
144
- $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource(
145
  $this,
146
  $this->serviceName,
147
  'adunits',
@@ -218,7 +218,7 @@ class Google_Service_AdSense extends Google_Service
218
  )
219
  )
220
  );
221
- $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource(
222
  $this,
223
  $this->serviceName,
224
  'customchannels',
@@ -256,7 +256,7 @@ class Google_Service_AdSense extends Google_Service
256
  )
257
  )
258
  );
259
- $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource(
260
  $this,
261
  $this->serviceName,
262
  'alerts',
@@ -295,7 +295,7 @@ class Google_Service_AdSense extends Google_Service
295
  )
296
  )
297
  );
298
- $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource(
299
  $this,
300
  $this->serviceName,
301
  'customchannels',
@@ -348,7 +348,7 @@ class Google_Service_AdSense extends Google_Service
348
  )
349
  )
350
  );
351
- $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource(
352
  $this,
353
  $this->serviceName,
354
  'adunits',
@@ -390,7 +390,7 @@ class Google_Service_AdSense extends Google_Service
390
  )
391
  )
392
  );
393
- $this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource(
394
  $this,
395
  $this->serviceName,
396
  'payments',
@@ -410,7 +410,7 @@ class Google_Service_AdSense extends Google_Service
410
  )
411
  )
412
  );
413
- $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource(
414
  $this,
415
  $this->serviceName,
416
  'reports',
@@ -480,7 +480,7 @@ class Google_Service_AdSense extends Google_Service
480
  )
481
  )
482
  );
483
- $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource(
484
  $this,
485
  $this->serviceName,
486
  'saved',
@@ -535,7 +535,7 @@ class Google_Service_AdSense extends Google_Service
535
  )
536
  )
537
  );
538
- $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource(
539
  $this,
540
  $this->serviceName,
541
  'savedadstyles',
@@ -578,7 +578,7 @@ class Google_Service_AdSense extends Google_Service
578
  )
579
  )
580
  );
581
- $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource(
582
  $this,
583
  $this->serviceName,
584
  'urlchannels',
@@ -611,7 +611,7 @@ class Google_Service_AdSense extends Google_Service
611
  )
612
  )
613
  );
614
- $this->adclients = new Google_Service_AdSense_Adclients_Resource(
615
  $this,
616
  $this->serviceName,
617
  'adclients',
@@ -634,7 +634,7 @@ class Google_Service_AdSense extends Google_Service
634
  )
635
  )
636
  );
637
- $this->adunits = new Google_Service_AdSense_Adunits_Resource(
638
  $this,
639
  $this->serviceName,
640
  'adunits',
@@ -696,7 +696,7 @@ class Google_Service_AdSense extends Google_Service
696
  )
697
  )
698
  );
699
- $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource(
700
  $this,
701
  $this->serviceName,
702
  'customchannels',
@@ -729,7 +729,7 @@ class Google_Service_AdSense extends Google_Service
729
  )
730
  )
731
  );
732
- $this->alerts = new Google_Service_AdSense_Alerts_Resource(
733
  $this,
734
  $this->serviceName,
735
  'alerts',
@@ -758,7 +758,7 @@ class Google_Service_AdSense extends Google_Service
758
  )
759
  )
760
  );
761
- $this->customchannels = new Google_Service_AdSense_Customchannels_Resource(
762
  $this,
763
  $this->serviceName,
764
  'customchannels',
@@ -801,7 +801,7 @@ class Google_Service_AdSense extends Google_Service
801
  )
802
  )
803
  );
804
- $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource(
805
  $this,
806
  $this->serviceName,
807
  'adunits',
@@ -838,7 +838,7 @@ class Google_Service_AdSense extends Google_Service
838
  )
839
  )
840
  );
841
- $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource(
842
  $this,
843
  $this->serviceName,
844
  'dimensions',
@@ -852,7 +852,7 @@ class Google_Service_AdSense extends Google_Service
852
  )
853
  )
854
  );
855
- $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource(
856
  $this,
857
  $this->serviceName,
858
  'metrics',
@@ -866,7 +866,7 @@ class Google_Service_AdSense extends Google_Service
866
  )
867
  )
868
  );
869
- $this->payments = new Google_Service_AdSense_Payments_Resource(
870
  $this,
871
  $this->serviceName,
872
  'payments',
@@ -880,7 +880,7 @@ class Google_Service_AdSense extends Google_Service
880
  )
881
  )
882
  );
883
- $this->reports = new Google_Service_AdSense_Reports_Resource(
884
  $this,
885
  $this->serviceName,
886
  'reports',
@@ -950,7 +950,7 @@ class Google_Service_AdSense extends Google_Service
950
  )
951
  )
952
  );
953
- $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource(
954
  $this,
955
  $this->serviceName,
956
  'saved',
@@ -995,7 +995,7 @@ class Google_Service_AdSense extends Google_Service
995
  )
996
  )
997
  );
998
- $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource(
999
  $this,
1000
  $this->serviceName,
1001
  'savedadstyles',
@@ -1028,7 +1028,7 @@ class Google_Service_AdSense extends Google_Service
1028
  )
1029
  )
1030
  );
1031
- $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource(
1032
  $this,
1033
  $this->serviceName,
1034
  'urlchannels',
@@ -1064,11 +1064,11 @@ class Google_Service_AdSense extends Google_Service
1064
  * The "accounts" collection of methods.
1065
  * Typical usage is:
1066
  * <code>
1067
- * $adsenseService = new Google_Service_AdSense(...);
1068
  * $accounts = $adsenseService->accounts;
1069
  * </code>
1070
  */
1071
- class Google_Service_AdSense_Accounts_Resource extends Google_Service_Resource
1072
  {
1073
 
1074
  /**
@@ -1078,13 +1078,13 @@ class Google_Service_AdSense_Accounts_Resource extends Google_Service_Resource
1078
  * @param array $optParams Optional parameters.
1079
  *
1080
  * @opt_param bool tree Whether the tree of sub accounts should be returned.
1081
- * @return Google_Service_AdSense_Account
1082
  */
1083
  public function get($accountId, $optParams = array())
1084
  {
1085
  $params = array('accountId' => $accountId);
1086
  $params = array_merge($params, $optParams);
1087
- return $this->call('get', array($params), "Google_Service_AdSense_Account");
1088
  }
1089
 
1090
  /**
@@ -1097,13 +1097,13 @@ class Google_Service_AdSense_Accounts_Resource extends Google_Service_Resource
1097
  * @opt_param string pageToken A continuation token, used to page through
1098
  * accounts. To retrieve the next page, set this parameter to the value of
1099
  * "nextPageToken" from the previous response.
1100
- * @return Google_Service_AdSense_Accounts
1101
  */
1102
  public function listAccounts($optParams = array())
1103
  {
1104
  $params = array();
1105
  $params = array_merge($params, $optParams);
1106
- return $this->call('list', array($params), "Google_Service_AdSense_Accounts");
1107
  }
1108
  }
1109
 
@@ -1111,11 +1111,11 @@ class Google_Service_AdSense_Accounts_Resource extends Google_Service_Resource
1111
  * The "adclients" collection of methods.
1112
  * Typical usage is:
1113
  * <code>
1114
- * $adsenseService = new Google_Service_AdSense(...);
1115
  * $adclients = $adsenseService->adclients;
1116
  * </code>
1117
  */
1118
- class Google_Service_AdSense_AccountsAdclients_Resource extends Google_Service_Resource
1119
  {
1120
 
1121
  /**
@@ -1130,24 +1130,24 @@ class Google_Service_AdSense_AccountsAdclients_Resource extends Google_Service_R
1130
  * @opt_param string pageToken A continuation token, used to page through ad
1131
  * clients. To retrieve the next page, set this parameter to the value of
1132
  * "nextPageToken" from the previous response.
1133
- * @return Google_Service_AdSense_AdClients
1134
  */
1135
  public function listAccountsAdclients($accountId, $optParams = array())
1136
  {
1137
  $params = array('accountId' => $accountId);
1138
  $params = array_merge($params, $optParams);
1139
- return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
1140
  }
1141
  }
1142
  /**
1143
  * The "adunits" collection of methods.
1144
  * Typical usage is:
1145
  * <code>
1146
- * $adsenseService = new Google_Service_AdSense(...);
1147
  * $adunits = $adsenseService->adunits;
1148
  * </code>
1149
  */
1150
- class Google_Service_AdSense_AccountsAdunits_Resource extends Google_Service_Resource
1151
  {
1152
 
1153
  /**
@@ -1158,13 +1158,13 @@ class Google_Service_AdSense_AccountsAdunits_Resource extends Google_Service_Res
1158
  * @param string $adClientId Ad client for which to get the ad unit.
1159
  * @param string $adUnitId Ad unit to retrieve.
1160
  * @param array $optParams Optional parameters.
1161
- * @return Google_Service_AdSense_AdUnit
1162
  */
1163
  public function get($accountId, $adClientId, $adUnitId, $optParams = array())
1164
  {
1165
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1166
  $params = array_merge($params, $optParams);
1167
- return $this->call('get', array($params), "Google_Service_AdSense_AdUnit");
1168
  }
1169
 
1170
  /**
@@ -1174,13 +1174,13 @@ class Google_Service_AdSense_AccountsAdunits_Resource extends Google_Service_Res
1174
  * @param string $adClientId Ad client with contains the ad unit.
1175
  * @param string $adUnitId Ad unit to get the code for.
1176
  * @param array $optParams Optional parameters.
1177
- * @return Google_Service_AdSense_AdCode
1178
  */
1179
  public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
1180
  {
1181
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1182
  $params = array_merge($params, $optParams);
1183
- return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
1184
  }
1185
 
1186
  /**
@@ -1198,13 +1198,13 @@ class Google_Service_AdSense_AccountsAdunits_Resource extends Google_Service_Res
1198
  * @opt_param string pageToken A continuation token, used to page through ad
1199
  * units. To retrieve the next page, set this parameter to the value of
1200
  * "nextPageToken" from the previous response.
1201
- * @return Google_Service_AdSense_AdUnits
1202
  */
1203
  public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
1204
  {
1205
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1206
  $params = array_merge($params, $optParams);
1207
- return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1208
  }
1209
  }
1210
 
@@ -1212,11 +1212,11 @@ class Google_Service_AdSense_AccountsAdunits_Resource extends Google_Service_Res
1212
  * The "customchannels" collection of methods.
1213
  * Typical usage is:
1214
  * <code>
1215
- * $adsenseService = new Google_Service_AdSense(...);
1216
  * $customchannels = $adsenseService->customchannels;
1217
  * </code>
1218
  */
1219
- class Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource extends Google_Service_Resource
1220
  {
1221
 
1222
  /**
@@ -1233,24 +1233,24 @@ class Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource extends Goog
1233
  * @opt_param string pageToken A continuation token, used to page through custom
1234
  * channels. To retrieve the next page, set this parameter to the value of
1235
  * "nextPageToken" from the previous response.
1236
- * @return Google_Service_AdSense_CustomChannels
1237
  */
1238
  public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array())
1239
  {
1240
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1241
  $params = array_merge($params, $optParams);
1242
- return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1243
  }
1244
  }
1245
  /**
1246
  * The "alerts" collection of methods.
1247
  * Typical usage is:
1248
  * <code>
1249
- * $adsenseService = new Google_Service_AdSense(...);
1250
  * $alerts = $adsenseService->alerts;
1251
  * </code>
1252
  */
1253
- class Google_Service_AdSense_AccountsAlerts_Resource extends Google_Service_Resource
1254
  {
1255
 
1256
  /**
@@ -1278,24 +1278,24 @@ class Google_Service_AdSense_AccountsAlerts_Resource extends Google_Service_Reso
1278
  * @opt_param string locale The locale to use for translating alert messages.
1279
  * The account locale will be used if this is not supplied. The AdSense default
1280
  * (English) will be used if the supplied locale is invalid or unsupported.
1281
- * @return Google_Service_AdSense_Alerts
1282
  */
1283
  public function listAccountsAlerts($accountId, $optParams = array())
1284
  {
1285
  $params = array('accountId' => $accountId);
1286
  $params = array_merge($params, $optParams);
1287
- return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
1288
  }
1289
  }
1290
  /**
1291
  * The "customchannels" collection of methods.
1292
  * Typical usage is:
1293
  * <code>
1294
- * $adsenseService = new Google_Service_AdSense(...);
1295
  * $customchannels = $adsenseService->customchannels;
1296
  * </code>
1297
  */
1298
- class Google_Service_AdSense_AccountsCustomchannels_Resource extends Google_Service_Resource
1299
  {
1300
 
1301
  /**
@@ -1306,13 +1306,13 @@ class Google_Service_AdSense_AccountsCustomchannels_Resource extends Google_Serv
1306
  * @param string $adClientId Ad client which contains the custom channel.
1307
  * @param string $customChannelId Custom channel to retrieve.
1308
  * @param array $optParams Optional parameters.
1309
- * @return Google_Service_AdSense_CustomChannel
1310
  */
1311
  public function get($accountId, $adClientId, $customChannelId, $optParams = array())
1312
  {
1313
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1314
  $params = array_merge($params, $optParams);
1315
- return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel");
1316
  }
1317
 
1318
  /**
@@ -1328,13 +1328,13 @@ class Google_Service_AdSense_AccountsCustomchannels_Resource extends Google_Serv
1328
  * @opt_param string pageToken A continuation token, used to page through custom
1329
  * channels. To retrieve the next page, set this parameter to the value of
1330
  * "nextPageToken" from the previous response.
1331
- * @return Google_Service_AdSense_CustomChannels
1332
  */
1333
  public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
1334
  {
1335
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1336
  $params = array_merge($params, $optParams);
1337
- return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1338
  }
1339
  }
1340
 
@@ -1342,11 +1342,11 @@ class Google_Service_AdSense_AccountsCustomchannels_Resource extends Google_Serv
1342
  * The "adunits" collection of methods.
1343
  * Typical usage is:
1344
  * <code>
1345
- * $adsenseService = new Google_Service_AdSense(...);
1346
  * $adunits = $adsenseService->adunits;
1347
  * </code>
1348
  */
1349
- class Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource extends Google_Service_Resource
1350
  {
1351
 
1352
  /**
@@ -1365,24 +1365,24 @@ class Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource extends Goog
1365
  * @opt_param string pageToken A continuation token, used to page through ad
1366
  * units. To retrieve the next page, set this parameter to the value of
1367
  * "nextPageToken" from the previous response.
1368
- * @return Google_Service_AdSense_AdUnits
1369
  */
1370
  public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array())
1371
  {
1372
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1373
  $params = array_merge($params, $optParams);
1374
- return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1375
  }
1376
  }
1377
  /**
1378
  * The "payments" collection of methods.
1379
  * Typical usage is:
1380
  * <code>
1381
- * $adsenseService = new Google_Service_AdSense(...);
1382
  * $payments = $adsenseService->payments;
1383
  * </code>
1384
  */
1385
- class Google_Service_AdSense_AccountsPayments_Resource extends Google_Service_Resource
1386
  {
1387
 
1388
  /**
@@ -1391,24 +1391,24 @@ class Google_Service_AdSense_AccountsPayments_Resource extends Google_Service_Re
1391
  *
1392
  * @param string $accountId Account for which to retrieve the payments.
1393
  * @param array $optParams Optional parameters.
1394
- * @return Google_Service_AdSense_Payments
1395
  */
1396
  public function listAccountsPayments($accountId, $optParams = array())
1397
  {
1398
  $params = array('accountId' => $accountId);
1399
  $params = array_merge($params, $optParams);
1400
- return $this->call('list', array($params), "Google_Service_AdSense_Payments");
1401
  }
1402
  }
1403
  /**
1404
  * The "reports" collection of methods.
1405
  * Typical usage is:
1406
  * <code>
1407
- * $adsenseService = new Google_Service_AdSense(...);
1408
  * $reports = $adsenseService->reports;
1409
  * </code>
1410
  */
1411
- class Google_Service_AdSense_AccountsReports_Resource extends Google_Service_Resource
1412
  {
1413
 
1414
  /**
@@ -1439,13 +1439,13 @@ class Google_Service_AdSense_AccountsReports_Resource extends Google_Service_Res
1439
  * @opt_param bool useTimezoneReporting Whether the report should be generated
1440
  * in the AdSense account's local timezone. If false default PST/PDT timezone
1441
  * will be used.
1442
- * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
1443
  */
1444
  public function generate($accountId, $startDate, $endDate, $optParams = array())
1445
  {
1446
  $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
1447
  $params = array_merge($params, $optParams);
1448
- return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
1449
  }
1450
  }
1451
 
@@ -1453,11 +1453,11 @@ class Google_Service_AdSense_AccountsReports_Resource extends Google_Service_Res
1453
  * The "saved" collection of methods.
1454
  * Typical usage is:
1455
  * <code>
1456
- * $adsenseService = new Google_Service_AdSense(...);
1457
  * $saved = $adsenseService->saved;
1458
  * </code>
1459
  */
1460
- class Google_Service_AdSense_AccountsReportsSaved_Resource extends Google_Service_Resource
1461
  {
1462
 
1463
  /**
@@ -1473,13 +1473,13 @@ class Google_Service_AdSense_AccountsReportsSaved_Resource extends Google_Servic
1473
  * @opt_param int maxResults The maximum number of rows of report data to
1474
  * return.
1475
  * @opt_param int startIndex Index of the first row of report data to return.
1476
- * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
1477
  */
1478
  public function generate($accountId, $savedReportId, $optParams = array())
1479
  {
1480
  $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
1481
  $params = array_merge($params, $optParams);
1482
- return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
1483
  }
1484
 
1485
  /**
@@ -1494,24 +1494,24 @@ class Google_Service_AdSense_AccountsReportsSaved_Resource extends Google_Servic
1494
  * @opt_param string pageToken A continuation token, used to page through saved
1495
  * reports. To retrieve the next page, set this parameter to the value of
1496
  * "nextPageToken" from the previous response.
1497
- * @return Google_Service_AdSense_SavedReports
1498
  */
1499
  public function listAccountsReportsSaved($accountId, $optParams = array())
1500
  {
1501
  $params = array('accountId' => $accountId);
1502
  $params = array_merge($params, $optParams);
1503
- return $this->call('list', array($params), "Google_Service_AdSense_SavedReports");
1504
  }
1505
  }
1506
  /**
1507
  * The "savedadstyles" collection of methods.
1508
  * Typical usage is:
1509
  * <code>
1510
- * $adsenseService = new Google_Service_AdSense(...);
1511
  * $savedadstyles = $adsenseService->savedadstyles;
1512
  * </code>
1513
  */
1514
- class Google_Service_AdSense_AccountsSavedadstyles_Resource extends Google_Service_Resource
1515
  {
1516
 
1517
  /**
@@ -1520,13 +1520,13 @@ class Google_Service_AdSense_AccountsSavedadstyles_Resource extends Google_Servi
1520
  * @param string $accountId Account for which to get the saved ad style.
1521
  * @param string $savedAdStyleId Saved ad style to retrieve.
1522
  * @param array $optParams Optional parameters.
1523
- * @return Google_Service_AdSense_SavedAdStyle
1524
  */
1525
  public function get($accountId, $savedAdStyleId, $optParams = array())
1526
  {
1527
  $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId);
1528
  $params = array_merge($params, $optParams);
1529
- return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle");
1530
  }
1531
 
1532
  /**
@@ -1541,24 +1541,24 @@ class Google_Service_AdSense_AccountsSavedadstyles_Resource extends Google_Servi
1541
  * @opt_param string pageToken A continuation token, used to page through saved
1542
  * ad styles. To retrieve the next page, set this parameter to the value of
1543
  * "nextPageToken" from the previous response.
1544
- * @return Google_Service_AdSense_SavedAdStyles
1545
  */
1546
  public function listAccountsSavedadstyles($accountId, $optParams = array())
1547
  {
1548
  $params = array('accountId' => $accountId);
1549
  $params = array_merge($params, $optParams);
1550
- return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");
1551
  }
1552
  }
1553
  /**
1554
  * The "urlchannels" collection of methods.
1555
  * Typical usage is:
1556
  * <code>
1557
- * $adsenseService = new Google_Service_AdSense(...);
1558
  * $urlchannels = $adsenseService->urlchannels;
1559
  * </code>
1560
  */
1561
- class Google_Service_AdSense_AccountsUrlchannels_Resource extends Google_Service_Resource
1562
  {
1563
 
1564
  /**
@@ -1574,13 +1574,13 @@ class Google_Service_AdSense_AccountsUrlchannels_Resource extends Google_Service
1574
  * @opt_param string pageToken A continuation token, used to page through URL
1575
  * channels. To retrieve the next page, set this parameter to the value of
1576
  * "nextPageToken" from the previous response.
1577
- * @return Google_Service_AdSense_UrlChannels
1578
  */
1579
  public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
1580
  {
1581
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1582
  $params = array_merge($params, $optParams);
1583
- return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels");
1584
  }
1585
  }
1586
 
@@ -1588,11 +1588,11 @@ class Google_Service_AdSense_AccountsUrlchannels_Resource extends Google_Service
1588
  * The "adclients" collection of methods.
1589
  * Typical usage is:
1590
  * <code>
1591
- * $adsenseService = new Google_Service_AdSense(...);
1592
  * $adclients = $adsenseService->adclients;
1593
  * </code>
1594
  */
1595
- class Google_Service_AdSense_Adclients_Resource extends Google_Service_Resource
1596
  {
1597
 
1598
  /**
@@ -1605,13 +1605,13 @@ class Google_Service_AdSense_Adclients_Resource extends Google_Service_Resource
1605
  * @opt_param string pageToken A continuation token, used to page through ad
1606
  * clients. To retrieve the next page, set this parameter to the value of
1607
  * "nextPageToken" from the previous response.
1608
- * @return Google_Service_AdSense_AdClients
1609
  */
1610
  public function listAdclients($optParams = array())
1611
  {
1612
  $params = array();
1613
  $params = array_merge($params, $optParams);
1614
- return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
1615
  }
1616
  }
1617
 
@@ -1619,11 +1619,11 @@ class Google_Service_AdSense_Adclients_Resource extends Google_Service_Resource
1619
  * The "adunits" collection of methods.
1620
  * Typical usage is:
1621
  * <code>
1622
- * $adsenseService = new Google_Service_AdSense(...);
1623
  * $adunits = $adsenseService->adunits;
1624
  * </code>
1625
  */
1626
- class Google_Service_AdSense_Adunits_Resource extends Google_Service_Resource
1627
  {
1628
 
1629
  /**
@@ -1632,13 +1632,13 @@ class Google_Service_AdSense_Adunits_Resource extends Google_Service_Resource
1632
  * @param string $adClientId Ad client for which to get the ad unit.
1633
  * @param string $adUnitId Ad unit to retrieve.
1634
  * @param array $optParams Optional parameters.
1635
- * @return Google_Service_AdSense_AdUnit
1636
  */
1637
  public function get($adClientId, $adUnitId, $optParams = array())
1638
  {
1639
  $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1640
  $params = array_merge($params, $optParams);
1641
- return $this->call('get', array($params), "Google_Service_AdSense_AdUnit");
1642
  }
1643
 
1644
  /**
@@ -1647,13 +1647,13 @@ class Google_Service_AdSense_Adunits_Resource extends Google_Service_Resource
1647
  * @param string $adClientId Ad client with contains the ad unit.
1648
  * @param string $adUnitId Ad unit to get the code for.
1649
  * @param array $optParams Optional parameters.
1650
- * @return Google_Service_AdSense_AdCode
1651
  */
1652
  public function getAdCode($adClientId, $adUnitId, $optParams = array())
1653
  {
1654
  $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1655
  $params = array_merge($params, $optParams);
1656
- return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
1657
  }
1658
 
1659
  /**
@@ -1670,13 +1670,13 @@ class Google_Service_AdSense_Adunits_Resource extends Google_Service_Resource
1670
  * @opt_param string pageToken A continuation token, used to page through ad
1671
  * units. To retrieve the next page, set this parameter to the value of
1672
  * "nextPageToken" from the previous response.
1673
- * @return Google_Service_AdSense_AdUnits
1674
  */
1675
  public function listAdunits($adClientId, $optParams = array())
1676
  {
1677
  $params = array('adClientId' => $adClientId);
1678
  $params = array_merge($params, $optParams);
1679
- return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1680
  }
1681
  }
1682
 
@@ -1684,11 +1684,11 @@ class Google_Service_AdSense_Adunits_Resource extends Google_Service_Resource
1684
  * The "customchannels" collection of methods.
1685
  * Typical usage is:
1686
  * <code>
1687
- * $adsenseService = new Google_Service_AdSense(...);
1688
  * $customchannels = $adsenseService->customchannels;
1689
  * </code>
1690
  */
1691
- class Google_Service_AdSense_AdunitsCustomchannels_Resource extends Google_Service_Resource
1692
  {
1693
 
1694
  /**
@@ -1704,13 +1704,13 @@ class Google_Service_AdSense_AdunitsCustomchannels_Resource extends Google_Servi
1704
  * @opt_param string pageToken A continuation token, used to page through custom
1705
  * channels. To retrieve the next page, set this parameter to the value of
1706
  * "nextPageToken" from the previous response.
1707
- * @return Google_Service_AdSense_CustomChannels
1708
  */
1709
  public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
1710
  {
1711
  $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1712
  $params = array_merge($params, $optParams);
1713
- return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1714
  }
1715
  }
1716
 
@@ -1718,11 +1718,11 @@ class Google_Service_AdSense_AdunitsCustomchannels_Resource extends Google_Servi
1718
  * The "alerts" collection of methods.
1719
  * Typical usage is:
1720
  * <code>
1721
- * $adsenseService = new Google_Service_AdSense(...);
1722
  * $alerts = $adsenseService->alerts;
1723
  * </code>
1724
  */
1725
- class Google_Service_AdSense_Alerts_Resource extends Google_Service_Resource
1726
  {
1727
 
1728
  /**
@@ -1747,13 +1747,13 @@ class Google_Service_AdSense_Alerts_Resource extends Google_Service_Resource
1747
  * @opt_param string locale The locale to use for translating alert messages.
1748
  * The account locale will be used if this is not supplied. The AdSense default
1749
  * (English) will be used if the supplied locale is invalid or unsupported.
1750
- * @return Google_Service_AdSense_Alerts
1751
  */
1752
  public function listAlerts($optParams = array())
1753
  {
1754
  $params = array();
1755
  $params = array_merge($params, $optParams);
1756
- return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
1757
  }
1758
  }
1759
 
@@ -1761,11 +1761,11 @@ class Google_Service_AdSense_Alerts_Resource extends Google_Service_Resource
1761
  * The "customchannels" collection of methods.
1762
  * Typical usage is:
1763
  * <code>
1764
- * $adsenseService = new Google_Service_AdSense(...);
1765
  * $customchannels = $adsenseService->customchannels;
1766
  * </code>
1767
  */
1768
- class Google_Service_AdSense_Customchannels_Resource extends Google_Service_Resource
1769
  {
1770
 
1771
  /**
@@ -1775,13 +1775,13 @@ class Google_Service_AdSense_Customchannels_Resource extends Google_Service_Reso
1775
  * @param string $adClientId Ad client which contains the custom channel.
1776
  * @param string $customChannelId Custom channel to retrieve.
1777
  * @param array $optParams Optional parameters.
1778
- * @return Google_Service_AdSense_CustomChannel
1779
  */
1780
  public function get($adClientId, $customChannelId, $optParams = array())
1781
  {
1782
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1783
  $params = array_merge($params, $optParams);
1784
- return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel");
1785
  }
1786
 
1787
  /**
@@ -1796,13 +1796,13 @@ class Google_Service_AdSense_Customchannels_Resource extends Google_Service_Reso
1796
  * @opt_param string pageToken A continuation token, used to page through custom
1797
  * channels. To retrieve the next page, set this parameter to the value of
1798
  * "nextPageToken" from the previous response.
1799
- * @return Google_Service_AdSense_CustomChannels
1800
  */
1801
  public function listCustomchannels($adClientId, $optParams = array())
1802
  {
1803
  $params = array('adClientId' => $adClientId);
1804
  $params = array_merge($params, $optParams);
1805
- return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1806
  }
1807
  }
1808
 
@@ -1810,11 +1810,11 @@ class Google_Service_AdSense_Customchannels_Resource extends Google_Service_Reso
1810
  * The "adunits" collection of methods.
1811
  * Typical usage is:
1812
  * <code>
1813
- * $adsenseService = new Google_Service_AdSense(...);
1814
  * $adunits = $adsenseService->adunits;
1815
  * </code>
1816
  */
1817
- class Google_Service_AdSense_CustomchannelsAdunits_Resource extends Google_Service_Resource
1818
  {
1819
 
1820
  /**
@@ -1832,13 +1832,13 @@ class Google_Service_AdSense_CustomchannelsAdunits_Resource extends Google_Servi
1832
  * @opt_param string pageToken A continuation token, used to page through ad
1833
  * units. To retrieve the next page, set this parameter to the value of
1834
  * "nextPageToken" from the previous response.
1835
- * @return Google_Service_AdSense_AdUnits
1836
  */
1837
  public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
1838
  {
1839
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1840
  $params = array_merge($params, $optParams);
1841
- return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1842
  }
1843
  }
1844
 
@@ -1846,11 +1846,11 @@ class Google_Service_AdSense_CustomchannelsAdunits_Resource extends Google_Servi
1846
  * The "metadata" collection of methods.
1847
  * Typical usage is:
1848
  * <code>
1849
- * $adsenseService = new Google_Service_AdSense(...);
1850
  * $metadata = $adsenseService->metadata;
1851
  * </code>
1852
  */
1853
- class Google_Service_AdSense_Metadata_Resource extends Google_Service_Resource
1854
  {
1855
  }
1856
 
@@ -1858,11 +1858,11 @@ class Google_Service_AdSense_Metadata_Resource extends Google_Service_Resource
1858
  * The "dimensions" collection of methods.
1859
  * Typical usage is:
1860
  * <code>
1861
- * $adsenseService = new Google_Service_AdSense(...);
1862
  * $dimensions = $adsenseService->dimensions;
1863
  * </code>
1864
  */
1865
- class Google_Service_AdSense_MetadataDimensions_Resource extends Google_Service_Resource
1866
  {
1867
 
1868
  /**
@@ -1870,24 +1870,24 @@ class Google_Service_AdSense_MetadataDimensions_Resource extends Google_Service_
1870
  * (dimensions.listMetadataDimensions)
1871
  *
1872
  * @param array $optParams Optional parameters.
1873
- * @return Google_Service_AdSense_Metadata
1874
  */
1875
  public function listMetadataDimensions($optParams = array())
1876
  {
1877
  $params = array();
1878
  $params = array_merge($params, $optParams);
1879
- return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
1880
  }
1881
  }
1882
  /**
1883
  * The "metrics" collection of methods.
1884
  * Typical usage is:
1885
  * <code>
1886
- * $adsenseService = new Google_Service_AdSense(...);
1887
  * $metrics = $adsenseService->metrics;
1888
  * </code>
1889
  */
1890
- class Google_Service_AdSense_MetadataMetrics_Resource extends Google_Service_Resource
1891
  {
1892
 
1893
  /**
@@ -1895,13 +1895,13 @@ class Google_Service_AdSense_MetadataMetrics_Resource extends Google_Service_Res
1895
  * (metrics.listMetadataMetrics)
1896
  *
1897
  * @param array $optParams Optional parameters.
1898
- * @return Google_Service_AdSense_Metadata
1899
  */
1900
  public function listMetadataMetrics($optParams = array())
1901
  {
1902
  $params = array();
1903
  $params = array_merge($params, $optParams);
1904
- return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
1905
  }
1906
  }
1907
 
@@ -1909,24 +1909,24 @@ class Google_Service_AdSense_MetadataMetrics_Resource extends Google_Service_Res
1909
  * The "payments" collection of methods.
1910
  * Typical usage is:
1911
  * <code>
1912
- * $adsenseService = new Google_Service_AdSense(...);
1913
  * $payments = $adsenseService->payments;
1914
  * </code>
1915
  */
1916
- class Google_Service_AdSense_Payments_Resource extends Google_Service_Resource
1917
  {
1918
 
1919
  /**
1920
  * List the payments for this AdSense account. (payments.listPayments)
1921
  *
1922
  * @param array $optParams Optional parameters.
1923
- * @return Google_Service_AdSense_Payments
1924
  */
1925
  public function listPayments($optParams = array())
1926
  {
1927
  $params = array();
1928
  $params = array_merge($params, $optParams);
1929
- return $this->call('list', array($params), "Google_Service_AdSense_Payments");
1930
  }
1931
  }
1932
 
@@ -1934,11 +1934,11 @@ class Google_Service_AdSense_Payments_Resource extends Google_Service_Resource
1934
  * The "reports" collection of methods.
1935
  * Typical usage is:
1936
  * <code>
1937
- * $adsenseService = new Google_Service_AdSense(...);
1938
  * $reports = $adsenseService->reports;
1939
  * </code>
1940
  */
1941
- class Google_Service_AdSense_Reports_Resource extends Google_Service_Resource
1942
  {
1943
 
1944
  /**
@@ -1969,13 +1969,13 @@ class Google_Service_AdSense_Reports_Resource extends Google_Service_Resource
1969
  * @opt_param bool useTimezoneReporting Whether the report should be generated
1970
  * in the AdSense account's local timezone. If false default PST/PDT timezone
1971
  * will be used.
1972
- * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
1973
  */
1974
  public function generate($startDate, $endDate, $optParams = array())
1975
  {
1976
  $params = array('startDate' => $startDate, 'endDate' => $endDate);
1977
  $params = array_merge($params, $optParams);
1978
- return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
1979
  }
1980
  }
1981
 
@@ -1983,11 +1983,11 @@ class Google_Service_AdSense_Reports_Resource extends Google_Service_Resource
1983
  * The "saved" collection of methods.
1984
  * Typical usage is:
1985
  * <code>
1986
- * $adsenseService = new Google_Service_AdSense(...);
1987
  * $saved = $adsenseService->saved;
1988
  * </code>
1989
  */
1990
- class Google_Service_AdSense_ReportsSaved_Resource extends Google_Service_Resource
1991
  {
1992
 
1993
  /**
@@ -2002,13 +2002,13 @@ class Google_Service_AdSense_ReportsSaved_Resource extends Google_Service_Resour
2002
  * @opt_param int maxResults The maximum number of rows of report data to
2003
  * return.
2004
  * @opt_param int startIndex Index of the first row of report data to return.
2005
- * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
2006
  */
2007
  public function generate($savedReportId, $optParams = array())
2008
  {
2009
  $params = array('savedReportId' => $savedReportId);
2010
  $params = array_merge($params, $optParams);
2011
- return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
2012
  }
2013
 
2014
  /**
@@ -2021,13 +2021,13 @@ class Google_Service_AdSense_ReportsSaved_Resource extends Google_Service_Resour
2021
  * @opt_param string pageToken A continuation token, used to page through saved
2022
  * reports. To retrieve the next page, set this parameter to the value of
2023
  * "nextPageToken" from the previous response.
2024
- * @return Google_Service_AdSense_SavedReports
2025
  */
2026
  public function listReportsSaved($optParams = array())
2027
  {
2028
  $params = array();
2029
  $params = array_merge($params, $optParams);
2030
- return $this->call('list', array($params), "Google_Service_AdSense_SavedReports");
2031
  }
2032
  }
2033
 
@@ -2035,11 +2035,11 @@ class Google_Service_AdSense_ReportsSaved_Resource extends Google_Service_Resour
2035
  * The "savedadstyles" collection of methods.
2036
  * Typical usage is:
2037
  * <code>
2038
- * $adsenseService = new Google_Service_AdSense(...);
2039
  * $savedadstyles = $adsenseService->savedadstyles;
2040
  * </code>
2041
  */
2042
- class Google_Service_AdSense_Savedadstyles_Resource extends Google_Service_Resource
2043
  {
2044
 
2045
  /**
@@ -2047,13 +2047,13 @@ class Google_Service_AdSense_Savedadstyles_Resource extends Google_Service_Resou
2047
  *
2048
  * @param string $savedAdStyleId Saved ad style to retrieve.
2049
  * @param array $optParams Optional parameters.
2050
- * @return Google_Service_AdSense_SavedAdStyle
2051
  */
2052
  public function get($savedAdStyleId, $optParams = array())
2053
  {
2054
  $params = array('savedAdStyleId' => $savedAdStyleId);
2055
  $params = array_merge($params, $optParams);
2056
- return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle");
2057
  }
2058
 
2059
  /**
@@ -2067,13 +2067,13 @@ class Google_Service_AdSense_Savedadstyles_Resource extends Google_Service_Resou
2067
  * @opt_param string pageToken A continuation token, used to page through saved
2068
  * ad styles. To retrieve the next page, set this parameter to the value of
2069
  * "nextPageToken" from the previous response.
2070
- * @return Google_Service_AdSense_SavedAdStyles
2071
  */
2072
  public function listSavedadstyles($optParams = array())
2073
  {
2074
  $params = array();
2075
  $params = array_merge($params, $optParams);
2076
- return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");
2077
  }
2078
  }
2079
 
@@ -2081,11 +2081,11 @@ class Google_Service_AdSense_Savedadstyles_Resource extends Google_Service_Resou
2081
  * The "urlchannels" collection of methods.
2082
  * Typical usage is:
2083
  * <code>
2084
- * $adsenseService = new Google_Service_AdSense(...);
2085
  * $urlchannels = $adsenseService->urlchannels;
2086
  * </code>
2087
  */
2088
- class Google_Service_AdSense_Urlchannels_Resource extends Google_Service_Resource
2089
  {
2090
 
2091
  /**
@@ -2100,20 +2100,20 @@ class Google_Service_AdSense_Urlchannels_Resource extends Google_Service_Resourc
2100
  * @opt_param string pageToken A continuation token, used to page through URL
2101
  * channels. To retrieve the next page, set this parameter to the value of
2102
  * "nextPageToken" from the previous response.
2103
- * @return Google_Service_AdSense_UrlChannels
2104
  */
2105
  public function listUrlchannels($adClientId, $optParams = array())
2106
  {
2107
  $params = array('adClientId' => $adClientId);
2108
  $params = array_merge($params, $optParams);
2109
- return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels");
2110
  }
2111
  }
2112
 
2113
 
2114
 
2115
 
2116
- class Google_Service_AdSense_Account extends Google_Collection
2117
  {
2118
  protected $collection_key = 'subAccounts';
2119
  protected $internal_gapi_mappings = array(
@@ -2124,7 +2124,7 @@ class Google_Service_AdSense_Account extends Google_Collection
2124
  public $kind;
2125
  public $name;
2126
  public $premium;
2127
- protected $subAccountsType = 'Google_Service_AdSense_Account';
2128
  protected $subAccountsDataType = 'array';
2129
  public $timezone;
2130
 
@@ -2187,13 +2187,13 @@ class Google_Service_AdSense_Account extends Google_Collection
2187
  }
2188
  }
2189
 
2190
- class Google_Service_AdSense_Accounts extends Google_Collection
2191
  {
2192
  protected $collection_key = 'items';
2193
  protected $internal_gapi_mappings = array(
2194
  );
2195
  public $etag;
2196
- protected $itemsType = 'Google_Service_AdSense_Account';
2197
  protected $itemsDataType = 'array';
2198
  public $kind;
2199
  public $nextPageToken;
@@ -2233,7 +2233,7 @@ class Google_Service_AdSense_Accounts extends Google_Collection
2233
  }
2234
  }
2235
 
2236
- class Google_Service_AdSense_AdClient extends Google_Model
2237
  {
2238
  protected $internal_gapi_mappings = array(
2239
  );
@@ -2295,13 +2295,13 @@ class Google_Service_AdSense_AdClient extends Google_Model
2295
  }
2296
  }
2297
 
2298
- class Google_Service_AdSense_AdClients extends Google_Collection
2299
  {
2300
  protected $collection_key = 'items';
2301
  protected $internal_gapi_mappings = array(
2302
  );
2303
  public $etag;
2304
- protected $itemsType = 'Google_Service_AdSense_AdClient';
2305
  protected $itemsDataType = 'array';
2306
  public $kind;
2307
  public $nextPageToken;
@@ -2341,7 +2341,7 @@ class Google_Service_AdSense_AdClients extends Google_Collection
2341
  }
2342
  }
2343
 
2344
- class Google_Service_AdSense_AdCode extends Google_Model
2345
  {
2346
  protected $internal_gapi_mappings = array(
2347
  );
@@ -2367,19 +2367,19 @@ class Google_Service_AdSense_AdCode extends Google_Model
2367
  }
2368
  }
2369
 
2370
- class Google_Service_AdSense_AdStyle extends Google_Model
2371
  {
2372
  protected $internal_gapi_mappings = array(
2373
  );
2374
- protected $colorsType = 'Google_Service_AdSense_AdStyleColors';
2375
  protected $colorsDataType = '';
2376
  public $corners;
2377
- protected $fontType = 'Google_Service_AdSense_AdStyleFont';
2378
  protected $fontDataType = '';
2379
  public $kind;
2380
 
2381
 
2382
- public function setColors(Google_Service_AdSense_AdStyleColors $colors)
2383
  {
2384
  $this->colors = $colors;
2385
  }
@@ -2395,7 +2395,7 @@ class Google_Service_AdSense_AdStyle extends Google_Model
2395
  {
2396
  return $this->corners;
2397
  }
2398
- public function setFont(Google_Service_AdSense_AdStyleFont $font)
2399
  {
2400
  $this->font = $font;
2401
  }
@@ -2413,7 +2413,7 @@ class Google_Service_AdSense_AdStyle extends Google_Model
2413
  }
2414
  }
2415
 
2416
- class Google_Service_AdSense_AdStyleColors extends Google_Model
2417
  {
2418
  protected $internal_gapi_mappings = array(
2419
  );
@@ -2466,7 +2466,7 @@ class Google_Service_AdSense_AdStyleColors extends Google_Model
2466
  }
2467
  }
2468
 
2469
- class Google_Service_AdSense_AdStyleFont extends Google_Model
2470
  {
2471
  protected $internal_gapi_mappings = array(
2472
  );
@@ -2492,20 +2492,20 @@ class Google_Service_AdSense_AdStyleFont extends Google_Model
2492
  }
2493
  }
2494
 
2495
- class Google_Service_AdSense_AdUnit extends Google_Model
2496
  {
2497
  protected $internal_gapi_mappings = array(
2498
  );
2499
  public $code;
2500
- protected $contentAdsSettingsType = 'Google_Service_AdSense_AdUnitContentAdsSettings';
2501
  protected $contentAdsSettingsDataType = '';
2502
- protected $customStyleType = 'Google_Service_AdSense_AdStyle';
2503
  protected $customStyleDataType = '';
2504
- protected $feedAdsSettingsType = 'Google_Service_AdSense_AdUnitFeedAdsSettings';
2505
  protected $feedAdsSettingsDataType = '';
2506
  public $id;
2507
  public $kind;
2508
- protected $mobileContentAdsSettingsType = 'Google_Service_AdSense_AdUnitMobileContentAdsSettings';
2509
  protected $mobileContentAdsSettingsDataType = '';
2510
  public $name;
2511
  public $savedStyleId;
@@ -2520,7 +2520,7 @@ class Google_Service_AdSense_AdUnit extends Google_Model
2520
  {
2521
  return $this->code;
2522
  }
2523
- public function setContentAdsSettings(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)
2524
  {
2525
  $this->contentAdsSettings = $contentAdsSettings;
2526
  }
@@ -2528,7 +2528,7 @@ class Google_Service_AdSense_AdUnit extends Google_Model
2528
  {
2529
  return $this->contentAdsSettings;
2530
  }
2531
- public function setCustomStyle(Google_Service_AdSense_AdStyle $customStyle)
2532
  {
2533
  $this->customStyle = $customStyle;
2534
  }
@@ -2536,7 +2536,7 @@ class Google_Service_AdSense_AdUnit extends Google_Model
2536
  {
2537
  return $this->customStyle;
2538
  }
2539
- public function setFeedAdsSettings(Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings)
2540
  {
2541
  $this->feedAdsSettings = $feedAdsSettings;
2542
  }
@@ -2560,7 +2560,7 @@ class Google_Service_AdSense_AdUnit extends Google_Model
2560
  {
2561
  return $this->kind;
2562
  }
2563
- public function setMobileContentAdsSettings(Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
2564
  {
2565
  $this->mobileContentAdsSettings = $mobileContentAdsSettings;
2566
  }
@@ -2594,17 +2594,17 @@ class Google_Service_AdSense_AdUnit extends Google_Model
2594
  }
2595
  }
2596
 
2597
- class Google_Service_AdSense_AdUnitContentAdsSettings extends Google_Model
2598
  {
2599
  protected $internal_gapi_mappings = array(
2600
  );
2601
- protected $backupOptionType = 'Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption';
2602
  protected $backupOptionDataType = '';
2603
  public $size;
2604
  public $type;
2605
 
2606
 
2607
- public function setBackupOption(Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption)
2608
  {
2609
  $this->backupOption = $backupOption;
2610
  }
@@ -2630,7 +2630,7 @@ class Google_Service_AdSense_AdUnitContentAdsSettings extends Google_Model
2630
  }
2631
  }
2632
 
2633
- class Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Google_Model
2634
  {
2635
  protected $internal_gapi_mappings = array(
2636
  );
@@ -2665,7 +2665,7 @@ class Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Google
2665
  }
2666
  }
2667
 
2668
- class Google_Service_AdSense_AdUnitFeedAdsSettings extends Google_Model
2669
  {
2670
  protected $internal_gapi_mappings = array(
2671
  );
@@ -2709,7 +2709,7 @@ class Google_Service_AdSense_AdUnitFeedAdsSettings extends Google_Model
2709
  }
2710
  }
2711
 
2712
- class Google_Service_AdSense_AdUnitMobileContentAdsSettings extends Google_Model
2713
  {
2714
  protected $internal_gapi_mappings = array(
2715
  );
@@ -2753,13 +2753,13 @@ class Google_Service_AdSense_AdUnitMobileContentAdsSettings extends Google_Model
2753
  }
2754
  }
2755
 
2756
- class Google_Service_AdSense_AdUnits extends Google_Collection
2757
  {
2758
  protected $collection_key = 'items';
2759
  protected $internal_gapi_mappings = array(
2760
  );
2761
  public $etag;
2762
- protected $itemsType = 'Google_Service_AdSense_AdUnit';
2763
  protected $itemsDataType = 'array';
2764
  public $kind;
2765
  public $nextPageToken;
@@ -2799,14 +2799,14 @@ class Google_Service_AdSense_AdUnits extends Google_Collection
2799
  }
2800
  }
2801
 
2802
- class Google_Service_AdSense_AdsenseReportsGenerateResponse extends Google_Collection
2803
  {
2804
  protected $collection_key = 'warnings';
2805
  protected $internal_gapi_mappings = array(
2806
  );
2807
  public $averages;
2808
  public $endDate;
2809
- protected $headersType = 'Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders';
2810
  protected $headersDataType = 'array';
2811
  public $kind;
2812
  public $rows;
@@ -2890,7 +2890,7 @@ class Google_Service_AdSense_AdsenseReportsGenerateResponse extends Google_Colle
2890
  }
2891
  }
2892
 
2893
- class Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Google_Model
2894
  {
2895
  protected $internal_gapi_mappings = array(
2896
  );
@@ -2925,7 +2925,7 @@ class Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Googl
2925
  }
2926
  }
2927
 
2928
- class Google_Service_AdSense_Alert extends Google_Model
2929
  {
2930
  protected $internal_gapi_mappings = array(
2931
  );
@@ -2987,12 +2987,12 @@ class Google_Service_AdSense_Alert extends Google_Model
2987
  }
2988
  }
2989
 
2990
- class Google_Service_AdSense_Alerts extends Google_Collection
2991
  {
2992
  protected $collection_key = 'items';
2993
  protected $internal_gapi_mappings = array(
2994
  );
2995
- protected $itemsType = 'Google_Service_AdSense_Alert';
2996
  protected $itemsDataType = 'array';
2997
  public $kind;
2998
 
@@ -3015,7 +3015,7 @@ class Google_Service_AdSense_Alerts extends Google_Collection
3015
  }
3016
  }
3017
 
3018
- class Google_Service_AdSense_CustomChannel extends Google_Model
3019
  {
3020
  protected $internal_gapi_mappings = array(
3021
  );
@@ -3023,7 +3023,7 @@ class Google_Service_AdSense_CustomChannel extends Google_Model
3023
  public $id;
3024
  public $kind;
3025
  public $name;
3026
- protected $targetingInfoType = 'Google_Service_AdSense_CustomChannelTargetingInfo';
3027
  protected $targetingInfoDataType = '';
3028
 
3029
 
@@ -3059,7 +3059,7 @@ class Google_Service_AdSense_CustomChannel extends Google_Model
3059
  {
3060
  return $this->name;
3061
  }
3062
- public function setTargetingInfo(Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)
3063
  {
3064
  $this->targetingInfo = $targetingInfo;
3065
  }
@@ -3069,7 +3069,7 @@ class Google_Service_AdSense_CustomChannel extends Google_Model
3069
  }
3070
  }
3071
 
3072
- class Google_Service_AdSense_CustomChannelTargetingInfo extends Google_Model
3073
  {
3074
  protected $internal_gapi_mappings = array(
3075
  );
@@ -3113,13 +3113,13 @@ class Google_Service_AdSense_CustomChannelTargetingInfo extends Google_Model
3113
  }
3114
  }
3115
 
3116
- class Google_Service_AdSense_CustomChannels extends Google_Collection
3117
  {
3118
  protected $collection_key = 'items';
3119
  protected $internal_gapi_mappings = array(
3120
  );
3121
  public $etag;
3122
- protected $itemsType = 'Google_Service_AdSense_CustomChannel';
3123
  protected $itemsDataType = 'array';
3124
  public $kind;
3125
  public $nextPageToken;
@@ -3159,12 +3159,12 @@ class Google_Service_AdSense_CustomChannels extends Google_Collection
3159
  }
3160
  }
3161
 
3162
- class Google_Service_AdSense_Metadata extends Google_Collection
3163
  {
3164
  protected $collection_key = 'items';
3165
  protected $internal_gapi_mappings = array(
3166
  );
3167
- protected $itemsType = 'Google_Service_AdSense_ReportingMetadataEntry';
3168
  protected $itemsDataType = 'array';
3169
  public $kind;
3170
 
@@ -3187,7 +3187,7 @@ class Google_Service_AdSense_Metadata extends Google_Collection
3187
  }
3188
  }
3189
 
3190
- class Google_Service_AdSense_Payment extends Google_Model
3191
  {
3192
  protected $internal_gapi_mappings = array(
3193
  );
@@ -3240,12 +3240,12 @@ class Google_Service_AdSense_Payment extends Google_Model
3240
  }
3241
  }
3242
 
3243
- class Google_Service_AdSense_Payments extends Google_Collection
3244
  {
3245
  protected $collection_key = 'items';
3246
  protected $internal_gapi_mappings = array(
3247
  );
3248
- protected $itemsType = 'Google_Service_AdSense_Payment';
3249
  protected $itemsDataType = 'array';
3250
  public $kind;
3251
 
@@ -3268,7 +3268,7 @@ class Google_Service_AdSense_Payments extends Google_Collection
3268
  }
3269
  }
3270
 
3271
- class Google_Service_AdSense_ReportingMetadataEntry extends Google_Collection
3272
  {
3273
  protected $collection_key = 'supportedProducts';
3274
  protected $internal_gapi_mappings = array(
@@ -3340,18 +3340,18 @@ class Google_Service_AdSense_ReportingMetadataEntry extends Google_Collection
3340
  }
3341
  }
3342
 
3343
- class Google_Service_AdSense_SavedAdStyle extends Google_Model
3344
  {
3345
  protected $internal_gapi_mappings = array(
3346
  );
3347
- protected $adStyleType = 'Google_Service_AdSense_AdStyle';
3348
  protected $adStyleDataType = '';
3349
  public $id;
3350
  public $kind;
3351
  public $name;
3352
 
3353
 
3354
- public function setAdStyle(Google_Service_AdSense_AdStyle $adStyle)
3355
  {
3356
  $this->adStyle = $adStyle;
3357
  }
@@ -3385,13 +3385,13 @@ class Google_Service_AdSense_SavedAdStyle extends Google_Model
3385
  }
3386
  }
3387
 
3388
- class Google_Service_AdSense_SavedAdStyles extends Google_Collection
3389
  {
3390
  protected $collection_key = 'items';
3391
  protected $internal_gapi_mappings = array(
3392
  );
3393
  public $etag;
3394
- protected $itemsType = 'Google_Service_AdSense_SavedAdStyle';
3395
  protected $itemsDataType = 'array';
3396
  public $kind;
3397
  public $nextPageToken;
@@ -3431,7 +3431,7 @@ class Google_Service_AdSense_SavedAdStyles extends Google_Collection
3431
  }
3432
  }
3433
 
3434
- class Google_Service_AdSense_SavedReport extends Google_Model
3435
  {
3436
  protected $internal_gapi_mappings = array(
3437
  );
@@ -3466,13 +3466,13 @@ class Google_Service_AdSense_SavedReport extends Google_Model
3466
  }
3467
  }
3468
 
3469
- class Google_Service_AdSense_SavedReports extends Google_Collection
3470
  {
3471
  protected $collection_key = 'items';
3472
  protected $internal_gapi_mappings = array(
3473
  );
3474
  public $etag;
3475
- protected $itemsType = 'Google_Service_AdSense_SavedReport';
3476
  protected $itemsDataType = 'array';
3477
  public $kind;
3478
  public $nextPageToken;
@@ -3512,7 +3512,7 @@ class Google_Service_AdSense_SavedReports extends Google_Collection
3512
  }
3513
  }
3514
 
3515
- class Google_Service_AdSense_UrlChannel extends Google_Model
3516
  {
3517
  protected $internal_gapi_mappings = array(
3518
  );
@@ -3547,13 +3547,13 @@ class Google_Service_AdSense_UrlChannel extends Google_Model
3547
  }
3548
  }
3549
 
3550
- class Google_Service_AdSense_UrlChannels extends Google_Collection
3551
  {
3552
  protected $collection_key = 'items';
3553
  protected $internal_gapi_mappings = array(
3554
  );
3555
  public $etag;
3556
- protected $itemsType = 'Google_Service_AdSense_UrlChannel';
3557
  protected $itemsDataType = 'array';
3558
  public $kind;
3559
  public $nextPageToken;
27
  *
28
  * @author Google, Inc.
29
  */
30
+ class Forminator_Google_Service_AdSense extends Forminator_Google_Service
31
  {
32
  /** View and manage your AdSense data. */
33
  const ADSENSE =
66
  /**
67
  * Constructs the internal representation of the AdSense service.
68
  *
69
+ * @param Forminator_Google_Client $client
70
  */
71
+ public function __construct(Forminator_Google_Client $client)
72
  {
73
  parent::__construct($client);
74
  $this->rootUrl = 'https://www.googleapis.com/';
76
  $this->version = 'v1.4';
77
  $this->serviceName = 'adsense';
78
 
79
+ $this->accounts = new Forminator_Google_Service_AdSense_Accounts_Resource(
80
  $this,
81
  $this->serviceName,
82
  'accounts',
113
  )
114
  )
115
  );
116
+ $this->accounts_adclients = new Forminator_Google_Service_AdSense_AccountsAdclients_Resource(
117
  $this,
118
  $this->serviceName,
119
  'adclients',
141
  )
142
  )
143
  );
144
+ $this->accounts_adunits = new Forminator_Google_Service_AdSense_AccountsAdunits_Resource(
145
  $this,
146
  $this->serviceName,
147
  'adunits',
218
  )
219
  )
220
  );
221
+ $this->accounts_adunits_customchannels = new Forminator_Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource(
222
  $this,
223
  $this->serviceName,
224
  'customchannels',
256
  )
257
  )
258
  );
259
+ $this->accounts_alerts = new Forminator_Google_Service_AdSense_AccountsAlerts_Resource(
260
  $this,
261
  $this->serviceName,
262
  'alerts',
295
  )
296
  )
297
  );
298
+ $this->accounts_customchannels = new Forminator_Google_Service_AdSense_AccountsCustomchannels_Resource(
299
  $this,
300
  $this->serviceName,
301
  'customchannels',
348
  )
349
  )
350
  );
351
+ $this->accounts_customchannels_adunits = new Forminator_Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource(
352
  $this,
353
  $this->serviceName,
354
  'adunits',
390
  )
391
  )
392
  );
393
+ $this->accounts_payments = new Forminator_Google_Service_AdSense_AccountsPayments_Resource(
394
  $this,
395
  $this->serviceName,
396
  'payments',
410
  )
411
  )
412
  );
413
+ $this->accounts_reports = new Forminator_Google_Service_AdSense_AccountsReports_Resource(
414
  $this,
415
  $this->serviceName,
416
  'reports',
480
  )
481
  )
482
  );
483
+ $this->accounts_reports_saved = new Forminator_Google_Service_AdSense_AccountsReportsSaved_Resource(
484
  $this,
485
  $this->serviceName,
486
  'saved',
535
  )
536
  )
537
  );
538
+ $this->accounts_savedadstyles = new Forminator_Google_Service_AdSense_AccountsSavedadstyles_Resource(
539
  $this,
540
  $this->serviceName,
541
  'savedadstyles',
578
  )
579
  )
580
  );
581
+ $this->accounts_urlchannels = new Forminator_Google_Service_AdSense_AccountsUrlchannels_Resource(
582
  $this,
583
  $this->serviceName,
584
  'urlchannels',
611
  )
612
  )
613
  );
614
+ $this->adclients = new Forminator_Google_Service_AdSense_Adclients_Resource(
615
  $this,
616
  $this->serviceName,
617
  'adclients',
634
  )
635
  )
636
  );
637
+ $this->adunits = new Forminator_Google_Service_AdSense_Adunits_Resource(
638
  $this,
639
  $this->serviceName,
640
  'adunits',
696
  )
697
  )
698
  );
699
+ $this->adunits_customchannels = new Forminator_Google_Service_AdSense_AdunitsCustomchannels_Resource(
700
  $this,
701
  $this->serviceName,
702
  'customchannels',
729
  )
730
  )
731
  );
732
+ $this->alerts = new Forminator_Google_Service_AdSense_Alerts_Resource(
733
  $this,
734
  $this->serviceName,
735
  'alerts',
758
  )
759
  )
760
  );
761
+ $this->customchannels = new Forminator_Google_Service_AdSense_Customchannels_Resource(
762
  $this,
763
  $this->serviceName,
764
  'customchannels',
801
  )
802
  )
803
  );
804
+ $this->customchannels_adunits = new Forminator_Google_Service_AdSense_CustomchannelsAdunits_Resource(
805
  $this,
806
  $this->serviceName,
807
  'adunits',
838
  )
839
  )
840
  );
841
+ $this->metadata_dimensions = new Forminator_Google_Service_AdSense_MetadataDimensions_Resource(
842
  $this,
843
  $this->serviceName,
844
  'dimensions',
852
  )
853
  )
854
  );
855
+ $this->metadata_metrics = new Forminator_Google_Service_AdSense_MetadataMetrics_Resource(
856
  $this,
857
  $this->serviceName,
858
  'metrics',
866
  )
867
  )
868
  );
869
+ $this->payments = new Forminator_Google_Service_AdSense_Payments_Resource(
870
  $this,
871
  $this->serviceName,
872
  'payments',
880
  )
881
  )
882
  );
883
+ $this->reports = new Forminator_Google_Service_AdSense_Reports_Resource(
884
  $this,
885
  $this->serviceName,
886
  'reports',
950
  )
951
  )
952
  );
953
+ $this->reports_saved = new Forminator_Google_Service_AdSense_ReportsSaved_Resource(
954
  $this,
955
  $this->serviceName,
956
  'saved',
995
  )
996
  )
997
  );
998
+ $this->savedadstyles = new Forminator_Google_Service_AdSense_Savedadstyles_Resource(
999
  $this,
1000
  $this->serviceName,
1001
  'savedadstyles',
1028
  )
1029
  )
1030
  );
1031
+ $this->urlchannels = new Forminator_Google_Service_AdSense_Urlchannels_Resource(
1032
  $this,
1033
  $this->serviceName,
1034
  'urlchannels',
1064
  * The "accounts" collection of methods.
1065
  * Typical usage is:
1066
  * <code>
1067
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1068
  * $accounts = $adsenseService->accounts;
1069
  * </code>
1070
  */
1071
+ class Forminator_Google_Service_AdSense_Accounts_Resource extends Forminator_Google_Service_Resource
1072
  {
1073
 
1074
  /**
1078
  * @param array $optParams Optional parameters.
1079
  *
1080
  * @opt_param bool tree Whether the tree of sub accounts should be returned.
1081
+ * @return Forminator_Google_Service_AdSense_Account
1082
  */
1083
  public function get($accountId, $optParams = array())
1084
  {
1085
  $params = array('accountId' => $accountId);
1086
  $params = array_merge($params, $optParams);
1087
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSense_Account");
1088
  }
1089
 
1090
  /**
1097
  * @opt_param string pageToken A continuation token, used to page through
1098
  * accounts. To retrieve the next page, set this parameter to the value of
1099
  * "nextPageToken" from the previous response.
1100
+ * @return Forminator_Google_Service_AdSense_Accounts
1101
  */
1102
  public function listAccounts($optParams = array())
1103
  {
1104
  $params = array();
1105
  $params = array_merge($params, $optParams);
1106
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_Accounts");
1107
  }
1108
  }
1109
 
1111
  * The "adclients" collection of methods.
1112
  * Typical usage is:
1113
  * <code>
1114
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1115
  * $adclients = $adsenseService->adclients;
1116
  * </code>
1117
  */
1118
+ class Forminator_Google_Service_AdSense_AccountsAdclients_Resource extends Forminator_Google_Service_Resource
1119
  {
1120
 
1121
  /**
1130
  * @opt_param string pageToken A continuation token, used to page through ad
1131
  * clients. To retrieve the next page, set this parameter to the value of
1132
  * "nextPageToken" from the previous response.
1133
+ * @return Forminator_Google_Service_AdSense_AdClients
1134
  */
1135
  public function listAccountsAdclients($accountId, $optParams = array())
1136
  {
1137
  $params = array('accountId' => $accountId);
1138
  $params = array_merge($params, $optParams);
1139
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_AdClients");
1140
  }
1141
  }
1142
  /**
1143
  * The "adunits" collection of methods.
1144
  * Typical usage is:
1145
  * <code>
1146
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1147
  * $adunits = $adsenseService->adunits;
1148
  * </code>
1149
  */
1150
+ class Forminator_Google_Service_AdSense_AccountsAdunits_Resource extends Forminator_Google_Service_Resource
1151
  {
1152
 
1153
  /**
1158
  * @param string $adClientId Ad client for which to get the ad unit.
1159
  * @param string $adUnitId Ad unit to retrieve.
1160
  * @param array $optParams Optional parameters.
1161
+ * @return Forminator_Google_Service_AdSense_AdUnit
1162
  */
1163
  public function get($accountId, $adClientId, $adUnitId, $optParams = array())
1164
  {
1165
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1166
  $params = array_merge($params, $optParams);
1167
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSense_AdUnit");
1168
  }
1169
 
1170
  /**
1174
  * @param string $adClientId Ad client with contains the ad unit.
1175
  * @param string $adUnitId Ad unit to get the code for.
1176
  * @param array $optParams Optional parameters.
1177
+ * @return Forminator_Google_Service_AdSense_AdCode
1178
  */
1179
  public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
1180
  {
1181
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1182
  $params = array_merge($params, $optParams);
1183
+ return $this->call('getAdCode', array($params), "Forminator_Google_Service_AdSense_AdCode");
1184
  }
1185
 
1186
  /**
1198
  * @opt_param string pageToken A continuation token, used to page through ad
1199
  * units. To retrieve the next page, set this parameter to the value of
1200
  * "nextPageToken" from the previous response.
1201
+ * @return Forminator_Google_Service_AdSense_AdUnits
1202
  */
1203
  public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
1204
  {
1205
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1206
  $params = array_merge($params, $optParams);
1207
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_AdUnits");
1208
  }
1209
  }
1210
 
1212
  * The "customchannels" collection of methods.
1213
  * Typical usage is:
1214
  * <code>
1215
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1216
  * $customchannels = $adsenseService->customchannels;
1217
  * </code>
1218
  */
1219
+ class Forminator_Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource extends Forminator_Google_Service_Resource
1220
  {
1221
 
1222
  /**
1233
  * @opt_param string pageToken A continuation token, used to page through custom
1234
  * channels. To retrieve the next page, set this parameter to the value of
1235
  * "nextPageToken" from the previous response.
1236
+ * @return Forminator_Google_Service_AdSense_CustomChannels
1237
  */
1238
  public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array())
1239
  {
1240
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1241
  $params = array_merge($params, $optParams);
1242
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_CustomChannels");
1243
  }
1244
  }
1245
  /**
1246
  * The "alerts" collection of methods.
1247
  * Typical usage is:
1248
  * <code>
1249
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1250
  * $alerts = $adsenseService->alerts;
1251
  * </code>
1252
  */
1253
+ class Forminator_Google_Service_AdSense_AccountsAlerts_Resource extends Forminator_Google_Service_Resource
1254
  {
1255
 
1256
  /**
1278
  * @opt_param string locale The locale to use for translating alert messages.
1279
  * The account locale will be used if this is not supplied. The AdSense default
1280
  * (English) will be used if the supplied locale is invalid or unsupported.
1281
+ * @return Forminator_Google_Service_AdSense_Alerts
1282
  */
1283
  public function listAccountsAlerts($accountId, $optParams = array())
1284
  {
1285
  $params = array('accountId' => $accountId);
1286
  $params = array_merge($params, $optParams);
1287
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_Alerts");
1288
  }
1289
  }
1290
  /**
1291
  * The "customchannels" collection of methods.
1292
  * Typical usage is:
1293
  * <code>
1294
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1295
  * $customchannels = $adsenseService->customchannels;
1296
  * </code>
1297
  */
1298
+ class Forminator_Google_Service_AdSense_AccountsCustomchannels_Resource extends Forminator_Google_Service_Resource
1299
  {
1300
 
1301
  /**
1306
  * @param string $adClientId Ad client which contains the custom channel.
1307
  * @param string $customChannelId Custom channel to retrieve.
1308
  * @param array $optParams Optional parameters.
1309
+ * @return Forminator_Google_Service_AdSense_CustomChannel
1310
  */
1311
  public function get($accountId, $adClientId, $customChannelId, $optParams = array())
1312
  {
1313
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1314
  $params = array_merge($params, $optParams);
1315
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSense_CustomChannel");
1316
  }
1317
 
1318
  /**
1328
  * @opt_param string pageToken A continuation token, used to page through custom
1329
  * channels. To retrieve the next page, set this parameter to the value of
1330
  * "nextPageToken" from the previous response.
1331
+ * @return Forminator_Google_Service_AdSense_CustomChannels
1332
  */
1333
  public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
1334
  {
1335
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1336
  $params = array_merge($params, $optParams);
1337
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_CustomChannels");
1338
  }
1339
  }
1340
 
1342
  * The "adunits" collection of methods.
1343
  * Typical usage is:
1344
  * <code>
1345
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1346
  * $adunits = $adsenseService->adunits;
1347
  * </code>
1348
  */
1349
+ class Forminator_Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource extends Forminator_Google_Service_Resource
1350
  {
1351
 
1352
  /**
1365
  * @opt_param string pageToken A continuation token, used to page through ad
1366
  * units. To retrieve the next page, set this parameter to the value of
1367
  * "nextPageToken" from the previous response.
1368
+ * @return Forminator_Google_Service_AdSense_AdUnits
1369
  */
1370
  public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array())
1371
  {
1372
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1373
  $params = array_merge($params, $optParams);
1374
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_AdUnits");
1375
  }
1376
  }
1377
  /**
1378
  * The "payments" collection of methods.
1379
  * Typical usage is:
1380
  * <code>
1381
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1382
  * $payments = $adsenseService->payments;
1383
  * </code>
1384
  */
1385
+ class Forminator_Google_Service_AdSense_AccountsPayments_Resource extends Forminator_Google_Service_Resource
1386
  {
1387
 
1388
  /**
1391
  *
1392
  * @param string $accountId Account for which to retrieve the payments.
1393
  * @param array $optParams Optional parameters.
1394
+ * @return Forminator_Google_Service_AdSense_Payments
1395
  */
1396
  public function listAccountsPayments($accountId, $optParams = array())
1397
  {
1398
  $params = array('accountId' => $accountId);
1399
  $params = array_merge($params, $optParams);
1400
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_Payments");
1401
  }
1402
  }
1403
  /**
1404
  * The "reports" collection of methods.
1405
  * Typical usage is:
1406
  * <code>
1407
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1408
  * $reports = $adsenseService->reports;
1409
  * </code>
1410
  */
1411
+ class Forminator_Google_Service_AdSense_AccountsReports_Resource extends Forminator_Google_Service_Resource
1412
  {
1413
 
1414
  /**
1439
  * @opt_param bool useTimezoneReporting Whether the report should be generated
1440
  * in the AdSense account's local timezone. If false default PST/PDT timezone
1441
  * will be used.
1442
+ * @return Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponse
1443
  */
1444
  public function generate($accountId, $startDate, $endDate, $optParams = array())
1445
  {
1446
  $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
1447
  $params = array_merge($params, $optParams);
1448
+ return $this->call('generate', array($params), "Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponse");
1449
  }
1450
  }
1451
 
1453
  * The "saved" collection of methods.
1454
  * Typical usage is:
1455
  * <code>
1456
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1457
  * $saved = $adsenseService->saved;
1458
  * </code>
1459
  */
1460
+ class Forminator_Google_Service_AdSense_AccountsReportsSaved_Resource extends Forminator_Google_Service_Resource
1461
  {
1462
 
1463
  /**
1473
  * @opt_param int maxResults The maximum number of rows of report data to
1474
  * return.
1475
  * @opt_param int startIndex Index of the first row of report data to return.
1476
+ * @return Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponse
1477
  */
1478
  public function generate($accountId, $savedReportId, $optParams = array())
1479
  {
1480
  $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
1481
  $params = array_merge($params, $optParams);
1482
+ return $this->call('generate', array($params), "Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponse");
1483
  }
1484
 
1485
  /**
1494
  * @opt_param string pageToken A continuation token, used to page through saved
1495
  * reports. To retrieve the next page, set this parameter to the value of
1496
  * "nextPageToken" from the previous response.
1497
+ * @return Forminator_Google_Service_AdSense_SavedReports
1498
  */
1499
  public function listAccountsReportsSaved($accountId, $optParams = array())
1500
  {
1501
  $params = array('accountId' => $accountId);
1502
  $params = array_merge($params, $optParams);
1503
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_SavedReports");
1504
  }
1505
  }
1506
  /**
1507
  * The "savedadstyles" collection of methods.
1508
  * Typical usage is:
1509
  * <code>
1510
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1511
  * $savedadstyles = $adsenseService->savedadstyles;
1512
  * </code>
1513
  */
1514
+ class Forminator_Google_Service_AdSense_AccountsSavedadstyles_Resource extends Forminator_Google_Service_Resource
1515
  {
1516
 
1517
  /**
1520
  * @param string $accountId Account for which to get the saved ad style.
1521
  * @param string $savedAdStyleId Saved ad style to retrieve.
1522
  * @param array $optParams Optional parameters.
1523
+ * @return Forminator_Google_Service_AdSense_SavedAdStyle
1524
  */
1525
  public function get($accountId, $savedAdStyleId, $optParams = array())
1526
  {
1527
  $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId);
1528
  $params = array_merge($params, $optParams);
1529
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSense_SavedAdStyle");
1530
  }
1531
 
1532
  /**
1541
  * @opt_param string pageToken A continuation token, used to page through saved
1542
  * ad styles. To retrieve the next page, set this parameter to the value of
1543
  * "nextPageToken" from the previous response.
1544
+ * @return Forminator_Google_Service_AdSense_SavedAdStyles
1545
  */
1546
  public function listAccountsSavedadstyles($accountId, $optParams = array())
1547
  {
1548
  $params = array('accountId' => $accountId);
1549
  $params = array_merge($params, $optParams);
1550
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_SavedAdStyles");
1551
  }
1552
  }
1553
  /**
1554
  * The "urlchannels" collection of methods.
1555
  * Typical usage is:
1556
  * <code>
1557
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1558
  * $urlchannels = $adsenseService->urlchannels;
1559
  * </code>
1560
  */
1561
+ class Forminator_Google_Service_AdSense_AccountsUrlchannels_Resource extends Forminator_Google_Service_Resource
1562
  {
1563
 
1564
  /**
1574
  * @opt_param string pageToken A continuation token, used to page through URL
1575
  * channels. To retrieve the next page, set this parameter to the value of
1576
  * "nextPageToken" from the previous response.
1577
+ * @return Forminator_Google_Service_AdSense_UrlChannels
1578
  */
1579
  public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
1580
  {
1581
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1582
  $params = array_merge($params, $optParams);
1583
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_UrlChannels");
1584
  }
1585
  }
1586
 
1588
  * The "adclients" collection of methods.
1589
  * Typical usage is:
1590
  * <code>
1591
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1592
  * $adclients = $adsenseService->adclients;
1593
  * </code>
1594
  */
1595
+ class Forminator_Google_Service_AdSense_Adclients_Resource extends Forminator_Google_Service_Resource
1596
  {
1597
 
1598
  /**
1605
  * @opt_param string pageToken A continuation token, used to page through ad
1606
  * clients. To retrieve the next page, set this parameter to the value of
1607
  * "nextPageToken" from the previous response.
1608
+ * @return Forminator_Google_Service_AdSense_AdClients
1609
  */
1610
  public function listAdclients($optParams = array())
1611
  {
1612
  $params = array();
1613
  $params = array_merge($params, $optParams);
1614
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_AdClients");
1615
  }
1616
  }
1617
 
1619
  * The "adunits" collection of methods.
1620
  * Typical usage is:
1621
  * <code>
1622
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1623
  * $adunits = $adsenseService->adunits;
1624
  * </code>
1625
  */
1626
+ class Forminator_Google_Service_AdSense_Adunits_Resource extends Forminator_Google_Service_Resource
1627
  {
1628
 
1629
  /**
1632
  * @param string $adClientId Ad client for which to get the ad unit.
1633
  * @param string $adUnitId Ad unit to retrieve.
1634
  * @param array $optParams Optional parameters.
1635
+ * @return Forminator_Google_Service_AdSense_AdUnit
1636
  */
1637
  public function get($adClientId, $adUnitId, $optParams = array())
1638
  {
1639
  $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1640
  $params = array_merge($params, $optParams);
1641
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSense_AdUnit");
1642
  }
1643
 
1644
  /**
1647
  * @param string $adClientId Ad client with contains the ad unit.
1648
  * @param string $adUnitId Ad unit to get the code for.
1649
  * @param array $optParams Optional parameters.
1650
+ * @return Forminator_Google_Service_AdSense_AdCode
1651
  */
1652
  public function getAdCode($adClientId, $adUnitId, $optParams = array())
1653
  {
1654
  $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1655
  $params = array_merge($params, $optParams);
1656
+ return $this->call('getAdCode', array($params), "Forminator_Google_Service_AdSense_AdCode");
1657
  }
1658
 
1659
  /**
1670
  * @opt_param string pageToken A continuation token, used to page through ad
1671
  * units. To retrieve the next page, set this parameter to the value of
1672
  * "nextPageToken" from the previous response.
1673
+ * @return Forminator_Google_Service_AdSense_AdUnits
1674
  */
1675
  public function listAdunits($adClientId, $optParams = array())
1676
  {
1677
  $params = array('adClientId' => $adClientId);
1678
  $params = array_merge($params, $optParams);
1679
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_AdUnits");
1680
  }
1681
  }
1682
 
1684
  * The "customchannels" collection of methods.
1685
  * Typical usage is:
1686
  * <code>
1687
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1688
  * $customchannels = $adsenseService->customchannels;
1689
  * </code>
1690
  */
1691
+ class Forminator_Google_Service_AdSense_AdunitsCustomchannels_Resource extends Forminator_Google_Service_Resource
1692
  {
1693
 
1694
  /**
1704
  * @opt_param string pageToken A continuation token, used to page through custom
1705
  * channels. To retrieve the next page, set this parameter to the value of
1706
  * "nextPageToken" from the previous response.
1707
+ * @return Forminator_Google_Service_AdSense_CustomChannels
1708
  */
1709
  public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
1710
  {
1711
  $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1712
  $params = array_merge($params, $optParams);
1713
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_CustomChannels");
1714
  }
1715
  }
1716
 
1718
  * The "alerts" collection of methods.
1719
  * Typical usage is:
1720
  * <code>
1721
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1722
  * $alerts = $adsenseService->alerts;
1723
  * </code>
1724
  */
1725
+ class Forminator_Google_Service_AdSense_Alerts_Resource extends Forminator_Google_Service_Resource
1726
  {
1727
 
1728
  /**
1747
  * @opt_param string locale The locale to use for translating alert messages.
1748
  * The account locale will be used if this is not supplied. The AdSense default
1749
  * (English) will be used if the supplied locale is invalid or unsupported.
1750
+ * @return Forminator_Google_Service_AdSense_Alerts
1751
  */
1752
  public function listAlerts($optParams = array())
1753
  {
1754
  $params = array();
1755
  $params = array_merge($params, $optParams);
1756
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_Alerts");
1757
  }
1758
  }
1759
 
1761
  * The "customchannels" collection of methods.
1762
  * Typical usage is:
1763
  * <code>
1764
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1765
  * $customchannels = $adsenseService->customchannels;
1766
  * </code>
1767
  */
1768
+ class Forminator_Google_Service_AdSense_Customchannels_Resource extends Forminator_Google_Service_Resource
1769
  {
1770
 
1771
  /**
1775
  * @param string $adClientId Ad client which contains the custom channel.
1776
  * @param string $customChannelId Custom channel to retrieve.
1777
  * @param array $optParams Optional parameters.
1778
+ * @return Forminator_Google_Service_AdSense_CustomChannel
1779
  */
1780
  public function get($adClientId, $customChannelId, $optParams = array())
1781
  {
1782
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1783
  $params = array_merge($params, $optParams);
1784
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSense_CustomChannel");
1785
  }
1786
 
1787
  /**
1796
  * @opt_param string pageToken A continuation token, used to page through custom
1797
  * channels. To retrieve the next page, set this parameter to the value of
1798
  * "nextPageToken" from the previous response.
1799
+ * @return Forminator_Google_Service_AdSense_CustomChannels
1800
  */
1801
  public function listCustomchannels($adClientId, $optParams = array())
1802
  {
1803
  $params = array('adClientId' => $adClientId);
1804
  $params = array_merge($params, $optParams);
1805
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_CustomChannels");
1806
  }
1807
  }
1808
 
1810
  * The "adunits" collection of methods.
1811
  * Typical usage is:
1812
  * <code>
1813
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1814
  * $adunits = $adsenseService->adunits;
1815
  * </code>
1816
  */
1817
+ class Forminator_Google_Service_AdSense_CustomchannelsAdunits_Resource extends Forminator_Google_Service_Resource
1818
  {
1819
 
1820
  /**
1832
  * @opt_param string pageToken A continuation token, used to page through ad
1833
  * units. To retrieve the next page, set this parameter to the value of
1834
  * "nextPageToken" from the previous response.
1835
+ * @return Forminator_Google_Service_AdSense_AdUnits
1836
  */
1837
  public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
1838
  {
1839
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1840
  $params = array_merge($params, $optParams);
1841
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_AdUnits");
1842
  }
1843
  }
1844
 
1846
  * The "metadata" collection of methods.
1847
  * Typical usage is:
1848
  * <code>
1849
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1850
  * $metadata = $adsenseService->metadata;
1851
  * </code>
1852
  */
1853
+ class Forminator_Google_Service_AdSense_Metadata_Resource extends Forminator_Google_Service_Resource
1854
  {
1855
  }
1856
 
1858
  * The "dimensions" collection of methods.
1859
  * Typical usage is:
1860
  * <code>
1861
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1862
  * $dimensions = $adsenseService->dimensions;
1863
  * </code>
1864
  */
1865
+ class Forminator_Google_Service_AdSense_MetadataDimensions_Resource extends Forminator_Google_Service_Resource
1866
  {
1867
 
1868
  /**
1870
  * (dimensions.listMetadataDimensions)
1871
  *
1872
  * @param array $optParams Optional parameters.
1873
+ * @return Forminator_Google_Service_AdSense_Metadata
1874
  */
1875
  public function listMetadataDimensions($optParams = array())
1876
  {
1877
  $params = array();
1878
  $params = array_merge($params, $optParams);
1879
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_Metadata");
1880
  }
1881
  }
1882
  /**
1883
  * The "metrics" collection of methods.
1884
  * Typical usage is:
1885
  * <code>
1886
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1887
  * $metrics = $adsenseService->metrics;
1888
  * </code>
1889
  */
1890
+ class Forminator_Google_Service_AdSense_MetadataMetrics_Resource extends Forminator_Google_Service_Resource
1891
  {
1892
 
1893
  /**
1895
  * (metrics.listMetadataMetrics)
1896
  *
1897
  * @param array $optParams Optional parameters.
1898
+ * @return Forminator_Google_Service_AdSense_Metadata
1899
  */
1900
  public function listMetadataMetrics($optParams = array())
1901
  {
1902
  $params = array();
1903
  $params = array_merge($params, $optParams);
1904
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_Metadata");
1905
  }
1906
  }
1907
 
1909
  * The "payments" collection of methods.
1910
  * Typical usage is:
1911
  * <code>
1912
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1913
  * $payments = $adsenseService->payments;
1914
  * </code>
1915
  */
1916
+ class Forminator_Google_Service_AdSense_Payments_Resource extends Forminator_Google_Service_Resource
1917
  {
1918
 
1919
  /**
1920
  * List the payments for this AdSense account. (payments.listPayments)
1921
  *
1922
  * @param array $optParams Optional parameters.
1923
+ * @return Forminator_Google_Service_AdSense_Payments
1924
  */
1925
  public function listPayments($optParams = array())
1926
  {
1927
  $params = array();
1928
  $params = array_merge($params, $optParams);
1929
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_Payments");
1930
  }
1931
  }
1932
 
1934
  * The "reports" collection of methods.
1935
  * Typical usage is:
1936
  * <code>
1937
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1938
  * $reports = $adsenseService->reports;
1939
  * </code>
1940
  */
1941
+ class Forminator_Google_Service_AdSense_Reports_Resource extends Forminator_Google_Service_Resource
1942
  {
1943
 
1944
  /**
1969
  * @opt_param bool useTimezoneReporting Whether the report should be generated
1970
  * in the AdSense account's local timezone. If false default PST/PDT timezone
1971
  * will be used.
1972
+ * @return Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponse
1973
  */
1974
  public function generate($startDate, $endDate, $optParams = array())
1975
  {
1976
  $params = array('startDate' => $startDate, 'endDate' => $endDate);
1977
  $params = array_merge($params, $optParams);
1978
+ return $this->call('generate', array($params), "Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponse");
1979
  }
1980
  }
1981
 
1983
  * The "saved" collection of methods.
1984
  * Typical usage is:
1985
  * <code>
1986
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
1987
  * $saved = $adsenseService->saved;
1988
  * </code>
1989
  */
1990
+ class Forminator_Google_Service_AdSense_ReportsSaved_Resource extends Forminator_Google_Service_Resource
1991
  {
1992
 
1993
  /**
2002
  * @opt_param int maxResults The maximum number of rows of report data to
2003
  * return.
2004
  * @opt_param int startIndex Index of the first row of report data to return.
2005
+ * @return Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponse
2006
  */
2007
  public function generate($savedReportId, $optParams = array())
2008
  {
2009
  $params = array('savedReportId' => $savedReportId);
2010
  $params = array_merge($params, $optParams);
2011
+ return $this->call('generate', array($params), "Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponse");
2012
  }
2013
 
2014
  /**
2021
  * @opt_param string pageToken A continuation token, used to page through saved
2022
  * reports. To retrieve the next page, set this parameter to the value of
2023
  * "nextPageToken" from the previous response.
2024
+ * @return Forminator_Google_Service_AdSense_SavedReports
2025
  */
2026
  public function listReportsSaved($optParams = array())
2027
  {
2028
  $params = array();
2029
  $params = array_merge($params, $optParams);
2030
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_SavedReports");
2031
  }
2032
  }
2033
 
2035
  * The "savedadstyles" collection of methods.
2036
  * Typical usage is:
2037
  * <code>
2038
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
2039
  * $savedadstyles = $adsenseService->savedadstyles;
2040
  * </code>
2041
  */
2042
+ class Forminator_Google_Service_AdSense_Savedadstyles_Resource extends Forminator_Google_Service_Resource
2043
  {
2044
 
2045
  /**
2047
  *
2048
  * @param string $savedAdStyleId Saved ad style to retrieve.
2049
  * @param array $optParams Optional parameters.
2050
+ * @return Forminator_Google_Service_AdSense_SavedAdStyle
2051
  */
2052
  public function get($savedAdStyleId, $optParams = array())
2053
  {
2054
  $params = array('savedAdStyleId' => $savedAdStyleId);
2055
  $params = array_merge($params, $optParams);
2056
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSense_SavedAdStyle");
2057
  }
2058
 
2059
  /**
2067
  * @opt_param string pageToken A continuation token, used to page through saved
2068
  * ad styles. To retrieve the next page, set this parameter to the value of
2069
  * "nextPageToken" from the previous response.
2070
+ * @return Forminator_Google_Service_AdSense_SavedAdStyles
2071
  */
2072
  public function listSavedadstyles($optParams = array())
2073
  {
2074
  $params = array();
2075
  $params = array_merge($params, $optParams);
2076
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_SavedAdStyles");
2077
  }
2078
  }
2079
 
2081
  * The "urlchannels" collection of methods.
2082
  * Typical usage is:
2083
  * <code>
2084
+ * $adsenseService = new Forminator_Google_Service_AdSense(...);
2085
  * $urlchannels = $adsenseService->urlchannels;
2086
  * </code>
2087
  */
2088
+ class Forminator_Google_Service_AdSense_Urlchannels_Resource extends Forminator_Google_Service_Resource
2089
  {
2090
 
2091
  /**
2100
  * @opt_param string pageToken A continuation token, used to page through URL
2101
  * channels. To retrieve the next page, set this parameter to the value of
2102
  * "nextPageToken" from the previous response.
2103
+ * @return Forminator_Google_Service_AdSense_UrlChannels
2104
  */
2105
  public function listUrlchannels($adClientId, $optParams = array())
2106
  {
2107
  $params = array('adClientId' => $adClientId);
2108
  $params = array_merge($params, $optParams);
2109
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSense_UrlChannels");
2110
  }
2111
  }
2112
 
2113
 
2114
 
2115
 
2116
+ class Forminator_Google_Service_AdSense_Account extends Forminator_Google_Collection
2117
  {
2118
  protected $collection_key = 'subAccounts';
2119
  protected $internal_gapi_mappings = array(
2124
  public $kind;
2125
  public $name;
2126
  public $premium;
2127
+ protected $subAccountsType = 'Forminator_Google_Service_AdSense_Account';
2128
  protected $subAccountsDataType = 'array';
2129
  public $timezone;
2130
 
2187
  }
2188
  }
2189
 
2190
+ class Forminator_Google_Service_AdSense_Accounts extends Forminator_Google_Collection
2191
  {
2192
  protected $collection_key = 'items';
2193
  protected $internal_gapi_mappings = array(
2194
  );
2195
  public $etag;
2196
+ protected $itemsType = 'Forminator_Google_Service_AdSense_Account';
2197
  protected $itemsDataType = 'array';
2198
  public $kind;
2199
  public $nextPageToken;
2233
  }
2234
  }
2235
 
2236
+ class Forminator_Google_Service_AdSense_AdClient extends Forminator_Google_Model
2237
  {
2238
  protected $internal_gapi_mappings = array(
2239
  );
2295
  }
2296
  }
2297
 
2298
+ class Forminator_Google_Service_AdSense_AdClients extends Forminator_Google_Collection
2299
  {
2300
  protected $collection_key = 'items';
2301
  protected $internal_gapi_mappings = array(
2302
  );
2303
  public $etag;
2304
+ protected $itemsType = 'Forminator_Google_Service_AdSense_AdClient';
2305
  protected $itemsDataType = 'array';
2306
  public $kind;
2307
  public $nextPageToken;
2341
  }
2342
  }
2343
 
2344
+ class Forminator_Google_Service_AdSense_AdCode extends Forminator_Google_Model
2345
  {
2346
  protected $internal_gapi_mappings = array(
2347
  );
2367
  }
2368
  }
2369
 
2370
+ class Forminator_Google_Service_AdSense_AdStyle extends Forminator_Google_Model
2371
  {
2372
  protected $internal_gapi_mappings = array(
2373
  );
2374
+ protected $colorsType = 'Forminator_Google_Service_AdSense_AdStyleColors';
2375
  protected $colorsDataType = '';
2376
  public $corners;
2377
+ protected $fontType = 'Forminator_Google_Service_AdSense_AdStyleFont';
2378
  protected $fontDataType = '';
2379
  public $kind;
2380
 
2381
 
2382
+ public function setColors(Forminator_Google_Service_AdSense_AdStyleColors $colors)
2383
  {
2384
  $this->colors = $colors;
2385
  }
2395
  {
2396
  return $this->corners;
2397
  }
2398
+ public function setFont(Forminator_Google_Service_AdSense_AdStyleFont $font)
2399
  {
2400
  $this->font = $font;
2401
  }
2413
  }
2414
  }
2415
 
2416
+ class Forminator_Google_Service_AdSense_AdStyleColors extends Forminator_Google_Model
2417
  {
2418
  protected $internal_gapi_mappings = array(
2419
  );
2466
  }
2467
  }
2468
 
2469
+ class Forminator_Google_Service_AdSense_AdStyleFont extends Forminator_Google_Model
2470
  {
2471
  protected $internal_gapi_mappings = array(
2472
  );
2492
  }
2493
  }
2494
 
2495
+ class Forminator_Google_Service_AdSense_AdUnit extends Forminator_Google_Model
2496
  {
2497
  protected $internal_gapi_mappings = array(
2498
  );
2499
  public $code;
2500
+ protected $contentAdsSettingsType = 'Forminator_Google_Service_AdSense_AdUnitContentAdsSettings';
2501
  protected $contentAdsSettingsDataType = '';
2502
+ protected $customStyleType = 'Forminator_Google_Service_AdSense_AdStyle';
2503
  protected $customStyleDataType = '';
2504
+ protected $feedAdsSettingsType = 'Forminator_Google_Service_AdSense_AdUnitFeedAdsSettings';
2505
  protected $feedAdsSettingsDataType = '';
2506
  public $id;
2507
  public $kind;
2508
+ protected $mobileContentAdsSettingsType = 'Forminator_Google_Service_AdSense_AdUnitMobileContentAdsSettings';
2509
  protected $mobileContentAdsSettingsDataType = '';
2510
  public $name;
2511
  public $savedStyleId;
2520
  {
2521
  return $this->code;
2522
  }
2523
+ public function setContentAdsSettings(Forminator_Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)
2524
  {
2525
  $this->contentAdsSettings = $contentAdsSettings;
2526
  }
2528
  {
2529
  return $this->contentAdsSettings;
2530
  }
2531
+ public function setCustomStyle(Forminator_Google_Service_AdSense_AdStyle $customStyle)
2532
  {
2533
  $this->customStyle = $customStyle;
2534
  }
2536
  {
2537
  return $this->customStyle;
2538
  }
2539
+ public function setFeedAdsSettings(Forminator_Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings)
2540
  {
2541
  $this->feedAdsSettings = $feedAdsSettings;
2542
  }
2560
  {
2561
  return $this->kind;
2562
  }
2563
+ public function setMobileContentAdsSettings(Forminator_Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
2564
  {
2565
  $this->mobileContentAdsSettings = $mobileContentAdsSettings;
2566
  }
2594
  }
2595
  }
2596
 
2597
+ class Forminator_Google_Service_AdSense_AdUnitContentAdsSettings extends Forminator_Google_Model
2598
  {
2599
  protected $internal_gapi_mappings = array(
2600
  );
2601
+ protected $backupOptionType = 'Forminator_Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption';
2602
  protected $backupOptionDataType = '';
2603
  public $size;
2604
  public $type;
2605
 
2606
 
2607
+ public function setBackupOption(Forminator_Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption)
2608
  {
2609
  $this->backupOption = $backupOption;
2610
  }
2630
  }
2631
  }
2632
 
2633
+ class Forminator_Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Forminator_Google_Model
2634
  {
2635
  protected $internal_gapi_mappings = array(
2636
  );
2665
  }
2666
  }
2667
 
2668
+ class Forminator_Google_Service_AdSense_AdUnitFeedAdsSettings extends Forminator_Google_Model
2669
  {
2670
  protected $internal_gapi_mappings = array(
2671
  );
2709
  }
2710
  }
2711
 
2712
+ class Forminator_Google_Service_AdSense_AdUnitMobileContentAdsSettings extends Forminator_Google_Model
2713
  {
2714
  protected $internal_gapi_mappings = array(
2715
  );
2753
  }
2754
  }
2755
 
2756
+ class Forminator_Google_Service_AdSense_AdUnits extends Forminator_Google_Collection
2757
  {
2758
  protected $collection_key = 'items';
2759
  protected $internal_gapi_mappings = array(
2760
  );
2761
  public $etag;
2762
+ protected $itemsType = 'Forminator_Google_Service_AdSense_AdUnit';
2763
  protected $itemsDataType = 'array';
2764
  public $kind;
2765
  public $nextPageToken;
2799
  }
2800
  }
2801
 
2802
+ class Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponse extends Forminator_Google_Collection
2803
  {
2804
  protected $collection_key = 'warnings';
2805
  protected $internal_gapi_mappings = array(
2806
  );
2807
  public $averages;
2808
  public $endDate;
2809
+ protected $headersType = 'Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders';
2810
  protected $headersDataType = 'array';
2811
  public $kind;
2812
  public $rows;
2890
  }
2891
  }
2892
 
2893
+ class Forminator_Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Forminator_Google_Model
2894
  {
2895
  protected $internal_gapi_mappings = array(
2896
  );
2925
  }
2926
  }
2927
 
2928
+ class Forminator_Google_Service_AdSense_Alert extends Forminator_Google_Model
2929
  {
2930
  protected $internal_gapi_mappings = array(
2931
  );
2987
  }
2988
  }
2989
 
2990
+ class Forminator_Google_Service_AdSense_Alerts extends Forminator_Google_Collection
2991
  {
2992
  protected $collection_key = 'items';
2993
  protected $internal_gapi_mappings = array(
2994
  );
2995
+ protected $itemsType = 'Forminator_Google_Service_AdSense_Alert';
2996
  protected $itemsDataType = 'array';
2997
  public $kind;
2998
 
3015
  }
3016
  }
3017
 
3018
+ class Forminator_Google_Service_AdSense_CustomChannel extends Forminator_Google_Model
3019
  {
3020
  protected $internal_gapi_mappings = array(
3021
  );
3023
  public $id;
3024
  public $kind;
3025
  public $name;
3026
+ protected $targetingInfoType = 'Forminator_Google_Service_AdSense_CustomChannelTargetingInfo';
3027
  protected $targetingInfoDataType = '';
3028
 
3029
 
3059
  {
3060
  return $this->name;
3061
  }
3062
+ public function setTargetingInfo(Forminator_Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)
3063
  {
3064
  $this->targetingInfo = $targetingInfo;
3065
  }
3069
  }
3070
  }
3071
 
3072
+ class Forminator_Google_Service_AdSense_CustomChannelTargetingInfo extends Forminator_Google_Model
3073
  {
3074
  protected $internal_gapi_mappings = array(
3075
  );
3113
  }
3114
  }
3115
 
3116
+ class Forminator_Google_Service_AdSense_CustomChannels extends Forminator_Google_Collection
3117
  {
3118
  protected $collection_key = 'items';
3119
  protected $internal_gapi_mappings = array(
3120
  );
3121
  public $etag;
3122
+ protected $itemsType = 'Forminator_Google_Service_AdSense_CustomChannel';
3123
  protected $itemsDataType = 'array';
3124
  public $kind;
3125
  public $nextPageToken;
3159
  }
3160
  }
3161
 
3162
+ class Forminator_Google_Service_AdSense_Metadata extends Forminator_Google_Collection
3163
  {
3164
  protected $collection_key = 'items';
3165
  protected $internal_gapi_mappings = array(
3166
  );
3167
+ protected $itemsType = 'Forminator_Google_Service_AdSense_ReportingMetadataEntry';
3168
  protected $itemsDataType = 'array';
3169
  public $kind;
3170
 
3187
  }
3188
  }
3189
 
3190
+ class Forminator_Google_Service_AdSense_Payment extends Forminator_Google_Model
3191
  {
3192
  protected $internal_gapi_mappings = array(
3193
  );
3240
  }
3241
  }
3242
 
3243
+ class Forminator_Google_Service_AdSense_Payments extends Forminator_Google_Collection
3244
  {
3245
  protected $collection_key = 'items';
3246
  protected $internal_gapi_mappings = array(
3247
  );
3248
+ protected $itemsType = 'Forminator_Google_Service_AdSense_Payment';
3249
  protected $itemsDataType = 'array';
3250
  public $kind;
3251
 
3268
  }
3269
  }
3270
 
3271
+ class Forminator_Google_Service_AdSense_ReportingMetadataEntry extends Forminator_Google_Collection
3272
  {
3273
  protected $collection_key = 'supportedProducts';
3274
  protected $internal_gapi_mappings = array(
3340
  }
3341
  }
3342
 
3343
+ class Forminator_Google_Service_AdSense_SavedAdStyle extends Forminator_Google_Model
3344
  {
3345
  protected $internal_gapi_mappings = array(
3346
  );
3347
+ protected $adStyleType = 'Forminator_Google_Service_AdSense_AdStyle';
3348
  protected $adStyleDataType = '';
3349
  public $id;
3350
  public $kind;
3351
  public $name;
3352
 
3353
 
3354
+ public function setAdStyle(Forminator_Google_Service_AdSense_AdStyle $adStyle)
3355
  {
3356
  $this->adStyle = $adStyle;
3357
  }
3385
  }
3386
  }
3387
 
3388
+ class Forminator_Google_Service_AdSense_SavedAdStyles extends Forminator_Google_Collection
3389
  {
3390
  protected $collection_key = 'items';
3391
  protected $internal_gapi_mappings = array(
3392
  );
3393
  public $etag;
3394
+ protected $itemsType = 'Forminator_Google_Service_AdSense_SavedAdStyle';
3395
  protected $itemsDataType = 'array';
3396
  public $kind;
3397
  public $nextPageToken;
3431
  }
3432
  }
3433
 
3434
+ class Forminator_Google_Service_AdSense_SavedReport extends Forminator_Google_Model
3435
  {
3436
  protected $internal_gapi_mappings = array(
3437
  );
3466
  }
3467
  }
3468
 
3469
+ class Forminator_Google_Service_AdSense_SavedReports extends Forminator_Google_Collection
3470
  {
3471
  protected $collection_key = 'items';
3472
  protected $internal_gapi_mappings = array(
3473
  );
3474
  public $etag;
3475
+ protected $itemsType = 'Forminator_Google_Service_AdSense_SavedReport';
3476
  protected $itemsDataType = 'array';
3477
  public $kind;
3478
  public $nextPageToken;
3512
  }
3513
  }
3514
 
3515
+ class Forminator_Google_Service_AdSense_UrlChannel extends Forminator_Google_Model
3516
  {
3517
  protected $internal_gapi_mappings = array(
3518
  );
3547
  }
3548
  }
3549
 
3550
+ class Forminator_Google_Service_AdSense_UrlChannels extends Forminator_Google_Collection
3551
  {
3552
  protected $collection_key = 'items';
3553
  protected $internal_gapi_mappings = array(
3554
  );
3555
  public $etag;
3556
+ protected $itemsType = 'Forminator_Google_Service_AdSense_UrlChannel';
3557
  protected $itemsDataType = 'array';
3558
  public $kind;
3559
  public $nextPageToken;
addons/pro/googlesheet/lib/external/Google/Service/AdSenseHost.php CHANGED
@@ -27,7 +27,7 @@
27
  *
28
  * @author Google, Inc.
29
  */
30
- class Google_Service_AdSenseHost extends Google_Service
31
  {
32
  /** View and manage your AdSense host data and associated accounts. */
33
  const ADSENSEHOST =
@@ -47,9 +47,9 @@ class Google_Service_AdSenseHost extends Google_Service
47
  /**
48
  * Constructs the internal representation of the AdSenseHost service.
49
  *
50
- * @param Google_Client $client
51
  */
52
- public function __construct(Google_Client $client)
53
  {
54
  parent::__construct($client);
55
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -57,7 +57,7 @@ class Google_Service_AdSenseHost extends Google_Service
57
  $this->version = 'v4.1';
58
  $this->serviceName = 'adsensehost';
59
 
60
- $this->accounts = new Google_Service_AdSenseHost_Accounts_Resource(
61
  $this,
62
  $this->serviceName,
63
  'accounts',
@@ -88,7 +88,7 @@ class Google_Service_AdSenseHost extends Google_Service
88
  )
89
  )
90
  );
91
- $this->accounts_adclients = new Google_Service_AdSenseHost_AccountsAdclients_Resource(
92
  $this,
93
  $this->serviceName,
94
  'adclients',
@@ -131,7 +131,7 @@ class Google_Service_AdSenseHost extends Google_Service
131
  )
132
  )
133
  );
134
- $this->accounts_adunits = new Google_Service_AdSenseHost_AccountsAdunits_Resource(
135
  $this,
136
  $this->serviceName,
137
  'adunits',
@@ -283,7 +283,7 @@ class Google_Service_AdSenseHost extends Google_Service
283
  )
284
  )
285
  );
286
- $this->accounts_reports = new Google_Service_AdSenseHost_AccountsReports_Resource(
287
  $this,
288
  $this->serviceName,
289
  'reports',
@@ -345,7 +345,7 @@ class Google_Service_AdSenseHost extends Google_Service
345
  )
346
  )
347
  );
348
- $this->adclients = new Google_Service_AdSenseHost_Adclients_Resource(
349
  $this,
350
  $this->serviceName,
351
  'adclients',
@@ -378,7 +378,7 @@ class Google_Service_AdSenseHost extends Google_Service
378
  )
379
  )
380
  );
381
- $this->associationsessions = new Google_Service_AdSenseHost_Associationsessions_Resource(
382
  $this,
383
  $this->serviceName,
384
  'associationsessions',
@@ -422,7 +422,7 @@ class Google_Service_AdSenseHost extends Google_Service
422
  )
423
  )
424
  );
425
- $this->customchannels = new Google_Service_AdSenseHost_Customchannels_Resource(
426
  $this,
427
  $this->serviceName,
428
  'customchannels',
@@ -515,7 +515,7 @@ class Google_Service_AdSenseHost extends Google_Service
515
  )
516
  )
517
  );
518
- $this->reports = new Google_Service_AdSenseHost_Reports_Resource(
519
  $this,
520
  $this->serviceName,
521
  'reports',
@@ -572,7 +572,7 @@ class Google_Service_AdSenseHost extends Google_Service
572
  )
573
  )
574
  );
575
- $this->urlchannels = new Google_Service_AdSenseHost_Urlchannels_Resource(
576
  $this,
577
  $this->serviceName,
578
  'urlchannels',
@@ -633,11 +633,11 @@ class Google_Service_AdSenseHost extends Google_Service
633
  * The "accounts" collection of methods.
634
  * Typical usage is:
635
  * <code>
636
- * $adsensehostService = new Google_Service_AdSenseHost(...);
637
  * $accounts = $adsensehostService->accounts;
638
  * </code>
639
  */
640
- class Google_Service_AdSenseHost_Accounts_Resource extends Google_Service_Resource
641
  {
642
 
643
  /**
@@ -645,13 +645,13 @@ class Google_Service_AdSenseHost_Accounts_Resource extends Google_Service_Resour
645
  *
646
  * @param string $accountId Account to get information about.
647
  * @param array $optParams Optional parameters.
648
- * @return Google_Service_AdSenseHost_Account
649
  */
650
  public function get($accountId, $optParams = array())
651
  {
652
  $params = array('accountId' => $accountId);
653
  $params = array_merge($params, $optParams);
654
- return $this->call('get', array($params), "Google_Service_AdSenseHost_Account");
655
  }
656
 
657
  /**
@@ -660,13 +660,13 @@ class Google_Service_AdSenseHost_Accounts_Resource extends Google_Service_Resour
660
  *
661
  * @param string $filterAdClientId Ad clients to list accounts for.
662
  * @param array $optParams Optional parameters.
663
- * @return Google_Service_AdSenseHost_Accounts
664
  */
665
  public function listAccounts($filterAdClientId, $optParams = array())
666
  {
667
  $params = array('filterAdClientId' => $filterAdClientId);
668
  $params = array_merge($params, $optParams);
669
- return $this->call('list', array($params), "Google_Service_AdSenseHost_Accounts");
670
  }
671
  }
672
 
@@ -674,11 +674,11 @@ class Google_Service_AdSenseHost_Accounts_Resource extends Google_Service_Resour
674
  * The "adclients" collection of methods.
675
  * Typical usage is:
676
  * <code>
677
- * $adsensehostService = new Google_Service_AdSenseHost(...);
678
  * $adclients = $adsensehostService->adclients;
679
  * </code>
680
  */
681
- class Google_Service_AdSenseHost_AccountsAdclients_Resource extends Google_Service_Resource
682
  {
683
 
684
  /**
@@ -688,13 +688,13 @@ class Google_Service_AdSenseHost_AccountsAdclients_Resource extends Google_Servi
688
  * @param string $accountId Account which contains the ad client.
689
  * @param string $adClientId Ad client to get.
690
  * @param array $optParams Optional parameters.
691
- * @return Google_Service_AdSenseHost_AdClient
692
  */
693
  public function get($accountId, $adClientId, $optParams = array())
694
  {
695
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
696
  $params = array_merge($params, $optParams);
697
- return $this->call('get', array($params), "Google_Service_AdSenseHost_AdClient");
698
  }
699
 
700
  /**
@@ -709,24 +709,24 @@ class Google_Service_AdSenseHost_AccountsAdclients_Resource extends Google_Servi
709
  * @opt_param string pageToken A continuation token, used to page through ad
710
  * clients. To retrieve the next page, set this parameter to the value of
711
  * "nextPageToken" from the previous response.
712
- * @return Google_Service_AdSenseHost_AdClients
713
  */
714
  public function listAccountsAdclients($accountId, $optParams = array())
715
  {
716
  $params = array('accountId' => $accountId);
717
  $params = array_merge($params, $optParams);
718
- return $this->call('list', array($params), "Google_Service_AdSenseHost_AdClients");
719
  }
720
  }
721
  /**
722
  * The "adunits" collection of methods.
723
  * Typical usage is:
724
  * <code>
725
- * $adsensehostService = new Google_Service_AdSenseHost(...);
726
  * $adunits = $adsensehostService->adunits;
727
  * </code>
728
  */
729
- class Google_Service_AdSenseHost_AccountsAdunits_Resource extends Google_Service_Resource
730
  {
731
 
732
  /**
@@ -737,13 +737,13 @@ class Google_Service_AdSenseHost_AccountsAdunits_Resource extends Google_Service
737
  * @param string $adClientId Ad client for which to get ad unit.
738
  * @param string $adUnitId Ad unit to delete.
739
  * @param array $optParams Optional parameters.
740
- * @return Google_Service_AdSenseHost_AdUnit
741
  */
742
  public function delete($accountId, $adClientId, $adUnitId, $optParams = array())
743
  {
744
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
745
  $params = array_merge($params, $optParams);
746
- return $this->call('delete', array($params), "Google_Service_AdSenseHost_AdUnit");
747
  }
748
 
749
  /**
@@ -753,13 +753,13 @@ class Google_Service_AdSenseHost_AccountsAdunits_Resource extends Google_Service
753
  * @param string $adClientId Ad client for which to get ad unit.
754
  * @param string $adUnitId Ad unit to get.
755
  * @param array $optParams Optional parameters.
756
- * @return Google_Service_AdSenseHost_AdUnit
757
  */
758
  public function get($accountId, $adClientId, $adUnitId, $optParams = array())
759
  {
760
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
761
  $params = array_merge($params, $optParams);
762
- return $this->call('get', array($params), "Google_Service_AdSenseHost_AdUnit");
763
  }
764
 
765
  /**
@@ -773,13 +773,13 @@ class Google_Service_AdSenseHost_AccountsAdunits_Resource extends Google_Service
773
  *
774
  * @opt_param string hostCustomChannelId Host custom channel to attach to the ad
775
  * code.
776
- * @return Google_Service_AdSenseHost_AdCode
777
  */
778
  public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
779
  {
780
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
781
  $params = array_merge($params, $optParams);
782
- return $this->call('getAdCode', array($params), "Google_Service_AdSenseHost_AdCode");
783
  }
784
 
785
  /**
@@ -788,15 +788,15 @@ class Google_Service_AdSenseHost_AccountsAdunits_Resource extends Google_Service
788
  *
789
  * @param string $accountId Account which will contain the ad unit.
790
  * @param string $adClientId Ad client into which to insert the ad unit.
791
- * @param Google_AdUnit $postBody
792
  * @param array $optParams Optional parameters.
793
- * @return Google_Service_AdSenseHost_AdUnit
794
  */
795
- public function insert($accountId, $adClientId, Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array())
796
  {
797
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody);
798
  $params = array_merge($params, $optParams);
799
- return $this->call('insert', array($params), "Google_Service_AdSenseHost_AdUnit");
800
  }
801
 
802
  /**
@@ -814,13 +814,13 @@ class Google_Service_AdSenseHost_AccountsAdunits_Resource extends Google_Service
814
  * @opt_param string pageToken A continuation token, used to page through ad
815
  * units. To retrieve the next page, set this parameter to the value of
816
  * "nextPageToken" from the previous response.
817
- * @return Google_Service_AdSenseHost_AdUnits
818
  */
819
  public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
820
  {
821
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
822
  $params = array_merge($params, $optParams);
823
- return $this->call('list', array($params), "Google_Service_AdSenseHost_AdUnits");
824
  }
825
 
826
  /**
@@ -830,15 +830,15 @@ class Google_Service_AdSenseHost_AccountsAdunits_Resource extends Google_Service
830
  * @param string $accountId Account which contains the ad client.
831
  * @param string $adClientId Ad client which contains the ad unit.
832
  * @param string $adUnitId Ad unit to get.
833
- * @param Google_AdUnit $postBody
834
  * @param array $optParams Optional parameters.
835
- * @return Google_Service_AdSenseHost_AdUnit
836
  */
837
- public function patch($accountId, $adClientId, $adUnitId, Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array())
838
  {
839
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId, 'postBody' => $postBody);
840
  $params = array_merge($params, $optParams);
841
- return $this->call('patch', array($params), "Google_Service_AdSenseHost_AdUnit");
842
  }
843
 
844
  /**
@@ -847,26 +847,26 @@ class Google_Service_AdSenseHost_AccountsAdunits_Resource extends Google_Service
847
  *
848
  * @param string $accountId Account which contains the ad client.
849
  * @param string $adClientId Ad client which contains the ad unit.
850
- * @param Google_AdUnit $postBody
851
  * @param array $optParams Optional parameters.
852
- * @return Google_Service_AdSenseHost_AdUnit
853
  */
854
- public function update($accountId, $adClientId, Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array())
855
  {
856
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody);
857
  $params = array_merge($params, $optParams);
858
- return $this->call('update', array($params), "Google_Service_AdSenseHost_AdUnit");
859
  }
860
  }
861
  /**
862
  * The "reports" collection of methods.
863
  * Typical usage is:
864
  * <code>
865
- * $adsensehostService = new Google_Service_AdSenseHost(...);
866
  * $reports = $adsensehostService->reports;
867
  * </code>
868
  */
869
- class Google_Service_AdSenseHost_AccountsReports_Resource extends Google_Service_Resource
870
  {
871
 
872
  /**
@@ -892,13 +892,13 @@ class Google_Service_AdSenseHost_AccountsReports_Resource extends Google_Service
892
  * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
893
  * sort descending. If no prefix is specified, the column is sorted ascending.
894
  * @opt_param string startIndex Index of the first row of report data to return.
895
- * @return Google_Service_AdSenseHost_Report
896
  */
897
  public function generate($accountId, $startDate, $endDate, $optParams = array())
898
  {
899
  $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
900
  $params = array_merge($params, $optParams);
901
- return $this->call('generate', array($params), "Google_Service_AdSenseHost_Report");
902
  }
903
  }
904
 
@@ -906,11 +906,11 @@ class Google_Service_AdSenseHost_AccountsReports_Resource extends Google_Service
906
  * The "adclients" collection of methods.
907
  * Typical usage is:
908
  * <code>
909
- * $adsensehostService = new Google_Service_AdSenseHost(...);
910
  * $adclients = $adsensehostService->adclients;
911
  * </code>
912
  */
913
- class Google_Service_AdSenseHost_Adclients_Resource extends Google_Service_Resource
914
  {
915
 
916
  /**
@@ -919,13 +919,13 @@ class Google_Service_AdSenseHost_Adclients_Resource extends Google_Service_Resou
919
  *
920
  * @param string $adClientId Ad client to get.
921
  * @param array $optParams Optional parameters.
922
- * @return Google_Service_AdSenseHost_AdClient
923
  */
924
  public function get($adClientId, $optParams = array())
925
  {
926
  $params = array('adClientId' => $adClientId);
927
  $params = array_merge($params, $optParams);
928
- return $this->call('get', array($params), "Google_Service_AdSenseHost_AdClient");
929
  }
930
 
931
  /**
@@ -938,13 +938,13 @@ class Google_Service_AdSenseHost_Adclients_Resource extends Google_Service_Resou
938
  * @opt_param string pageToken A continuation token, used to page through ad
939
  * clients. To retrieve the next page, set this parameter to the value of
940
  * "nextPageToken" from the previous response.
941
- * @return Google_Service_AdSenseHost_AdClients
942
  */
943
  public function listAdclients($optParams = array())
944
  {
945
  $params = array();
946
  $params = array_merge($params, $optParams);
947
- return $this->call('list', array($params), "Google_Service_AdSenseHost_AdClients");
948
  }
949
  }
950
 
@@ -952,11 +952,11 @@ class Google_Service_AdSenseHost_Adclients_Resource extends Google_Service_Resou
952
  * The "associationsessions" collection of methods.
953
  * Typical usage is:
954
  * <code>
955
- * $adsensehostService = new Google_Service_AdSenseHost(...);
956
  * $associationsessions = $adsensehostService->associationsessions;
957
  * </code>
958
  */
959
- class Google_Service_AdSenseHost_Associationsessions_Resource extends Google_Service_Resource
960
  {
961
 
962
  /**
@@ -969,13 +969,13 @@ class Google_Service_AdSenseHost_Associationsessions_Resource extends Google_Ser
969
  *
970
  * @opt_param string userLocale The preferred locale of the user.
971
  * @opt_param string websiteLocale The locale of the user's hosted website.
972
- * @return Google_Service_AdSenseHost_AssociationSession
973
  */
974
  public function start($productCode, $websiteUrl, $optParams = array())
975
  {
976
  $params = array('productCode' => $productCode, 'websiteUrl' => $websiteUrl);
977
  $params = array_merge($params, $optParams);
978
- return $this->call('start', array($params), "Google_Service_AdSenseHost_AssociationSession");
979
  }
980
 
981
  /**
@@ -984,13 +984,13 @@ class Google_Service_AdSenseHost_Associationsessions_Resource extends Google_Ser
984
  *
985
  * @param string $token The token returned to the association callback URL.
986
  * @param array $optParams Optional parameters.
987
- * @return Google_Service_AdSenseHost_AssociationSession
988
  */
989
  public function verify($token, $optParams = array())
990
  {
991
  $params = array('token' => $token);
992
  $params = array_merge($params, $optParams);
993
- return $this->call('verify', array($params), "Google_Service_AdSenseHost_AssociationSession");
994
  }
995
  }
996
 
@@ -998,11 +998,11 @@ class Google_Service_AdSenseHost_Associationsessions_Resource extends Google_Ser
998
  * The "customchannels" collection of methods.
999
  * Typical usage is:
1000
  * <code>
1001
- * $adsensehostService = new Google_Service_AdSenseHost(...);
1002
  * $customchannels = $adsensehostService->customchannels;
1003
  * </code>
1004
  */
1005
- class Google_Service_AdSenseHost_Customchannels_Resource extends Google_Service_Resource
1006
  {
1007
 
1008
  /**
@@ -1012,13 +1012,13 @@ class Google_Service_AdSenseHost_Customchannels_Resource extends Google_Service_
1012
  * @param string $adClientId Ad client from which to delete the custom channel.
1013
  * @param string $customChannelId Custom channel to delete.
1014
  * @param array $optParams Optional parameters.
1015
- * @return Google_Service_AdSenseHost_CustomChannel
1016
  */
1017
  public function delete($adClientId, $customChannelId, $optParams = array())
1018
  {
1019
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1020
  $params = array_merge($params, $optParams);
1021
- return $this->call('delete', array($params), "Google_Service_AdSenseHost_CustomChannel");
1022
  }
1023
 
1024
  /**
@@ -1028,13 +1028,13 @@ class Google_Service_AdSenseHost_Customchannels_Resource extends Google_Service_
1028
  * @param string $adClientId Ad client from which to get the custom channel.
1029
  * @param string $customChannelId Custom channel to get.
1030
  * @param array $optParams Optional parameters.
1031
- * @return Google_Service_AdSenseHost_CustomChannel
1032
  */
1033
  public function get($adClientId, $customChannelId, $optParams = array())
1034
  {
1035
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1036
  $params = array_merge($params, $optParams);
1037
- return $this->call('get', array($params), "Google_Service_AdSenseHost_CustomChannel");
1038
  }
1039
 
1040
  /**
@@ -1042,15 +1042,15 @@ class Google_Service_AdSenseHost_Customchannels_Resource extends Google_Service_
1042
  *
1043
  * @param string $adClientId Ad client to which the new custom channel will be
1044
  * added.
1045
- * @param Google_CustomChannel $postBody
1046
  * @param array $optParams Optional parameters.
1047
- * @return Google_Service_AdSenseHost_CustomChannel
1048
  */
1049
- public function insert($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
1050
  {
1051
  $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
1052
  $params = array_merge($params, $optParams);
1053
- return $this->call('insert', array($params), "Google_Service_AdSenseHost_CustomChannel");
1054
  }
1055
 
1056
  /**
@@ -1065,13 +1065,13 @@ class Google_Service_AdSenseHost_Customchannels_Resource extends Google_Service_
1065
  * @opt_param string pageToken A continuation token, used to page through custom
1066
  * channels. To retrieve the next page, set this parameter to the value of
1067
  * "nextPageToken" from the previous response.
1068
- * @return Google_Service_AdSenseHost_CustomChannels
1069
  */
1070
  public function listCustomchannels($adClientId, $optParams = array())
1071
  {
1072
  $params = array('adClientId' => $adClientId);
1073
  $params = array_merge($params, $optParams);
1074
- return $this->call('list', array($params), "Google_Service_AdSenseHost_CustomChannels");
1075
  }
1076
 
1077
  /**
@@ -1081,15 +1081,15 @@ class Google_Service_AdSenseHost_Customchannels_Resource extends Google_Service_
1081
  * @param string $adClientId Ad client in which the custom channel will be
1082
  * updated.
1083
  * @param string $customChannelId Custom channel to get.
1084
- * @param Google_CustomChannel $postBody
1085
  * @param array $optParams Optional parameters.
1086
- * @return Google_Service_AdSenseHost_CustomChannel
1087
  */
1088
- public function patch($adClientId, $customChannelId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
1089
  {
1090
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId, 'postBody' => $postBody);
1091
  $params = array_merge($params, $optParams);
1092
- return $this->call('patch', array($params), "Google_Service_AdSenseHost_CustomChannel");
1093
  }
1094
 
1095
  /**
@@ -1097,15 +1097,15 @@ class Google_Service_AdSenseHost_Customchannels_Resource extends Google_Service_
1097
  *
1098
  * @param string $adClientId Ad client in which the custom channel will be
1099
  * updated.
1100
- * @param Google_CustomChannel $postBody
1101
  * @param array $optParams Optional parameters.
1102
- * @return Google_Service_AdSenseHost_CustomChannel
1103
  */
1104
- public function update($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
1105
  {
1106
  $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
1107
  $params = array_merge($params, $optParams);
1108
- return $this->call('update', array($params), "Google_Service_AdSenseHost_CustomChannel");
1109
  }
1110
  }
1111
 
@@ -1113,11 +1113,11 @@ class Google_Service_AdSenseHost_Customchannels_Resource extends Google_Service_
1113
  * The "reports" collection of methods.
1114
  * Typical usage is:
1115
  * <code>
1116
- * $adsensehostService = new Google_Service_AdSenseHost(...);
1117
  * $reports = $adsensehostService->reports;
1118
  * </code>
1119
  */
1120
- class Google_Service_AdSenseHost_Reports_Resource extends Google_Service_Resource
1121
  {
1122
 
1123
  /**
@@ -1142,13 +1142,13 @@ class Google_Service_AdSenseHost_Reports_Resource extends Google_Service_Resourc
1142
  * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
1143
  * sort descending. If no prefix is specified, the column is sorted ascending.
1144
  * @opt_param string startIndex Index of the first row of report data to return.
1145
- * @return Google_Service_AdSenseHost_Report
1146
  */
1147
  public function generate($startDate, $endDate, $optParams = array())
1148
  {
1149
  $params = array('startDate' => $startDate, 'endDate' => $endDate);
1150
  $params = array_merge($params, $optParams);
1151
- return $this->call('generate', array($params), "Google_Service_AdSenseHost_Report");
1152
  }
1153
  }
1154
 
@@ -1156,11 +1156,11 @@ class Google_Service_AdSenseHost_Reports_Resource extends Google_Service_Resourc
1156
  * The "urlchannels" collection of methods.
1157
  * Typical usage is:
1158
  * <code>
1159
- * $adsensehostService = new Google_Service_AdSenseHost(...);
1160
  * $urlchannels = $adsensehostService->urlchannels;
1161
  * </code>
1162
  */
1163
- class Google_Service_AdSenseHost_Urlchannels_Resource extends Google_Service_Resource
1164
  {
1165
 
1166
  /**
@@ -1169,13 +1169,13 @@ class Google_Service_AdSenseHost_Urlchannels_Resource extends Google_Service_Res
1169
  * @param string $adClientId Ad client from which to delete the URL channel.
1170
  * @param string $urlChannelId URL channel to delete.
1171
  * @param array $optParams Optional parameters.
1172
- * @return Google_Service_AdSenseHost_UrlChannel
1173
  */
1174
  public function delete($adClientId, $urlChannelId, $optParams = array())
1175
  {
1176
  $params = array('adClientId' => $adClientId, 'urlChannelId' => $urlChannelId);
1177
  $params = array_merge($params, $optParams);
1178
- return $this->call('delete', array($params), "Google_Service_AdSenseHost_UrlChannel");
1179
  }
1180
 
1181
  /**
@@ -1183,15 +1183,15 @@ class Google_Service_AdSenseHost_Urlchannels_Resource extends Google_Service_Res
1183
  *
1184
  * @param string $adClientId Ad client to which the new URL channel will be
1185
  * added.
1186
- * @param Google_UrlChannel $postBody
1187
  * @param array $optParams Optional parameters.
1188
- * @return Google_Service_AdSenseHost_UrlChannel
1189
  */
1190
- public function insert($adClientId, Google_Service_AdSenseHost_UrlChannel $postBody, $optParams = array())
1191
  {
1192
  $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
1193
  $params = array_merge($params, $optParams);
1194
- return $this->call('insert', array($params), "Google_Service_AdSenseHost_UrlChannel");
1195
  }
1196
 
1197
  /**
@@ -1206,20 +1206,20 @@ class Google_Service_AdSenseHost_Urlchannels_Resource extends Google_Service_Res
1206
  * @opt_param string pageToken A continuation token, used to page through URL
1207
  * channels. To retrieve the next page, set this parameter to the value of
1208
  * "nextPageToken" from the previous response.
1209
- * @return Google_Service_AdSenseHost_UrlChannels
1210
  */
1211
  public function listUrlchannels($adClientId, $optParams = array())
1212
  {
1213
  $params = array('adClientId' => $adClientId);
1214
  $params = array_merge($params, $optParams);
1215
- return $this->call('list', array($params), "Google_Service_AdSenseHost_UrlChannels");
1216
  }
1217
  }
1218
 
1219
 
1220
 
1221
 
1222
- class Google_Service_AdSenseHost_Account extends Google_Model
1223
  {
1224
  protected $internal_gapi_mappings = array(
1225
  );
@@ -1263,13 +1263,13 @@ class Google_Service_AdSenseHost_Account extends Google_Model
1263
  }
1264
  }
1265
 
1266
- class Google_Service_AdSenseHost_Accounts extends Google_Collection
1267
  {
1268
  protected $collection_key = 'items';
1269
  protected $internal_gapi_mappings = array(
1270
  );
1271
  public $etag;
1272
- protected $itemsType = 'Google_Service_AdSenseHost_Account';
1273
  protected $itemsDataType = 'array';
1274
  public $kind;
1275
 
@@ -1300,7 +1300,7 @@ class Google_Service_AdSenseHost_Accounts extends Google_Collection
1300
  }
1301
  }
1302
 
1303
- class Google_Service_AdSenseHost_AdClient extends Google_Model
1304
  {
1305
  protected $internal_gapi_mappings = array(
1306
  );
@@ -1353,13 +1353,13 @@ class Google_Service_AdSenseHost_AdClient extends Google_Model
1353
  }
1354
  }
1355
 
1356
- class Google_Service_AdSenseHost_AdClients extends Google_Collection
1357
  {
1358
  protected $collection_key = 'items';
1359
  protected $internal_gapi_mappings = array(
1360
  );
1361
  public $etag;
1362
- protected $itemsType = 'Google_Service_AdSenseHost_AdClient';
1363
  protected $itemsDataType = 'array';
1364
  public $kind;
1365
  public $nextPageToken;
@@ -1399,7 +1399,7 @@ class Google_Service_AdSenseHost_AdClients extends Google_Collection
1399
  }
1400
  }
1401
 
1402
- class Google_Service_AdSenseHost_AdCode extends Google_Model
1403
  {
1404
  protected $internal_gapi_mappings = array(
1405
  );
@@ -1425,19 +1425,19 @@ class Google_Service_AdSenseHost_AdCode extends Google_Model
1425
  }
1426
  }
1427
 
1428
- class Google_Service_AdSenseHost_AdStyle extends Google_Model
1429
  {
1430
  protected $internal_gapi_mappings = array(
1431
  );
1432
- protected $colorsType = 'Google_Service_AdSenseHost_AdStyleColors';
1433
  protected $colorsDataType = '';
1434
  public $corners;
1435
- protected $fontType = 'Google_Service_AdSenseHost_AdStyleFont';
1436
  protected $fontDataType = '';
1437
  public $kind;
1438
 
1439
 
1440
- public function setColors(Google_Service_AdSenseHost_AdStyleColors $colors)
1441
  {
1442
  $this->colors = $colors;
1443
  }
@@ -1453,7 +1453,7 @@ class Google_Service_AdSenseHost_AdStyle extends Google_Model
1453
  {
1454
  return $this->corners;
1455
  }
1456
- public function setFont(Google_Service_AdSenseHost_AdStyleFont $font)
1457
  {
1458
  $this->font = $font;
1459
  }
@@ -1471,7 +1471,7 @@ class Google_Service_AdSenseHost_AdStyle extends Google_Model
1471
  }
1472
  }
1473
 
1474
- class Google_Service_AdSenseHost_AdStyleColors extends Google_Model
1475
  {
1476
  protected $internal_gapi_mappings = array(
1477
  );
@@ -1524,7 +1524,7 @@ class Google_Service_AdSenseHost_AdStyleColors extends Google_Model
1524
  }
1525
  }
1526
 
1527
- class Google_Service_AdSenseHost_AdStyleFont extends Google_Model
1528
  {
1529
  protected $internal_gapi_mappings = array(
1530
  );
@@ -1550,18 +1550,18 @@ class Google_Service_AdSenseHost_AdStyleFont extends Google_Model
1550
  }
1551
  }
1552
 
1553
- class Google_Service_AdSenseHost_AdUnit extends Google_Model
1554
  {
1555
  protected $internal_gapi_mappings = array(
1556
  );
1557
  public $code;
1558
- protected $contentAdsSettingsType = 'Google_Service_AdSenseHost_AdUnitContentAdsSettings';
1559
  protected $contentAdsSettingsDataType = '';
1560
- protected $customStyleType = 'Google_Service_AdSenseHost_AdStyle';
1561
  protected $customStyleDataType = '';
1562
  public $id;
1563
  public $kind;
1564
- protected $mobileContentAdsSettingsType = 'Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings';
1565
  protected $mobileContentAdsSettingsDataType = '';
1566
  public $name;
1567
  public $status;
@@ -1575,7 +1575,7 @@ class Google_Service_AdSenseHost_AdUnit extends Google_Model
1575
  {
1576
  return $this->code;
1577
  }
1578
- public function setContentAdsSettings(Google_Service_AdSenseHost_AdUnitContentAdsSettings $contentAdsSettings)
1579
  {
1580
  $this->contentAdsSettings = $contentAdsSettings;
1581
  }
@@ -1583,7 +1583,7 @@ class Google_Service_AdSenseHost_AdUnit extends Google_Model
1583
  {
1584
  return $this->contentAdsSettings;
1585
  }
1586
- public function setCustomStyle(Google_Service_AdSenseHost_AdStyle $customStyle)
1587
  {
1588
  $this->customStyle = $customStyle;
1589
  }
@@ -1607,7 +1607,7 @@ class Google_Service_AdSenseHost_AdUnit extends Google_Model
1607
  {
1608
  return $this->kind;
1609
  }
1610
- public function setMobileContentAdsSettings(Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
1611
  {
1612
  $this->mobileContentAdsSettings = $mobileContentAdsSettings;
1613
  }
@@ -1633,17 +1633,17 @@ class Google_Service_AdSenseHost_AdUnit extends Google_Model
1633
  }
1634
  }
1635
 
1636
- class Google_Service_AdSenseHost_AdUnitContentAdsSettings extends Google_Model
1637
  {
1638
  protected $internal_gapi_mappings = array(
1639
  );
1640
- protected $backupOptionType = 'Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption';
1641
  protected $backupOptionDataType = '';
1642
  public $size;
1643
  public $type;
1644
 
1645
 
1646
- public function setBackupOption(Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption $backupOption)
1647
  {
1648
  $this->backupOption = $backupOption;
1649
  }
@@ -1669,7 +1669,7 @@ class Google_Service_AdSenseHost_AdUnitContentAdsSettings extends Google_Model
1669
  }
1670
  }
1671
 
1672
- class Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption extends Google_Model
1673
  {
1674
  protected $internal_gapi_mappings = array(
1675
  );
@@ -1704,7 +1704,7 @@ class Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption extends Go
1704
  }
1705
  }
1706
 
1707
- class Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings extends Google_Model
1708
  {
1709
  protected $internal_gapi_mappings = array(
1710
  );
@@ -1748,13 +1748,13 @@ class Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings extends Google_M
1748
  }
1749
  }
1750
 
1751
- class Google_Service_AdSenseHost_AdUnits extends Google_Collection
1752
  {
1753
  protected $collection_key = 'items';
1754
  protected $internal_gapi_mappings = array(
1755
  );
1756
  public $etag;
1757
- protected $itemsType = 'Google_Service_AdSenseHost_AdUnit';
1758
  protected $itemsDataType = 'array';
1759
  public $kind;
1760
  public $nextPageToken;
@@ -1794,7 +1794,7 @@ class Google_Service_AdSenseHost_AdUnits extends Google_Collection
1794
  }
1795
  }
1796
 
1797
- class Google_Service_AdSenseHost_AssociationSession extends Google_Collection
1798
  {
1799
  protected $collection_key = 'productCodes';
1800
  protected $internal_gapi_mappings = array(
@@ -1884,7 +1884,7 @@ class Google_Service_AdSenseHost_AssociationSession extends Google_Collection
1884
  }
1885
  }
1886
 
1887
- class Google_Service_AdSenseHost_CustomChannel extends Google_Model
1888
  {
1889
  protected $internal_gapi_mappings = array(
1890
  );
@@ -1928,13 +1928,13 @@ class Google_Service_AdSenseHost_CustomChannel extends Google_Model
1928
  }
1929
  }
1930
 
1931
- class Google_Service_AdSenseHost_CustomChannels extends Google_Collection
1932
  {
1933
  protected $collection_key = 'items';
1934
  protected $internal_gapi_mappings = array(
1935
  );
1936
  public $etag;
1937
- protected $itemsType = 'Google_Service_AdSenseHost_CustomChannel';
1938
  protected $itemsDataType = 'array';
1939
  public $kind;
1940
  public $nextPageToken;
@@ -1974,13 +1974,13 @@ class Google_Service_AdSenseHost_CustomChannels extends Google_Collection
1974
  }
1975
  }
1976
 
1977
- class Google_Service_AdSenseHost_Report extends Google_Collection
1978
  {
1979
  protected $collection_key = 'warnings';
1980
  protected $internal_gapi_mappings = array(
1981
  );
1982
  public $averages;
1983
- protected $headersType = 'Google_Service_AdSenseHost_ReportHeaders';
1984
  protected $headersDataType = 'array';
1985
  public $kind;
1986
  public $rows;
@@ -2047,7 +2047,7 @@ class Google_Service_AdSenseHost_Report extends Google_Collection
2047
  }
2048
  }
2049
 
2050
- class Google_Service_AdSenseHost_ReportHeaders extends Google_Model
2051
  {
2052
  protected $internal_gapi_mappings = array(
2053
  );
@@ -2082,7 +2082,7 @@ class Google_Service_AdSenseHost_ReportHeaders extends Google_Model
2082
  }
2083
  }
2084
 
2085
- class Google_Service_AdSenseHost_UrlChannel extends Google_Model
2086
  {
2087
  protected $internal_gapi_mappings = array(
2088
  );
@@ -2117,13 +2117,13 @@ class Google_Service_AdSenseHost_UrlChannel extends Google_Model
2117
  }
2118
  }
2119
 
2120
- class Google_Service_AdSenseHost_UrlChannels extends Google_Collection
2121
  {
2122
  protected $collection_key = 'items';
2123
  protected $internal_gapi_mappings = array(
2124
  );
2125
  public $etag;
2126
- protected $itemsType = 'Google_Service_AdSenseHost_UrlChannel';
2127
  protected $itemsDataType = 'array';
2128
  public $kind;
2129
  public $nextPageToken;
27
  *
28
  * @author Google, Inc.
29
  */
30
+ class Forminator_Google_Service_AdSenseHost extends Forminator_Google_Service
31
  {
32
  /** View and manage your AdSense host data and associated accounts. */
33
  const ADSENSEHOST =
47
  /**
48
  * Constructs the internal representation of the AdSenseHost service.
49
  *
50
+ * @param Forminator_Google_Client $client
51
  */
52
+ public function __construct(Forminator_Google_Client $client)
53
  {
54
  parent::__construct($client);
55
  $this->rootUrl = 'https://www.googleapis.com/';
57
  $this->version = 'v4.1';
58
  $this->serviceName = 'adsensehost';
59
 
60
+ $this->accounts = new Forminator_Google_Service_AdSenseHost_Accounts_Resource(
61
  $this,
62
  $this->serviceName,
63
  'accounts',
88
  )
89
  )
90
  );
91
+ $this->accounts_adclients = new Forminator_Google_Service_AdSenseHost_AccountsAdclients_Resource(
92
  $this,
93
  $this->serviceName,
94
  'adclients',
131
  )
132
  )
133
  );
134
+ $this->accounts_adunits = new Forminator_Google_Service_AdSenseHost_AccountsAdunits_Resource(
135
  $this,
136
  $this->serviceName,
137
  'adunits',
283
  )
284
  )
285
  );
286
+ $this->accounts_reports = new Forminator_Google_Service_AdSenseHost_AccountsReports_Resource(
287
  $this,
288
  $this->serviceName,
289
  'reports',
345
  )
346
  )
347
  );
348
+ $this->adclients = new Forminator_Google_Service_AdSenseHost_Adclients_Resource(
349
  $this,
350
  $this->serviceName,
351
  'adclients',
378
  )
379
  )
380
  );
381
+ $this->associationsessions = new Forminator_Google_Service_AdSenseHost_Associationsessions_Resource(
382
  $this,
383
  $this->serviceName,
384
  'associationsessions',
422
  )
423
  )
424
  );
425
+ $this->customchannels = new Forminator_Google_Service_AdSenseHost_Customchannels_Resource(
426
  $this,
427
  $this->serviceName,
428
  'customchannels',
515
  )
516
  )
517
  );
518
+ $this->reports = new Forminator_Google_Service_AdSenseHost_Reports_Resource(
519
  $this,
520
  $this->serviceName,
521
  'reports',
572
  )
573
  )
574
  );
575
+ $this->urlchannels = new Forminator_Google_Service_AdSenseHost_Urlchannels_Resource(
576
  $this,
577
  $this->serviceName,
578
  'urlchannels',
633
  * The "accounts" collection of methods.
634
  * Typical usage is:
635
  * <code>
636
+ * $adsensehostService = new Forminator_Google_Service_AdSenseHost(...);
637
  * $accounts = $adsensehostService->accounts;
638
  * </code>
639
  */
640
+ class Forminator_Google_Service_AdSenseHost_Accounts_Resource extends Forminator_Google_Service_Resource
641
  {
642
 
643
  /**
645
  *
646
  * @param string $accountId Account to get information about.
647
  * @param array $optParams Optional parameters.
648
+ * @return Forminator_Google_Service_AdSenseHost_Account
649
  */
650
  public function get($accountId, $optParams = array())
651
  {
652
  $params = array('accountId' => $accountId);
653
  $params = array_merge($params, $optParams);
654
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSenseHost_Account");
655
  }
656
 
657
  /**
660
  *
661
  * @param string $filterAdClientId Ad clients to list accounts for.
662
  * @param array $optParams Optional parameters.
663
+ * @return Forminator_Google_Service_AdSenseHost_Accounts
664
  */
665
  public function listAccounts($filterAdClientId, $optParams = array())
666
  {
667
  $params = array('filterAdClientId' => $filterAdClientId);
668
  $params = array_merge($params, $optParams);
669
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSenseHost_Accounts");
670
  }
671
  }
672
 
674
  * The "adclients" collection of methods.
675
  * Typical usage is:
676
  * <code>
677
+ * $adsensehostService = new Forminator_Google_Service_AdSenseHost(...);
678
  * $adclients = $adsensehostService->adclients;
679
  * </code>
680
  */
681
+ class Forminator_Google_Service_AdSenseHost_AccountsAdclients_Resource extends Forminator_Google_Service_Resource
682
  {
683
 
684
  /**
688
  * @param string $accountId Account which contains the ad client.
689
  * @param string $adClientId Ad client to get.
690
  * @param array $optParams Optional parameters.
691
+ * @return Forminator_Google_Service_AdSenseHost_AdClient
692
  */
693
  public function get($accountId, $adClientId, $optParams = array())
694
  {
695
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
696
  $params = array_merge($params, $optParams);
697
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSenseHost_AdClient");
698
  }
699
 
700
  /**
709
  * @opt_param string pageToken A continuation token, used to page through ad
710
  * clients. To retrieve the next page, set this parameter to the value of
711
  * "nextPageToken" from the previous response.
712
+ * @return Forminator_Google_Service_AdSenseHost_AdClients
713
  */
714
  public function listAccountsAdclients($accountId, $optParams = array())
715
  {
716
  $params = array('accountId' => $accountId);
717
  $params = array_merge($params, $optParams);
718
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSenseHost_AdClients");
719
  }
720
  }
721
  /**
722
  * The "adunits" collection of methods.
723
  * Typical usage is:
724
  * <code>
725
+ * $adsensehostService = new Forminator_Google_Service_AdSenseHost(...);
726
  * $adunits = $adsensehostService->adunits;
727
  * </code>
728
  */
729
+ class Forminator_Google_Service_AdSenseHost_AccountsAdunits_Resource extends Forminator_Google_Service_Resource
730
  {
731
 
732
  /**
737
  * @param string $adClientId Ad client for which to get ad unit.
738
  * @param string $adUnitId Ad unit to delete.
739
  * @param array $optParams Optional parameters.
740
+ * @return Forminator_Google_Service_AdSenseHost_AdUnit
741
  */
742
  public function delete($accountId, $adClientId, $adUnitId, $optParams = array())
743
  {
744
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
745
  $params = array_merge($params, $optParams);
746
+ return $this->call('delete', array($params), "Forminator_Google_Service_AdSenseHost_AdUnit");
747
  }
748
 
749
  /**
753
  * @param string $adClientId Ad client for which to get ad unit.
754
  * @param string $adUnitId Ad unit to get.
755
  * @param array $optParams Optional parameters.
756
+ * @return Forminator_Google_Service_AdSenseHost_AdUnit
757
  */
758
  public function get($accountId, $adClientId, $adUnitId, $optParams = array())
759
  {
760
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
761
  $params = array_merge($params, $optParams);
762
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSenseHost_AdUnit");
763
  }
764
 
765
  /**
773
  *
774
  * @opt_param string hostCustomChannelId Host custom channel to attach to the ad
775
  * code.
776
+ * @return Forminator_Google_Service_AdSenseHost_AdCode
777
  */
778
  public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
779
  {
780
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
781
  $params = array_merge($params, $optParams);
782
+ return $this->call('getAdCode', array($params), "Forminator_Google_Service_AdSenseHost_AdCode");
783
  }
784
 
785
  /**
788
  *
789
  * @param string $accountId Account which will contain the ad unit.
790
  * @param string $adClientId Ad client into which to insert the ad unit.
791
+ * @param Forminator_Google_AdUnit $postBody
792
  * @param array $optParams Optional parameters.
793
+ * @return Forminator_Google_Service_AdSenseHost_AdUnit
794
  */
795
+ public function insert($accountId, $adClientId, Forminator_Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array())
796
  {
797
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody);
798
  $params = array_merge($params, $optParams);
799
+ return $this->call('insert', array($params), "Forminator_Google_Service_AdSenseHost_AdUnit");
800
  }
801
 
802
  /**
814
  * @opt_param string pageToken A continuation token, used to page through ad
815
  * units. To retrieve the next page, set this parameter to the value of
816
  * "nextPageToken" from the previous response.
817
+ * @return Forminator_Google_Service_AdSenseHost_AdUnits
818
  */
819
  public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
820
  {
821
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
822
  $params = array_merge($params, $optParams);
823
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSenseHost_AdUnits");
824
  }
825
 
826
  /**
830
  * @param string $accountId Account which contains the ad client.
831
  * @param string $adClientId Ad client which contains the ad unit.
832
  * @param string $adUnitId Ad unit to get.
833
+ * @param Forminator_Google_AdUnit $postBody
834
  * @param array $optParams Optional parameters.
835
+ * @return Forminator_Google_Service_AdSenseHost_AdUnit
836
  */
837
+ public function patch($accountId, $adClientId, $adUnitId, Forminator_Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array())
838
  {
839
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId, 'postBody' => $postBody);
840
  $params = array_merge($params, $optParams);
841
+ return $this->call('patch', array($params), "Forminator_Google_Service_AdSenseHost_AdUnit");
842
  }
843
 
844
  /**
847
  *
848
  * @param string $accountId Account which contains the ad client.
849
  * @param string $adClientId Ad client which contains the ad unit.
850
+ * @param Forminator_Google_AdUnit $postBody
851
  * @param array $optParams Optional parameters.
852
+ * @return Forminator_Google_Service_AdSenseHost_AdUnit
853
  */
854
+ public function update($accountId, $adClientId, Forminator_Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array())
855
  {
856
  $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody);
857
  $params = array_merge($params, $optParams);
858
+ return $this->call('update', array($params), "Forminator_Google_Service_AdSenseHost_AdUnit");
859
  }
860
  }
861
  /**
862
  * The "reports" collection of methods.
863
  * Typical usage is:
864
  * <code>
865
+ * $adsensehostService = new Forminator_Google_Service_AdSenseHost(...);
866
  * $reports = $adsensehostService->reports;
867
  * </code>
868
  */
869
+ class Forminator_Google_Service_AdSenseHost_AccountsReports_Resource extends Forminator_Google_Service_Resource
870
  {
871
 
872
  /**
892
  * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
893
  * sort descending. If no prefix is specified, the column is sorted ascending.
894
  * @opt_param string startIndex Index of the first row of report data to return.
895
+ * @return Forminator_Google_Service_AdSenseHost_Report
896
  */
897
  public function generate($accountId, $startDate, $endDate, $optParams = array())
898
  {
899
  $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
900
  $params = array_merge($params, $optParams);
901
+ return $this->call('generate', array($params), "Forminator_Google_Service_AdSenseHost_Report");
902
  }
903
  }
904
 
906
  * The "adclients" collection of methods.
907
  * Typical usage is:
908
  * <code>
909
+ * $adsensehostService = new Forminator_Google_Service_AdSenseHost(...);
910
  * $adclients = $adsensehostService->adclients;
911
  * </code>
912
  */
913
+ class Forminator_Google_Service_AdSenseHost_Adclients_Resource extends Forminator_Google_Service_Resource
914
  {
915
 
916
  /**
919
  *
920
  * @param string $adClientId Ad client to get.
921
  * @param array $optParams Optional parameters.
922
+ * @return Forminator_Google_Service_AdSenseHost_AdClient
923
  */
924
  public function get($adClientId, $optParams = array())
925
  {
926
  $params = array('adClientId' => $adClientId);
927
  $params = array_merge($params, $optParams);
928
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSenseHost_AdClient");
929
  }
930
 
931
  /**
938
  * @opt_param string pageToken A continuation token, used to page through ad
939
  * clients. To retrieve the next page, set this parameter to the value of
940
  * "nextPageToken" from the previous response.
941
+ * @return Forminator_Google_Service_AdSenseHost_AdClients
942
  */
943
  public function listAdclients($optParams = array())
944
  {
945
  $params = array();
946
  $params = array_merge($params, $optParams);
947
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSenseHost_AdClients");
948
  }
949
  }
950
 
952
  * The "associationsessions" collection of methods.
953
  * Typical usage is:
954
  * <code>
955
+ * $adsensehostService = new Forminator_Google_Service_AdSenseHost(...);
956
  * $associationsessions = $adsensehostService->associationsessions;
957
  * </code>
958
  */
959
+ class Forminator_Google_Service_AdSenseHost_Associationsessions_Resource extends Forminator_Google_Service_Resource
960
  {
961
 
962
  /**
969
  *
970
  * @opt_param string userLocale The preferred locale of the user.
971
  * @opt_param string websiteLocale The locale of the user's hosted website.
972
+ * @return Forminator_Google_Service_AdSenseHost_AssociationSession
973
  */
974
  public function start($productCode, $websiteUrl, $optParams = array())
975
  {
976
  $params = array('productCode' => $productCode, 'websiteUrl' => $websiteUrl);
977
  $params = array_merge($params, $optParams);
978
+ return $this->call('start', array($params), "Forminator_Google_Service_AdSenseHost_AssociationSession");
979
  }
980
 
981
  /**
984
  *
985
  * @param string $token The token returned to the association callback URL.
986
  * @param array $optParams Optional parameters.
987
+ * @return Forminator_Google_Service_AdSenseHost_AssociationSession
988
  */
989
  public function verify($token, $optParams = array())
990
  {
991
  $params = array('token' => $token);
992
  $params = array_merge($params, $optParams);
993
+ return $this->call('verify', array($params), "Forminator_Google_Service_AdSenseHost_AssociationSession");
994
  }
995
  }
996
 
998
  * The "customchannels" collection of methods.
999
  * Typical usage is:
1000
  * <code>
1001
+ * $adsensehostService = new Forminator_Google_Service_AdSenseHost(...);
1002
  * $customchannels = $adsensehostService->customchannels;
1003
  * </code>
1004
  */
1005
+ class Forminator_Google_Service_AdSenseHost_Customchannels_Resource extends Forminator_Google_Service_Resource
1006
  {
1007
 
1008
  /**
1012
  * @param string $adClientId Ad client from which to delete the custom channel.
1013
  * @param string $customChannelId Custom channel to delete.
1014
  * @param array $optParams Optional parameters.
1015
+ * @return Forminator_Google_Service_AdSenseHost_CustomChannel
1016
  */
1017
  public function delete($adClientId, $customChannelId, $optParams = array())
1018
  {
1019
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1020
  $params = array_merge($params, $optParams);
1021
+ return $this->call('delete', array($params), "Forminator_Google_Service_AdSenseHost_CustomChannel");
1022
  }
1023
 
1024
  /**
1028
  * @param string $adClientId Ad client from which to get the custom channel.
1029
  * @param string $customChannelId Custom channel to get.
1030
  * @param array $optParams Optional parameters.
1031
+ * @return Forminator_Google_Service_AdSenseHost_CustomChannel
1032
  */
1033
  public function get($adClientId, $customChannelId, $optParams = array())
1034
  {
1035
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1036
  $params = array_merge($params, $optParams);
1037
+ return $this->call('get', array($params), "Forminator_Google_Service_AdSenseHost_CustomChannel");
1038
  }
1039
 
1040
  /**
1042
  *
1043
  * @param string $adClientId Ad client to which the new custom channel will be
1044
  * added.
1045
+ * @param Forminator_Google_CustomChannel $postBody
1046
  * @param array $optParams Optional parameters.
1047
+ * @return Forminator_Google_Service_AdSenseHost_CustomChannel
1048
  */
1049
+ public function insert($adClientId, Forminator_Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
1050
  {
1051
  $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
1052
  $params = array_merge($params, $optParams);
1053
+ return $this->call('insert', array($params), "Forminator_Google_Service_AdSenseHost_CustomChannel");
1054
  }
1055
 
1056
  /**
1065
  * @opt_param string pageToken A continuation token, used to page through custom
1066
  * channels. To retrieve the next page, set this parameter to the value of
1067
  * "nextPageToken" from the previous response.
1068
+ * @return Forminator_Google_Service_AdSenseHost_CustomChannels
1069
  */
1070
  public function listCustomchannels($adClientId, $optParams = array())
1071
  {
1072
  $params = array('adClientId' => $adClientId);
1073
  $params = array_merge($params, $optParams);
1074
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSenseHost_CustomChannels");
1075
  }
1076
 
1077
  /**
1081
  * @param string $adClientId Ad client in which the custom channel will be
1082
  * updated.
1083
  * @param string $customChannelId Custom channel to get.
1084
+ * @param Forminator_Google_CustomChannel $postBody
1085
  * @param array $optParams Optional parameters.
1086
+ * @return Forminator_Google_Service_AdSenseHost_CustomChannel
1087
  */
1088
+ public function patch($adClientId, $customChannelId, Forminator_Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
1089
  {
1090
  $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId, 'postBody' => $postBody);
1091
  $params = array_merge($params, $optParams);
1092
+ return $this->call('patch', array($params), "Forminator_Google_Service_AdSenseHost_CustomChannel");
1093
  }
1094
 
1095
  /**
1097
  *
1098
  * @param string $adClientId Ad client in which the custom channel will be
1099
  * updated.
1100
+ * @param Forminator_Google_CustomChannel $postBody
1101
  * @param array $optParams Optional parameters.
1102
+ * @return Forminator_Google_Service_AdSenseHost_CustomChannel
1103
  */
1104
+ public function update($adClientId, Forminator_Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
1105
  {
1106
  $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
1107
  $params = array_merge($params, $optParams);
1108
+ return $this->call('update', array($params), "Forminator_Google_Service_AdSenseHost_CustomChannel");
1109
  }
1110
  }
1111
 
1113
  * The "reports" collection of methods.
1114
  * Typical usage is:
1115
  * <code>
1116
+ * $adsensehostService = new Forminator_Google_Service_AdSenseHost(...);
1117
  * $reports = $adsensehostService->reports;
1118
  * </code>
1119
  */
1120
+ class Forminator_Google_Service_AdSenseHost_Reports_Resource extends Forminator_Google_Service_Resource
1121
  {
1122
 
1123
  /**
1142
  * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
1143
  * sort descending. If no prefix is specified, the column is sorted ascending.
1144
  * @opt_param string startIndex Index of the first row of report data to return.
1145
+ * @return Forminator_Google_Service_AdSenseHost_Report
1146
  */
1147
  public function generate($startDate, $endDate, $optParams = array())
1148
  {
1149
  $params = array('startDate' => $startDate, 'endDate' => $endDate);
1150
  $params = array_merge($params, $optParams);
1151
+ return $this->call('generate', array($params), "Forminator_Google_Service_AdSenseHost_Report");
1152
  }
1153
  }
1154
 
1156
  * The "urlchannels" collection of methods.
1157
  * Typical usage is:
1158
  * <code>
1159
+ * $adsensehostService = new Forminator_Google_Service_AdSenseHost(...);
1160
  * $urlchannels = $adsensehostService->urlchannels;
1161
  * </code>
1162
  */
1163
+ class Forminator_Google_Service_AdSenseHost_Urlchannels_Resource extends Forminator_Google_Service_Resource
1164
  {
1165
 
1166
  /**
1169
  * @param string $adClientId Ad client from which to delete the URL channel.
1170
  * @param string $urlChannelId URL channel to delete.
1171
  * @param array $optParams Optional parameters.
1172
+ * @return Forminator_Google_Service_AdSenseHost_UrlChannel
1173
  */
1174
  public function delete($adClientId, $urlChannelId, $optParams = array())
1175
  {
1176
  $params = array('adClientId' => $adClientId, 'urlChannelId' => $urlChannelId);
1177
  $params = array_merge($params, $optParams);
1178
+ return $this->call('delete', array($params), "Forminator_Google_Service_AdSenseHost_UrlChannel");
1179
  }
1180
 
1181
  /**
1183
  *
1184
  * @param string $adClientId Ad client to which the new URL channel will be
1185
  * added.
1186
+ * @param Forminator_Google_UrlChannel $postBody
1187
  * @param array $optParams Optional parameters.
1188
+ * @return Forminator_Google_Service_AdSenseHost_UrlChannel
1189
  */
1190
+ public function insert($adClientId, Forminator_Google_Service_AdSenseHost_UrlChannel $postBody, $optParams = array())
1191
  {
1192
  $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
1193
  $params = array_merge($params, $optParams);
1194
+ return $this->call('insert', array($params), "Forminator_Google_Service_AdSenseHost_UrlChannel");
1195
  }
1196
 
1197
  /**
1206
  * @opt_param string pageToken A continuation token, used to page through URL
1207
  * channels. To retrieve the next page, set this parameter to the value of
1208
  * "nextPageToken" from the previous response.
1209
+ * @return Forminator_Google_Service_AdSenseHost_UrlChannels
1210
  */
1211
  public function listUrlchannels($adClientId, $optParams = array())
1212
  {
1213
  $params = array('adClientId' => $adClientId);
1214
  $params = array_merge($params, $optParams);
1215
+ return $this->call('list', array($params), "Forminator_Google_Service_AdSenseHost_UrlChannels");
1216
  }
1217
  }
1218
 
1219
 
1220
 
1221
 
1222
+ class Forminator_Google_Service_AdSenseHost_Account extends Forminator_Google_Model
1223
  {
1224
  protected $internal_gapi_mappings = array(
1225
  );
1263
  }
1264
  }
1265
 
1266
+ class Forminator_Google_Service_AdSenseHost_Accounts extends Forminator_Google_Collection
1267
  {
1268
  protected $collection_key = 'items';
1269
  protected $internal_gapi_mappings = array(
1270
  );
1271
  public $etag;
1272
+ protected $itemsType = 'Forminator_Google_Service_AdSenseHost_Account';
1273
  protected $itemsDataType = 'array';
1274
  public $kind;
1275
 
1300
  }
1301
  }
1302
 
1303
+ class Forminator_Google_Service_AdSenseHost_AdClient extends Forminator_Google_Model
1304
  {
1305
  protected $internal_gapi_mappings = array(
1306
  );
1353
  }
1354
  }
1355
 
1356
+ class Forminator_Google_Service_AdSenseHost_AdClients extends Forminator_Google_Collection
1357
  {
1358
  protected $collection_key = 'items';
1359
  protected $internal_gapi_mappings = array(
1360
  );
1361
  public $etag;
1362
+ protected $itemsType = 'Forminator_Google_Service_AdSenseHost_AdClient';
1363
  protected $itemsDataType = 'array';
1364
  public $kind;
1365
  public $nextPageToken;
1399
  }
1400
  }
1401
 
1402
+ class Forminator_Google_Service_AdSenseHost_AdCode extends Forminator_Google_Model
1403
  {
1404
  protected $internal_gapi_mappings = array(
1405
  );
1425
  }
1426
  }
1427
 
1428
+ class Forminator_Google_Service_AdSenseHost_AdStyle extends Forminator_Google_Model
1429
  {
1430
  protected $internal_gapi_mappings = array(
1431
  );
1432
+ protected $colorsType = 'Forminator_Google_Service_AdSenseHost_AdStyleColors';
1433
  protected $colorsDataType = '';
1434
  public $corners;
1435
+ protected $fontType = 'Forminator_Google_Service_AdSenseHost_AdStyleFont';
1436
  protected $fontDataType = '';
1437
  public $kind;
1438
 
1439
 
1440
+ public function setColors(Forminator_Google_Service_AdSenseHost_AdStyleColors $colors)
1441
  {
1442
  $this->colors = $colors;
1443
  }
1453
  {
1454
  return $this->corners;
1455
  }
1456
+ public function setFont(Forminator_Google_Service_AdSenseHost_AdStyleFont $font)
1457
  {
1458
  $this->font = $font;
1459
  }
1471
  }
1472
  }
1473
 
1474
+ class Forminator_Google_Service_AdSenseHost_AdStyleColors extends Forminator_Google_Model
1475
  {
1476
  protected $internal_gapi_mappings = array(
1477
  );
1524
  }
1525
  }
1526
 
1527
+ class Forminator_Google_Service_AdSenseHost_AdStyleFont extends Forminator_Google_Model
1528
  {
1529
  protected $internal_gapi_mappings = array(
1530
  );
1550
  }
1551
  }
1552
 
1553
+ class Forminator_Google_Service_AdSenseHost_AdUnit extends Forminator_Google_Model
1554
  {
1555
  protected $internal_gapi_mappings = array(
1556
  );
1557
  public $code;
1558
+ protected $contentAdsSettingsType = 'Forminator_Google_Service_AdSenseHost_AdUnitContentAdsSettings';
1559
  protected $contentAdsSettingsDataType = '';
1560
+ protected $customStyleType = 'Forminator_Google_Service_AdSenseHost_AdStyle';
1561
  protected $customStyleDataType = '';
1562
  public $id;
1563
  public $kind;
1564
+ protected $mobileContentAdsSettingsType = 'Forminator_Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings';
1565
  protected $mobileContentAdsSettingsDataType = '';
1566
  public $name;
1567
  public $status;
1575
  {
1576
  return $this->code;
1577
  }
1578
+ public function setContentAdsSettings(Forminator_Google_Service_AdSenseHost_AdUnitContentAdsSettings $contentAdsSettings)
1579
  {
1580
  $this->contentAdsSettings = $contentAdsSettings;
1581
  }
1583
  {
1584
  return $this->contentAdsSettings;
1585
  }
1586
+ public function setCustomStyle(Forminator_Google_Service_AdSenseHost_AdStyle $customStyle)
1587
  {
1588
  $this->customStyle = $customStyle;
1589
  }
1607
  {
1608
  return $this->kind;
1609
  }
1610
+ public function setMobileContentAdsSettings(Forminator_Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
1611
  {
1612
  $this->mobileContentAdsSettings = $mobileContentAdsSettings;
1613
  }
1633
  }
1634
  }
1635
 
1636
+ class Forminator_Google_Service_AdSenseHost_AdUnitContentAdsSettings extends Forminator_Google_Model
1637
  {
1638
  protected $internal_gapi_mappings = array(
1639
  );
1640
+ protected $backupOptionType = 'Forminator_Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption';
1641
  protected $backupOptionDataType = '';
1642
  public $size;
1643
  public $type;
1644
 
1645
 
1646
+ public function setBackupOption(Forminator_Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption $backupOption)
1647
  {
1648
  $this->backupOption = $backupOption;
1649
  }
1669
  }
1670
  }
1671
 
1672
+ class Forminator_Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption extends Forminator_Google_Model
1673
  {
1674
  protected $internal_gapi_mappings = array(
1675
  );
1704
  }
1705
  }
1706
 
1707
+ class Forminator_Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings extends Forminator_Google_Model
1708
  {
1709
  protected $internal_gapi_mappings = array(
1710
  );
1748
  }
1749
  }
1750
 
1751
+ class Forminator_Google_Service_AdSenseHost_AdUnits extends Forminator_Google_Collection
1752
  {
1753
  protected $collection_key = 'items';
1754
  protected $internal_gapi_mappings = array(
1755
  );
1756
  public $etag;
1757
+ protected $itemsType = 'Forminator_Google_Service_AdSenseHost_AdUnit';
1758
  protected $itemsDataType = 'array';
1759
  public $kind;
1760
  public $nextPageToken;
1794
  }
1795
  }
1796
 
1797
+ class Forminator_Google_Service_AdSenseHost_AssociationSession extends Forminator_Google_Collection
1798
  {
1799
  protected $collection_key = 'productCodes';
1800
  protected $internal_gapi_mappings = array(
1884
  }
1885
  }
1886
 
1887
+ class Forminator_Google_Service_AdSenseHost_CustomChannel extends Forminator_Google_Model
1888
  {
1889
  protected $internal_gapi_mappings = array(
1890
  );
1928
  }
1929
  }
1930
 
1931
+ class Forminator_Google_Service_AdSenseHost_CustomChannels extends Forminator_Google_Collection
1932
  {
1933
  protected $collection_key = 'items';
1934
  protected $internal_gapi_mappings = array(
1935
  );
1936
  public $etag;
1937
+ protected $itemsType = 'Forminator_Google_Service_AdSenseHost_CustomChannel';
1938
  protected $itemsDataType = 'array';
1939
  public $kind;
1940
  public $nextPageToken;
1974
  }
1975
  }
1976
 
1977
+ class Forminator_Google_Service_AdSenseHost_Report extends Forminator_Google_Collection
1978
  {
1979
  protected $collection_key = 'warnings';
1980
  protected $internal_gapi_mappings = array(
1981
  );
1982
  public $averages;
1983
+ protected $headersType = 'Forminator_Google_Service_AdSenseHost_ReportHeaders';
1984
  protected $headersDataType = 'array';
1985
  public $kind;
1986
  public $rows;
2047
  }
2048
  }
2049
 
2050
+ class Forminator_Google_Service_AdSenseHost_ReportHeaders extends Forminator_Google_Model
2051
  {
2052
  protected $internal_gapi_mappings = array(
2053
  );
2082
  }
2083
  }
2084
 
2085
+ class Forminator_Google_Service_AdSenseHost_UrlChannel extends Forminator_Google_Model
2086
  {
2087
  protected $internal_gapi_mappings = array(
2088
  );
2117
  }
2118
  }
2119
 
2120
+ class Forminator_Google_Service_AdSenseHost_UrlChannels extends Forminator_Google_Collection
2121
  {
2122
  protected $collection_key = 'items';
2123
  protected $internal_gapi_mappings = array(
2124
  );
2125
  public $etag;
2126
+ protected $itemsType = 'Forminator_Google_Service_AdSenseHost_UrlChannel';
2127
  protected $itemsDataType = 'array';
2128
  public $kind;
2129
  public $nextPageToken;
addons/pro/googlesheet/lib/external/Google/Service/Admin.php CHANGED
@@ -28,7 +28,7 @@
28
  *
29
  * @author Google, Inc.
30
  */
31
- class Google_Service_Admin extends Google_Service
32
  {
33
  /** Manage email messages of users on your domain. */
34
  const EMAIL_MIGRATION =
@@ -40,9 +40,9 @@ class Google_Service_Admin extends Google_Service
40
  /**
41
  * Constructs the internal representation of the Admin service.
42
  *
43
- * @param Google_Client $client
44
  */
45
- public function __construct(Google_Client $client)
46
  {
47
  parent::__construct($client);
48
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -50,7 +50,7 @@ class Google_Service_Admin extends Google_Service
50
  $this->version = 'email_migration_v2';
51
  $this->serviceName = 'admin';
52
 
53
- $this->mail = new Google_Service_Admin_Mail_Resource(
54
  $this,
55
  $this->serviceName,
56
  'mail',
@@ -78,21 +78,21 @@ class Google_Service_Admin extends Google_Service
78
  * The "mail" collection of methods.
79
  * Typical usage is:
80
  * <code>
81
- * $adminService = new Google_Service_Admin(...);
82
  * $mail = $adminService->mail;
83
  * </code>
84
  */
85
- class Google_Service_Admin_Mail_Resource extends Google_Service_Resource
86
  {
87
 
88
  /**
89
  * Insert Mail into Google's Gmail backends (mail.insert)
90
  *
91
  * @param string $userKey The email or immutable id of the user
92
- * @param Google_MailItem $postBody
93
  * @param array $optParams Optional parameters.
94
  */
95
- public function insert($userKey, Google_Service_Admin_MailItem $postBody, $optParams = array())
96
  {
97
  $params = array('userKey' => $userKey, 'postBody' => $postBody);
98
  $params = array_merge($params, $optParams);
@@ -103,7 +103,7 @@ class Google_Service_Admin_Mail_Resource extends Google_Service_Resource
103
 
104
 
105
 
106
- class Google_Service_Admin_MailItem extends Google_Collection
107
  {
108
  protected $collection_key = 'labels';
109
  protected $internal_gapi_mappings = array(
28
  *
29
  * @author Google, Inc.
30
  */
31
+ class Forminator_Google_Service_Admin extends Forminator_Google_Service
32
  {
33
  /** Manage email messages of users on your domain. */
34
  const EMAIL_MIGRATION =
40
  /**
41
  * Constructs the internal representation of the Admin service.
42
  *
43
+ * @param Forminator_Google_Client $client
44
  */
45
+ public function __construct(Forminator_Google_Client $client)
46
  {
47
  parent::__construct($client);
48
  $this->rootUrl = 'https://www.googleapis.com/';
50
  $this->version = 'email_migration_v2';
51
  $this->serviceName = 'admin';
52
 
53
+ $this->mail = new Forminator_Google_Service_Admin_Mail_Resource(
54
  $this,
55
  $this->serviceName,
56
  'mail',
78
  * The "mail" collection of methods.
79
  * Typical usage is:
80
  * <code>
81
+ * $adminService = new Forminator_Google_Service_Admin(...);
82
  * $mail = $adminService->mail;
83
  * </code>
84
  */
85
+ class Forminator_Google_Service_Admin_Mail_Resource extends Forminator_Google_Service_Resource
86
  {
87
 
88
  /**
89
  * Insert Mail into Google's Gmail backends (mail.insert)
90
  *
91
  * @param string $userKey The email or immutable id of the user
92
+ * @param Forminator_Google_MailItem $postBody
93
  * @param array $optParams Optional parameters.
94
  */
95
+ public function insert($userKey, Forminator_Google_Service_Admin_MailItem $postBody, $optParams = array())
96
  {
97
  $params = array('userKey' => $userKey, 'postBody' => $postBody);
98
  $params = array_merge($params, $optParams);
103
 
104
 
105
 
106
+ class Forminator_Google_Service_Admin_MailItem extends Forminator_Google_Collection
107
  {
108
  protected $collection_key = 'labels';
109
  protected $internal_gapi_mappings = array(
addons/pro/googlesheet/lib/external/Google/Service/Analytics.php CHANGED
@@ -26,7 +26,7 @@
26
  *
27
  * @author Google, Inc.
28
  */
29
- class Google_Service_Analytics extends Google_Service
30
  {
31
  /** View and manage your Google Analytics data. */
32
  const ANALYTICS =
@@ -75,9 +75,9 @@ class Google_Service_Analytics extends Google_Service
75
  /**
76
  * Constructs the internal representation of the Analytics service.
77
  *
78
- * @param Google_Client $client
79
  */
80
- public function __construct(Google_Client $client)
81
  {
82
  parent::__construct($client);
83
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -85,7 +85,7 @@ class Google_Service_Analytics extends Google_Service
85
  $this->version = 'v3';
86
  $this->serviceName = 'analytics';
87
 
88
- $this->data_ga = new Google_Service_Analytics_DataGa_Resource(
89
  $this,
90
  $this->serviceName,
91
  'ga',
@@ -156,7 +156,7 @@ class Google_Service_Analytics extends Google_Service
156
  )
157
  )
158
  );
159
- $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource(
160
  $this,
161
  $this->serviceName,
162
  'mcf',
@@ -215,7 +215,7 @@ class Google_Service_Analytics extends Google_Service
215
  )
216
  )
217
  );
218
- $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource(
219
  $this,
220
  $this->serviceName,
221
  'realtime',
@@ -256,7 +256,7 @@ class Google_Service_Analytics extends Google_Service
256
  )
257
  )
258
  );
259
- $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource(
260
  $this,
261
  $this->serviceName,
262
  'accountSummaries',
@@ -279,7 +279,7 @@ class Google_Service_Analytics extends Google_Service
279
  )
280
  )
281
  );
282
- $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource(
283
  $this,
284
  $this->serviceName,
285
  'accountUserLinks',
@@ -347,7 +347,7 @@ class Google_Service_Analytics extends Google_Service
347
  )
348
  )
349
  );
350
- $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource(
351
  $this,
352
  $this->serviceName,
353
  'accounts',
@@ -370,7 +370,7 @@ class Google_Service_Analytics extends Google_Service
370
  )
371
  )
372
  );
373
- $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource(
374
  $this,
375
  $this->serviceName,
376
  'customDataSources',
@@ -403,7 +403,7 @@ class Google_Service_Analytics extends Google_Service
403
  )
404
  )
405
  );
406
- $this->management_customDimensions = new Google_Service_Analytics_ManagementCustomDimensions_Resource(
407
  $this,
408
  $this->serviceName,
409
  'customDimensions',
@@ -519,7 +519,7 @@ class Google_Service_Analytics extends Google_Service
519
  )
520
  )
521
  );
522
- $this->management_customMetrics = new Google_Service_Analytics_ManagementCustomMetrics_Resource(
523
  $this,
524
  $this->serviceName,
525
  'customMetrics',
@@ -635,7 +635,7 @@ class Google_Service_Analytics extends Google_Service
635
  )
636
  )
637
  );
638
- $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource(
639
  $this,
640
  $this->serviceName,
641
  'experiments',
@@ -793,7 +793,7 @@ class Google_Service_Analytics extends Google_Service
793
  )
794
  )
795
  );
796
- $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource(
797
  $this,
798
  $this->serviceName,
799
  'filters',
@@ -891,7 +891,7 @@ class Google_Service_Analytics extends Google_Service
891
  )
892
  )
893
  );
894
- $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource(
895
  $this,
896
  $this->serviceName,
897
  'goals',
@@ -1024,7 +1024,7 @@ class Google_Service_Analytics extends Google_Service
1024
  )
1025
  )
1026
  );
1027
- $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource(
1028
  $this,
1029
  $this->serviceName,
1030
  'profileFilterLinks',
@@ -1182,7 +1182,7 @@ class Google_Service_Analytics extends Google_Service
1182
  )
1183
  )
1184
  );
1185
- $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource(
1186
  $this,
1187
  $this->serviceName,
1188
  'profileUserLinks',
@@ -1290,7 +1290,7 @@ class Google_Service_Analytics extends Google_Service
1290
  )
1291
  )
1292
  );
1293
- $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource(
1294
  $this,
1295
  $this->serviceName,
1296
  'profiles',
@@ -1418,7 +1418,7 @@ class Google_Service_Analytics extends Google_Service
1418
  )
1419
  )
1420
  );
1421
- $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource(
1422
  $this,
1423
  $this->serviceName,
1424
  'segments',
@@ -1441,7 +1441,7 @@ class Google_Service_Analytics extends Google_Service
1441
  )
1442
  )
1443
  );
1444
- $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource(
1445
  $this,
1446
  $this->serviceName,
1447
  'unsampledReports',
@@ -1549,7 +1549,7 @@ class Google_Service_Analytics extends Google_Service
1549
  )
1550
  )
1551
  );
1552
- $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource(
1553
  $this,
1554
  $this->serviceName,
1555
  'uploads',
@@ -1652,7 +1652,7 @@ class Google_Service_Analytics extends Google_Service
1652
  )
1653
  )
1654
  );
1655
- $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource(
1656
  $this,
1657
  $this->serviceName,
1658
  'webPropertyAdWordsLinks',
@@ -1780,7 +1780,7 @@ class Google_Service_Analytics extends Google_Service
1780
  )
1781
  )
1782
  );
1783
- $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource(
1784
  $this,
1785
  $this->serviceName,
1786
  'webproperties',
@@ -1863,7 +1863,7 @@ class Google_Service_Analytics extends Google_Service
1863
  )
1864
  )
1865
  );
1866
- $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource(
1867
  $this,
1868
  $this->serviceName,
1869
  'webpropertyUserLinks',
@@ -1951,7 +1951,7 @@ class Google_Service_Analytics extends Google_Service
1951
  )
1952
  )
1953
  );
1954
- $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource(
1955
  $this,
1956
  $this->serviceName,
1957
  'columns',
@@ -1971,7 +1971,7 @@ class Google_Service_Analytics extends Google_Service
1971
  )
1972
  )
1973
  );
1974
- $this->provisioning = new Google_Service_Analytics_Provisioning_Resource(
1975
  $this,
1976
  $this->serviceName,
1977
  'provisioning',
@@ -1993,11 +1993,11 @@ class Google_Service_Analytics extends Google_Service
1993
  * The "data" collection of methods.
1994
  * Typical usage is:
1995
  * <code>
1996
- * $analyticsService = new Google_Service_Analytics(...);
1997
  * $data = $analyticsService->data;
1998
  * </code>
1999
  */
2000
- class Google_Service_Analytics_Data_Resource extends Google_Service_Resource
2001
  {
2002
  }
2003
 
@@ -2005,11 +2005,11 @@ class Google_Service_Analytics_Data_Resource extends Google_Service_Resource
2005
  * The "ga" collection of methods.
2006
  * Typical usage is:
2007
  * <code>
2008
- * $analyticsService = new Google_Service_Analytics(...);
2009
  * $ga = $analyticsService->ga;
2010
  * </code>
2011
  */
2012
- class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource
2013
  {
2014
 
2015
  /**
@@ -2043,24 +2043,24 @@ class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource
2043
  * determine the sort order for Analytics data.
2044
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2045
  * parameter as a pagination mechanism along with the max-results parameter.
2046
- * @return Google_Service_Analytics_GaData
2047
  */
2048
  public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
2049
  {
2050
  $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
2051
  $params = array_merge($params, $optParams);
2052
- return $this->call('get', array($params), "Google_Service_Analytics_GaData");
2053
  }
2054
  }
2055
  /**
2056
  * The "mcf" collection of methods.
2057
  * Typical usage is:
2058
  * <code>
2059
- * $analyticsService = new Google_Service_Analytics(...);
2060
  * $mcf = $analyticsService->mcf;
2061
  * </code>
2062
  */
2063
- class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource
2064
  {
2065
 
2066
  /**
@@ -2090,24 +2090,24 @@ class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource
2090
  * determine the sort order for the Analytics data.
2091
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2092
  * parameter as a pagination mechanism along with the max-results parameter.
2093
- * @return Google_Service_Analytics_McfData
2094
  */
2095
  public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
2096
  {
2097
  $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
2098
  $params = array_merge($params, $optParams);
2099
- return $this->call('get', array($params), "Google_Service_Analytics_McfData");
2100
  }
2101
  }
2102
  /**
2103
  * The "realtime" collection of methods.
2104
  * Typical usage is:
2105
  * <code>
2106
- * $analyticsService = new Google_Service_Analytics(...);
2107
  * $realtime = $analyticsService->realtime;
2108
  * </code>
2109
  */
2110
- class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource
2111
  {
2112
 
2113
  /**
@@ -2127,13 +2127,13 @@ class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Reso
2127
  * feed.
2128
  * @opt_param string sort A comma-separated list of dimensions or metrics that
2129
  * determine the sort order for real time data.
2130
- * @return Google_Service_Analytics_RealtimeData
2131
  */
2132
  public function get($ids, $metrics, $optParams = array())
2133
  {
2134
  $params = array('ids' => $ids, 'metrics' => $metrics);
2135
  $params = array_merge($params, $optParams);
2136
- return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData");
2137
  }
2138
  }
2139
 
@@ -2141,11 +2141,11 @@ class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Reso
2141
  * The "management" collection of methods.
2142
  * Typical usage is:
2143
  * <code>
2144
- * $analyticsService = new Google_Service_Analytics(...);
2145
  * $management = $analyticsService->management;
2146
  * </code>
2147
  */
2148
- class Google_Service_Analytics_Management_Resource extends Google_Service_Resource
2149
  {
2150
  }
2151
 
@@ -2153,11 +2153,11 @@ class Google_Service_Analytics_Management_Resource extends Google_Service_Resour
2153
  * The "accountSummaries" collection of methods.
2154
  * Typical usage is:
2155
  * <code>
2156
- * $analyticsService = new Google_Service_Analytics(...);
2157
  * $accountSummaries = $analyticsService->accountSummaries;
2158
  * </code>
2159
  */
2160
- class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource
2161
  {
2162
 
2163
  /**
@@ -2171,24 +2171,24 @@ class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Googl
2171
  * in this response, where the largest acceptable value is 1000.
2172
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2173
  * parameter as a pagination mechanism along with the max-results parameter.
2174
- * @return Google_Service_Analytics_AccountSummaries
2175
  */
2176
  public function listManagementAccountSummaries($optParams = array())
2177
  {
2178
  $params = array();
2179
  $params = array_merge($params, $optParams);
2180
- return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
2181
  }
2182
  }
2183
  /**
2184
  * The "accountUserLinks" collection of methods.
2185
  * Typical usage is:
2186
  * <code>
2187
- * $analyticsService = new Google_Service_Analytics(...);
2188
  * $accountUserLinks = $analyticsService->accountUserLinks;
2189
  * </code>
2190
  */
2191
- class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource
2192
  {
2193
 
2194
  /**
@@ -2209,15 +2209,15 @@ class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Googl
2209
  * Adds a new user to the given account. (accountUserLinks.insert)
2210
  *
2211
  * @param string $accountId Account ID to create the user link for.
2212
- * @param Google_EntityUserLink $postBody
2213
  * @param array $optParams Optional parameters.
2214
- * @return Google_Service_Analytics_EntityUserLink
2215
  */
2216
- public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2217
  {
2218
  $params = array('accountId' => $accountId, 'postBody' => $postBody);
2219
  $params = array_merge($params, $optParams);
2220
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
2221
  }
2222
 
2223
  /**
@@ -2232,13 +2232,13 @@ class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Googl
2232
  * @opt_param int start-index An index of the first account-user link to
2233
  * retrieve. Use this parameter as a pagination mechanism along with the max-
2234
  * results parameter.
2235
- * @return Google_Service_Analytics_EntityUserLinks
2236
  */
2237
  public function listManagementAccountUserLinks($accountId, $optParams = array())
2238
  {
2239
  $params = array('accountId' => $accountId);
2240
  $params = array_merge($params, $optParams);
2241
- return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
2242
  }
2243
 
2244
  /**
@@ -2247,26 +2247,26 @@ class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Googl
2247
  *
2248
  * @param string $accountId Account ID to update the account-user link for.
2249
  * @param string $linkId Link ID to update the account-user link for.
2250
- * @param Google_EntityUserLink $postBody
2251
  * @param array $optParams Optional parameters.
2252
- * @return Google_Service_Analytics_EntityUserLink
2253
  */
2254
- public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2255
  {
2256
  $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
2257
  $params = array_merge($params, $optParams);
2258
- return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
2259
  }
2260
  }
2261
  /**
2262
  * The "accounts" collection of methods.
2263
  * Typical usage is:
2264
  * <code>
2265
- * $analyticsService = new Google_Service_Analytics(...);
2266
  * $accounts = $analyticsService->accounts;
2267
  * </code>
2268
  */
2269
- class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource
2270
  {
2271
 
2272
  /**
@@ -2280,24 +2280,24 @@ class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Servic
2280
  * @opt_param int start-index An index of the first account to retrieve. Use
2281
  * this parameter as a pagination mechanism along with the max-results
2282
  * parameter.
2283
- * @return Google_Service_Analytics_Accounts
2284
  */
2285
  public function listManagementAccounts($optParams = array())
2286
  {
2287
  $params = array();
2288
  $params = array_merge($params, $optParams);
2289
- return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
2290
  }
2291
  }
2292
  /**
2293
  * The "customDataSources" collection of methods.
2294
  * Typical usage is:
2295
  * <code>
2296
- * $analyticsService = new Google_Service_Analytics(...);
2297
  * $customDataSources = $analyticsService->customDataSources;
2298
  * </code>
2299
  */
2300
- class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource
2301
  {
2302
 
2303
  /**
@@ -2314,24 +2314,24 @@ class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Goog
2314
  * @opt_param int start-index A 1-based index of the first custom data source to
2315
  * retrieve. Use this parameter as a pagination mechanism along with the max-
2316
  * results parameter.
2317
- * @return Google_Service_Analytics_CustomDataSources
2318
  */
2319
  public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
2320
  {
2321
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2322
  $params = array_merge($params, $optParams);
2323
- return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources");
2324
  }
2325
  }
2326
  /**
2327
  * The "customDimensions" collection of methods.
2328
  * Typical usage is:
2329
  * <code>
2330
- * $analyticsService = new Google_Service_Analytics(...);
2331
  * $customDimensions = $analyticsService->customDimensions;
2332
  * </code>
2333
  */
2334
- class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Google_Service_Resource
2335
  {
2336
 
2337
  /**
@@ -2342,13 +2342,13 @@ class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Googl
2342
  * retrieve.
2343
  * @param string $customDimensionId The ID of the custom dimension to retrieve.
2344
  * @param array $optParams Optional parameters.
2345
- * @return Google_Service_Analytics_CustomDimension
2346
  */
2347
  public function get($accountId, $webPropertyId, $customDimensionId, $optParams = array())
2348
  {
2349
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId);
2350
  $params = array_merge($params, $optParams);
2351
- return $this->call('get', array($params), "Google_Service_Analytics_CustomDimension");
2352
  }
2353
 
2354
  /**
@@ -2357,15 +2357,15 @@ class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Googl
2357
  * @param string $accountId Account ID for the custom dimension to create.
2358
  * @param string $webPropertyId Web property ID for the custom dimension to
2359
  * create.
2360
- * @param Google_CustomDimension $postBody
2361
  * @param array $optParams Optional parameters.
2362
- * @return Google_Service_Analytics_CustomDimension
2363
  */
2364
- public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
2365
  {
2366
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2367
  $params = array_merge($params, $optParams);
2368
- return $this->call('insert', array($params), "Google_Service_Analytics_CustomDimension");
2369
  }
2370
 
2371
  /**
@@ -2381,13 +2381,13 @@ class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Googl
2381
  * in this response.
2382
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2383
  * parameter as a pagination mechanism along with the max-results parameter.
2384
- * @return Google_Service_Analytics_CustomDimensions
2385
  */
2386
  public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = array())
2387
  {
2388
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2389
  $params = array_merge($params, $optParams);
2390
- return $this->call('list', array($params), "Google_Service_Analytics_CustomDimensions");
2391
  }
2392
 
2393
  /**
@@ -2399,19 +2399,19 @@ class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Googl
2399
  * update.
2400
  * @param string $customDimensionId Custom dimension ID for the custom dimension
2401
  * to update.
2402
- * @param Google_CustomDimension $postBody
2403
  * @param array $optParams Optional parameters.
2404
  *
2405
  * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
2406
  * warnings related to the custom dimension being linked to a custom data source
2407
  * / data set.
2408
- * @return Google_Service_Analytics_CustomDimension
2409
  */
2410
- public function patch($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
2411
  {
2412
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
2413
  $params = array_merge($params, $optParams);
2414
- return $this->call('patch', array($params), "Google_Service_Analytics_CustomDimension");
2415
  }
2416
 
2417
  /**
@@ -2422,30 +2422,30 @@ class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Googl
2422
  * update.
2423
  * @param string $customDimensionId Custom dimension ID for the custom dimension
2424
  * to update.
2425
- * @param Google_CustomDimension $postBody
2426
  * @param array $optParams Optional parameters.
2427
  *
2428
  * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
2429
  * warnings related to the custom dimension being linked to a custom data source
2430
  * / data set.
2431
- * @return Google_Service_Analytics_CustomDimension
2432
  */
2433
- public function update($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
2434
  {
2435
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
2436
  $params = array_merge($params, $optParams);
2437
- return $this->call('update', array($params), "Google_Service_Analytics_CustomDimension");
2438
  }
2439
  }
2440
  /**
2441
  * The "customMetrics" collection of methods.
2442
  * Typical usage is:
2443
  * <code>
2444
- * $analyticsService = new Google_Service_Analytics(...);
2445
  * $customMetrics = $analyticsService->customMetrics;
2446
  * </code>
2447
  */
2448
- class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_Service_Resource
2449
  {
2450
 
2451
  /**
@@ -2456,13 +2456,13 @@ class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_S
2456
  * retrieve.
2457
  * @param string $customMetricId The ID of the custom metric to retrieve.
2458
  * @param array $optParams Optional parameters.
2459
- * @return Google_Service_Analytics_CustomMetric
2460
  */
2461
  public function get($accountId, $webPropertyId, $customMetricId, $optParams = array())
2462
  {
2463
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId);
2464
  $params = array_merge($params, $optParams);
2465
- return $this->call('get', array($params), "Google_Service_Analytics_CustomMetric");
2466
  }
2467
 
2468
  /**
@@ -2471,15 +2471,15 @@ class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_S
2471
  * @param string $accountId Account ID for the custom metric to create.
2472
  * @param string $webPropertyId Web property ID for the custom dimension to
2473
  * create.
2474
- * @param Google_CustomMetric $postBody
2475
  * @param array $optParams Optional parameters.
2476
- * @return Google_Service_Analytics_CustomMetric
2477
  */
2478
- public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
2479
  {
2480
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2481
  $params = array_merge($params, $optParams);
2482
- return $this->call('insert', array($params), "Google_Service_Analytics_CustomMetric");
2483
  }
2484
 
2485
  /**
@@ -2495,13 +2495,13 @@ class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_S
2495
  * this response.
2496
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2497
  * parameter as a pagination mechanism along with the max-results parameter.
2498
- * @return Google_Service_Analytics_CustomMetrics
2499
  */
2500
  public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = array())
2501
  {
2502
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2503
  $params = array_merge($params, $optParams);
2504
- return $this->call('list', array($params), "Google_Service_Analytics_CustomMetrics");
2505
  }
2506
 
2507
  /**
@@ -2512,19 +2512,19 @@ class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_S
2512
  * @param string $webPropertyId Web property ID for the custom metric to update.
2513
  * @param string $customMetricId Custom metric ID for the custom metric to
2514
  * update.
2515
- * @param Google_CustomMetric $postBody
2516
  * @param array $optParams Optional parameters.
2517
  *
2518
  * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
2519
  * warnings related to the custom metric being linked to a custom data source /
2520
  * data set.
2521
- * @return Google_Service_Analytics_CustomMetric
2522
  */
2523
- public function patch($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
2524
  {
2525
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
2526
  $params = array_merge($params, $optParams);
2527
- return $this->call('patch', array($params), "Google_Service_Analytics_CustomMetric");
2528
  }
2529
 
2530
  /**
@@ -2534,30 +2534,30 @@ class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_S
2534
  * @param string $webPropertyId Web property ID for the custom metric to update.
2535
  * @param string $customMetricId Custom metric ID for the custom metric to
2536
  * update.
2537
- * @param Google_CustomMetric $postBody
2538
  * @param array $optParams Optional parameters.
2539
  *
2540
  * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
2541
  * warnings related to the custom metric being linked to a custom data source /
2542
  * data set.
2543
- * @return Google_Service_Analytics_CustomMetric
2544
  */
2545
- public function update($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
2546
  {
2547
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
2548
  $params = array_merge($params, $optParams);
2549
- return $this->call('update', array($params), "Google_Service_Analytics_CustomMetric");
2550
  }
2551
  }
2552
  /**
2553
  * The "experiments" collection of methods.
2554
  * Typical usage is:
2555
  * <code>
2556
- * $analyticsService = new Google_Service_Analytics(...);
2557
  * $experiments = $analyticsService->experiments;
2558
  * </code>
2559
  */
2560
- class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource
2561
  {
2562
 
2563
  /**
@@ -2584,13 +2584,13 @@ class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Ser
2584
  * @param string $profileId View (Profile) ID to retrieve the experiment for.
2585
  * @param string $experimentId Experiment ID to retrieve the experiment for.
2586
  * @param array $optParams Optional parameters.
2587
- * @return Google_Service_Analytics_Experiment
2588
  */
2589
  public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
2590
  {
2591
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
2592
  $params = array_merge($params, $optParams);
2593
- return $this->call('get', array($params), "Google_Service_Analytics_Experiment");
2594
  }
2595
 
2596
  /**
@@ -2599,15 +2599,15 @@ class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Ser
2599
  * @param string $accountId Account ID to create the experiment for.
2600
  * @param string $webPropertyId Web property ID to create the experiment for.
2601
  * @param string $profileId View (Profile) ID to create the experiment for.
2602
- * @param Google_Experiment $postBody
2603
  * @param array $optParams Optional parameters.
2604
- * @return Google_Service_Analytics_Experiment
2605
  */
2606
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
2607
  {
2608
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2609
  $params = array_merge($params, $optParams);
2610
- return $this->call('insert', array($params), "Google_Service_Analytics_Experiment");
2611
  }
2612
 
2613
  /**
@@ -2624,13 +2624,13 @@ class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Ser
2624
  * @opt_param int start-index An index of the first experiment to retrieve. Use
2625
  * this parameter as a pagination mechanism along with the max-results
2626
  * parameter.
2627
- * @return Google_Service_Analytics_Experiments
2628
  */
2629
  public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
2630
  {
2631
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2632
  $params = array_merge($params, $optParams);
2633
- return $this->call('list', array($params), "Google_Service_Analytics_Experiments");
2634
  }
2635
 
2636
  /**
@@ -2641,15 +2641,15 @@ class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Ser
2641
  * @param string $webPropertyId Web property ID of the experiment to update.
2642
  * @param string $profileId View (Profile) ID of the experiment to update.
2643
  * @param string $experimentId Experiment ID of the experiment to update.
2644
- * @param Google_Experiment $postBody
2645
  * @param array $optParams Optional parameters.
2646
- * @return Google_Service_Analytics_Experiment
2647
  */
2648
- public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
2649
  {
2650
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
2651
  $params = array_merge($params, $optParams);
2652
- return $this->call('patch', array($params), "Google_Service_Analytics_Experiment");
2653
  }
2654
 
2655
  /**
@@ -2659,26 +2659,26 @@ class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Ser
2659
  * @param string $webPropertyId Web property ID of the experiment to update.
2660
  * @param string $profileId View (Profile) ID of the experiment to update.
2661
  * @param string $experimentId Experiment ID of the experiment to update.
2662
- * @param Google_Experiment $postBody
2663
  * @param array $optParams Optional parameters.
2664
- * @return Google_Service_Analytics_Experiment
2665
  */
2666
- public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
2667
  {
2668
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
2669
  $params = array_merge($params, $optParams);
2670
- return $this->call('update', array($params), "Google_Service_Analytics_Experiment");
2671
  }
2672
  }
2673
  /**
2674
  * The "filters" collection of methods.
2675
  * Typical usage is:
2676
  * <code>
2677
- * $analyticsService = new Google_Service_Analytics(...);
2678
  * $filters = $analyticsService->filters;
2679
  * </code>
2680
  */
2681
- class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service_Resource
2682
  {
2683
 
2684
  /**
@@ -2687,13 +2687,13 @@ class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service
2687
  * @param string $accountId Account ID to delete the filter for.
2688
  * @param string $filterId ID of the filter to be deleted.
2689
  * @param array $optParams Optional parameters.
2690
- * @return Google_Service_Analytics_Filter
2691
  */
2692
  public function delete($accountId, $filterId, $optParams = array())
2693
  {
2694
  $params = array('accountId' => $accountId, 'filterId' => $filterId);
2695
  $params = array_merge($params, $optParams);
2696
- return $this->call('delete', array($params), "Google_Service_Analytics_Filter");
2697
  }
2698
 
2699
  /**
@@ -2702,28 +2702,28 @@ class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service
2702
  * @param string $accountId Account ID to retrieve filters for.
2703
  * @param string $filterId Filter ID to retrieve filters for.
2704
  * @param array $optParams Optional parameters.
2705
- * @return Google_Service_Analytics_Filter
2706
  */
2707
  public function get($accountId, $filterId, $optParams = array())
2708
  {
2709
  $params = array('accountId' => $accountId, 'filterId' => $filterId);
2710
  $params = array_merge($params, $optParams);
2711
- return $this->call('get', array($params), "Google_Service_Analytics_Filter");
2712
  }
2713
 
2714
  /**
2715
  * Create a new filter. (filters.insert)
2716
  *
2717
  * @param string $accountId Account ID to create filter for.
2718
- * @param Google_Filter $postBody
2719
  * @param array $optParams Optional parameters.
2720
- * @return Google_Service_Analytics_Filter
2721
  */
2722
- public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array())
2723
  {
2724
  $params = array('accountId' => $accountId, 'postBody' => $postBody);
2725
  $params = array_merge($params, $optParams);
2726
- return $this->call('insert', array($params), "Google_Service_Analytics_Filter");
2727
  }
2728
 
2729
  /**
@@ -2736,13 +2736,13 @@ class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service
2736
  * response.
2737
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2738
  * parameter as a pagination mechanism along with the max-results parameter.
2739
- * @return Google_Service_Analytics_Filters
2740
  */
2741
  public function listManagementFilters($accountId, $optParams = array())
2742
  {
2743
  $params = array('accountId' => $accountId);
2744
  $params = array_merge($params, $optParams);
2745
- return $this->call('list', array($params), "Google_Service_Analytics_Filters");
2746
  }
2747
 
2748
  /**
@@ -2751,15 +2751,15 @@ class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service
2751
  *
2752
  * @param string $accountId Account ID to which the filter belongs.
2753
  * @param string $filterId ID of the filter to be updated.
2754
- * @param Google_Filter $postBody
2755
  * @param array $optParams Optional parameters.
2756
- * @return Google_Service_Analytics_Filter
2757
  */
2758
- public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
2759
  {
2760
  $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
2761
  $params = array_merge($params, $optParams);
2762
- return $this->call('patch', array($params), "Google_Service_Analytics_Filter");
2763
  }
2764
 
2765
  /**
@@ -2767,26 +2767,26 @@ class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service
2767
  *
2768
  * @param string $accountId Account ID to which the filter belongs.
2769
  * @param string $filterId ID of the filter to be updated.
2770
- * @param Google_Filter $postBody
2771
  * @param array $optParams Optional parameters.
2772
- * @return Google_Service_Analytics_Filter
2773
  */
2774
- public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
2775
  {
2776
  $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
2777
  $params = array_merge($params, $optParams);
2778
- return $this->call('update', array($params), "Google_Service_Analytics_Filter");
2779
  }
2780
  }
2781
  /**
2782
  * The "goals" collection of methods.
2783
  * Typical usage is:
2784
  * <code>
2785
- * $analyticsService = new Google_Service_Analytics(...);
2786
  * $goals = $analyticsService->goals;
2787
  * </code>
2788
  */
2789
- class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource
2790
  {
2791
 
2792
  /**
@@ -2797,13 +2797,13 @@ class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_R
2797
  * @param string $profileId View (Profile) ID to retrieve the goal for.
2798
  * @param string $goalId Goal ID to retrieve the goal for.
2799
  * @param array $optParams Optional parameters.
2800
- * @return Google_Service_Analytics_Goal
2801
  */
2802
  public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
2803
  {
2804
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
2805
  $params = array_merge($params, $optParams);
2806
- return $this->call('get', array($params), "Google_Service_Analytics_Goal");
2807
  }
2808
 
2809
  /**
@@ -2812,15 +2812,15 @@ class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_R
2812
  * @param string $accountId Account ID to create the goal for.
2813
  * @param string $webPropertyId Web property ID to create the goal for.
2814
  * @param string $profileId View (Profile) ID to create the goal for.
2815
- * @param Google_Goal $postBody
2816
  * @param array $optParams Optional parameters.
2817
- * @return Google_Service_Analytics_Goal
2818
  */
2819
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array())
2820
  {
2821
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2822
  $params = array_merge($params, $optParams);
2823
- return $this->call('insert', array($params), "Google_Service_Analytics_Goal");
2824
  }
2825
 
2826
  /**
@@ -2841,13 +2841,13 @@ class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_R
2841
  * response.
2842
  * @opt_param int start-index An index of the first goal to retrieve. Use this
2843
  * parameter as a pagination mechanism along with the max-results parameter.
2844
- * @return Google_Service_Analytics_Goals
2845
  */
2846
  public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
2847
  {
2848
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2849
  $params = array_merge($params, $optParams);
2850
- return $this->call('list', array($params), "Google_Service_Analytics_Goals");
2851
  }
2852
 
2853
  /**
@@ -2858,15 +2858,15 @@ class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_R
2858
  * @param string $webPropertyId Web property ID to update the goal.
2859
  * @param string $profileId View (Profile) ID to update the goal.
2860
  * @param string $goalId Index of the goal to be updated.
2861
- * @param Google_Goal $postBody
2862
  * @param array $optParams Optional parameters.
2863
- * @return Google_Service_Analytics_Goal
2864
  */
2865
- public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
2866
  {
2867
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
2868
  $params = array_merge($params, $optParams);
2869
- return $this->call('patch', array($params), "Google_Service_Analytics_Goal");
2870
  }
2871
 
2872
  /**
@@ -2876,26 +2876,26 @@ class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_R
2876
  * @param string $webPropertyId Web property ID to update the goal.
2877
  * @param string $profileId View (Profile) ID to update the goal.
2878
  * @param string $goalId Index of the goal to be updated.
2879
- * @param Google_Goal $postBody
2880
  * @param array $optParams Optional parameters.
2881
- * @return Google_Service_Analytics_Goal
2882
  */
2883
- public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
2884
  {
2885
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
2886
  $params = array_merge($params, $optParams);
2887
- return $this->call('update', array($params), "Google_Service_Analytics_Goal");
2888
  }
2889
  }
2890
  /**
2891
  * The "profileFilterLinks" collection of methods.
2892
  * Typical usage is:
2893
  * <code>
2894
- * $analyticsService = new Google_Service_Analytics(...);
2895
  * $profileFilterLinks = $analyticsService->profileFilterLinks;
2896
  * </code>
2897
  */
2898
- class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Google_Service_Resource
2899
  {
2900
 
2901
  /**
@@ -2924,13 +2924,13 @@ class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Goo
2924
  * @param string $profileId Profile ID to retrieve filter link for.
2925
  * @param string $linkId ID of the profile filter link.
2926
  * @param array $optParams Optional parameters.
2927
- * @return Google_Service_Analytics_ProfileFilterLink
2928
  */
2929
  public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
2930
  {
2931
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
2932
  $params = array_merge($params, $optParams);
2933
- return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink");
2934
  }
2935
 
2936
  /**
@@ -2940,15 +2940,15 @@ class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Goo
2940
  * @param string $webPropertyId Web property Id to create profile filter link
2941
  * for.
2942
  * @param string $profileId Profile ID to create filter link for.
2943
- * @param Google_ProfileFilterLink $postBody
2944
  * @param array $optParams Optional parameters.
2945
- * @return Google_Service_Analytics_ProfileFilterLink
2946
  */
2947
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2948
  {
2949
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2950
  $params = array_merge($params, $optParams);
2951
- return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink");
2952
  }
2953
 
2954
  /**
@@ -2968,13 +2968,13 @@ class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Goo
2968
  * include in this response.
2969
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2970
  * parameter as a pagination mechanism along with the max-results parameter.
2971
- * @return Google_Service_Analytics_ProfileFilterLinks
2972
  */
2973
  public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array())
2974
  {
2975
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2976
  $params = array_merge($params, $optParams);
2977
- return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks");
2978
  }
2979
 
2980
  /**
@@ -2986,15 +2986,15 @@ class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Goo
2986
  * belongs
2987
  * @param string $profileId Profile ID to which filter link belongs
2988
  * @param string $linkId ID of the profile filter link to be updated.
2989
- * @param Google_ProfileFilterLink $postBody
2990
  * @param array $optParams Optional parameters.
2991
- * @return Google_Service_Analytics_ProfileFilterLink
2992
  */
2993
- public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2994
  {
2995
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
2996
  $params = array_merge($params, $optParams);
2997
- return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink");
2998
  }
2999
 
3000
  /**
@@ -3005,26 +3005,26 @@ class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Goo
3005
  * belongs
3006
  * @param string $profileId Profile ID to which filter link belongs
3007
  * @param string $linkId ID of the profile filter link to be updated.
3008
- * @param Google_ProfileFilterLink $postBody
3009
  * @param array $optParams Optional parameters.
3010
- * @return Google_Service_Analytics_ProfileFilterLink
3011
  */
3012
- public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
3013
  {
3014
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
3015
  $params = array_merge($params, $optParams);
3016
- return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink");
3017
  }
3018
  }
3019
  /**
3020
  * The "profileUserLinks" collection of methods.
3021
  * Typical usage is:
3022
  * <code>
3023
- * $analyticsService = new Google_Service_Analytics(...);
3024
  * $profileUserLinks = $analyticsService->profileUserLinks;
3025
  * </code>
3026
  */
3027
- class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource
3028
  {
3029
 
3030
  /**
@@ -3049,15 +3049,15 @@ class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Googl
3049
  * @param string $accountId Account ID to create the user link for.
3050
  * @param string $webPropertyId Web Property ID to create the user link for.
3051
  * @param string $profileId View (Profile) ID to create the user link for.
3052
- * @param Google_EntityUserLink $postBody
3053
  * @param array $optParams Optional parameters.
3054
- * @return Google_Service_Analytics_EntityUserLink
3055
  */
3056
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3057
  {
3058
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3059
  $params = array_merge($params, $optParams);
3060
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
3061
  }
3062
 
3063
  /**
@@ -3079,13 +3079,13 @@ class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Googl
3079
  * @opt_param int start-index An index of the first profile-user link to
3080
  * retrieve. Use this parameter as a pagination mechanism along with the max-
3081
  * results parameter.
3082
- * @return Google_Service_Analytics_EntityUserLinks
3083
  */
3084
  public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
3085
  {
3086
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
3087
  $params = array_merge($params, $optParams);
3088
- return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
3089
  }
3090
 
3091
  /**
@@ -3096,26 +3096,26 @@ class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Googl
3096
  * @param string $webPropertyId Web Property ID to update the user link for.
3097
  * @param string $profileId View (Profile ID) to update the user link for.
3098
  * @param string $linkId Link ID to update the user link for.
3099
- * @param Google_EntityUserLink $postBody
3100
  * @param array $optParams Optional parameters.
3101
- * @return Google_Service_Analytics_EntityUserLink
3102
  */
3103
- public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3104
  {
3105
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
3106
  $params = array_merge($params, $optParams);
3107
- return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
3108
  }
3109
  }
3110
  /**
3111
  * The "profiles" collection of methods.
3112
  * Typical usage is:
3113
  * <code>
3114
- * $analyticsService = new Google_Service_Analytics(...);
3115
  * $profiles = $analyticsService->profiles;
3116
  * </code>
3117
  */
3118
- class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource
3119
  {
3120
 
3121
  /**
@@ -3141,13 +3141,13 @@ class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Servic
3141
  * @param string $webPropertyId Web property ID to retrieve the goal for.
3142
  * @param string $profileId View (Profile) ID to retrieve the goal for.
3143
  * @param array $optParams Optional parameters.
3144
- * @return Google_Service_Analytics_Profile
3145
  */
3146
  public function get($accountId, $webPropertyId, $profileId, $optParams = array())
3147
  {
3148
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
3149
  $params = array_merge($params, $optParams);
3150
- return $this->call('get', array($params), "Google_Service_Analytics_Profile");
3151
  }
3152
 
3153
  /**
@@ -3156,15 +3156,15 @@ class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Servic
3156
  * @param string $accountId Account ID to create the view (profile) for.
3157
  * @param string $webPropertyId Web property ID to create the view (profile)
3158
  * for.
3159
- * @param Google_Profile $postBody
3160
  * @param array $optParams Optional parameters.
3161
- * @return Google_Service_Analytics_Profile
3162
  */
3163
- public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array())
3164
  {
3165
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3166
  $params = array_merge($params, $optParams);
3167
- return $this->call('insert', array($params), "Google_Service_Analytics_Profile");
3168
  }
3169
 
3170
  /**
@@ -3183,13 +3183,13 @@ class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Servic
3183
  * in this response.
3184
  * @opt_param int start-index An index of the first entity to retrieve. Use this
3185
  * parameter as a pagination mechanism along with the max-results parameter.
3186
- * @return Google_Service_Analytics_Profiles
3187
  */
3188
  public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
3189
  {
3190
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3191
  $params = array_merge($params, $optParams);
3192
- return $this->call('list', array($params), "Google_Service_Analytics_Profiles");
3193
  }
3194
 
3195
  /**
@@ -3200,15 +3200,15 @@ class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Servic
3200
  * @param string $webPropertyId Web property ID to which the view (profile)
3201
  * belongs
3202
  * @param string $profileId ID of the view (profile) to be updated.
3203
- * @param Google_Profile $postBody
3204
  * @param array $optParams Optional parameters.
3205
- * @return Google_Service_Analytics_Profile
3206
  */
3207
- public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
3208
  {
3209
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3210
  $params = array_merge($params, $optParams);
3211
- return $this->call('patch', array($params), "Google_Service_Analytics_Profile");
3212
  }
3213
 
3214
  /**
@@ -3218,26 +3218,26 @@ class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Servic
3218
  * @param string $webPropertyId Web property ID to which the view (profile)
3219
  * belongs
3220
  * @param string $profileId ID of the view (profile) to be updated.
3221
- * @param Google_Profile $postBody
3222
  * @param array $optParams Optional parameters.
3223
- * @return Google_Service_Analytics_Profile
3224
  */
3225
- public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
3226
  {
3227
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3228
  $params = array_merge($params, $optParams);
3229
- return $this->call('update', array($params), "Google_Service_Analytics_Profile");
3230
  }
3231
  }
3232
  /**
3233
  * The "segments" collection of methods.
3234
  * Typical usage is:
3235
  * <code>
3236
- * $analyticsService = new Google_Service_Analytics(...);
3237
  * $segments = $analyticsService->segments;
3238
  * </code>
3239
  */
3240
- class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource
3241
  {
3242
 
3243
  /**
@@ -3251,24 +3251,24 @@ class Google_Service_Analytics_ManagementSegments_Resource extends Google_Servic
3251
  * @opt_param int start-index An index of the first segment to retrieve. Use
3252
  * this parameter as a pagination mechanism along with the max-results
3253
  * parameter.
3254
- * @return Google_Service_Analytics_Segments
3255
  */
3256
  public function listManagementSegments($optParams = array())
3257
  {
3258
  $params = array();
3259
  $params = array_merge($params, $optParams);
3260
- return $this->call('list', array($params), "Google_Service_Analytics_Segments");
3261
  }
3262
  }
3263
  /**
3264
  * The "unsampledReports" collection of methods.
3265
  * Typical usage is:
3266
  * <code>
3267
- * $analyticsService = new Google_Service_Analytics(...);
3268
  * $unsampledReports = $analyticsService->unsampledReports;
3269
  * </code>
3270
  */
3271
- class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Google_Service_Resource
3272
  {
3273
 
3274
  /**
@@ -3298,13 +3298,13 @@ class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Googl
3298
  * @param string $profileId View (Profile) ID to retrieve unsampled report for.
3299
  * @param string $unsampledReportId ID of the unsampled report to retrieve.
3300
  * @param array $optParams Optional parameters.
3301
- * @return Google_Service_Analytics_UnsampledReport
3302
  */
3303
  public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array())
3304
  {
3305
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId);
3306
  $params = array_merge($params, $optParams);
3307
- return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport");
3308
  }
3309
 
3310
  /**
@@ -3315,15 +3315,15 @@ class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Googl
3315
  * for.
3316
  * @param string $profileId View (Profile) ID to create the unsampled report
3317
  * for.
3318
- * @param Google_UnsampledReport $postBody
3319
  * @param array $optParams Optional parameters.
3320
- * @return Google_Service_Analytics_UnsampledReport
3321
  */
3322
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array())
3323
  {
3324
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3325
  $params = array_merge($params, $optParams);
3326
- return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport");
3327
  }
3328
 
3329
  /**
@@ -3343,24 +3343,24 @@ class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Googl
3343
  * @opt_param int start-index An index of the first unsampled report to
3344
  * retrieve. Use this parameter as a pagination mechanism along with the max-
3345
  * results parameter.
3346
- * @return Google_Service_Analytics_UnsampledReports
3347
  */
3348
  public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array())
3349
  {
3350
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
3351
  $params = array_merge($params, $optParams);
3352
- return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports");
3353
  }
3354
  }
3355
  /**
3356
  * The "uploads" collection of methods.
3357
  * Typical usage is:
3358
  * <code>
3359
- * $analyticsService = new Google_Service_Analytics(...);
3360
  * $uploads = $analyticsService->uploads;
3361
  * </code>
3362
  */
3363
- class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource
3364
  {
3365
 
3366
  /**
@@ -3370,10 +3370,10 @@ class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service
3370
  * @param string $webPropertyId Web property Id for the uploads to be deleted.
3371
  * @param string $customDataSourceId Custom data source Id for the uploads to be
3372
  * deleted.
3373
- * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
3374
  * @param array $optParams Optional parameters.
3375
  */
3376
- public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
3377
  {
3378
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
3379
  $params = array_merge($params, $optParams);
@@ -3389,13 +3389,13 @@ class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service
3389
  * retrieve.
3390
  * @param string $uploadId Upload Id to retrieve.
3391
  * @param array $optParams Optional parameters.
3392
- * @return Google_Service_Analytics_Upload
3393
  */
3394
  public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
3395
  {
3396
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
3397
  $params = array_merge($params, $optParams);
3398
- return $this->call('get', array($params), "Google_Service_Analytics_Upload");
3399
  }
3400
 
3401
  /**
@@ -3412,13 +3412,13 @@ class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service
3412
  * @opt_param int start-index A 1-based index of the first upload to retrieve.
3413
  * Use this parameter as a pagination mechanism along with the max-results
3414
  * parameter.
3415
- * @return Google_Service_Analytics_Uploads
3416
  */
3417
  public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
3418
  {
3419
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
3420
  $params = array_merge($params, $optParams);
3421
- return $this->call('list', array($params), "Google_Service_Analytics_Uploads");
3422
  }
3423
 
3424
  /**
@@ -3430,24 +3430,24 @@ class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service
3430
  * @param string $customDataSourceId Custom data source Id to which the data
3431
  * being uploaded belongs.
3432
  * @param array $optParams Optional parameters.
3433
- * @return Google_Service_Analytics_Upload
3434
  */
3435
  public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
3436
  {
3437
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
3438
  $params = array_merge($params, $optParams);
3439
- return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload");
3440
  }
3441
  }
3442
  /**
3443
  * The "webPropertyAdWordsLinks" collection of methods.
3444
  * Typical usage is:
3445
  * <code>
3446
- * $analyticsService = new Google_Service_Analytics(...);
3447
  * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
3448
  * </code>
3449
  */
3450
- class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Google_Service_Resource
3451
  {
3452
 
3453
  /**
@@ -3476,13 +3476,13 @@ class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extend
3476
  * for.
3477
  * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
3478
  * @param array $optParams Optional parameters.
3479
- * @return Google_Service_Analytics_EntityAdWordsLink
3480
  */
3481
  public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
3482
  {
3483
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
3484
  $params = array_merge($params, $optParams);
3485
- return $this->call('get', array($params), "Google_Service_Analytics_EntityAdWordsLink");
3486
  }
3487
 
3488
  /**
@@ -3491,15 +3491,15 @@ class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extend
3491
  * @param string $accountId ID of the Google Analytics account to create the
3492
  * link for.
3493
  * @param string $webPropertyId Web property ID to create the link for.
3494
- * @param Google_EntityAdWordsLink $postBody
3495
  * @param array $optParams Optional parameters.
3496
- * @return Google_Service_Analytics_EntityAdWordsLink
3497
  */
3498
- public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3499
  {
3500
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3501
  $params = array_merge($params, $optParams);
3502
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityAdWordsLink");
3503
  }
3504
 
3505
  /**
@@ -3517,13 +3517,13 @@ class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extend
3517
  * @opt_param int start-index An index of the first webProperty-AdWords link to
3518
  * retrieve. Use this parameter as a pagination mechanism along with the max-
3519
  * results parameter.
3520
- * @return Google_Service_Analytics_EntityAdWordsLinks
3521
  */
3522
  public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array())
3523
  {
3524
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3525
  $params = array_merge($params, $optParams);
3526
- return $this->call('list', array($params), "Google_Service_Analytics_EntityAdWordsLinks");
3527
  }
3528
 
3529
  /**
@@ -3535,15 +3535,15 @@ class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extend
3535
  * @param string $webPropertyId Web property ID to retrieve the AdWords link
3536
  * for.
3537
  * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
3538
- * @param Google_EntityAdWordsLink $postBody
3539
  * @param array $optParams Optional parameters.
3540
- * @return Google_Service_Analytics_EntityAdWordsLink
3541
  */
3542
- public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3543
  {
3544
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
3545
  $params = array_merge($params, $optParams);
3546
- return $this->call('patch', array($params), "Google_Service_Analytics_EntityAdWordsLink");
3547
  }
3548
 
3549
  /**
@@ -3555,26 +3555,26 @@ class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extend
3555
  * @param string $webPropertyId Web property ID to retrieve the AdWords link
3556
  * for.
3557
  * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
3558
- * @param Google_EntityAdWordsLink $postBody
3559
  * @param array $optParams Optional parameters.
3560
- * @return Google_Service_Analytics_EntityAdWordsLink
3561
  */
3562
- public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3563
  {
3564
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
3565
  $params = array_merge($params, $optParams);
3566
- return $this->call('update', array($params), "Google_Service_Analytics_EntityAdWordsLink");
3567
  }
3568
  }
3569
  /**
3570
  * The "webproperties" collection of methods.
3571
  * Typical usage is:
3572
  * <code>
3573
- * $analyticsService = new Google_Service_Analytics(...);
3574
  * $webproperties = $analyticsService->webproperties;
3575
  * </code>
3576
  */
3577
- class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource
3578
  {
3579
 
3580
  /**
@@ -3583,13 +3583,13 @@ class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_S
3583
  * @param string $accountId Account ID to retrieve the web property for.
3584
  * @param string $webPropertyId ID to retrieve the web property for.
3585
  * @param array $optParams Optional parameters.
3586
- * @return Google_Service_Analytics_Webproperty
3587
  */
3588
  public function get($accountId, $webPropertyId, $optParams = array())
3589
  {
3590
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3591
  $params = array_merge($params, $optParams);
3592
- return $this->call('get', array($params), "Google_Service_Analytics_Webproperty");
3593
  }
3594
 
3595
  /**
@@ -3598,15 +3598,15 @@ class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_S
3598
  * least one profile. (webproperties.insert)
3599
  *
3600
  * @param string $accountId Account ID to create the web property for.
3601
- * @param Google_Webproperty $postBody
3602
  * @param array $optParams Optional parameters.
3603
- * @return Google_Service_Analytics_Webproperty
3604
  */
3605
- public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
3606
  {
3607
  $params = array('accountId' => $accountId, 'postBody' => $postBody);
3608
  $params = array_merge($params, $optParams);
3609
- return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty");
3610
  }
3611
 
3612
  /**
@@ -3622,13 +3622,13 @@ class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_S
3622
  * this response.
3623
  * @opt_param int start-index An index of the first entity to retrieve. Use this
3624
  * parameter as a pagination mechanism along with the max-results parameter.
3625
- * @return Google_Service_Analytics_Webproperties
3626
  */
3627
  public function listManagementWebproperties($accountId, $optParams = array())
3628
  {
3629
  $params = array('accountId' => $accountId);
3630
  $params = array_merge($params, $optParams);
3631
- return $this->call('list', array($params), "Google_Service_Analytics_Webproperties");
3632
  }
3633
 
3634
  /**
@@ -3637,15 +3637,15 @@ class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_S
3637
  *
3638
  * @param string $accountId Account ID to which the web property belongs
3639
  * @param string $webPropertyId Web property ID
3640
- * @param Google_Webproperty $postBody
3641
  * @param array $optParams Optional parameters.
3642
- * @return Google_Service_Analytics_Webproperty
3643
  */
3644
- public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
3645
  {
3646
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3647
  $params = array_merge($params, $optParams);
3648
- return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty");
3649
  }
3650
 
3651
  /**
@@ -3653,26 +3653,26 @@ class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_S
3653
  *
3654
  * @param string $accountId Account ID to which the web property belongs
3655
  * @param string $webPropertyId Web property ID
3656
- * @param Google_Webproperty $postBody
3657
  * @param array $optParams Optional parameters.
3658
- * @return Google_Service_Analytics_Webproperty
3659
  */
3660
- public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
3661
  {
3662
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3663
  $params = array_merge($params, $optParams);
3664
- return $this->call('update', array($params), "Google_Service_Analytics_Webproperty");
3665
  }
3666
  }
3667
  /**
3668
  * The "webpropertyUserLinks" collection of methods.
3669
  * Typical usage is:
3670
  * <code>
3671
- * $analyticsService = new Google_Service_Analytics(...);
3672
  * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
3673
  * </code>
3674
  */
3675
- class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource
3676
  {
3677
 
3678
  /**
@@ -3695,15 +3695,15 @@ class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends G
3695
  *
3696
  * @param string $accountId Account ID to create the user link for.
3697
  * @param string $webPropertyId Web Property ID to create the user link for.
3698
- * @param Google_EntityUserLink $postBody
3699
  * @param array $optParams Optional parameters.
3700
- * @return Google_Service_Analytics_EntityUserLink
3701
  */
3702
- public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3703
  {
3704
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3705
  $params = array_merge($params, $optParams);
3706
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
3707
  }
3708
 
3709
  /**
@@ -3721,13 +3721,13 @@ class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends G
3721
  * @opt_param int start-index An index of the first webProperty-user link to
3722
  * retrieve. Use this parameter as a pagination mechanism along with the max-
3723
  * results parameter.
3724
- * @return Google_Service_Analytics_EntityUserLinks
3725
  */
3726
  public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
3727
  {
3728
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3729
  $params = array_merge($params, $optParams);
3730
- return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
3731
  }
3732
 
3733
  /**
@@ -3738,15 +3738,15 @@ class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends G
3738
  * @param string $webPropertyId Web property ID to update the account-user link
3739
  * for.
3740
  * @param string $linkId Link ID to update the account-user link for.
3741
- * @param Google_EntityUserLink $postBody
3742
  * @param array $optParams Optional parameters.
3743
- * @return Google_Service_Analytics_EntityUserLink
3744
  */
3745
- public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3746
  {
3747
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
3748
  $params = array_merge($params, $optParams);
3749
- return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
3750
  }
3751
  }
3752
 
@@ -3754,11 +3754,11 @@ class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends G
3754
  * The "metadata" collection of methods.
3755
  * Typical usage is:
3756
  * <code>
3757
- * $analyticsService = new Google_Service_Analytics(...);
3758
  * $metadata = $analyticsService->metadata;
3759
  * </code>
3760
  */
3761
- class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource
3762
  {
3763
  }
3764
 
@@ -3766,11 +3766,11 @@ class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource
3766
  * The "columns" collection of methods.
3767
  * Typical usage is:
3768
  * <code>
3769
- * $analyticsService = new Google_Service_Analytics(...);
3770
  * $columns = $analyticsService->columns;
3771
  * </code>
3772
  */
3773
- class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource
3774
  {
3775
 
3776
  /**
@@ -3779,13 +3779,13 @@ class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_R
3779
  * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga'
3780
  * corresponds to the Core Reporting API
3781
  * @param array $optParams Optional parameters.
3782
- * @return Google_Service_Analytics_Columns
3783
  */
3784
  public function listMetadataColumns($reportType, $optParams = array())
3785
  {
3786
  $params = array('reportType' => $reportType);
3787
  $params = array_merge($params, $optParams);
3788
- return $this->call('list', array($params), "Google_Service_Analytics_Columns");
3789
  }
3790
  }
3791
 
@@ -3793,48 +3793,48 @@ class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_R
3793
  * The "provisioning" collection of methods.
3794
  * Typical usage is:
3795
  * <code>
3796
- * $analyticsService = new Google_Service_Analytics(...);
3797
  * $provisioning = $analyticsService->provisioning;
3798
  * </code>
3799
  */
3800
- class Google_Service_Analytics_Provisioning_Resource extends Google_Service_Resource
3801
  {
3802
 
3803
  /**
3804
  * Creates an account ticket. (provisioning.createAccountTicket)
3805
  *
3806
- * @param Google_AccountTicket $postBody
3807
  * @param array $optParams Optional parameters.
3808
- * @return Google_Service_Analytics_AccountTicket
3809
  */
3810
- public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array())
3811
  {
3812
  $params = array('postBody' => $postBody);
3813
  $params = array_merge($params, $optParams);
3814
- return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket");
3815
  }
3816
  }
3817
 
3818
 
3819
 
3820
 
3821
- class Google_Service_Analytics_Account extends Google_Model
3822
  {
3823
  protected $internal_gapi_mappings = array(
3824
  );
3825
- protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
3826
  protected $childLinkDataType = '';
3827
  public $created;
3828
  public $id;
3829
  public $kind;
3830
  public $name;
3831
- protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
3832
  protected $permissionsDataType = '';
3833
  public $selfLink;
3834
  public $updated;
3835
 
3836
 
3837
- public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink)
3838
  {
3839
  $this->childLink = $childLink;
3840
  }
@@ -3874,7 +3874,7 @@ class Google_Service_Analytics_Account extends Google_Model
3874
  {
3875
  return $this->name;
3876
  }
3877
- public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions)
3878
  {
3879
  $this->permissions = $permissions;
3880
  }
@@ -3900,7 +3900,7 @@ class Google_Service_Analytics_Account extends Google_Model
3900
  }
3901
  }
3902
 
3903
- class Google_Service_Analytics_AccountChildLink extends Google_Model
3904
  {
3905
  protected $internal_gapi_mappings = array(
3906
  );
@@ -3926,7 +3926,7 @@ class Google_Service_Analytics_AccountChildLink extends Google_Model
3926
  }
3927
  }
3928
 
3929
- class Google_Service_Analytics_AccountPermissions extends Google_Collection
3930
  {
3931
  protected $collection_key = 'effective';
3932
  protected $internal_gapi_mappings = array(
@@ -3944,7 +3944,7 @@ class Google_Service_Analytics_AccountPermissions extends Google_Collection
3944
  }
3945
  }
3946
 
3947
- class Google_Service_Analytics_AccountRef extends Google_Model
3948
  {
3949
  protected $internal_gapi_mappings = array(
3950
  );
@@ -3988,12 +3988,12 @@ class Google_Service_Analytics_AccountRef extends Google_Model
3988
  }
3989
  }
3990
 
3991
- class Google_Service_Analytics_AccountSummaries extends Google_Collection
3992
  {
3993
  protected $collection_key = 'items';
3994
  protected $internal_gapi_mappings = array(
3995
  );
3996
- protected $itemsType = 'Google_Service_Analytics_AccountSummary';
3997
  protected $itemsDataType = 'array';
3998
  public $itemsPerPage;
3999
  public $kind;
@@ -4070,7 +4070,7 @@ class Google_Service_Analytics_AccountSummaries extends Google_Collection
4070
  }
4071
  }
4072
 
4073
- class Google_Service_Analytics_AccountSummary extends Google_Collection
4074
  {
4075
  protected $collection_key = 'webProperties';
4076
  protected $internal_gapi_mappings = array(
@@ -4078,7 +4078,7 @@ class Google_Service_Analytics_AccountSummary extends Google_Collection
4078
  public $id;
4079
  public $kind;
4080
  public $name;
4081
- protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
4082
  protected $webPropertiesDataType = 'array';
4083
 
4084
 
@@ -4116,22 +4116,22 @@ class Google_Service_Analytics_AccountSummary extends Google_Collection
4116
  }
4117
  }
4118
 
4119
- class Google_Service_Analytics_AccountTicket extends Google_Model
4120
  {
4121
  protected $internal_gapi_mappings = array(
4122
  );
4123
- protected $accountType = 'Google_Service_Analytics_Account';
4124
  protected $accountDataType = '';
4125
  public $id;
4126
  public $kind;
4127
- protected $profileType = 'Google_Service_Analytics_Profile';
4128
  protected $profileDataType = '';
4129
  public $redirectUri;
4130
- protected $webpropertyType = 'Google_Service_Analytics_Webproperty';
4131
  protected $webpropertyDataType = '';
4132
 
4133
 
4134
- public function setAccount(Google_Service_Analytics_Account $account)
4135
  {
4136
  $this->account = $account;
4137
  }
@@ -4155,7 +4155,7 @@ class Google_Service_Analytics_AccountTicket extends Google_Model
4155
  {
4156
  return $this->kind;
4157
  }
4158
- public function setProfile(Google_Service_Analytics_Profile $profile)
4159
  {
4160
  $this->profile = $profile;
4161
  }
@@ -4171,7 +4171,7 @@ class Google_Service_Analytics_AccountTicket extends Google_Model
4171
  {
4172
  return $this->redirectUri;
4173
  }
4174
- public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty)
4175
  {
4176
  $this->webproperty = $webproperty;
4177
  }
@@ -4181,12 +4181,12 @@ class Google_Service_Analytics_AccountTicket extends Google_Model
4181
  }
4182
  }
4183
 
4184
- class Google_Service_Analytics_Accounts extends Google_Collection
4185
  {
4186
  protected $collection_key = 'items';
4187
  protected $internal_gapi_mappings = array(
4188
  );
4189
- protected $itemsType = 'Google_Service_Analytics_Account';
4190
  protected $itemsDataType = 'array';
4191
  public $itemsPerPage;
4192
  public $kind;
@@ -4263,7 +4263,7 @@ class Google_Service_Analytics_Accounts extends Google_Collection
4263
  }
4264
  }
4265
 
4266
- class Google_Service_Analytics_AdWordsAccount extends Google_Model
4267
  {
4268
  protected $internal_gapi_mappings = array(
4269
  );
@@ -4298,7 +4298,7 @@ class Google_Service_Analytics_AdWordsAccount extends Google_Model
4298
  }
4299
  }
4300
 
4301
- class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
4302
  {
4303
  protected $collection_key = 'customDataImportUids';
4304
  protected $internal_gapi_mappings = array(
@@ -4316,7 +4316,7 @@ class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extend
4316
  }
4317
  }
4318
 
4319
- class Google_Service_Analytics_Column extends Google_Model
4320
  {
4321
  protected $internal_gapi_mappings = array(
4322
  );
@@ -4351,14 +4351,14 @@ class Google_Service_Analytics_Column extends Google_Model
4351
  }
4352
  }
4353
 
4354
- class Google_Service_Analytics_Columns extends Google_Collection
4355
  {
4356
  protected $collection_key = 'items';
4357
  protected $internal_gapi_mappings = array(
4358
  );
4359
  public $attributeNames;
4360
  public $etag;
4361
- protected $itemsType = 'Google_Service_Analytics_Column';
4362
  protected $itemsDataType = 'array';
4363
  public $kind;
4364
  public $totalResults;
@@ -4406,13 +4406,13 @@ class Google_Service_Analytics_Columns extends Google_Collection
4406
  }
4407
  }
4408
 
4409
- class Google_Service_Analytics_CustomDataSource extends Google_Collection
4410
  {
4411
  protected $collection_key = 'profilesLinked';
4412
  protected $internal_gapi_mappings = array(
4413
  );
4414
  public $accountId;
4415
- protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
4416
  protected $childLinkDataType = '';
4417
  public $created;
4418
  public $description;
@@ -4420,7 +4420,7 @@ class Google_Service_Analytics_CustomDataSource extends Google_Collection
4420
  public $importBehavior;
4421
  public $kind;
4422
  public $name;
4423
- protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink';
4424
  protected $parentLinkDataType = '';
4425
  public $profilesLinked;
4426
  public $selfLink;
@@ -4438,7 +4438,7 @@ class Google_Service_Analytics_CustomDataSource extends Google_Collection
4438
  {
4439
  return $this->accountId;
4440
  }
4441
- public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink)
4442
  {
4443
  $this->childLink = $childLink;
4444
  }
@@ -4494,7 +4494,7 @@ class Google_Service_Analytics_CustomDataSource extends Google_Collection
4494
  {
4495
  return $this->name;
4496
  }
4497
- public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
4498
  {
4499
  $this->parentLink = $parentLink;
4500
  }
@@ -4552,7 +4552,7 @@ class Google_Service_Analytics_CustomDataSource extends Google_Collection
4552
  }
4553
  }
4554
 
4555
- class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
4556
  {
4557
  protected $internal_gapi_mappings = array(
4558
  );
@@ -4578,7 +4578,7 @@ class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
4578
  }
4579
  }
4580
 
4581
- class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
4582
  {
4583
  protected $internal_gapi_mappings = array(
4584
  );
@@ -4604,12 +4604,12 @@ class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
4604
  }
4605
  }
4606
 
4607
- class Google_Service_Analytics_CustomDataSources extends Google_Collection
4608
  {
4609
  protected $collection_key = 'items';
4610
  protected $internal_gapi_mappings = array(
4611
  );
4612
- protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
4613
  protected $itemsDataType = 'array';
4614
  public $itemsPerPage;
4615
  public $kind;
@@ -4686,7 +4686,7 @@ class Google_Service_Analytics_CustomDataSources extends Google_Collection
4686
  }
4687
  }
4688
 
4689
- class Google_Service_Analytics_CustomDimension extends Google_Model
4690
  {
4691
  protected $internal_gapi_mappings = array(
4692
  );
@@ -4697,7 +4697,7 @@ class Google_Service_Analytics_CustomDimension extends Google_Model
4697
  public $index;
4698
  public $kind;
4699
  public $name;
4700
- protected $parentLinkType = 'Google_Service_Analytics_CustomDimensionParentLink';
4701
  protected $parentLinkDataType = '';
4702
  public $scope;
4703
  public $selfLink;
@@ -4761,7 +4761,7 @@ class Google_Service_Analytics_CustomDimension extends Google_Model
4761
  {
4762
  return $this->name;
4763
  }
4764
- public function setParentLink(Google_Service_Analytics_CustomDimensionParentLink $parentLink)
4765
  {
4766
  $this->parentLink = $parentLink;
4767
  }
@@ -4803,7 +4803,7 @@ class Google_Service_Analytics_CustomDimension extends Google_Model
4803
  }
4804
  }
4805
 
4806
- class Google_Service_Analytics_CustomDimensionParentLink extends Google_Model
4807
  {
4808
  protected $internal_gapi_mappings = array(
4809
  );
@@ -4829,12 +4829,12 @@ class Google_Service_Analytics_CustomDimensionParentLink extends Google_Model
4829
  }
4830
  }
4831
 
4832
- class Google_Service_Analytics_CustomDimensions extends Google_Collection
4833
  {
4834
  protected $collection_key = 'items';
4835
  protected $internal_gapi_mappings = array(
4836
  );
4837
- protected $itemsType = 'Google_Service_Analytics_CustomDimension';
4838
  protected $itemsDataType = 'array';
4839
  public $itemsPerPage;
4840
  public $kind;
@@ -4911,7 +4911,7 @@ class Google_Service_Analytics_CustomDimensions extends Google_Collection
4911
  }
4912
  }
4913
 
4914
- class Google_Service_Analytics_CustomMetric extends Google_Model
4915
  {
4916
  protected $internal_gapi_mappings = array(
4917
  "maxValue" => "max_value",
@@ -4926,7 +4926,7 @@ class Google_Service_Analytics_CustomMetric extends Google_Model
4926
  public $maxValue;
4927
  public $minValue;
4928
  public $name;
4929
- protected $parentLinkType = 'Google_Service_Analytics_CustomMetricParentLink';
4930
  protected $parentLinkDataType = '';
4931
  public $scope;
4932
  public $selfLink;
@@ -5007,7 +5007,7 @@ class Google_Service_Analytics_CustomMetric extends Google_Model
5007
  {
5008
  return $this->name;
5009
  }
5010
- public function setParentLink(Google_Service_Analytics_CustomMetricParentLink $parentLink)
5011
  {
5012
  $this->parentLink = $parentLink;
5013
  }
@@ -5057,7 +5057,7 @@ class Google_Service_Analytics_CustomMetric extends Google_Model
5057
  }
5058
  }
5059
 
5060
- class Google_Service_Analytics_CustomMetricParentLink extends Google_Model
5061
  {
5062
  protected $internal_gapi_mappings = array(
5063
  );
@@ -5083,12 +5083,12 @@ class Google_Service_Analytics_CustomMetricParentLink extends Google_Model
5083
  }
5084
  }
5085
 
5086
- class Google_Service_Analytics_CustomMetrics extends Google_Collection
5087
  {
5088
  protected $collection_key = 'items';
5089
  protected $internal_gapi_mappings = array(
5090
  );
5091
- protected $itemsType = 'Google_Service_Analytics_CustomMetric';
5092
  protected $itemsDataType = 'array';
5093
  public $itemsPerPage;
5094
  public $kind;
@@ -5165,14 +5165,14 @@ class Google_Service_Analytics_CustomMetrics extends Google_Collection
5165
  }
5166
  }
5167
 
5168
- class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
5169
  {
5170
  protected $collection_key = 'profileIds';
5171
  protected $internal_gapi_mappings = array(
5172
  );
5173
- protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount';
5174
  protected $adWordsAccountsDataType = 'array';
5175
- protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity';
5176
  protected $entityDataType = '';
5177
  public $id;
5178
  public $kind;
@@ -5189,7 +5189,7 @@ class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
5189
  {
5190
  return $this->adWordsAccounts;
5191
  }
5192
- public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity)
5193
  {
5194
  $this->entity = $entity;
5195
  }
@@ -5239,15 +5239,15 @@ class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
5239
  }
5240
  }
5241
 
5242
- class Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model
5243
  {
5244
  protected $internal_gapi_mappings = array(
5245
  );
5246
- protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
5247
  protected $webPropertyRefDataType = '';
5248
 
5249
 
5250
- public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
5251
  {
5252
  $this->webPropertyRef = $webPropertyRef;
5253
  }
@@ -5257,12 +5257,12 @@ class Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model
5257
  }
5258
  }
5259
 
5260
- class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection
5261
  {
5262
  protected $collection_key = 'items';
5263
  protected $internal_gapi_mappings = array(
5264
  );
5265
- protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink';
5266
  protected $itemsDataType = 'array';
5267
  public $itemsPerPage;
5268
  public $kind;
@@ -5330,22 +5330,22 @@ class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection
5330
  }
5331
  }
5332
 
5333
- class Google_Service_Analytics_EntityUserLink extends Google_Model
5334
  {
5335
  protected $internal_gapi_mappings = array(
5336
  );
5337
- protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
5338
  protected $entityDataType = '';
5339
  public $id;
5340
  public $kind;
5341
- protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
5342
  protected $permissionsDataType = '';
5343
  public $selfLink;
5344
- protected $userRefType = 'Google_Service_Analytics_UserRef';
5345
  protected $userRefDataType = '';
5346
 
5347
 
5348
- public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity)
5349
  {
5350
  $this->entity = $entity;
5351
  }
@@ -5369,7 +5369,7 @@ class Google_Service_Analytics_EntityUserLink extends Google_Model
5369
  {
5370
  return $this->kind;
5371
  }
5372
- public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions)
5373
  {
5374
  $this->permissions = $permissions;
5375
  }
@@ -5385,7 +5385,7 @@ class Google_Service_Analytics_EntityUserLink extends Google_Model
5385
  {
5386
  return $this->selfLink;
5387
  }
5388
- public function setUserRef(Google_Service_Analytics_UserRef $userRef)
5389
  {
5390
  $this->userRef = $userRef;
5391
  }
@@ -5395,19 +5395,19 @@ class Google_Service_Analytics_EntityUserLink extends Google_Model
5395
  }
5396
  }
5397
 
5398
- class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
5399
  {
5400
  protected $internal_gapi_mappings = array(
5401
  );
5402
- protected $accountRefType = 'Google_Service_Analytics_AccountRef';
5403
  protected $accountRefDataType = '';
5404
- protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
5405
  protected $profileRefDataType = '';
5406
- protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
5407
  protected $webPropertyRefDataType = '';
5408
 
5409
 
5410
- public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef)
5411
  {
5412
  $this->accountRef = $accountRef;
5413
  }
@@ -5415,7 +5415,7 @@ class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
5415
  {
5416
  return $this->accountRef;
5417
  }
5418
- public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
5419
  {
5420
  $this->profileRef = $profileRef;
5421
  }
@@ -5423,7 +5423,7 @@ class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
5423
  {
5424
  return $this->profileRef;
5425
  }
5426
- public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
5427
  {
5428
  $this->webPropertyRef = $webPropertyRef;
5429
  }
@@ -5433,7 +5433,7 @@ class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
5433
  }
5434
  }
5435
 
5436
- class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
5437
  {
5438
  protected $collection_key = 'local';
5439
  protected $internal_gapi_mappings = array(
@@ -5460,12 +5460,12 @@ class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collecti
5460
  }
5461
  }
5462
 
5463
- class Google_Service_Analytics_EntityUserLinks extends Google_Collection
5464
  {
5465
  protected $collection_key = 'items';
5466
  protected $internal_gapi_mappings = array(
5467
  );
5468
- protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
5469
  protected $itemsDataType = 'array';
5470
  public $itemsPerPage;
5471
  public $kind;
@@ -5533,7 +5533,7 @@ class Google_Service_Analytics_EntityUserLinks extends Google_Collection
5533
  }
5534
  }
5535
 
5536
- class Google_Service_Analytics_Experiment extends Google_Collection
5537
  {
5538
  protected $collection_key = 'variations';
5539
  protected $internal_gapi_mappings = array(
@@ -5551,7 +5551,7 @@ class Google_Service_Analytics_Experiment extends Google_Collection
5551
  public $name;
5552
  public $objectiveMetric;
5553
  public $optimizationType;
5554
- protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink';
5555
  protected $parentLinkDataType = '';
5556
  public $profileId;
5557
  public $reasonExperimentEnded;
@@ -5563,7 +5563,7 @@ class Google_Service_Analytics_Experiment extends Google_Collection
5563
  public $status;
5564
  public $trafficCoverage;
5565
  public $updated;
5566
- protected $variationsType = 'Google_Service_Analytics_ExperimentVariations';
5567
  protected $variationsDataType = 'array';
5568
  public $webPropertyId;
5569
  public $winnerConfidenceLevel;
@@ -5674,7 +5674,7 @@ class Google_Service_Analytics_Experiment extends Google_Collection
5674
  {
5675
  return $this->optimizationType;
5676
  }
5677
- public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink)
5678
  {
5679
  $this->parentLink = $parentLink;
5680
  }
@@ -5796,7 +5796,7 @@ class Google_Service_Analytics_Experiment extends Google_Collection
5796
  }
5797
  }
5798
 
5799
- class Google_Service_Analytics_ExperimentParentLink extends Google_Model
5800
  {
5801
  protected $internal_gapi_mappings = array(
5802
  );
@@ -5822,7 +5822,7 @@ class Google_Service_Analytics_ExperimentParentLink extends Google_Model
5822
  }
5823
  }
5824
 
5825
- class Google_Service_Analytics_ExperimentVariations extends Google_Model
5826
  {
5827
  protected $internal_gapi_mappings = array(
5828
  );
@@ -5875,12 +5875,12 @@ class Google_Service_Analytics_ExperimentVariations extends Google_Model
5875
  }
5876
  }
5877
 
5878
- class Google_Service_Analytics_Experiments extends Google_Collection
5879
  {
5880
  protected $collection_key = 'items';
5881
  protected $internal_gapi_mappings = array(
5882
  );
5883
- protected $itemsType = 'Google_Service_Analytics_Experiment';
5884
  protected $itemsDataType = 'array';
5885
  public $itemsPerPage;
5886
  public $kind;
@@ -5957,31 +5957,31 @@ class Google_Service_Analytics_Experiments extends Google_Collection
5957
  }
5958
  }
5959
 
5960
- class Google_Service_Analytics_Filter extends Google_Model
5961
  {
5962
  protected $internal_gapi_mappings = array(
5963
  );
5964
  public $accountId;
5965
- protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails';
5966
  protected $advancedDetailsDataType = '';
5967
  public $created;
5968
- protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression';
5969
  protected $excludeDetailsDataType = '';
5970
  public $id;
5971
- protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression';
5972
  protected $includeDetailsDataType = '';
5973
  public $kind;
5974
- protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails';
5975
  protected $lowercaseDetailsDataType = '';
5976
  public $name;
5977
- protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink';
5978
  protected $parentLinkDataType = '';
5979
- protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails';
5980
  protected $searchAndReplaceDetailsDataType = '';
5981
  public $selfLink;
5982
  public $type;
5983
  public $updated;
5984
- protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails';
5985
  protected $uppercaseDetailsDataType = '';
5986
 
5987
 
@@ -5993,7 +5993,7 @@ class Google_Service_Analytics_Filter extends Google_Model
5993
  {
5994
  return $this->accountId;
5995
  }
5996
- public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails)
5997
  {
5998
  $this->advancedDetails = $advancedDetails;
5999
  }
@@ -6009,7 +6009,7 @@ class Google_Service_Analytics_Filter extends Google_Model
6009
  {
6010
  return $this->created;
6011
  }
6012
- public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails)
6013
  {
6014
  $this->excludeDetails = $excludeDetails;
6015
  }
@@ -6025,7 +6025,7 @@ class Google_Service_Analytics_Filter extends Google_Model
6025
  {
6026
  return $this->id;
6027
  }
6028
- public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails)
6029
  {
6030
  $this->includeDetails = $includeDetails;
6031
  }
@@ -6041,7 +6041,7 @@ class Google_Service_Analytics_Filter extends Google_Model
6041
  {
6042
  return $this->kind;
6043
  }
6044
- public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails)
6045
  {
6046
  $this->lowercaseDetails = $lowercaseDetails;
6047
  }
@@ -6057,7 +6057,7 @@ class Google_Service_Analytics_Filter extends Google_Model
6057
  {
6058
  return $this->name;
6059
  }
6060
- public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink)
6061
  {
6062
  $this->parentLink = $parentLink;
6063
  }
@@ -6065,7 +6065,7 @@ class Google_Service_Analytics_Filter extends Google_Model
6065
  {
6066
  return $this->parentLink;
6067
  }
6068
- public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails)
6069
  {
6070
  $this->searchAndReplaceDetails = $searchAndReplaceDetails;
6071
  }
@@ -6097,7 +6097,7 @@ class Google_Service_Analytics_Filter extends Google_Model
6097
  {
6098
  return $this->updated;
6099
  }
6100
- public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
6101
  {
6102
  $this->uppercaseDetails = $uppercaseDetails;
6103
  }
@@ -6107,7 +6107,7 @@ class Google_Service_Analytics_Filter extends Google_Model
6107
  }
6108
  }
6109
 
6110
- class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model
6111
  {
6112
  protected $internal_gapi_mappings = array(
6113
  );
@@ -6232,7 +6232,7 @@ class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model
6232
  }
6233
  }
6234
 
6235
- class Google_Service_Analytics_FilterExpression extends Google_Model
6236
  {
6237
  protected $internal_gapi_mappings = array(
6238
  );
@@ -6294,7 +6294,7 @@ class Google_Service_Analytics_FilterExpression extends Google_Model
6294
  }
6295
  }
6296
 
6297
- class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model
6298
  {
6299
  protected $internal_gapi_mappings = array(
6300
  );
@@ -6320,7 +6320,7 @@ class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model
6320
  }
6321
  }
6322
 
6323
- class Google_Service_Analytics_FilterParentLink extends Google_Model
6324
  {
6325
  protected $internal_gapi_mappings = array(
6326
  );
@@ -6346,7 +6346,7 @@ class Google_Service_Analytics_FilterParentLink extends Google_Model
6346
  }
6347
  }
6348
 
6349
- class Google_Service_Analytics_FilterRef extends Google_Model
6350
  {
6351
  protected $internal_gapi_mappings = array(
6352
  );
@@ -6399,7 +6399,7 @@ class Google_Service_Analytics_FilterRef extends Google_Model
6399
  }
6400
  }
6401
 
6402
- class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model
6403
  {
6404
  protected $internal_gapi_mappings = array(
6405
  );
@@ -6452,7 +6452,7 @@ class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Mode
6452
  }
6453
  }
6454
 
6455
- class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model
6456
  {
6457
  protected $internal_gapi_mappings = array(
6458
  );
@@ -6478,12 +6478,12 @@ class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model
6478
  }
6479
  }
6480
 
6481
- class Google_Service_Analytics_Filters extends Google_Collection
6482
  {
6483
  protected $collection_key = 'items';
6484
  protected $internal_gapi_mappings = array(
6485
  );
6486
- protected $itemsType = 'Google_Service_Analytics_Filter';
6487
  protected $itemsDataType = 'array';
6488
  public $itemsPerPage;
6489
  public $kind;
@@ -6560,24 +6560,24 @@ class Google_Service_Analytics_Filters extends Google_Collection
6560
  }
6561
  }
6562
 
6563
- class Google_Service_Analytics_GaData extends Google_Collection
6564
  {
6565
  protected $collection_key = 'rows';
6566
  protected $internal_gapi_mappings = array(
6567
  );
6568
- protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
6569
  protected $columnHeadersDataType = 'array';
6570
  public $containsSampledData;
6571
- protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
6572
  protected $dataTableDataType = '';
6573
  public $id;
6574
  public $itemsPerPage;
6575
  public $kind;
6576
  public $nextLink;
6577
  public $previousLink;
6578
- protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
6579
  protected $profileInfoDataType = '';
6580
- protected $queryType = 'Google_Service_Analytics_GaDataQuery';
6581
  protected $queryDataType = '';
6582
  public $rows;
6583
  public $sampleSize;
@@ -6603,7 +6603,7 @@ class Google_Service_Analytics_GaData extends Google_Collection
6603
  {
6604
  return $this->containsSampledData;
6605
  }
6606
- public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable)
6607
  {
6608
  $this->dataTable = $dataTable;
6609
  }
@@ -6651,7 +6651,7 @@ class Google_Service_Analytics_GaData extends Google_Collection
6651
  {
6652
  return $this->previousLink;
6653
  }
6654
- public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
6655
  {
6656
  $this->profileInfo = $profileInfo;
6657
  }
@@ -6659,7 +6659,7 @@ class Google_Service_Analytics_GaData extends Google_Collection
6659
  {
6660
  return $this->profileInfo;
6661
  }
6662
- public function setQuery(Google_Service_Analytics_GaDataQuery $query)
6663
  {
6664
  $this->query = $query;
6665
  }
@@ -6717,7 +6717,7 @@ class Google_Service_Analytics_GaData extends Google_Collection
6717
  }
6718
  }
6719
 
6720
- class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
6721
  {
6722
  protected $internal_gapi_mappings = array(
6723
  );
@@ -6752,14 +6752,14 @@ class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
6752
  }
6753
  }
6754
 
6755
- class Google_Service_Analytics_GaDataDataTable extends Google_Collection
6756
  {
6757
  protected $collection_key = 'rows';
6758
  protected $internal_gapi_mappings = array(
6759
  );
6760
- protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
6761
  protected $colsDataType = 'array';
6762
- protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
6763
  protected $rowsDataType = 'array';
6764
 
6765
 
@@ -6781,7 +6781,7 @@ class Google_Service_Analytics_GaDataDataTable extends Google_Collection
6781
  }
6782
  }
6783
 
6784
- class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
6785
  {
6786
  protected $internal_gapi_mappings = array(
6787
  );
@@ -6816,12 +6816,12 @@ class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
6816
  }
6817
  }
6818
 
6819
- class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
6820
  {
6821
  protected $collection_key = 'c';
6822
  protected $internal_gapi_mappings = array(
6823
  );
6824
- protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
6825
  protected $cDataType = 'array';
6826
 
6827
 
@@ -6835,7 +6835,7 @@ class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
6835
  }
6836
  }
6837
 
6838
- class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
6839
  {
6840
  protected $internal_gapi_mappings = array(
6841
  );
@@ -6852,7 +6852,7 @@ class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
6852
  }
6853
  }
6854
 
6855
- class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
6856
  {
6857
  protected $internal_gapi_mappings = array(
6858
  );
@@ -6914,7 +6914,7 @@ class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
6914
  }
6915
  }
6916
 
6917
- class Google_Service_Analytics_GaDataQuery extends Google_Collection
6918
  {
6919
  protected $collection_key = 'sort';
6920
  protected $internal_gapi_mappings = array(
@@ -7026,31 +7026,31 @@ class Google_Service_Analytics_GaDataQuery extends Google_Collection
7026
  }
7027
  }
7028
 
7029
- class Google_Service_Analytics_Goal extends Google_Model
7030
  {
7031
  protected $internal_gapi_mappings = array(
7032
  );
7033
  public $accountId;
7034
  public $active;
7035
  public $created;
7036
- protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
7037
  protected $eventDetailsDataType = '';
7038
  public $id;
7039
  public $internalWebPropertyId;
7040
  public $kind;
7041
  public $name;
7042
- protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
7043
  protected $parentLinkDataType = '';
7044
  public $profileId;
7045
  public $selfLink;
7046
  public $type;
7047
  public $updated;
7048
- protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
7049
  protected $urlDestinationDetailsDataType = '';
7050
  public $value;
7051
- protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
7052
  protected $visitNumPagesDetailsDataType = '';
7053
- protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
7054
  protected $visitTimeOnSiteDetailsDataType = '';
7055
  public $webPropertyId;
7056
 
@@ -7079,7 +7079,7 @@ class Google_Service_Analytics_Goal extends Google_Model
7079
  {
7080
  return $this->created;
7081
  }
7082
- public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails)
7083
  {
7084
  $this->eventDetails = $eventDetails;
7085
  }
@@ -7119,7 +7119,7 @@ class Google_Service_Analytics_Goal extends Google_Model
7119
  {
7120
  return $this->name;
7121
  }
7122
- public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink)
7123
  {
7124
  $this->parentLink = $parentLink;
7125
  }
@@ -7159,7 +7159,7 @@ class Google_Service_Analytics_Goal extends Google_Model
7159
  {
7160
  return $this->updated;
7161
  }
7162
- public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
7163
  {
7164
  $this->urlDestinationDetails = $urlDestinationDetails;
7165
  }
@@ -7175,7 +7175,7 @@ class Google_Service_Analytics_Goal extends Google_Model
7175
  {
7176
  return $this->value;
7177
  }
7178
- public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
7179
  {
7180
  $this->visitNumPagesDetails = $visitNumPagesDetails;
7181
  }
@@ -7183,7 +7183,7 @@ class Google_Service_Analytics_Goal extends Google_Model
7183
  {
7184
  return $this->visitNumPagesDetails;
7185
  }
7186
- public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
7187
  {
7188
  $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
7189
  }
@@ -7201,12 +7201,12 @@ class Google_Service_Analytics_Goal extends Google_Model
7201
  }
7202
  }
7203
 
7204
- class Google_Service_Analytics_GoalEventDetails extends Google_Collection
7205
  {
7206
  protected $collection_key = 'eventConditions';
7207
  protected $internal_gapi_mappings = array(
7208
  );
7209
- protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
7210
  protected $eventConditionsDataType = 'array';
7211
  public $useEventValue;
7212
 
@@ -7229,7 +7229,7 @@ class Google_Service_Analytics_GoalEventDetails extends Google_Collection
7229
  }
7230
  }
7231
 
7232
- class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
7233
  {
7234
  protected $internal_gapi_mappings = array(
7235
  );
@@ -7282,7 +7282,7 @@ class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Mo
7282
  }
7283
  }
7284
 
7285
- class Google_Service_Analytics_GoalParentLink extends Google_Model
7286
  {
7287
  protected $internal_gapi_mappings = array(
7288
  );
@@ -7308,7 +7308,7 @@ class Google_Service_Analytics_GoalParentLink extends Google_Model
7308
  }
7309
  }
7310
 
7311
- class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
7312
  {
7313
  protected $collection_key = 'steps';
7314
  protected $internal_gapi_mappings = array(
@@ -7316,7 +7316,7 @@ class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collecti
7316
  public $caseSensitive;
7317
  public $firstStepRequired;
7318
  public $matchType;
7319
- protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
7320
  protected $stepsDataType = 'array';
7321
  public $url;
7322
 
@@ -7363,7 +7363,7 @@ class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collecti
7363
  }
7364
  }
7365
 
7366
- class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
7367
  {
7368
  protected $internal_gapi_mappings = array(
7369
  );
@@ -7398,7 +7398,7 @@ class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Mod
7398
  }
7399
  }
7400
 
7401
- class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
7402
  {
7403
  protected $internal_gapi_mappings = array(
7404
  );
@@ -7424,7 +7424,7 @@ class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
7424
  }
7425
  }
7426
 
7427
- class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
7428
  {
7429
  protected $internal_gapi_mappings = array(
7430
  );
@@ -7450,12 +7450,12 @@ class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
7450
  }
7451
  }
7452
 
7453
- class Google_Service_Analytics_Goals extends Google_Collection
7454
  {
7455
  protected $collection_key = 'items';
7456
  protected $internal_gapi_mappings = array(
7457
  );
7458
- protected $itemsType = 'Google_Service_Analytics_Goal';
7459
  protected $itemsDataType = 'array';
7460
  public $itemsPerPage;
7461
  public $kind;
@@ -7532,12 +7532,12 @@ class Google_Service_Analytics_Goals extends Google_Collection
7532
  }
7533
  }
7534
 
7535
- class Google_Service_Analytics_McfData extends Google_Collection
7536
  {
7537
  protected $collection_key = 'rows';
7538
  protected $internal_gapi_mappings = array(
7539
  );
7540
- protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
7541
  protected $columnHeadersDataType = 'array';
7542
  public $containsSampledData;
7543
  public $id;
@@ -7545,11 +7545,11 @@ class Google_Service_Analytics_McfData extends Google_Collection
7545
  public $kind;
7546
  public $nextLink;
7547
  public $previousLink;
7548
- protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
7549
  protected $profileInfoDataType = '';
7550
- protected $queryType = 'Google_Service_Analytics_McfDataQuery';
7551
  protected $queryDataType = '';
7552
- protected $rowsType = 'Google_Service_Analytics_McfDataRows';
7553
  protected $rowsDataType = 'array';
7554
  public $sampleSize;
7555
  public $sampleSpace;
@@ -7614,7 +7614,7 @@ class Google_Service_Analytics_McfData extends Google_Collection
7614
  {
7615
  return $this->previousLink;
7616
  }
7617
- public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
7618
  {
7619
  $this->profileInfo = $profileInfo;
7620
  }
@@ -7622,7 +7622,7 @@ class Google_Service_Analytics_McfData extends Google_Collection
7622
  {
7623
  return $this->profileInfo;
7624
  }
7625
- public function setQuery(Google_Service_Analytics_McfDataQuery $query)
7626
  {
7627
  $this->query = $query;
7628
  }
@@ -7680,7 +7680,7 @@ class Google_Service_Analytics_McfData extends Google_Collection
7680
  }
7681
  }
7682
 
7683
- class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
7684
  {
7685
  protected $internal_gapi_mappings = array(
7686
  );
@@ -7715,7 +7715,7 @@ class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
7715
  }
7716
  }
7717
 
7718
- class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
7719
  {
7720
  protected $internal_gapi_mappings = array(
7721
  );
@@ -7777,7 +7777,7 @@ class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
7777
  }
7778
  }
7779
 
7780
- class Google_Service_Analytics_McfDataQuery extends Google_Collection
7781
  {
7782
  protected $collection_key = 'sort';
7783
  protected $internal_gapi_mappings = array(
@@ -7889,12 +7889,12 @@ class Google_Service_Analytics_McfDataQuery extends Google_Collection
7889
  }
7890
  }
7891
 
7892
- class Google_Service_Analytics_McfDataRows extends Google_Collection
7893
  {
7894
  protected $collection_key = 'conversionPathValue';
7895
  protected $internal_gapi_mappings = array(
7896
  );
7897
- protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
7898
  protected $conversionPathValueDataType = 'array';
7899
  public $primitiveValue;
7900
 
@@ -7917,7 +7917,7 @@ class Google_Service_Analytics_McfDataRows extends Google_Collection
7917
  }
7918
  }
7919
 
7920
- class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
7921
  {
7922
  protected $internal_gapi_mappings = array(
7923
  );
@@ -7943,13 +7943,13 @@ class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Mod
7943
  }
7944
  }
7945
 
7946
- class Google_Service_Analytics_Profile extends Google_Model
7947
  {
7948
  protected $internal_gapi_mappings = array(
7949
  );
7950
  public $accountId;
7951
  public $botFilteringEnabled;
7952
- protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink';
7953
  protected $childLinkDataType = '';
7954
  public $created;
7955
  public $currency;
@@ -7961,9 +7961,9 @@ class Google_Service_Analytics_Profile extends Google_Model
7961
  public $internalWebPropertyId;
7962
  public $kind;
7963
  public $name;
7964
- protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink';
7965
  protected $parentLinkDataType = '';
7966
- protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
7967
  protected $permissionsDataType = '';
7968
  public $selfLink;
7969
  public $siteSearchCategoryParameters;
@@ -7993,7 +7993,7 @@ class Google_Service_Analytics_Profile extends Google_Model
7993
  {
7994
  return $this->botFilteringEnabled;
7995
  }
7996
- public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink)
7997
  {
7998
  $this->childLink = $childLink;
7999
  }
@@ -8081,7 +8081,7 @@ class Google_Service_Analytics_Profile extends Google_Model
8081
  {
8082
  return $this->name;
8083
  }
8084
- public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink)
8085
  {
8086
  $this->parentLink = $parentLink;
8087
  }
@@ -8089,7 +8089,7 @@ class Google_Service_Analytics_Profile extends Google_Model
8089
  {
8090
  return $this->parentLink;
8091
  }
8092
- public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions)
8093
  {
8094
  $this->permissions = $permissions;
8095
  }
@@ -8179,7 +8179,7 @@ class Google_Service_Analytics_Profile extends Google_Model
8179
  }
8180
  }
8181
 
8182
- class Google_Service_Analytics_ProfileChildLink extends Google_Model
8183
  {
8184
  protected $internal_gapi_mappings = array(
8185
  );
@@ -8205,21 +8205,21 @@ class Google_Service_Analytics_ProfileChildLink extends Google_Model
8205
  }
8206
  }
8207
 
8208
- class Google_Service_Analytics_ProfileFilterLink extends Google_Model
8209
  {
8210
  protected $internal_gapi_mappings = array(
8211
  );
8212
- protected $filterRefType = 'Google_Service_Analytics_FilterRef';
8213
  protected $filterRefDataType = '';
8214
  public $id;
8215
  public $kind;
8216
- protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
8217
  protected $profileRefDataType = '';
8218
  public $rank;
8219
  public $selfLink;
8220
 
8221
 
8222
- public function setFilterRef(Google_Service_Analytics_FilterRef $filterRef)
8223
  {
8224
  $this->filterRef = $filterRef;
8225
  }
@@ -8243,7 +8243,7 @@ class Google_Service_Analytics_ProfileFilterLink extends Google_Model
8243
  {
8244
  return $this->kind;
8245
  }
8246
- public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
8247
  {
8248
  $this->profileRef = $profileRef;
8249
  }
@@ -8269,12 +8269,12 @@ class Google_Service_Analytics_ProfileFilterLink extends Google_Model
8269
  }
8270
  }
8271
 
8272
- class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection
8273
  {
8274
  protected $collection_key = 'items';
8275
  protected $internal_gapi_mappings = array(
8276
  );
8277
- protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink';
8278
  protected $itemsDataType = 'array';
8279
  public $itemsPerPage;
8280
  public $kind;
@@ -8351,7 +8351,7 @@ class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection
8351
  }
8352
  }
8353
 
8354
- class Google_Service_Analytics_ProfileParentLink extends Google_Model
8355
  {
8356
  protected $internal_gapi_mappings = array(
8357
  );
@@ -8377,7 +8377,7 @@ class Google_Service_Analytics_ProfileParentLink extends Google_Model
8377
  }
8378
  }
8379
 
8380
- class Google_Service_Analytics_ProfilePermissions extends Google_Collection
8381
  {
8382
  protected $collection_key = 'effective';
8383
  protected $internal_gapi_mappings = array(
@@ -8395,7 +8395,7 @@ class Google_Service_Analytics_ProfilePermissions extends Google_Collection
8395
  }
8396
  }
8397
 
8398
- class Google_Service_Analytics_ProfileRef extends Google_Model
8399
  {
8400
  protected $internal_gapi_mappings = array(
8401
  );
@@ -8466,7 +8466,7 @@ class Google_Service_Analytics_ProfileRef extends Google_Model
8466
  }
8467
  }
8468
 
8469
- class Google_Service_Analytics_ProfileSummary extends Google_Model
8470
  {
8471
  protected $internal_gapi_mappings = array(
8472
  );
@@ -8510,12 +8510,12 @@ class Google_Service_Analytics_ProfileSummary extends Google_Model
8510
  }
8511
  }
8512
 
8513
- class Google_Service_Analytics_Profiles extends Google_Collection
8514
  {
8515
  protected $collection_key = 'items';
8516
  protected $internal_gapi_mappings = array(
8517
  );
8518
- protected $itemsType = 'Google_Service_Analytics_Profile';
8519
  protected $itemsDataType = 'array';
8520
  public $itemsPerPage;
8521
  public $kind;
@@ -8592,18 +8592,18 @@ class Google_Service_Analytics_Profiles extends Google_Collection
8592
  }
8593
  }
8594
 
8595
- class Google_Service_Analytics_RealtimeData extends Google_Collection
8596
  {
8597
  protected $collection_key = 'rows';
8598
  protected $internal_gapi_mappings = array(
8599
  );
8600
- protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
8601
  protected $columnHeadersDataType = 'array';
8602
  public $id;
8603
  public $kind;
8604
- protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
8605
  protected $profileInfoDataType = '';
8606
- protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery';
8607
  protected $queryDataType = '';
8608
  public $rows;
8609
  public $selfLink;
@@ -8635,7 +8635,7 @@ class Google_Service_Analytics_RealtimeData extends Google_Collection
8635
  {
8636
  return $this->kind;
8637
  }
8638
- public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
8639
  {
8640
  $this->profileInfo = $profileInfo;
8641
  }
@@ -8643,7 +8643,7 @@ class Google_Service_Analytics_RealtimeData extends Google_Collection
8643
  {
8644
  return $this->profileInfo;
8645
  }
8646
- public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query)
8647
  {
8648
  $this->query = $query;
8649
  }
@@ -8685,7 +8685,7 @@ class Google_Service_Analytics_RealtimeData extends Google_Collection
8685
  }
8686
  }
8687
 
8688
- class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
8689
  {
8690
  protected $internal_gapi_mappings = array(
8691
  );
@@ -8720,7 +8720,7 @@ class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
8720
  }
8721
  }
8722
 
8723
- class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
8724
  {
8725
  protected $internal_gapi_mappings = array(
8726
  );
@@ -8782,7 +8782,7 @@ class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
8782
  }
8783
  }
8784
 
8785
- class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
8786
  {
8787
  protected $collection_key = 'sort';
8788
  protected $internal_gapi_mappings = array(
@@ -8846,7 +8846,7 @@ class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
8846
  }
8847
  }
8848
 
8849
- class Google_Service_Analytics_Segment extends Google_Model
8850
  {
8851
  protected $internal_gapi_mappings = array(
8852
  );
@@ -8935,12 +8935,12 @@ class Google_Service_Analytics_Segment extends Google_Model
8935
  }
8936
  }
8937
 
8938
- class Google_Service_Analytics_Segments extends Google_Collection
8939
  {
8940
  protected $collection_key = 'items';
8941
  protected $internal_gapi_mappings = array(
8942
  );
8943
- protected $itemsType = 'Google_Service_Analytics_Segment';
8944
  protected $itemsDataType = 'array';
8945
  public $itemsPerPage;
8946
  public $kind;
@@ -9017,19 +9017,19 @@ class Google_Service_Analytics_Segments extends Google_Collection
9017
  }
9018
  }
9019
 
9020
- class Google_Service_Analytics_UnsampledReport extends Google_Model
9021
  {
9022
  protected $internal_gapi_mappings = array(
9023
  "endDate" => "end-date",
9024
  "startDate" => "start-date",
9025
  );
9026
  public $accountId;
9027
- protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails';
9028
  protected $cloudStorageDownloadDetailsDataType = '';
9029
  public $created;
9030
  public $dimensions;
9031
  public $downloadType;
9032
- protected $driveDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails';
9033
  protected $driveDownloadDetailsDataType = '';
9034
  public $endDate;
9035
  public $filters;
@@ -9054,7 +9054,7 @@ class Google_Service_Analytics_UnsampledReport extends Google_Model
9054
  {
9055
  return $this->accountId;
9056
  }
9057
- public function setCloudStorageDownloadDetails(Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails)
9058
  {
9059
  $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails;
9060
  }
@@ -9086,7 +9086,7 @@ class Google_Service_Analytics_UnsampledReport extends Google_Model
9086
  {
9087
  return $this->downloadType;
9088
  }
9089
- public function setDriveDownloadDetails(Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails)
9090
  {
9091
  $this->driveDownloadDetails = $driveDownloadDetails;
9092
  }
@@ -9200,7 +9200,7 @@ class Google_Service_Analytics_UnsampledReport extends Google_Model
9200
  }
9201
  }
9202
 
9203
- class Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Google_Model
9204
  {
9205
  protected $internal_gapi_mappings = array(
9206
  );
@@ -9226,7 +9226,7 @@ class Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extend
9226
  }
9227
  }
9228
 
9229
- class Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Google_Model
9230
  {
9231
  protected $internal_gapi_mappings = array(
9232
  );
@@ -9243,12 +9243,12 @@ class Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Googl
9243
  }
9244
  }
9245
 
9246
- class Google_Service_Analytics_UnsampledReports extends Google_Collection
9247
  {
9248
  protected $collection_key = 'items';
9249
  protected $internal_gapi_mappings = array(
9250
  );
9251
- protected $itemsType = 'Google_Service_Analytics_UnsampledReport';
9252
  protected $itemsDataType = 'array';
9253
  public $itemsPerPage;
9254
  public $kind;
@@ -9325,7 +9325,7 @@ class Google_Service_Analytics_UnsampledReports extends Google_Collection
9325
  }
9326
  }
9327
 
9328
- class Google_Service_Analytics_Upload extends Google_Collection
9329
  {
9330
  protected $collection_key = 'errors';
9331
  protected $internal_gapi_mappings = array(
@@ -9388,12 +9388,12 @@ class Google_Service_Analytics_Upload extends Google_Collection
9388
  }
9389
  }
9390
 
9391
- class Google_Service_Analytics_Uploads extends Google_Collection
9392
  {
9393
  protected $collection_key = 'items';
9394
  protected $internal_gapi_mappings = array(
9395
  );
9396
- protected $itemsType = 'Google_Service_Analytics_Upload';
9397
  protected $itemsDataType = 'array';
9398
  public $itemsPerPage;
9399
  public $kind;
@@ -9461,7 +9461,7 @@ class Google_Service_Analytics_Uploads extends Google_Collection
9461
  }
9462
  }
9463
 
9464
- class Google_Service_Analytics_UserRef extends Google_Model
9465
  {
9466
  protected $internal_gapi_mappings = array(
9467
  );
@@ -9496,7 +9496,7 @@ class Google_Service_Analytics_UserRef extends Google_Model
9496
  }
9497
  }
9498
 
9499
- class Google_Service_Analytics_WebPropertyRef extends Google_Model
9500
  {
9501
  protected $internal_gapi_mappings = array(
9502
  );
@@ -9558,7 +9558,7 @@ class Google_Service_Analytics_WebPropertyRef extends Google_Model
9558
  }
9559
  }
9560
 
9561
- class Google_Service_Analytics_WebPropertySummary extends Google_Collection
9562
  {
9563
  protected $collection_key = 'profiles';
9564
  protected $internal_gapi_mappings = array(
@@ -9568,7 +9568,7 @@ class Google_Service_Analytics_WebPropertySummary extends Google_Collection
9568
  public $kind;
9569
  public $level;
9570
  public $name;
9571
- protected $profilesType = 'Google_Service_Analytics_ProfileSummary';
9572
  protected $profilesDataType = 'array';
9573
  public $websiteUrl;
9574
 
@@ -9631,12 +9631,12 @@ class Google_Service_Analytics_WebPropertySummary extends Google_Collection
9631
  }
9632
  }
9633
 
9634
- class Google_Service_Analytics_Webproperties extends Google_Collection
9635
  {
9636
  protected $collection_key = 'items';
9637
  protected $internal_gapi_mappings = array(
9638
  );
9639
- protected $itemsType = 'Google_Service_Analytics_Webproperty';
9640
  protected $itemsDataType = 'array';
9641
  public $itemsPerPage;
9642
  public $kind;
@@ -9713,12 +9713,12 @@ class Google_Service_Analytics_Webproperties extends Google_Collection
9713
  }
9714
  }
9715
 
9716
- class Google_Service_Analytics_Webproperty extends Google_Model
9717
  {
9718
  protected $internal_gapi_mappings = array(
9719
  );
9720
  public $accountId;
9721
- protected $childLinkType = 'Google_Service_Analytics_WebpropertyChildLink';
9722
  protected $childLinkDataType = '';
9723
  public $created;
9724
  public $defaultProfileId;
@@ -9728,9 +9728,9 @@ class Google_Service_Analytics_Webproperty extends Google_Model
9728
  public $kind;
9729
  public $level;
9730
  public $name;
9731
- protected $parentLinkType = 'Google_Service_Analytics_WebpropertyParentLink';
9732
  protected $parentLinkDataType = '';
9733
- protected $permissionsType = 'Google_Service_Analytics_WebpropertyPermissions';
9734
  protected $permissionsDataType = '';
9735
  public $profileCount;
9736
  public $selfLink;
@@ -9746,7 +9746,7 @@ class Google_Service_Analytics_Webproperty extends Google_Model
9746
  {
9747
  return $this->accountId;
9748
  }
9749
- public function setChildLink(Google_Service_Analytics_WebpropertyChildLink $childLink)
9750
  {
9751
  $this->childLink = $childLink;
9752
  }
@@ -9818,7 +9818,7 @@ class Google_Service_Analytics_Webproperty extends Google_Model
9818
  {
9819
  return $this->name;
9820
  }
9821
- public function setParentLink(Google_Service_Analytics_WebpropertyParentLink $parentLink)
9822
  {
9823
  $this->parentLink = $parentLink;
9824
  }
@@ -9826,7 +9826,7 @@ class Google_Service_Analytics_Webproperty extends Google_Model
9826
  {
9827
  return $this->parentLink;
9828
  }
9829
- public function setPermissions(Google_Service_Analytics_WebpropertyPermissions $permissions)
9830
  {
9831
  $this->permissions = $permissions;
9832
  }
@@ -9868,7 +9868,7 @@ class Google_Service_Analytics_Webproperty extends Google_Model
9868
  }
9869
  }
9870
 
9871
- class Google_Service_Analytics_WebpropertyChildLink extends Google_Model
9872
  {
9873
  protected $internal_gapi_mappings = array(
9874
  );
@@ -9894,7 +9894,7 @@ class Google_Service_Analytics_WebpropertyChildLink extends Google_Model
9894
  }
9895
  }
9896
 
9897
- class Google_Service_Analytics_WebpropertyParentLink extends Google_Model
9898
  {
9899
  protected $internal_gapi_mappings = array(
9900
  );
@@ -9920,7 +9920,7 @@ class Google_Service_Analytics_WebpropertyParentLink extends Google_Model
9920
  }
9921
  }
9922
 
9923
- class Google_Service_Analytics_WebpropertyPermissions extends Google_Collection
9924
  {
9925
  protected $collection_key = 'effective';
9926
  protected $internal_gapi_mappings = array(
26
  *
27
  * @author Google, Inc.
28
  */
29
+ class Forminator_Google_Service_Analytics extends Forminator_Google_Service
30
  {
31
  /** View and manage your Google Analytics data. */
32
  const ANALYTICS =
75
  /**
76
  * Constructs the internal representation of the Analytics service.
77
  *
78
+ * @param Forminator_Google_Client $client
79
  */
80
+ public function __construct(Forminator_Google_Client $client)
81
  {
82
  parent::__construct($client);
83
  $this->rootUrl = 'https://www.googleapis.com/';
85
  $this->version = 'v3';
86
  $this->serviceName = 'analytics';
87
 
88
+ $this->data_ga = new Forminator_Google_Service_Analytics_DataGa_Resource(
89
  $this,
90
  $this->serviceName,
91
  'ga',
156
  )
157
  )
158
  );
159
+ $this->data_mcf = new Forminator_Google_Service_Analytics_DataMcf_Resource(
160
  $this,
161
  $this->serviceName,
162
  'mcf',
215
  )
216
  )
217
  );
218
+ $this->data_realtime = new Forminator_Google_Service_Analytics_DataRealtime_Resource(
219
  $this,
220
  $this->serviceName,
221
  'realtime',
256
  )
257
  )
258
  );
259
+ $this->management_accountSummaries = new Forminator_Google_Service_Analytics_ManagementAccountSummaries_Resource(
260
  $this,
261
  $this->serviceName,
262
  'accountSummaries',
279
  )
280
  )
281
  );
282
+ $this->management_accountUserLinks = new Forminator_Google_Service_Analytics_ManagementAccountUserLinks_Resource(
283
  $this,
284
  $this->serviceName,
285
  'accountUserLinks',
347
  )
348
  )
349
  );
350
+ $this->management_accounts = new Forminator_Google_Service_Analytics_ManagementAccounts_Resource(
351
  $this,
352
  $this->serviceName,
353
  'accounts',
370
  )
371
  )
372
  );
373
+ $this->management_customDataSources = new Forminator_Google_Service_Analytics_ManagementCustomDataSources_Resource(
374
  $this,
375
  $this->serviceName,
376
  'customDataSources',
403
  )
404
  )
405
  );
406
+ $this->management_customDimensions = new Forminator_Google_Service_Analytics_ManagementCustomDimensions_Resource(
407
  $this,
408
  $this->serviceName,
409
  'customDimensions',
519
  )
520
  )
521
  );
522
+ $this->management_customMetrics = new Forminator_Google_Service_Analytics_ManagementCustomMetrics_Resource(
523
  $this,
524
  $this->serviceName,
525
  'customMetrics',
635
  )
636
  )
637
  );
638
+ $this->management_experiments = new Forminator_Google_Service_Analytics_ManagementExperiments_Resource(
639
  $this,
640
  $this->serviceName,
641
  'experiments',
793
  )
794
  )
795
  );
796
+ $this->management_filters = new Forminator_Google_Service_Analytics_ManagementFilters_Resource(
797
  $this,
798
  $this->serviceName,
799
  'filters',
891
  )
892
  )
893
  );
894
+ $this->management_goals = new Forminator_Google_Service_Analytics_ManagementGoals_Resource(
895
  $this,
896
  $this->serviceName,
897
  'goals',
1024
  )
1025
  )
1026
  );
1027
+ $this->management_profileFilterLinks = new Forminator_Google_Service_Analytics_ManagementProfileFilterLinks_Resource(
1028
  $this,
1029
  $this->serviceName,
1030
  'profileFilterLinks',
1182
  )
1183
  )
1184
  );
1185
+ $this->management_profileUserLinks = new Forminator_Google_Service_Analytics_ManagementProfileUserLinks_Resource(
1186
  $this,
1187
  $this->serviceName,
1188
  'profileUserLinks',
1290
  )
1291
  )
1292
  );
1293
+ $this->management_profiles = new Forminator_Google_Service_Analytics_ManagementProfiles_Resource(
1294
  $this,
1295
  $this->serviceName,
1296
  'profiles',
1418
  )
1419
  )
1420
  );
1421
+ $this->management_segments = new Forminator_Google_Service_Analytics_ManagementSegments_Resource(
1422
  $this,
1423
  $this->serviceName,
1424
  'segments',
1441
  )
1442
  )
1443
  );
1444
+ $this->management_unsampledReports = new Forminator_Google_Service_Analytics_ManagementUnsampledReports_Resource(
1445
  $this,
1446
  $this->serviceName,
1447
  'unsampledReports',
1549
  )
1550
  )
1551
  );
1552
+ $this->management_uploads = new Forminator_Google_Service_Analytics_ManagementUploads_Resource(
1553
  $this,
1554
  $this->serviceName,
1555
  'uploads',
1652
  )
1653
  )
1654
  );
1655
+ $this->management_webPropertyAdWordsLinks = new Forminator_Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource(
1656
  $this,
1657
  $this->serviceName,
1658
  'webPropertyAdWordsLinks',
1780
  )
1781
  )
1782
  );
1783
+ $this->management_webproperties = new Forminator_Google_Service_Analytics_ManagementWebproperties_Resource(
1784
  $this,
1785
  $this->serviceName,
1786
  'webproperties',
1863
  )
1864
  )
1865
  );
1866
+ $this->management_webpropertyUserLinks = new Forminator_Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource(
1867
  $this,
1868
  $this->serviceName,
1869
  'webpropertyUserLinks',
1951
  )
1952
  )
1953
  );
1954
+ $this->metadata_columns = new Forminator_Google_Service_Analytics_MetadataColumns_Resource(
1955
  $this,
1956
  $this->serviceName,
1957
  'columns',
1971
  )
1972
  )
1973
  );
1974
+ $this->provisioning = new Forminator_Google_Service_Analytics_Provisioning_Resource(
1975
  $this,
1976
  $this->serviceName,
1977
  'provisioning',
1993
  * The "data" collection of methods.
1994
  * Typical usage is:
1995
  * <code>
1996
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
1997
  * $data = $analyticsService->data;
1998
  * </code>
1999
  */
2000
+ class Forminator_Google_Service_Analytics_Data_Resource extends Forminator_Google_Service_Resource
2001
  {
2002
  }
2003
 
2005
  * The "ga" collection of methods.
2006
  * Typical usage is:
2007
  * <code>
2008
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2009
  * $ga = $analyticsService->ga;
2010
  * </code>
2011
  */
2012
+ class Forminator_Google_Service_Analytics_DataGa_Resource extends Forminator_Google_Service_Resource
2013
  {
2014
 
2015
  /**
2043
  * determine the sort order for Analytics data.
2044
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2045
  * parameter as a pagination mechanism along with the max-results parameter.
2046
+ * @return Forminator_Google_Service_Analytics_GaData
2047
  */
2048
  public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
2049
  {
2050
  $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
2051
  $params = array_merge($params, $optParams);
2052
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_GaData");
2053
  }
2054
  }
2055
  /**
2056
  * The "mcf" collection of methods.
2057
  * Typical usage is:
2058
  * <code>
2059
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2060
  * $mcf = $analyticsService->mcf;
2061
  * </code>
2062
  */
2063
+ class Forminator_Google_Service_Analytics_DataMcf_Resource extends Forminator_Google_Service_Resource
2064
  {
2065
 
2066
  /**
2090
  * determine the sort order for the Analytics data.
2091
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2092
  * parameter as a pagination mechanism along with the max-results parameter.
2093
+ * @return Forminator_Google_Service_Analytics_McfData
2094
  */
2095
  public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
2096
  {
2097
  $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
2098
  $params = array_merge($params, $optParams);
2099
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_McfData");
2100
  }
2101
  }
2102
  /**
2103
  * The "realtime" collection of methods.
2104
  * Typical usage is:
2105
  * <code>
2106
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2107
  * $realtime = $analyticsService->realtime;
2108
  * </code>
2109
  */
2110
+ class Forminator_Google_Service_Analytics_DataRealtime_Resource extends Forminator_Google_Service_Resource
2111
  {
2112
 
2113
  /**
2127
  * feed.
2128
  * @opt_param string sort A comma-separated list of dimensions or metrics that
2129
  * determine the sort order for real time data.
2130
+ * @return Forminator_Google_Service_Analytics_RealtimeData
2131
  */
2132
  public function get($ids, $metrics, $optParams = array())
2133
  {
2134
  $params = array('ids' => $ids, 'metrics' => $metrics);
2135
  $params = array_merge($params, $optParams);
2136
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_RealtimeData");
2137
  }
2138
  }
2139
 
2141
  * The "management" collection of methods.
2142
  * Typical usage is:
2143
  * <code>
2144
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2145
  * $management = $analyticsService->management;
2146
  * </code>
2147
  */
2148
+ class Forminator_Google_Service_Analytics_Management_Resource extends Forminator_Google_Service_Resource
2149
  {
2150
  }
2151
 
2153
  * The "accountSummaries" collection of methods.
2154
  * Typical usage is:
2155
  * <code>
2156
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2157
  * $accountSummaries = $analyticsService->accountSummaries;
2158
  * </code>
2159
  */
2160
+ class Forminator_Google_Service_Analytics_ManagementAccountSummaries_Resource extends Forminator_Google_Service_Resource
2161
  {
2162
 
2163
  /**
2171
  * in this response, where the largest acceptable value is 1000.
2172
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2173
  * parameter as a pagination mechanism along with the max-results parameter.
2174
+ * @return Forminator_Google_Service_Analytics_AccountSummaries
2175
  */
2176
  public function listManagementAccountSummaries($optParams = array())
2177
  {
2178
  $params = array();
2179
  $params = array_merge($params, $optParams);
2180
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_AccountSummaries");
2181
  }
2182
  }
2183
  /**
2184
  * The "accountUserLinks" collection of methods.
2185
  * Typical usage is:
2186
  * <code>
2187
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2188
  * $accountUserLinks = $analyticsService->accountUserLinks;
2189
  * </code>
2190
  */
2191
+ class Forminator_Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Forminator_Google_Service_Resource
2192
  {
2193
 
2194
  /**
2209
  * Adds a new user to the given account. (accountUserLinks.insert)
2210
  *
2211
  * @param string $accountId Account ID to create the user link for.
2212
+ * @param Forminator_Google_EntityUserLink $postBody
2213
  * @param array $optParams Optional parameters.
2214
+ * @return Forminator_Google_Service_Analytics_EntityUserLink
2215
  */
2216
+ public function insert($accountId, Forminator_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2217
  {
2218
  $params = array('accountId' => $accountId, 'postBody' => $postBody);
2219
  $params = array_merge($params, $optParams);
2220
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_EntityUserLink");
2221
  }
2222
 
2223
  /**
2232
  * @opt_param int start-index An index of the first account-user link to
2233
  * retrieve. Use this parameter as a pagination mechanism along with the max-
2234
  * results parameter.
2235
+ * @return Forminator_Google_Service_Analytics_EntityUserLinks
2236
  */
2237
  public function listManagementAccountUserLinks($accountId, $optParams = array())
2238
  {
2239
  $params = array('accountId' => $accountId);
2240
  $params = array_merge($params, $optParams);
2241
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_EntityUserLinks");
2242
  }
2243
 
2244
  /**
2247
  *
2248
  * @param string $accountId Account ID to update the account-user link for.
2249
  * @param string $linkId Link ID to update the account-user link for.
2250
+ * @param Forminator_Google_EntityUserLink $postBody
2251
  * @param array $optParams Optional parameters.
2252
+ * @return Forminator_Google_Service_Analytics_EntityUserLink
2253
  */
2254
+ public function update($accountId, $linkId, Forminator_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2255
  {
2256
  $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
2257
  $params = array_merge($params, $optParams);
2258
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_EntityUserLink");
2259
  }
2260
  }
2261
  /**
2262
  * The "accounts" collection of methods.
2263
  * Typical usage is:
2264
  * <code>
2265
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2266
  * $accounts = $analyticsService->accounts;
2267
  * </code>
2268
  */
2269
+ class Forminator_Google_Service_Analytics_ManagementAccounts_Resource extends Forminator_Google_Service_Resource
2270
  {
2271
 
2272
  /**
2280
  * @opt_param int start-index An index of the first account to retrieve. Use
2281
  * this parameter as a pagination mechanism along with the max-results
2282
  * parameter.
2283
+ * @return Forminator_Google_Service_Analytics_Accounts
2284
  */
2285
  public function listManagementAccounts($optParams = array())
2286
  {
2287
  $params = array();
2288
  $params = array_merge($params, $optParams);
2289
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_Accounts");
2290
  }
2291
  }
2292
  /**
2293
  * The "customDataSources" collection of methods.
2294
  * Typical usage is:
2295
  * <code>
2296
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2297
  * $customDataSources = $analyticsService->customDataSources;
2298
  * </code>
2299
  */
2300
+ class Forminator_Google_Service_Analytics_ManagementCustomDataSources_Resource extends Forminator_Google_Service_Resource
2301
  {
2302
 
2303
  /**
2314
  * @opt_param int start-index A 1-based index of the first custom data source to
2315
  * retrieve. Use this parameter as a pagination mechanism along with the max-
2316
  * results parameter.
2317
+ * @return Forminator_Google_Service_Analytics_CustomDataSources
2318
  */
2319
  public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
2320
  {
2321
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2322
  $params = array_merge($params, $optParams);
2323
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_CustomDataSources");
2324
  }
2325
  }
2326
  /**
2327
  * The "customDimensions" collection of methods.
2328
  * Typical usage is:
2329
  * <code>
2330
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2331
  * $customDimensions = $analyticsService->customDimensions;
2332
  * </code>
2333
  */
2334
+ class Forminator_Google_Service_Analytics_ManagementCustomDimensions_Resource extends Forminator_Google_Service_Resource
2335
  {
2336
 
2337
  /**
2342
  * retrieve.
2343
  * @param string $customDimensionId The ID of the custom dimension to retrieve.
2344
  * @param array $optParams Optional parameters.
2345
+ * @return Forminator_Google_Service_Analytics_CustomDimension
2346
  */
2347
  public function get($accountId, $webPropertyId, $customDimensionId, $optParams = array())
2348
  {
2349
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId);
2350
  $params = array_merge($params, $optParams);
2351
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_CustomDimension");
2352
  }
2353
 
2354
  /**
2357
  * @param string $accountId Account ID for the custom dimension to create.
2358
  * @param string $webPropertyId Web property ID for the custom dimension to
2359
  * create.
2360
+ * @param Forminator_Google_CustomDimension $postBody
2361
  * @param array $optParams Optional parameters.
2362
+ * @return Forminator_Google_Service_Analytics_CustomDimension
2363
  */
2364
+ public function insert($accountId, $webPropertyId, Forminator_Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
2365
  {
2366
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2367
  $params = array_merge($params, $optParams);
2368
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_CustomDimension");
2369
  }
2370
 
2371
  /**
2381
  * in this response.
2382
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2383
  * parameter as a pagination mechanism along with the max-results parameter.
2384
+ * @return Forminator_Google_Service_Analytics_CustomDimensions
2385
  */
2386
  public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = array())
2387
  {
2388
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2389
  $params = array_merge($params, $optParams);
2390
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_CustomDimensions");
2391
  }
2392
 
2393
  /**
2399
  * update.
2400
  * @param string $customDimensionId Custom dimension ID for the custom dimension
2401
  * to update.
2402
+ * @param Forminator_Google_CustomDimension $postBody
2403
  * @param array $optParams Optional parameters.
2404
  *
2405
  * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
2406
  * warnings related to the custom dimension being linked to a custom data source
2407
  * / data set.
2408
+ * @return Forminator_Google_Service_Analytics_CustomDimension
2409
  */
2410
+ public function patch($accountId, $webPropertyId, $customDimensionId, Forminator_Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
2411
  {
2412
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
2413
  $params = array_merge($params, $optParams);
2414
+ return $this->call('patch', array($params), "Forminator_Google_Service_Analytics_CustomDimension");
2415
  }
2416
 
2417
  /**
2422
  * update.
2423
  * @param string $customDimensionId Custom dimension ID for the custom dimension
2424
  * to update.
2425
+ * @param Forminator_Google_CustomDimension $postBody
2426
  * @param array $optParams Optional parameters.
2427
  *
2428
  * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
2429
  * warnings related to the custom dimension being linked to a custom data source
2430
  * / data set.
2431
+ * @return Forminator_Google_Service_Analytics_CustomDimension
2432
  */
2433
+ public function update($accountId, $webPropertyId, $customDimensionId, Forminator_Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
2434
  {
2435
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
2436
  $params = array_merge($params, $optParams);
2437
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_CustomDimension");
2438
  }
2439
  }
2440
  /**
2441
  * The "customMetrics" collection of methods.
2442
  * Typical usage is:
2443
  * <code>
2444
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2445
  * $customMetrics = $analyticsService->customMetrics;
2446
  * </code>
2447
  */
2448
+ class Forminator_Google_Service_Analytics_ManagementCustomMetrics_Resource extends Forminator_Google_Service_Resource
2449
  {
2450
 
2451
  /**
2456
  * retrieve.
2457
  * @param string $customMetricId The ID of the custom metric to retrieve.
2458
  * @param array $optParams Optional parameters.
2459
+ * @return Forminator_Google_Service_Analytics_CustomMetric
2460
  */
2461
  public function get($accountId, $webPropertyId, $customMetricId, $optParams = array())
2462
  {
2463
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId);
2464
  $params = array_merge($params, $optParams);
2465
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_CustomMetric");
2466
  }
2467
 
2468
  /**
2471
  * @param string $accountId Account ID for the custom metric to create.
2472
  * @param string $webPropertyId Web property ID for the custom dimension to
2473
  * create.
2474
+ * @param Forminator_Google_CustomMetric $postBody
2475
  * @param array $optParams Optional parameters.
2476
+ * @return Forminator_Google_Service_Analytics_CustomMetric
2477
  */
2478
+ public function insert($accountId, $webPropertyId, Forminator_Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
2479
  {
2480
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2481
  $params = array_merge($params, $optParams);
2482
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_CustomMetric");
2483
  }
2484
 
2485
  /**
2495
  * this response.
2496
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2497
  * parameter as a pagination mechanism along with the max-results parameter.
2498
+ * @return Forminator_Google_Service_Analytics_CustomMetrics
2499
  */
2500
  public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = array())
2501
  {
2502
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2503
  $params = array_merge($params, $optParams);
2504
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_CustomMetrics");
2505
  }
2506
 
2507
  /**
2512
  * @param string $webPropertyId Web property ID for the custom metric to update.
2513
  * @param string $customMetricId Custom metric ID for the custom metric to
2514
  * update.
2515
+ * @param Forminator_Google_CustomMetric $postBody
2516
  * @param array $optParams Optional parameters.
2517
  *
2518
  * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
2519
  * warnings related to the custom metric being linked to a custom data source /
2520
  * data set.
2521
+ * @return Forminator_Google_Service_Analytics_CustomMetric
2522
  */
2523
+ public function patch($accountId, $webPropertyId, $customMetricId, Forminator_Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
2524
  {
2525
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
2526
  $params = array_merge($params, $optParams);
2527
+ return $this->call('patch', array($params), "Forminator_Google_Service_Analytics_CustomMetric");
2528
  }
2529
 
2530
  /**
2534
  * @param string $webPropertyId Web property ID for the custom metric to update.
2535
  * @param string $customMetricId Custom metric ID for the custom metric to
2536
  * update.
2537
+ * @param Forminator_Google_CustomMetric $postBody
2538
  * @param array $optParams Optional parameters.
2539
  *
2540
  * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
2541
  * warnings related to the custom metric being linked to a custom data source /
2542
  * data set.
2543
+ * @return Forminator_Google_Service_Analytics_CustomMetric
2544
  */
2545
+ public function update($accountId, $webPropertyId, $customMetricId, Forminator_Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
2546
  {
2547
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
2548
  $params = array_merge($params, $optParams);
2549
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_CustomMetric");
2550
  }
2551
  }
2552
  /**
2553
  * The "experiments" collection of methods.
2554
  * Typical usage is:
2555
  * <code>
2556
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2557
  * $experiments = $analyticsService->experiments;
2558
  * </code>
2559
  */
2560
+ class Forminator_Google_Service_Analytics_ManagementExperiments_Resource extends Forminator_Google_Service_Resource
2561
  {
2562
 
2563
  /**
2584
  * @param string $profileId View (Profile) ID to retrieve the experiment for.
2585
  * @param string $experimentId Experiment ID to retrieve the experiment for.
2586
  * @param array $optParams Optional parameters.
2587
+ * @return Forminator_Google_Service_Analytics_Experiment
2588
  */
2589
  public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
2590
  {
2591
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
2592
  $params = array_merge($params, $optParams);
2593
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_Experiment");
2594
  }
2595
 
2596
  /**
2599
  * @param string $accountId Account ID to create the experiment for.
2600
  * @param string $webPropertyId Web property ID to create the experiment for.
2601
  * @param string $profileId View (Profile) ID to create the experiment for.
2602
+ * @param Forminator_Google_Experiment $postBody
2603
  * @param array $optParams Optional parameters.
2604
+ * @return Forminator_Google_Service_Analytics_Experiment
2605
  */
2606
+ public function insert($accountId, $webPropertyId, $profileId, Forminator_Google_Service_Analytics_Experiment $postBody, $optParams = array())
2607
  {
2608
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2609
  $params = array_merge($params, $optParams);
2610
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_Experiment");
2611
  }
2612
 
2613
  /**
2624
  * @opt_param int start-index An index of the first experiment to retrieve. Use
2625
  * this parameter as a pagination mechanism along with the max-results
2626
  * parameter.
2627
+ * @return Forminator_Google_Service_Analytics_Experiments
2628
  */
2629
  public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
2630
  {
2631
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2632
  $params = array_merge($params, $optParams);
2633
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_Experiments");
2634
  }
2635
 
2636
  /**
2641
  * @param string $webPropertyId Web property ID of the experiment to update.
2642
  * @param string $profileId View (Profile) ID of the experiment to update.
2643
  * @param string $experimentId Experiment ID of the experiment to update.
2644
+ * @param Forminator_Google_Experiment $postBody
2645
  * @param array $optParams Optional parameters.
2646
+ * @return Forminator_Google_Service_Analytics_Experiment
2647
  */
2648
+ public function patch($accountId, $webPropertyId, $profileId, $experimentId, Forminator_Google_Service_Analytics_Experiment $postBody, $optParams = array())
2649
  {
2650
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
2651
  $params = array_merge($params, $optParams);
2652
+ return $this->call('patch', array($params), "Forminator_Google_Service_Analytics_Experiment");
2653
  }
2654
 
2655
  /**
2659
  * @param string $webPropertyId Web property ID of the experiment to update.
2660
  * @param string $profileId View (Profile) ID of the experiment to update.
2661
  * @param string $experimentId Experiment ID of the experiment to update.
2662
+ * @param Forminator_Google_Experiment $postBody
2663
  * @param array $optParams Optional parameters.
2664
+ * @return Forminator_Google_Service_Analytics_Experiment
2665
  */
2666
+ public function update($accountId, $webPropertyId, $profileId, $experimentId, Forminator_Google_Service_Analytics_Experiment $postBody, $optParams = array())
2667
  {
2668
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
2669
  $params = array_merge($params, $optParams);
2670
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_Experiment");
2671
  }
2672
  }
2673
  /**
2674
  * The "filters" collection of methods.
2675
  * Typical usage is:
2676
  * <code>
2677
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2678
  * $filters = $analyticsService->filters;
2679
  * </code>
2680
  */
2681
+ class Forminator_Google_Service_Analytics_ManagementFilters_Resource extends Forminator_Google_Service_Resource
2682
  {
2683
 
2684
  /**
2687
  * @param string $accountId Account ID to delete the filter for.
2688
  * @param string $filterId ID of the filter to be deleted.
2689
  * @param array $optParams Optional parameters.
2690
+ * @return Forminator_Google_Service_Analytics_Filter
2691
  */
2692
  public function delete($accountId, $filterId, $optParams = array())
2693
  {
2694
  $params = array('accountId' => $accountId, 'filterId' => $filterId);
2695
  $params = array_merge($params, $optParams);
2696
+ return $this->call('delete', array($params), "Forminator_Google_Service_Analytics_Filter");
2697
  }
2698
 
2699
  /**
2702
  * @param string $accountId Account ID to retrieve filters for.
2703
  * @param string $filterId Filter ID to retrieve filters for.
2704
  * @param array $optParams Optional parameters.
2705
+ * @return Forminator_Google_Service_Analytics_Filter
2706
  */
2707
  public function get($accountId, $filterId, $optParams = array())
2708
  {
2709
  $params = array('accountId' => $accountId, 'filterId' => $filterId);
2710
  $params = array_merge($params, $optParams);
2711
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_Filter");
2712
  }
2713
 
2714
  /**
2715
  * Create a new filter. (filters.insert)
2716
  *
2717
  * @param string $accountId Account ID to create filter for.
2718
+ * @param Forminator_Google_Filter $postBody
2719
  * @param array $optParams Optional parameters.
2720
+ * @return Forminator_Google_Service_Analytics_Filter
2721
  */
2722
+ public function insert($accountId, Forminator_Google_Service_Analytics_Filter $postBody, $optParams = array())
2723
  {
2724
  $params = array('accountId' => $accountId, 'postBody' => $postBody);
2725
  $params = array_merge($params, $optParams);
2726
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_Filter");
2727
  }
2728
 
2729
  /**
2736
  * response.
2737
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2738
  * parameter as a pagination mechanism along with the max-results parameter.
2739
+ * @return Forminator_Google_Service_Analytics_Filters
2740
  */
2741
  public function listManagementFilters($accountId, $optParams = array())
2742
  {
2743
  $params = array('accountId' => $accountId);
2744
  $params = array_merge($params, $optParams);
2745
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_Filters");
2746
  }
2747
 
2748
  /**
2751
  *
2752
  * @param string $accountId Account ID to which the filter belongs.
2753
  * @param string $filterId ID of the filter to be updated.
2754
+ * @param Forminator_Google_Filter $postBody
2755
  * @param array $optParams Optional parameters.
2756
+ * @return Forminator_Google_Service_Analytics_Filter
2757
  */
2758
+ public function patch($accountId, $filterId, Forminator_Google_Service_Analytics_Filter $postBody, $optParams = array())
2759
  {
2760
  $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
2761
  $params = array_merge($params, $optParams);
2762
+ return $this->call('patch', array($params), "Forminator_Google_Service_Analytics_Filter");
2763
  }
2764
 
2765
  /**
2767
  *
2768
  * @param string $accountId Account ID to which the filter belongs.
2769
  * @param string $filterId ID of the filter to be updated.
2770
+ * @param Forminator_Google_Filter $postBody
2771
  * @param array $optParams Optional parameters.
2772
+ * @return Forminator_Google_Service_Analytics_Filter
2773
  */
2774
+ public function update($accountId, $filterId, Forminator_Google_Service_Analytics_Filter $postBody, $optParams = array())
2775
  {
2776
  $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
2777
  $params = array_merge($params, $optParams);
2778
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_Filter");
2779
  }
2780
  }
2781
  /**
2782
  * The "goals" collection of methods.
2783
  * Typical usage is:
2784
  * <code>
2785
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2786
  * $goals = $analyticsService->goals;
2787
  * </code>
2788
  */
2789
+ class Forminator_Google_Service_Analytics_ManagementGoals_Resource extends Forminator_Google_Service_Resource
2790
  {
2791
 
2792
  /**
2797
  * @param string $profileId View (Profile) ID to retrieve the goal for.
2798
  * @param string $goalId Goal ID to retrieve the goal for.
2799
  * @param array $optParams Optional parameters.
2800
+ * @return Forminator_Google_Service_Analytics_Goal
2801
  */
2802
  public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
2803
  {
2804
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
2805
  $params = array_merge($params, $optParams);
2806
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_Goal");
2807
  }
2808
 
2809
  /**
2812
  * @param string $accountId Account ID to create the goal for.
2813
  * @param string $webPropertyId Web property ID to create the goal for.
2814
  * @param string $profileId View (Profile) ID to create the goal for.
2815
+ * @param Forminator_Google_Goal $postBody
2816
  * @param array $optParams Optional parameters.
2817
+ * @return Forminator_Google_Service_Analytics_Goal
2818
  */
2819
+ public function insert($accountId, $webPropertyId, $profileId, Forminator_Google_Service_Analytics_Goal $postBody, $optParams = array())
2820
  {
2821
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2822
  $params = array_merge($params, $optParams);
2823
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_Goal");
2824
  }
2825
 
2826
  /**
2841
  * response.
2842
  * @opt_param int start-index An index of the first goal to retrieve. Use this
2843
  * parameter as a pagination mechanism along with the max-results parameter.
2844
+ * @return Forminator_Google_Service_Analytics_Goals
2845
  */
2846
  public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
2847
  {
2848
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2849
  $params = array_merge($params, $optParams);
2850
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_Goals");
2851
  }
2852
 
2853
  /**
2858
  * @param string $webPropertyId Web property ID to update the goal.
2859
  * @param string $profileId View (Profile) ID to update the goal.
2860
  * @param string $goalId Index of the goal to be updated.
2861
+ * @param Forminator_Google_Goal $postBody
2862
  * @param array $optParams Optional parameters.
2863
+ * @return Forminator_Google_Service_Analytics_Goal
2864
  */
2865
+ public function patch($accountId, $webPropertyId, $profileId, $goalId, Forminator_Google_Service_Analytics_Goal $postBody, $optParams = array())
2866
  {
2867
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
2868
  $params = array_merge($params, $optParams);
2869
+ return $this->call('patch', array($params), "Forminator_Google_Service_Analytics_Goal");
2870
  }
2871
 
2872
  /**
2876
  * @param string $webPropertyId Web property ID to update the goal.
2877
  * @param string $profileId View (Profile) ID to update the goal.
2878
  * @param string $goalId Index of the goal to be updated.
2879
+ * @param Forminator_Google_Goal $postBody
2880
  * @param array $optParams Optional parameters.
2881
+ * @return Forminator_Google_Service_Analytics_Goal
2882
  */
2883
+ public function update($accountId, $webPropertyId, $profileId, $goalId, Forminator_Google_Service_Analytics_Goal $postBody, $optParams = array())
2884
  {
2885
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
2886
  $params = array_merge($params, $optParams);
2887
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_Goal");
2888
  }
2889
  }
2890
  /**
2891
  * The "profileFilterLinks" collection of methods.
2892
  * Typical usage is:
2893
  * <code>
2894
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
2895
  * $profileFilterLinks = $analyticsService->profileFilterLinks;
2896
  * </code>
2897
  */
2898
+ class Forminator_Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Forminator_Google_Service_Resource
2899
  {
2900
 
2901
  /**
2924
  * @param string $profileId Profile ID to retrieve filter link for.
2925
  * @param string $linkId ID of the profile filter link.
2926
  * @param array $optParams Optional parameters.
2927
+ * @return Forminator_Google_Service_Analytics_ProfileFilterLink
2928
  */
2929
  public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
2930
  {
2931
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
2932
  $params = array_merge($params, $optParams);
2933
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_ProfileFilterLink");
2934
  }
2935
 
2936
  /**
2940
  * @param string $webPropertyId Web property Id to create profile filter link
2941
  * for.
2942
  * @param string $profileId Profile ID to create filter link for.
2943
+ * @param Forminator_Google_ProfileFilterLink $postBody
2944
  * @param array $optParams Optional parameters.
2945
+ * @return Forminator_Google_Service_Analytics_ProfileFilterLink
2946
  */
2947
+ public function insert($accountId, $webPropertyId, $profileId, Forminator_Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2948
  {
2949
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2950
  $params = array_merge($params, $optParams);
2951
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_ProfileFilterLink");
2952
  }
2953
 
2954
  /**
2968
  * include in this response.
2969
  * @opt_param int start-index An index of the first entity to retrieve. Use this
2970
  * parameter as a pagination mechanism along with the max-results parameter.
2971
+ * @return Forminator_Google_Service_Analytics_ProfileFilterLinks
2972
  */
2973
  public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array())
2974
  {
2975
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2976
  $params = array_merge($params, $optParams);
2977
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_ProfileFilterLinks");
2978
  }
2979
 
2980
  /**
2986
  * belongs
2987
  * @param string $profileId Profile ID to which filter link belongs
2988
  * @param string $linkId ID of the profile filter link to be updated.
2989
+ * @param Forminator_Google_ProfileFilterLink $postBody
2990
  * @param array $optParams Optional parameters.
2991
+ * @return Forminator_Google_Service_Analytics_ProfileFilterLink
2992
  */
2993
+ public function patch($accountId, $webPropertyId, $profileId, $linkId, Forminator_Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2994
  {
2995
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
2996
  $params = array_merge($params, $optParams);
2997
+ return $this->call('patch', array($params), "Forminator_Google_Service_Analytics_ProfileFilterLink");
2998
  }
2999
 
3000
  /**
3005
  * belongs
3006
  * @param string $profileId Profile ID to which filter link belongs
3007
  * @param string $linkId ID of the profile filter link to be updated.
3008
+ * @param Forminator_Google_ProfileFilterLink $postBody
3009
  * @param array $optParams Optional parameters.
3010
+ * @return Forminator_Google_Service_Analytics_ProfileFilterLink
3011
  */
3012
+ public function update($accountId, $webPropertyId, $profileId, $linkId, Forminator_Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
3013
  {
3014
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
3015
  $params = array_merge($params, $optParams);
3016
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_ProfileFilterLink");
3017
  }
3018
  }
3019
  /**
3020
  * The "profileUserLinks" collection of methods.
3021
  * Typical usage is:
3022
  * <code>
3023
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3024
  * $profileUserLinks = $analyticsService->profileUserLinks;
3025
  * </code>
3026
  */
3027
+ class Forminator_Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Forminator_Google_Service_Resource
3028
  {
3029
 
3030
  /**
3049
  * @param string $accountId Account ID to create the user link for.
3050
  * @param string $webPropertyId Web Property ID to create the user link for.
3051
  * @param string $profileId View (Profile) ID to create the user link for.
3052
+ * @param Forminator_Google_EntityUserLink $postBody
3053
  * @param array $optParams Optional parameters.
3054
+ * @return Forminator_Google_Service_Analytics_EntityUserLink
3055
  */
3056
+ public function insert($accountId, $webPropertyId, $profileId, Forminator_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3057
  {
3058
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3059
  $params = array_merge($params, $optParams);
3060
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_EntityUserLink");
3061
  }
3062
 
3063
  /**
3079
  * @opt_param int start-index An index of the first profile-user link to
3080
  * retrieve. Use this parameter as a pagination mechanism along with the max-
3081
  * results parameter.
3082
+ * @return Forminator_Google_Service_Analytics_EntityUserLinks
3083
  */
3084
  public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
3085
  {
3086
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
3087
  $params = array_merge($params, $optParams);
3088
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_EntityUserLinks");
3089
  }
3090
 
3091
  /**
3096
  * @param string $webPropertyId Web Property ID to update the user link for.
3097
  * @param string $profileId View (Profile ID) to update the user link for.
3098
  * @param string $linkId Link ID to update the user link for.
3099
+ * @param Forminator_Google_EntityUserLink $postBody
3100
  * @param array $optParams Optional parameters.
3101
+ * @return Forminator_Google_Service_Analytics_EntityUserLink
3102
  */
3103
+ public function update($accountId, $webPropertyId, $profileId, $linkId, Forminator_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3104
  {
3105
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
3106
  $params = array_merge($params, $optParams);
3107
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_EntityUserLink");
3108
  }
3109
  }
3110
  /**
3111
  * The "profiles" collection of methods.
3112
  * Typical usage is:
3113
  * <code>
3114
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3115
  * $profiles = $analyticsService->profiles;
3116
  * </code>
3117
  */
3118
+ class Forminator_Google_Service_Analytics_ManagementProfiles_Resource extends Forminator_Google_Service_Resource
3119
  {
3120
 
3121
  /**
3141
  * @param string $webPropertyId Web property ID to retrieve the goal for.
3142
  * @param string $profileId View (Profile) ID to retrieve the goal for.
3143
  * @param array $optParams Optional parameters.
3144
+ * @return Forminator_Google_Service_Analytics_Profile
3145
  */
3146
  public function get($accountId, $webPropertyId, $profileId, $optParams = array())
3147
  {
3148
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
3149
  $params = array_merge($params, $optParams);
3150
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_Profile");
3151
  }
3152
 
3153
  /**
3156
  * @param string $accountId Account ID to create the view (profile) for.
3157
  * @param string $webPropertyId Web property ID to create the view (profile)
3158
  * for.
3159
+ * @param Forminator_Google_Profile $postBody
3160
  * @param array $optParams Optional parameters.
3161
+ * @return Forminator_Google_Service_Analytics_Profile
3162
  */
3163
+ public function insert($accountId, $webPropertyId, Forminator_Google_Service_Analytics_Profile $postBody, $optParams = array())
3164
  {
3165
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3166
  $params = array_merge($params, $optParams);
3167
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_Profile");
3168
  }
3169
 
3170
  /**
3183
  * in this response.
3184
  * @opt_param int start-index An index of the first entity to retrieve. Use this
3185
  * parameter as a pagination mechanism along with the max-results parameter.
3186
+ * @return Forminator_Google_Service_Analytics_Profiles
3187
  */
3188
  public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
3189
  {
3190
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3191
  $params = array_merge($params, $optParams);
3192
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_Profiles");
3193
  }
3194
 
3195
  /**
3200
  * @param string $webPropertyId Web property ID to which the view (profile)
3201
  * belongs
3202
  * @param string $profileId ID of the view (profile) to be updated.
3203
+ * @param Forminator_Google_Profile $postBody
3204
  * @param array $optParams Optional parameters.
3205
+ * @return Forminator_Google_Service_Analytics_Profile
3206
  */
3207
+ public function patch($accountId, $webPropertyId, $profileId, Forminator_Google_Service_Analytics_Profile $postBody, $optParams = array())
3208
  {
3209
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3210
  $params = array_merge($params, $optParams);
3211
+ return $this->call('patch', array($params), "Forminator_Google_Service_Analytics_Profile");
3212
  }
3213
 
3214
  /**
3218
  * @param string $webPropertyId Web property ID to which the view (profile)
3219
  * belongs
3220
  * @param string $profileId ID of the view (profile) to be updated.
3221
+ * @param Forminator_Google_Profile $postBody
3222
  * @param array $optParams Optional parameters.
3223
+ * @return Forminator_Google_Service_Analytics_Profile
3224
  */
3225
+ public function update($accountId, $webPropertyId, $profileId, Forminator_Google_Service_Analytics_Profile $postBody, $optParams = array())
3226
  {
3227
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3228
  $params = array_merge($params, $optParams);
3229
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_Profile");
3230
  }
3231
  }
3232
  /**
3233
  * The "segments" collection of methods.
3234
  * Typical usage is:
3235
  * <code>
3236
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3237
  * $segments = $analyticsService->segments;
3238
  * </code>
3239
  */
3240
+ class Forminator_Google_Service_Analytics_ManagementSegments_Resource extends Forminator_Google_Service_Resource
3241
  {
3242
 
3243
  /**
3251
  * @opt_param int start-index An index of the first segment to retrieve. Use
3252
  * this parameter as a pagination mechanism along with the max-results
3253
  * parameter.
3254
+ * @return Forminator_Google_Service_Analytics_Segments
3255
  */
3256
  public function listManagementSegments($optParams = array())
3257
  {
3258
  $params = array();
3259
  $params = array_merge($params, $optParams);
3260
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_Segments");
3261
  }
3262
  }
3263
  /**
3264
  * The "unsampledReports" collection of methods.
3265
  * Typical usage is:
3266
  * <code>
3267
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3268
  * $unsampledReports = $analyticsService->unsampledReports;
3269
  * </code>
3270
  */
3271
+ class Forminator_Google_Service_Analytics_ManagementUnsampledReports_Resource extends Forminator_Google_Service_Resource
3272
  {
3273
 
3274
  /**
3298
  * @param string $profileId View (Profile) ID to retrieve unsampled report for.
3299
  * @param string $unsampledReportId ID of the unsampled report to retrieve.
3300
  * @param array $optParams Optional parameters.
3301
+ * @return Forminator_Google_Service_Analytics_UnsampledReport
3302
  */
3303
  public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array())
3304
  {
3305
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId);
3306
  $params = array_merge($params, $optParams);
3307
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_UnsampledReport");
3308
  }
3309
 
3310
  /**
3315
  * for.
3316
  * @param string $profileId View (Profile) ID to create the unsampled report
3317
  * for.
3318
+ * @param Forminator_Google_UnsampledReport $postBody
3319
  * @param array $optParams Optional parameters.
3320
+ * @return Forminator_Google_Service_Analytics_UnsampledReport
3321
  */
3322
+ public function insert($accountId, $webPropertyId, $profileId, Forminator_Google_Service_Analytics_UnsampledReport $postBody, $optParams = array())
3323
  {
3324
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3325
  $params = array_merge($params, $optParams);
3326
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_UnsampledReport");
3327
  }
3328
 
3329
  /**
3343
  * @opt_param int start-index An index of the first unsampled report to
3344
  * retrieve. Use this parameter as a pagination mechanism along with the max-
3345
  * results parameter.
3346
+ * @return Forminator_Google_Service_Analytics_UnsampledReports
3347
  */
3348
  public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array())
3349
  {
3350
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
3351
  $params = array_merge($params, $optParams);
3352
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_UnsampledReports");
3353
  }
3354
  }
3355
  /**
3356
  * The "uploads" collection of methods.
3357
  * Typical usage is:
3358
  * <code>
3359
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3360
  * $uploads = $analyticsService->uploads;
3361
  * </code>
3362
  */
3363
+ class Forminator_Google_Service_Analytics_ManagementUploads_Resource extends Forminator_Google_Service_Resource
3364
  {
3365
 
3366
  /**
3370
  * @param string $webPropertyId Web property Id for the uploads to be deleted.
3371
  * @param string $customDataSourceId Custom data source Id for the uploads to be
3372
  * deleted.
3373
+ * @param Forminator_Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
3374
  * @param array $optParams Optional parameters.
3375
  */
3376
+ public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Forminator_Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
3377
  {
3378
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
3379
  $params = array_merge($params, $optParams);
3389
  * retrieve.
3390
  * @param string $uploadId Upload Id to retrieve.
3391
  * @param array $optParams Optional parameters.
3392
+ * @return Forminator_Google_Service_Analytics_Upload
3393
  */
3394
  public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
3395
  {
3396
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
3397
  $params = array_merge($params, $optParams);
3398
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_Upload");
3399
  }
3400
 
3401
  /**
3412
  * @opt_param int start-index A 1-based index of the first upload to retrieve.
3413
  * Use this parameter as a pagination mechanism along with the max-results
3414
  * parameter.
3415
+ * @return Forminator_Google_Service_Analytics_Uploads
3416
  */
3417
  public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
3418
  {
3419
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
3420
  $params = array_merge($params, $optParams);
3421
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_Uploads");
3422
  }
3423
 
3424
  /**
3430
  * @param string $customDataSourceId Custom data source Id to which the data
3431
  * being uploaded belongs.
3432
  * @param array $optParams Optional parameters.
3433
+ * @return Forminator_Google_Service_Analytics_Upload
3434
  */
3435
  public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
3436
  {
3437
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
3438
  $params = array_merge($params, $optParams);
3439
+ return $this->call('uploadData', array($params), "Forminator_Google_Service_Analytics_Upload");
3440
  }
3441
  }
3442
  /**
3443
  * The "webPropertyAdWordsLinks" collection of methods.
3444
  * Typical usage is:
3445
  * <code>
3446
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3447
  * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
3448
  * </code>
3449
  */
3450
+ class Forminator_Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Forminator_Google_Service_Resource
3451
  {
3452
 
3453
  /**
3476
  * for.
3477
  * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
3478
  * @param array $optParams Optional parameters.
3479
+ * @return Forminator_Google_Service_Analytics_EntityAdWordsLink
3480
  */
3481
  public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
3482
  {
3483
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
3484
  $params = array_merge($params, $optParams);
3485
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_EntityAdWordsLink");
3486
  }
3487
 
3488
  /**
3491
  * @param string $accountId ID of the Google Analytics account to create the
3492
  * link for.
3493
  * @param string $webPropertyId Web property ID to create the link for.
3494
+ * @param Forminator_Google_EntityAdWordsLink $postBody
3495
  * @param array $optParams Optional parameters.
3496
+ * @return Forminator_Google_Service_Analytics_EntityAdWordsLink
3497
  */
3498
+ public function insert($accountId, $webPropertyId, Forminator_Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3499
  {
3500
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3501
  $params = array_merge($params, $optParams);
3502
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_EntityAdWordsLink");
3503
  }
3504
 
3505
  /**
3517
  * @opt_param int start-index An index of the first webProperty-AdWords link to
3518
  * retrieve. Use this parameter as a pagination mechanism along with the max-
3519
  * results parameter.
3520
+ * @return Forminator_Google_Service_Analytics_EntityAdWordsLinks
3521
  */
3522
  public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array())
3523
  {
3524
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3525
  $params = array_merge($params, $optParams);
3526
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_EntityAdWordsLinks");
3527
  }
3528
 
3529
  /**
3535
  * @param string $webPropertyId Web property ID to retrieve the AdWords link
3536
  * for.
3537
  * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
3538
+ * @param Forminator_Google_EntityAdWordsLink $postBody
3539
  * @param array $optParams Optional parameters.
3540
+ * @return Forminator_Google_Service_Analytics_EntityAdWordsLink
3541
  */
3542
+ public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Forminator_Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3543
  {
3544
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
3545
  $params = array_merge($params, $optParams);
3546
+ return $this->call('patch', array($params), "Forminator_Google_Service_Analytics_EntityAdWordsLink");
3547
  }
3548
 
3549
  /**
3555
  * @param string $webPropertyId Web property ID to retrieve the AdWords link
3556
  * for.
3557
  * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
3558
+ * @param Forminator_Google_EntityAdWordsLink $postBody
3559
  * @param array $optParams Optional parameters.
3560
+ * @return Forminator_Google_Service_Analytics_EntityAdWordsLink
3561
  */
3562
+ public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Forminator_Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3563
  {
3564
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
3565
  $params = array_merge($params, $optParams);
3566
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_EntityAdWordsLink");
3567
  }
3568
  }
3569
  /**
3570
  * The "webproperties" collection of methods.
3571
  * Typical usage is:
3572
  * <code>
3573
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3574
  * $webproperties = $analyticsService->webproperties;
3575
  * </code>
3576
  */
3577
+ class Forminator_Google_Service_Analytics_ManagementWebproperties_Resource extends Forminator_Google_Service_Resource
3578
  {
3579
 
3580
  /**
3583
  * @param string $accountId Account ID to retrieve the web property for.
3584
  * @param string $webPropertyId ID to retrieve the web property for.
3585
  * @param array $optParams Optional parameters.
3586
+ * @return Forminator_Google_Service_Analytics_Webproperty
3587
  */
3588
  public function get($accountId, $webPropertyId, $optParams = array())
3589
  {
3590
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3591
  $params = array_merge($params, $optParams);
3592
+ return $this->call('get', array($params), "Forminator_Google_Service_Analytics_Webproperty");
3593
  }
3594
 
3595
  /**
3598
  * least one profile. (webproperties.insert)
3599
  *
3600
  * @param string $accountId Account ID to create the web property for.
3601
+ * @param Forminator_Google_Webproperty $postBody
3602
  * @param array $optParams Optional parameters.
3603
+ * @return Forminator_Google_Service_Analytics_Webproperty
3604
  */
3605
+ public function insert($accountId, Forminator_Google_Service_Analytics_Webproperty $postBody, $optParams = array())
3606
  {
3607
  $params = array('accountId' => $accountId, 'postBody' => $postBody);
3608
  $params = array_merge($params, $optParams);
3609
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_Webproperty");
3610
  }
3611
 
3612
  /**
3622
  * this response.
3623
  * @opt_param int start-index An index of the first entity to retrieve. Use this
3624
  * parameter as a pagination mechanism along with the max-results parameter.
3625
+ * @return Forminator_Google_Service_Analytics_Webproperties
3626
  */
3627
  public function listManagementWebproperties($accountId, $optParams = array())
3628
  {
3629
  $params = array('accountId' => $accountId);
3630
  $params = array_merge($params, $optParams);
3631
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_Webproperties");
3632
  }
3633
 
3634
  /**
3637
  *
3638
  * @param string $accountId Account ID to which the web property belongs
3639
  * @param string $webPropertyId Web property ID
3640
+ * @param Forminator_Google_Webproperty $postBody
3641
  * @param array $optParams Optional parameters.
3642
+ * @return Forminator_Google_Service_Analytics_Webproperty
3643
  */
3644
+ public function patch($accountId, $webPropertyId, Forminator_Google_Service_Analytics_Webproperty $postBody, $optParams = array())
3645
  {
3646
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3647
  $params = array_merge($params, $optParams);
3648
+ return $this->call('patch', array($params), "Forminator_Google_Service_Analytics_Webproperty");
3649
  }
3650
 
3651
  /**
3653
  *
3654
  * @param string $accountId Account ID to which the web property belongs
3655
  * @param string $webPropertyId Web property ID
3656
+ * @param Forminator_Google_Webproperty $postBody
3657
  * @param array $optParams Optional parameters.
3658
+ * @return Forminator_Google_Service_Analytics_Webproperty
3659
  */
3660
+ public function update($accountId, $webPropertyId, Forminator_Google_Service_Analytics_Webproperty $postBody, $optParams = array())
3661
  {
3662
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3663
  $params = array_merge($params, $optParams);
3664
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_Webproperty");
3665
  }
3666
  }
3667
  /**
3668
  * The "webpropertyUserLinks" collection of methods.
3669
  * Typical usage is:
3670
  * <code>
3671
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3672
  * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
3673
  * </code>
3674
  */
3675
+ class Forminator_Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Forminator_Google_Service_Resource
3676
  {
3677
 
3678
  /**
3695
  *
3696
  * @param string $accountId Account ID to create the user link for.
3697
  * @param string $webPropertyId Web Property ID to create the user link for.
3698
+ * @param Forminator_Google_EntityUserLink $postBody
3699
  * @param array $optParams Optional parameters.
3700
+ * @return Forminator_Google_Service_Analytics_EntityUserLink
3701
  */
3702
+ public function insert($accountId, $webPropertyId, Forminator_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3703
  {
3704
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3705
  $params = array_merge($params, $optParams);
3706
+ return $this->call('insert', array($params), "Forminator_Google_Service_Analytics_EntityUserLink");
3707
  }
3708
 
3709
  /**
3721
  * @opt_param int start-index An index of the first webProperty-user link to
3722
  * retrieve. Use this parameter as a pagination mechanism along with the max-
3723
  * results parameter.
3724
+ * @return Forminator_Google_Service_Analytics_EntityUserLinks
3725
  */
3726
  public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
3727
  {
3728
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3729
  $params = array_merge($params, $optParams);
3730
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_EntityUserLinks");
3731
  }
3732
 
3733
  /**
3738
  * @param string $webPropertyId Web property ID to update the account-user link
3739
  * for.
3740
  * @param string $linkId Link ID to update the account-user link for.
3741
+ * @param Forminator_Google_EntityUserLink $postBody
3742
  * @param array $optParams Optional parameters.
3743
+ * @return Forminator_Google_Service_Analytics_EntityUserLink
3744
  */
3745
+ public function update($accountId, $webPropertyId, $linkId, Forminator_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3746
  {
3747
  $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
3748
  $params = array_merge($params, $optParams);
3749
+ return $this->call('update', array($params), "Forminator_Google_Service_Analytics_EntityUserLink");
3750
  }
3751
  }
3752
 
3754
  * The "metadata" collection of methods.
3755
  * Typical usage is:
3756
  * <code>
3757
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3758
  * $metadata = $analyticsService->metadata;
3759
  * </code>
3760
  */
3761
+ class Forminator_Google_Service_Analytics_Metadata_Resource extends Forminator_Google_Service_Resource
3762
  {
3763
  }
3764
 
3766
  * The "columns" collection of methods.
3767
  * Typical usage is:
3768
  * <code>
3769
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3770
  * $columns = $analyticsService->columns;
3771
  * </code>
3772
  */
3773
+ class Forminator_Google_Service_Analytics_MetadataColumns_Resource extends Forminator_Google_Service_Resource
3774
  {
3775
 
3776
  /**
3779
  * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga'
3780
  * corresponds to the Core Reporting API
3781
  * @param array $optParams Optional parameters.
3782
+ * @return Forminator_Google_Service_Analytics_Columns
3783
  */
3784
  public function listMetadataColumns($reportType, $optParams = array())
3785
  {
3786
  $params = array('reportType' => $reportType);
3787
  $params = array_merge($params, $optParams);
3788
+ return $this->call('list', array($params), "Forminator_Google_Service_Analytics_Columns");
3789
  }
3790
  }
3791
 
3793
  * The "provisioning" collection of methods.
3794
  * Typical usage is:
3795
  * <code>
3796
+ * $analyticsService = new Forminator_Google_Service_Analytics(...);
3797
  * $provisioning = $analyticsService->provisioning;
3798
  * </code>
3799
  */
3800
+ class Forminator_Google_Service_Analytics_Provisioning_Resource extends Forminator_Google_Service_Resource
3801
  {
3802
 
3803
  /**
3804
  * Creates an account ticket. (provisioning.createAccountTicket)
3805
  *
3806
+ * @param Forminator_Google_AccountTicket $postBody
3807
  * @param array $optParams Optional parameters.
3808
+ * @return Forminator_Google_Service_Analytics_AccountTicket
3809
  */
3810
+ public function createAccountTicket(Forminator_Google_Service_Analytics_AccountTicket $postBody, $optParams = array())
3811
  {
3812
  $params = array('postBody' => $postBody);
3813
  $params = array_merge($params, $optParams);
3814
+ return $this->call('createAccountTicket', array($params), "Forminator_Google_Service_Analytics_AccountTicket");
3815
  }
3816
  }
3817
 
3818
 
3819
 
3820
 
3821
+ class Forminator_Google_Service_Analytics_Account extends Forminator_Google_Model
3822
  {
3823
  protected $internal_gapi_mappings = array(
3824
  );
3825
+ protected $childLinkType = 'Forminator_Google_Service_Analytics_AccountChildLink';
3826
  protected $childLinkDataType = '';
3827
  public $created;
3828
  public $id;
3829
  public $kind;
3830
  public $name;
3831
+ protected $permissionsType = 'Forminator_Google_Service_Analytics_AccountPermissions';
3832
  protected $permissionsDataType = '';
3833
  public $selfLink;
3834
  public $updated;
3835
 
3836
 
3837
+ public function setChildLink(Forminator_Google_Service_Analytics_AccountChildLink $childLink)
3838
  {
3839
  $this->childLink = $childLink;
3840
  }
3874
  {
3875
  return $this->name;
3876
  }
3877
+ public function setPermissions(Forminator_Google_Service_Analytics_AccountPermissions $permissions)
3878
  {
3879
  $this->permissions = $permissions;
3880
  }
3900
  }
3901
  }
3902
 
3903
+ class Forminator_Google_Service_Analytics_AccountChildLink extends Forminator_Google_Model
3904
  {
3905
  protected $internal_gapi_mappings = array(
3906
  );
3926
  }
3927
  }
3928
 
3929
+ class Forminator_Google_Service_Analytics_AccountPermissions extends Forminator_Google_Collection
3930
  {
3931
  protected $collection_key = 'effective';
3932
  protected $internal_gapi_mappings = array(
3944
  }
3945
  }
3946
 
3947
+ class Forminator_Google_Service_Analytics_AccountRef extends Forminator_Google_Model
3948
  {
3949
  protected $internal_gapi_mappings = array(
3950
  );
3988
  }
3989
  }
3990
 
3991
+ class Forminator_Google_Service_Analytics_AccountSummaries extends Forminator_Google_Collection
3992
  {
3993
  protected $collection_key = 'items';
3994
  protected $internal_gapi_mappings = array(
3995
  );
3996
+ protected $itemsType = 'Forminator_Google_Service_Analytics_AccountSummary';
3997
  protected $itemsDataType = 'array';
3998
  public $itemsPerPage;
3999
  public $kind;
4070
  }
4071
  }
4072
 
4073
+ class Forminator_Google_Service_Analytics_AccountSummary extends Forminator_Google_Collection
4074
  {
4075
  protected $collection_key = 'webProperties';
4076
  protected $internal_gapi_mappings = array(
4078
  public $id;
4079
  public $kind;
4080
  public $name;
4081
+ protected $webPropertiesType = 'Forminator_Google_Service_Analytics_WebPropertySummary';
4082
  protected $webPropertiesDataType = 'array';
4083
 
4084
 
4116
  }
4117
  }
4118
 
4119
+ class Forminator_Google_Service_Analytics_AccountTicket extends Forminator_Google_Model
4120
  {
4121
  protected $internal_gapi_mappings = array(
4122
  );
4123
+ protected $accountType = 'Forminator_Google_Service_Analytics_Account';
4124
  protected $accountDataType = '';
4125
  public $id;
4126
  public $kind;
4127
+ protected $profileType = 'Forminator_Google_Service_Analytics_Profile';
4128
  protected $profileDataType = '';
4129
  public $redirectUri;
4130
+ protected $webpropertyType = 'Forminator_Google_Service_Analytics_Webproperty';
4131
  protected $webpropertyDataType = '';
4132
 
4133
 
4134
+ public function setAccount(Forminator_Google_Service_Analytics_Account $account)
4135
  {
4136
  $this->account = $account;
4137
  }
4155
  {
4156
  return $this->kind;
4157
  }
4158
+ public function setProfile(Forminator_Google_Service_Analytics_Profile $profile)
4159
  {
4160
  $this->profile = $profile;
4161
  }
4171
  {
4172
  return $this->redirectUri;
4173
  }
4174
+ public function setWebproperty(Forminator_Google_Service_Analytics_Webproperty $webproperty)
4175
  {
4176
  $this->webproperty = $webproperty;
4177
  }
4181
  }
4182
  }
4183
 
4184
+ class Forminator_Google_Service_Analytics_Accounts extends Forminator_Google_Collection
4185
  {
4186
  protected $collection_key = 'items';
4187
  protected $internal_gapi_mappings = array(
4188
  );
4189
+ protected $itemsType = 'Forminator_Google_Service_Analytics_Account';
4190
  protected $itemsDataType = 'array';
4191
  public $itemsPerPage;
4192
  public $kind;
4263
  }
4264
  }
4265
 
4266
+ class Forminator_Google_Service_Analytics_AdWordsAccount extends Forminator_Google_Model
4267
  {
4268
  protected $internal_gapi_mappings = array(
4269
  );
4298
  }
4299
  }
4300
 
4301
+ class Forminator_Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Forminator_Google_Collection
4302
  {
4303
  protected $collection_key = 'customDataImportUids';
4304
  protected $internal_gapi_mappings = array(
4316
  }
4317
  }
4318
 
4319
+ class Forminator_Google_Service_Analytics_Column extends Forminator_Google_Model
4320
  {
4321
  protected $internal_gapi_mappings = array(
4322
  );
4351
  }
4352
  }
4353
 
4354
+ class Forminator_Google_Service_Analytics_Columns extends Forminator_Google_Collection
4355
  {
4356
  protected $collection_key = 'items';
4357
  protected $internal_gapi_mappings = array(
4358
  );
4359
  public $attributeNames;
4360
  public $etag;
4361
+ protected $itemsType = 'Forminator_Google_Service_Analytics_Column';
4362
  protected $itemsDataType = 'array';
4363
  public $kind;
4364
  public $totalResults;
4406
  }
4407
  }
4408
 
4409
+ class Forminator_Google_Service_Analytics_CustomDataSource extends Forminator_Google_Collection
4410
  {
4411
  protected $collection_key = 'profilesLinked';
4412
  protected $internal_gapi_mappings = array(
4413
  );
4414
  public $accountId;
4415
+ protected $childLinkType = 'Forminator_Google_Service_Analytics_CustomDataSourceChildLink';
4416
  protected $childLinkDataType = '';
4417
  public $created;
4418
  public $description;
4420
  public $importBehavior;
4421
  public $kind;
4422
  public $name;
4423
+ protected $parentLinkType = 'Forminator_Google_Service_Analytics_CustomDataSourceParentLink';
4424
  protected $parentLinkDataType = '';
4425
  public $profilesLinked;
4426
  public $selfLink;
4438
  {
4439
  return $this->accountId;
4440
  }
4441
+ public function setChildLink(Forminator_Google_Service_Analytics_CustomDataSourceChildLink $childLink)
4442
  {
4443
  $this->childLink = $childLink;
4444
  }
4494
  {
4495
  return $this->name;
4496
  }
4497
+ public function setParentLink(Forminator_Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
4498
  {
4499
  $this->parentLink = $parentLink;
4500
  }
4552
  }
4553
  }
4554
 
4555
+ class Forminator_Google_Service_Analytics_CustomDataSourceChildLink extends Forminator_Google_Model
4556
  {
4557
  protected $internal_gapi_mappings = array(
4558
  );
4578
  }
4579
  }
4580
 
4581
+ class Forminator_Google_Service_Analytics_CustomDataSourceParentLink extends Forminator_Google_Model
4582
  {
4583
  protected $internal_gapi_mappings = array(
4584
  );
4604
  }
4605
  }
4606
 
4607
+ class Forminator_Google_Service_Analytics_CustomDataSources extends Forminator_Google_Collection
4608
  {
4609
  protected $collection_key = 'items';
4610
  protected $internal_gapi_mappings = array(
4611
  );
4612
+ protected $itemsType = 'Forminator_Google_Service_Analytics_CustomDataSource';
4613
  protected $itemsDataType = 'array';
4614
  public $itemsPerPage;
4615
  public $kind;
4686
  }
4687
  }
4688
 
4689
+ class Forminator_Google_Service_Analytics_CustomDimension extends Forminator_Google_Model
4690
  {
4691
  protected $internal_gapi_mappings = array(
4692
  );
4697
  public $index;
4698
  public $kind;
4699
  public $name;
4700
+ protected $parentLinkType = 'Forminator_Google_Service_Analytics_CustomDimensionParentLink';
4701
  protected $parentLinkDataType = '';
4702
  public $scope;
4703
  public $selfLink;
4761
  {
4762
  return $this->name;
4763
  }
4764
+ public function setParentLink(Forminator_Google_Service_Analytics_CustomDimensionParentLink $parentLink)
4765
  {
4766
  $this->parentLink = $parentLink;
4767
  }
4803
  }
4804
  }
4805
 
4806
+ class Forminator_Google_Service_Analytics_CustomDimensionParentLink extends Forminator_Google_Model
4807
  {
4808
  protected $internal_gapi_mappings = array(
4809
  );
4829
  }
4830
  }
4831
 
4832
+ class Forminator_Google_Service_Analytics_CustomDimensions extends Forminator_Google_Collection
4833
  {
4834
  protected $collection_key = 'items';
4835
  protected $internal_gapi_mappings = array(
4836
  );
4837
+ protected $itemsType = 'Forminator_Google_Service_Analytics_CustomDimension';
4838
  protected $itemsDataType = 'array';
4839
  public $itemsPerPage;
4840
  public $kind;
4911
  }
4912
  }
4913
 
4914
+ class Forminator_Google_Service_Analytics_CustomMetric extends Forminator_Google_Model
4915
  {
4916
  protected $internal_gapi_mappings = array(
4917
  "maxValue" => "max_value",
4926
  public $maxValue;
4927
  public $minValue;
4928
  public $name;
4929
+ protected $parentLinkType = 'Forminator_Google_Service_Analytics_CustomMetricParentLink';
4930
  protected $parentLinkDataType = '';
4931
  public $scope;
4932
  public $selfLink;
5007
  {
5008
  return $this->name;
5009
  }
5010
+ public function setParentLink(Forminator_Google_Service_Analytics_CustomMetricParentLink $parentLink)
5011
  {
5012
  $this->parentLink = $parentLink;
5013
  }
5057
  }
5058
  }
5059
 
5060
+ class Forminator_Google_Service_Analytics_CustomMetricParentLink extends Forminator_Google_Model
5061
  {
5062
  protected $internal_gapi_mappings = array(
5063
  );
5083
  }
5084
  }
5085
 
5086
+ class Forminator_Google_Service_Analytics_CustomMetrics extends Forminator_Google_Collection
5087
  {
5088
  protected $collection_key = 'items';
5089
  protected $internal_gapi_mappings = array(
5090
  );
5091
+ protected $itemsType = 'Forminator_Google_Service_Analytics_CustomMetric';
5092
  protected $itemsDataType = 'array';
5093
  public $itemsPerPage;
5094
  public $kind;
5165
  }
5166
  }
5167
 
5168
+ class Forminator_Google_Service_Analytics_EntityAdWordsLink extends Forminator_Google_Collection
5169
  {
5170
  protected $collection_key = 'profileIds';
5171
  protected $internal_gapi_mappings = array(
5172
  );
5173
+ protected $adWordsAccountsType = 'Forminator_Google_Service_Analytics_AdWordsAccount';
5174
  protected $adWordsAccountsDataType = 'array';
5175
+ protected $entityType = 'Forminator_Google_Service_Analytics_EntityAdWordsLinkEntity';
5176
  protected $entityDataType = '';
5177
  public $id;
5178
  public $kind;
5189
  {
5190
  return $this->adWordsAccounts;
5191
  }
5192
+ public function setEntity(Forminator_Google_Service_Analytics_EntityAdWordsLinkEntity $entity)
5193
  {
5194
  $this->entity = $entity;
5195
  }
5239
  }
5240
  }
5241
 
5242
+ class Forminator_Google_Service_Analytics_EntityAdWordsLinkEntity extends Forminator_Google_Model
5243
  {
5244
  protected $internal_gapi_mappings = array(
5245
  );
5246
+ protected $webPropertyRefType = 'Forminator_Google_Service_Analytics_WebPropertyRef';
5247
  protected $webPropertyRefDataType = '';
5248
 
5249
 
5250
+ public function setWebPropertyRef(Forminator_Google_Service_Analytics_WebPropertyRef $webPropertyRef)
5251
  {
5252
  $this->webPropertyRef = $webPropertyRef;
5253
  }
5257
  }
5258
  }
5259
 
5260
+ class Forminator_Google_Service_Analytics_EntityAdWordsLinks extends Forminator_Google_Collection
5261
  {
5262
  protected $collection_key = 'items';
5263
  protected $internal_gapi_mappings = array(
5264
  );
5265
+ protected $itemsType = 'Forminator_Google_Service_Analytics_EntityAdWordsLink';
5266
  protected $itemsDataType = 'array';
5267
  public $itemsPerPage;
5268
  public $kind;
5330
  }
5331
  }
5332
 
5333
+ class Forminator_Google_Service_Analytics_EntityUserLink extends Forminator_Google_Model
5334
  {
5335
  protected $internal_gapi_mappings = array(
5336
  );
5337
+ protected $entityType = 'Forminator_Google_Service_Analytics_EntityUserLinkEntity';
5338
  protected $entityDataType = '';
5339
  public $id;
5340
  public $kind;
5341
+ protected $permissionsType = 'Forminator_Google_Service_Analytics_EntityUserLinkPermissions';
5342
  protected $permissionsDataType = '';
5343
  public $selfLink;
5344
+ protected $userRefType = 'Forminator_Google_Service_Analytics_UserRef';
5345
  protected $userRefDataType = '';
5346
 
5347
 
5348
+ public function setEntity(Forminator_Google_Service_Analytics_EntityUserLinkEntity $entity)
5349
  {
5350
  $this->entity = $entity;
5351
  }
5369
  {
5370
  return $this->kind;
5371
  }
5372
+ public function setPermissions(Forminator_Google_Service_Analytics_EntityUserLinkPermissions $permissions)
5373
  {
5374
  $this->permissions = $permissions;
5375
  }
5385
  {
5386
  return $this->selfLink;
5387
  }
5388
+ public function setUserRef(Forminator_Google_Service_Analytics_UserRef $userRef)
5389
  {
5390
  $this->userRef = $userRef;
5391
  }
5395
  }
5396
  }
5397
 
5398
+ class Forminator_Google_Service_Analytics_EntityUserLinkEntity extends Forminator_Google_Model
5399
  {
5400
  protected $internal_gapi_mappings = array(
5401
  );
5402
+ protected $accountRefType = 'Forminator_Google_Service_Analytics_AccountRef';
5403
  protected $accountRefDataType = '';
5404
+ protected $profileRefType = 'Forminator_Google_Service_Analytics_ProfileRef';
5405
  protected $profileRefDataType = '';
5406
+ protected $webPropertyRefType = 'Forminator_Google_Service_Analytics_WebPropertyRef';
5407
  protected $webPropertyRefDataType = '';
5408
 
5409
 
5410
+ public function setAccountRef(Forminator_Google_Service_Analytics_AccountRef $accountRef)
5411
  {
5412
  $this->accountRef = $accountRef;
5413
  }
5415
  {
5416
  return $this->accountRef;
5417
  }
5418
+ public function setProfileRef(Forminator_Google_Service_Analytics_ProfileRef $profileRef)
5419
  {
5420
  $this->profileRef = $profileRef;
5421
  }
5423
  {
5424
  return $this->profileRef;
5425
  }
5426
+ public function setWebPropertyRef(Forminator_Google_Service_Analytics_WebPropertyRef $webPropertyRef)
5427
  {
5428
  $this->webPropertyRef = $webPropertyRef;
5429
  }
5433
  }
5434
  }
5435
 
5436
+ class Forminator_Google_Service_Analytics_EntityUserLinkPermissions extends Forminator_Google_Collection
5437
  {
5438
  protected $collection_key = 'local';
5439
  protected $internal_gapi_mappings = array(
5460
  }
5461
  }
5462
 
5463
+ class Forminator_Google_Service_Analytics_EntityUserLinks extends Forminator_Google_Collection
5464
  {
5465
  protected $collection_key = 'items';
5466
  protected $internal_gapi_mappings = array(
5467
  );
5468
+ protected $itemsType = 'Forminator_Google_Service_Analytics_EntityUserLink';
5469
  protected $itemsDataType = 'array';
5470
  public $itemsPerPage;
5471
  public $kind;
5533
  }
5534
  }
5535
 
5536
+ class Forminator_Google_Service_Analytics_Experiment extends Forminator_Google_Collection
5537
  {
5538
  protected $collection_key = 'variations';
5539
  protected $internal_gapi_mappings = array(
5551
  public $name;
5552
  public $objectiveMetric;
5553
  public $optimizationType;
5554
+ protected $parentLinkType = 'Forminator_Google_Service_Analytics_ExperimentParentLink';
5555
  protected $parentLinkDataType = '';
5556
  public $profileId;
5557
  public $reasonExperimentEnded;
5563
  public $status;
5564
  public $trafficCoverage;
5565
  public $updated;
5566
+ protected $variationsType = 'Forminator_Google_Service_Analytics_ExperimentVariations';
5567
  protected $variationsDataType = 'array';
5568
  public $webPropertyId;
5569
  public $winnerConfidenceLevel;
5674
  {
5675
  return $this->optimizationType;
5676
  }
5677
+ public function setParentLink(Forminator_Google_Service_Analytics_ExperimentParentLink $parentLink)
5678
  {
5679
  $this->parentLink = $parentLink;
5680
  }
5796
  }
5797
  }
5798
 
5799
+ class Forminator_Google_Service_Analytics_ExperimentParentLink extends Forminator_Google_Model
5800
  {
5801
  protected $internal_gapi_mappings = array(
5802
  );
5822
  }
5823
  }
5824
 
5825
+ class Forminator_Google_Service_Analytics_ExperimentVariations extends Forminator_Google_Model
5826
  {
5827
  protected $internal_gapi_mappings = array(
5828
  );
5875
  }
5876
  }
5877
 
5878
+ class Forminator_Google_Service_Analytics_Experiments extends Forminator_Google_Collection
5879
  {
5880
  protected $collection_key = 'items';
5881
  protected $internal_gapi_mappings = array(
5882
  );
5883
+ protected $itemsType = 'Forminator_Google_Service_Analytics_Experiment';
5884
  protected $itemsDataType = 'array';
5885
  public $itemsPerPage;
5886
  public $kind;
5957
  }
5958
  }
5959
 
5960
+ class Forminator_Google_Service_Analytics_Filter extends Forminator_Google_Model
5961
  {
5962
  protected $internal_gapi_mappings = array(
5963
  );
5964
  public $accountId;
5965
+ protected $advancedDetailsType = 'Forminator_Google_Service_Analytics_FilterAdvancedDetails';
5966
  protected $advancedDetailsDataType = '';
5967
  public $created;
5968
+ protected $excludeDetailsType = 'Forminator_Google_Service_Analytics_FilterExpression';
5969
  protected $excludeDetailsDataType = '';
5970
  public $id;
5971
+ protected $includeDetailsType = 'Forminator_Google_Service_Analytics_FilterExpression';
5972
  protected $includeDetailsDataType = '';
5973
  public $kind;
5974
+ protected $lowercaseDetailsType = 'Forminator_Google_Service_Analytics_FilterLowercaseDetails';
5975
  protected $lowercaseDetailsDataType = '';
5976
  public $name;
5977
+ protected $parentLinkType = 'Forminator_Google_Service_Analytics_FilterParentLink';
5978
  protected $parentLinkDataType = '';
5979
+ protected $searchAndReplaceDetailsType = 'Forminator_Google_Service_Analytics_FilterSearchAndReplaceDetails';
5980
  protected $searchAndReplaceDetailsDataType = '';
5981
  public $selfLink;
5982
  public $type;
5983
  public $updated;
5984
+ protected $uppercaseDetailsType = 'Forminator_Google_Service_Analytics_FilterUppercaseDetails';
5985
  protected $uppercaseDetailsDataType = '';
5986
 
5987
 
5993
  {
5994
  return $this->accountId;
5995
  }
5996
+ public function setAdvancedDetails(Forminator_Google_Service_Analytics_FilterAdvancedDetails $advancedDetails)
5997
  {
5998
  $this->advancedDetails = $advancedDetails;
5999
  }
6009
  {
6010
  return $this->created;
6011
  }
6012
+ public function setExcludeDetails(Forminator_Google_Service_Analytics_FilterExpression $excludeDetails)
6013
  {
6014
  $this->excludeDetails = $excludeDetails;
6015
  }
6025
  {
6026
  return $this->id;
6027
  }
6028
+ public function setIncludeDetails(Forminator_Google_Service_Analytics_FilterExpression $includeDetails)
6029
  {
6030
  $this->includeDetails = $includeDetails;
6031
  }
6041
  {
6042
  return $this->kind;
6043
  }
6044
+ public function setLowercaseDetails(Forminator_Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails)
6045
  {
6046
  $this->lowercaseDetails = $lowercaseDetails;
6047
  }
6057
  {
6058
  return $this->name;
6059
  }
6060
+ public function setParentLink(Forminator_Google_Service_Analytics_FilterParentLink $parentLink)
6061
  {
6062
  $this->parentLink = $parentLink;
6063
  }
6065
  {
6066
  return $this->parentLink;
6067
  }
6068
+ public function setSearchAndReplaceDetails(Forminator_Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails)
6069
  {
6070
  $this->searchAndReplaceDetails = $searchAndReplaceDetails;
6071
  }
6097
  {
6098
  return $this->updated;
6099
  }
6100
+ public function setUppercaseDetails(Forminator_Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
6101
  {
6102
  $this->uppercaseDetails = $uppercaseDetails;
6103
  }
6107
  }
6108
  }
6109
 
6110
+ class Forminator_Google_Service_Analytics_FilterAdvancedDetails extends Forminator_Google_Model
6111
  {
6112
  protected $internal_gapi_mappings = array(
6113
  );
6232
  }
6233
  }
6234
 
6235
+ class Forminator_Google_Service_Analytics_FilterExpression extends Forminator_Google_Model
6236
  {
6237
  protected $internal_gapi_mappings = array(
6238
  );
6294
  }
6295
  }
6296
 
6297
+ class Forminator_Google_Service_Analytics_FilterLowercaseDetails extends Forminator_Google_Model
6298
  {
6299
  protected $internal_gapi_mappings = array(
6300
  );
6320
  }
6321
  }
6322
 
6323
+ class Forminator_Google_Service_Analytics_FilterParentLink extends Forminator_Google_Model
6324
  {
6325
  protected $internal_gapi_mappings = array(
6326
  );
6346
  }
6347
  }
6348
 
6349
+ class Forminator_Google_Service_Analytics_FilterRef extends Forminator_Google_Model
6350
  {
6351
  protected $internal_gapi_mappings = array(
6352
  );
6399
  }
6400
  }
6401
 
6402
+ class Forminator_Google_Service_Analytics_FilterSearchAndReplaceDetails extends Forminator_Google_Model
6403
  {
6404
  protected $internal_gapi_mappings = array(
6405
  );
6452
  }
6453
  }
6454
 
6455
+ class Forminator_Google_Service_Analytics_FilterUppercaseDetails extends Forminator_Google_Model
6456
  {
6457
  protected $internal_gapi_mappings = array(
6458
  );
6478
  }
6479
  }
6480
 
6481
+ class Forminator_Google_Service_Analytics_Filters extends Forminator_Google_Collection
6482
  {
6483
  protected $collection_key = 'items';
6484
  protected $internal_gapi_mappings = array(
6485
  );
6486
+ protected $itemsType = 'Forminator_Google_Service_Analytics_Filter';
6487
  protected $itemsDataType = 'array';
6488
  public $itemsPerPage;
6489
  public $kind;
6560
  }
6561
  }
6562
 
6563
+ class Forminator_Google_Service_Analytics_GaData extends Forminator_Google_Collection
6564
  {
6565
  protected $collection_key = 'rows';
6566
  protected $internal_gapi_mappings = array(
6567
  );
6568
+ protected $columnHeadersType = 'Forminator_Google_Service_Analytics_GaDataColumnHeaders';
6569
  protected $columnHeadersDataType = 'array';
6570
  public $containsSampledData;
6571
+ protected $dataTableType = 'Forminator_Google_Service_Analytics_GaDataDataTable';
6572
  protected $dataTableDataType = '';
6573
  public $id;
6574
  public $itemsPerPage;
6575
  public $kind;
6576
  public $nextLink;
6577
  public $previousLink;
6578
+ protected $profileInfoType = 'Forminator_Google_Service_Analytics_GaDataProfileInfo';
6579
  protected $profileInfoDataType = '';
6580
+ protected $queryType = 'Forminator_Google_Service_Analytics_GaDataQuery';
6581
  protected $queryDataType = '';
6582
  public $rows;
6583
  public $sampleSize;
6603
  {
6604
  return $this->containsSampledData;
6605
  }
6606
+ public function setDataTable(Forminator_Google_Service_Analytics_GaDataDataTable $dataTable)
6607
  {
6608
  $this->dataTable = $dataTable;
6609
  }
6651
  {
6652
  return $this->previousLink;
6653
  }
6654
+ public function setProfileInfo(Forminator_Google_Service_Analytics_GaDataProfileInfo $profileInfo)
6655
  {
6656
  $this->profileInfo = $profileInfo;
6657
  }
6659
  {
6660
  return $this->profileInfo;
6661
  }
6662
+ public function setQuery(Forminator_Google_Service_Analytics_GaDataQuery $query)
6663
  {
6664
  $this->query = $query;
6665
  }
6717
  }
6718
  }
6719
 
6720
+ class Forminator_Google_Service_Analytics_GaDataColumnHeaders extends Forminator_Google_Model
6721
  {
6722
  protected $internal_gapi_mappings = array(
6723
  );
6752
  }
6753
  }
6754
 
6755
+ class Forminator_Google_Service_Analytics_GaDataDataTable extends Forminator_Google_Collection
6756
  {
6757
  protected $collection_key = 'rows';
6758
  protected $internal_gapi_mappings = array(
6759
  );
6760
+ protected $colsType = 'Forminator_Google_Service_Analytics_GaDataDataTableCols';
6761
  protected $colsDataType = 'array';
6762
+ protected $rowsType = 'Forminator_Google_Service_Analytics_GaDataDataTableRows';
6763
  protected $rowsDataType = 'array';
6764
 
6765
 
6781
  }
6782
  }
6783
 
6784
+ class Forminator_Google_Service_Analytics_GaDataDataTableCols extends Forminator_Google_Model
6785
  {
6786
  protected $internal_gapi_mappings = array(
6787
  );
6816
  }
6817
  }
6818
 
6819
+ class Forminator_Google_Service_Analytics_GaDataDataTableRows extends Forminator_Google_Collection
6820
  {
6821
  protected $collection_key = 'c';
6822
  protected $internal_gapi_mappings = array(
6823
  );
6824
+ protected $cType = 'Forminator_Google_Service_Analytics_GaDataDataTableRowsC';
6825
  protected $cDataType = 'array';
6826
 
6827
 
6835
  }
6836
  }
6837
 
6838
+ class Forminator_Google_Service_Analytics_GaDataDataTableRowsC extends Forminator_Google_Model
6839
  {
6840
  protected $internal_gapi_mappings = array(
6841
  );
6852
  }
6853
  }
6854
 
6855
+ class Forminator_Google_Service_Analytics_GaDataProfileInfo extends Forminator_Google_Model
6856
  {
6857
  protected $internal_gapi_mappings = array(
6858
  );
6914
  }
6915
  }
6916
 
6917
+ class Forminator_Google_Service_Analytics_GaDataQuery extends Forminator_Google_Collection
6918
  {
6919
  protected $collection_key = 'sort';
6920
  protected $internal_gapi_mappings = array(
7026
  }
7027
  }
7028
 
7029
+ class Forminator_Google_Service_Analytics_Goal extends Forminator_Google_Model
7030
  {
7031
  protected $internal_gapi_mappings = array(
7032
  );
7033
  public $accountId;
7034
  public $active;
7035
  public $created;
7036
+ protected $eventDetailsType = 'Forminator_Google_Service_Analytics_GoalEventDetails';
7037
  protected $eventDetailsDataType = '';
7038
  public $id;
7039
  public $internalWebPropertyId;
7040
  public $kind;
7041
  public $name;
7042
+ protected $parentLinkType = 'Forminator_Google_Service_Analytics_GoalParentLink';
7043
  protected $parentLinkDataType = '';
7044
  public $profileId;
7045
  public $selfLink;
7046
  public $type;
7047
  public $updated;
7048
+ protected $urlDestinationDetailsType = 'Forminator_Google_Service_Analytics_GoalUrlDestinationDetails';
7049
  protected $urlDestinationDetailsDataType = '';
7050
  public $value;
7051
+ protected $visitNumPagesDetailsType = 'Forminator_Google_Service_Analytics_GoalVisitNumPagesDetails';
7052
  protected $visitNumPagesDetailsDataType = '';
7053
+ protected $visitTimeOnSiteDetailsType = 'Forminator_Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
7054
  protected $visitTimeOnSiteDetailsDataType = '';
7055
  public $webPropertyId;
7056
 
7079
  {
7080
  return $this->created;
7081
  }
7082
+ public function setEventDetails(Forminator_Google_Service_Analytics_GoalEventDetails $eventDetails)
7083
  {
7084
  $this->eventDetails = $eventDetails;
7085
  }
7119
  {
7120
  return $this->name;
7121
  }
7122
+ public function setParentLink(Forminator_Google_Service_Analytics_GoalParentLink $parentLink)
7123
  {
7124
  $this->parentLink = $parentLink;
7125
  }
7159
  {
7160
  return $this->updated;
7161
  }
7162
+ public function setUrlDestinationDetails(Forminator_Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
7163
  {
7164
  $this->urlDestinationDetails = $urlDestinationDetails;
7165
  }
7175
  {
7176
  return $this->value;
7177
  }
7178
+ public function setVisitNumPagesDetails(Forminator_Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
7179
  {
7180
  $this->visitNumPagesDetails = $visitNumPagesDetails;
7181
  }
7183
  {
7184
  return $this->visitNumPagesDetails;
7185
  }
7186
+ public function setVisitTimeOnSiteDetails(Forminator_Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
7187
  {
7188
  $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
7189
  }
7201
  }
7202
  }
7203
 
7204
+ class Forminator_Google_Service_Analytics_GoalEventDetails extends Forminator_Google_Collection
7205
  {
7206
  protected $collection_key = 'eventConditions';
7207
  protected $internal_gapi_mappings = array(
7208
  );
7209
+ protected $eventConditionsType = 'Forminator_Google_Service_Analytics_GoalEventDetailsEventConditions';
7210
  protected $eventConditionsDataType = 'array';
7211
  public $useEventValue;
7212
 
7229
  }
7230
  }
7231
 
7232
+ class Forminator_Google_Service_Analytics_GoalEventDetailsEventConditions extends Forminator_Google_Model
7233
  {
7234
  protected $internal_gapi_mappings = array(
7235
  );
7282
  }
7283
  }
7284
 
7285
+ class Forminator_Google_Service_Analytics_GoalParentLink extends Forminator_Google_Model
7286
  {
7287
  protected $internal_gapi_mappings = array(
7288
  );
7308
  }
7309
  }
7310
 
7311
+ class Forminator_Google_Service_Analytics_GoalUrlDestinationDetails extends Forminator_Google_Collection
7312
  {
7313
  protected $collection_key = 'steps';
7314
  protected $internal_gapi_mappings = array(
7316
  public $caseSensitive;
7317
  public $firstStepRequired;
7318
  public $matchType;
7319
+ protected $stepsType = 'Forminator_Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
7320
  protected $stepsDataType = 'array';
7321
  public $url;
7322
 
7363
  }
7364
  }
7365
 
7366
+ class Forminator_Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Forminator_Google_Model
7367
  {
7368
  protected $internal_gapi_mappings = array(
7369
  );
7398
  }
7399
  }
7400
 
7401
+ class Forminator_Google_Service_Analytics_GoalVisitNumPagesDetails extends Forminator_Google_Model
7402
  {
7403
  protected $internal_gapi_mappings = array(
7404
  );
7424
  }
7425
  }
7426
 
7427
+ class Forminator_Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Forminator_Google_Model
7428
  {
7429
  protected $internal_gapi_mappings = array(
7430
  );
7450
  }
7451
  }
7452
 
7453
+ class Forminator_Google_Service_Analytics_Goals extends Forminator_Google_Collection
7454
  {
7455
  protected $collection_key = 'items';
7456
  protected $internal_gapi_mappings = array(
7457
  );
7458
+ protected $itemsType = 'Forminator_Google_Service_Analytics_Goal';
7459
  protected $itemsDataType = 'array';
7460
  public $itemsPerPage;
7461
  public $kind;
7532
  }
7533
  }
7534
 
7535
+ class Forminator_Google_Service_Analytics_McfData extends Forminator_Google_Collection
7536
  {
7537
  protected $collection_key = 'rows';
7538
  protected $internal_gapi_mappings = array(
7539
  );
7540
+ protected $columnHeadersType = 'Forminator_Google_Service_Analytics_McfDataColumnHeaders';
7541
  protected $columnHeadersDataType = 'array';
7542
  public $containsSampledData;
7543
  public $id;
7545
  public $kind;
7546
  public $nextLink;
7547
  public $previousLink;
7548
+ protected $profileInfoType = 'Forminator_Google_Service_Analytics_McfDataProfileInfo';
7549
  protected $profileInfoDataType = '';
7550
+ protected $queryType = 'Forminator_Google_Service_Analytics_McfDataQuery';
7551
  protected $queryDataType = '';
7552
+ protected $rowsType = 'Forminator_Google_Service_Analytics_McfDataRows';
7553
  protected $rowsDataType = 'array';
7554
  public $sampleSize;
7555
  public $sampleSpace;
7614
  {
7615
  return $this->previousLink;
7616
  }
7617
+ public function setProfileInfo(Forminator_Google_Service_Analytics_McfDataProfileInfo $profileInfo)
7618
  {
7619
  $this->profileInfo = $profileInfo;
7620
  }
7622
  {
7623
  return $this->profileInfo;
7624
  }
7625
+ public function setQuery(Forminator_Google_Service_Analytics_McfDataQuery $query)
7626
  {
7627
  $this->query = $query;
7628
  }
7680
  }
7681
  }
7682
 
7683
+ class Forminator_Google_Service_Analytics_McfDataColumnHeaders extends Forminator_Google_Model
7684
  {
7685
  protected $internal_gapi_mappings = array(
7686
  );
7715
  }
7716
  }
7717
 
7718
+ class Forminator_Google_Service_Analytics_McfDataProfileInfo extends Forminator_Google_Model
7719
  {
7720
  protected $internal_gapi_mappings = array(
7721
  );
7777
  }
7778
  }
7779
 
7780
+ class Forminator_Google_Service_Analytics_McfDataQuery extends Forminator_Google_Collection
7781
  {
7782
  protected $collection_key = 'sort';
7783
  protected $internal_gapi_mappings = array(
7889
  }
7890
  }
7891
 
7892
+ class Forminator_Google_Service_Analytics_McfDataRows extends Forminator_Google_Collection
7893
  {
7894
  protected $collection_key = 'conversionPathValue';
7895
  protected $internal_gapi_mappings = array(
7896
  );
7897
+ protected $conversionPathValueType = 'Forminator_Google_Service_Analytics_McfDataRowsConversionPathValue';
7898
  protected $conversionPathValueDataType = 'array';
7899
  public $primitiveValue;
7900
 
7917
  }
7918
  }
7919
 
7920
+ class Forminator_Google_Service_Analytics_McfDataRowsConversionPathValue extends Forminator_Google_Model
7921
  {
7922
  protected $internal_gapi_mappings = array(
7923
  );
7943
  }
7944
  }
7945
 
7946
+ class Forminator_Google_Service_Analytics_Profile extends Forminator_Google_Model
7947
  {
7948
  protected $internal_gapi_mappings = array(
7949
  );
7950
  public $accountId;
7951
  public $botFilteringEnabled;
7952
+ protected $childLinkType = 'Forminator_Google_Service_Analytics_ProfileChildLink';
7953
  protected $childLinkDataType = '';
7954
  public $created;
7955
  public $currency;
7961
  public $internalWebPropertyId;
7962
  public $kind;
7963
  public $name;
7964
+ protected $parentLinkType = 'Forminator_Google_Service_Analytics_ProfileParentLink';
7965
  protected $parentLinkDataType = '';
7966
+ protected $permissionsType = 'Forminator_Google_Service_Analytics_ProfilePermissions';
7967
  protected $permissionsDataType = '';
7968
  public $selfLink;
7969
  public $siteSearchCategoryParameters;
7993
  {
7994
  return $this->botFilteringEnabled;
7995
  }
7996
+ public function setChildLink(Forminator_Google_Service_Analytics_ProfileChildLink $childLink)
7997
  {
7998
  $this->childLink = $childLink;
7999
  }
8081
  {
8082
  return $this->name;
8083
  }
8084
+ public function setParentLink(Forminator_Google_Service_Analytics_ProfileParentLink $parentLink)
8085
  {
8086
  $this->parentLink = $parentLink;
8087
  }
8089
  {
8090
  return $this->parentLink;
8091
  }
8092
+ public function setPermissions(Forminator_Google_Service_Analytics_ProfilePermissions $permissions)
8093
  {
8094
  $this->permissions = $permissions;
8095
  }
8179
  }
8180
  }
8181
 
8182
+ class Forminator_Google_Service_Analytics_ProfileChildLink extends Forminator_Google_Model
8183
  {
8184
  protected $internal_gapi_mappings = array(
8185
  );
8205
  }
8206
  }
8207
 
8208
+ class Forminator_Google_Service_Analytics_ProfileFilterLink extends Forminator_Google_Model
8209
  {
8210
  protected $internal_gapi_mappings = array(
8211
  );
8212
+ protected $filterRefType = 'Forminator_Google_Service_Analytics_FilterRef';
8213
  protected $filterRefDataType = '';
8214
  public $id;
8215
  public $kind;
8216
+ protected $profileRefType = 'Forminator_Google_Service_Analytics_ProfileRef';
8217
  protected $profileRefDataType = '';
8218
  public $rank;
8219
  public $selfLink;
8220
 
8221
 
8222
+ public function setFilterRef(Forminator_Google_Service_Analytics_FilterRef $filterRef)
8223
  {
8224
  $this->filterRef = $filterRef;
8225
  }
8243
  {
8244
  return $this->kind;
8245
  }
8246
+ public function setProfileRef(Forminator_Google_Service_Analytics_ProfileRef $profileRef)
8247
  {
8248
  $this->profileRef = $profileRef;
8249
  }
8269
  }
8270
  }
8271
 
8272
+ class Forminator_Google_Service_Analytics_ProfileFilterLinks extends Forminator_Google_Collection
8273
  {
8274
  protected $collection_key = 'items';
8275
  protected $internal_gapi_mappings = array(
8276
  );
8277
+ protected $itemsType = 'Forminator_Google_Service_Analytics_ProfileFilterLink';
8278
  protected $itemsDataType = 'array';
8279
  public $itemsPerPage;
8280
  public $kind;
8351
  }
8352
  }
8353
 
8354
+ class Forminator_Google_Service_Analytics_ProfileParentLink extends Forminator_Google_Model
8355
  {
8356
  protected $internal_gapi_mappings = array(
8357
  );
8377
  }
8378
  }
8379
 
8380
+ class Forminator_Google_Service_Analytics_ProfilePermissions extends Forminator_Google_Collection
8381
  {
8382
  protected $collection_key = 'effective';
8383
  protected $internal_gapi_mappings = array(
8395
  }
8396
  }
8397
 
8398
+ class Forminator_Google_Service_Analytics_ProfileRef extends Forminator_Google_Model
8399
  {
8400
  protected $internal_gapi_mappings = array(
8401
  );
8466
  }
8467
  }
8468
 
8469
+ class Forminator_Google_Service_Analytics_ProfileSummary extends Forminator_Google_Model
8470
  {
8471
  protected $internal_gapi_mappings = array(
8472
  );
8510
  }
8511
  }
8512
 
8513
+ class Forminator_Google_Service_Analytics_Profiles extends Forminator_Google_Collection
8514
  {
8515
  protected $collection_key = 'items';
8516
  protected $internal_gapi_mappings = array(
8517
  );
8518
+ protected $itemsType = 'Forminator_Google_Service_Analytics_Profile';
8519
  protected $itemsDataType = 'array';
8520
  public $itemsPerPage;
8521
  public $kind;
8592
  }
8593
  }
8594
 
8595
+ class Forminator_Google_Service_Analytics_RealtimeData extends Forminator_Google_Collection
8596
  {
8597
  protected $collection_key = 'rows';
8598
  protected $internal_gapi_mappings = array(
8599
  );
8600
+ protected $columnHeadersType = 'Forminator_Google_Service_Analytics_RealtimeDataColumnHeaders';
8601
  protected $columnHeadersDataType = 'array';
8602
  public $id;
8603
  public $kind;
8604
+ protected $profileInfoType = 'Forminator_Google_Service_Analytics_RealtimeDataProfileInfo';
8605
  protected $profileInfoDataType = '';
8606
+ protected $queryType = 'Forminator_Google_Service_Analytics_RealtimeDataQuery';
8607
  protected $queryDataType = '';
8608
  public $rows;
8609
  public $selfLink;
8635
  {
8636
  return $this->kind;
8637
  }
8638
+ public function setProfileInfo(Forminator_Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
8639
  {
8640
  $this->profileInfo = $profileInfo;
8641
  }
8643
  {
8644
  return $this->profileInfo;
8645
  }
8646
+ public function setQuery(Forminator_Google_Service_Analytics_RealtimeDataQuery $query)
8647
  {
8648
  $this->query = $query;
8649
  }
8685
  }
8686
  }
8687
 
8688
+ class Forminator_Google_Service_Analytics_RealtimeDataColumnHeaders extends Forminator_Google_Model
8689
  {
8690
  protected $internal_gapi_mappings = array(
8691
  );
8720
  }
8721
  }
8722
 
8723
+ class Forminator_Google_Service_Analytics_RealtimeDataProfileInfo extends Forminator_Google_Model
8724
  {
8725
  protected $internal_gapi_mappings = array(
8726
  );
8782
  }
8783
  }
8784
 
8785
+ class Forminator_Google_Service_Analytics_RealtimeDataQuery extends Forminator_Google_Collection
8786
  {
8787
  protected $collection_key = 'sort';
8788
  protected $internal_gapi_mappings = array(
8846
  }
8847
  }
8848
 
8849
+ class Forminator_Google_Service_Analytics_Segment extends Forminator_Google_Model
8850
  {
8851
  protected $internal_gapi_mappings = array(
8852
  );
8935
  }
8936
  }
8937
 
8938
+ class Forminator_Google_Service_Analytics_Segments extends Forminator_Google_Collection
8939
  {
8940
  protected $collection_key = 'items';
8941
  protected $internal_gapi_mappings = array(
8942
  );
8943
+ protected $itemsType = 'Forminator_Google_Service_Analytics_Segment';
8944
  protected $itemsDataType = 'array';
8945
  public $itemsPerPage;
8946
  public $kind;
9017
  }
9018
  }
9019
 
9020
+ class Forminator_Google_Service_Analytics_UnsampledReport extends Forminator_Google_Model
9021
  {
9022
  protected $internal_gapi_mappings = array(
9023
  "endDate" => "end-date",
9024
  "startDate" => "start-date",
9025
  );
9026
  public $accountId;
9027
+ protected $cloudStorageDownloadDetailsType = 'Forminator_Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails';
9028
  protected $cloudStorageDownloadDetailsDataType = '';
9029
  public $created;
9030
  public $dimensions;
9031
  public $downloadType;
9032
+ protected $driveDownloadDetailsType = 'Forminator_Google_Service_Analytics_UnsampledReportDriveDownloadDetails';
9033
  protected $driveDownloadDetailsDataType = '';
9034
  public $endDate;
9035
  public $filters;
9054
  {
9055
  return $this->accountId;
9056
  }
9057
+ public function setCloudStorageDownloadDetails(Forminator_Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails)
9058
  {
9059
  $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails;
9060
  }
9086
  {
9087
  return $this->downloadType;
9088
  }
9089
+ public function setDriveDownloadDetails(Forminator_Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails)
9090
  {
9091
  $this->driveDownloadDetails = $driveDownloadDetails;
9092
  }
9200
  }
9201
  }
9202
 
9203
+ class Forminator_Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Forminator_Google_Model
9204
  {
9205
  protected $internal_gapi_mappings = array(
9206
  );
9226
  }
9227
  }
9228
 
9229
+ class Forminator_Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Forminator_Google_Model
9230
  {
9231
  protected $internal_gapi_mappings = array(
9232
  );
9243
  }
9244
  }
9245
 
9246
+ class Forminator_Google_Service_Analytics_UnsampledReports extends Forminator_Google_Collection
9247
  {
9248
  protected $collection_key = 'items';
9249
  protected $internal_gapi_mappings = array(
9250
  );
9251
+ protected $itemsType = 'Forminator_Google_Service_Analytics_UnsampledReport';
9252
  protected $itemsDataType = 'array';
9253
  public $itemsPerPage;
9254
  public $kind;
9325
  }
9326
  }
9327
 
9328
+ class Forminator_Google_Service_Analytics_Upload extends Forminator_Google_Collection
9329
  {
9330
  protected $collection_key = 'errors';
9331
  protected $internal_gapi_mappings = array(
9388
  }
9389
  }
9390
 
9391
+ class Forminator_Google_Service_Analytics_Uploads extends Forminator_Google_Collection
9392
  {
9393
  protected $collection_key = 'items';
9394
  protected $internal_gapi_mappings = array(
9395
  );
9396
+ protected $itemsType = 'Forminator_Google_Service_Analytics_Upload';
9397
  protected $itemsDataType = 'array';
9398
  public $itemsPerPage;
9399
  public $kind;
9461
  }
9462
  }
9463
 
9464
+ class Forminator_Google_Service_Analytics_UserRef extends Forminator_Google_Model
9465
  {
9466
  protected $internal_gapi_mappings = array(
9467
  );
9496
  }
9497
  }
9498
 
9499
+ class Forminator_Google_Service_Analytics_WebPropertyRef extends Forminator_Google_Model
9500
  {
9501
  protected $internal_gapi_mappings = array(
9502
  );
9558
  }
9559
  }
9560
 
9561
+ class Forminator_Google_Service_Analytics_WebPropertySummary extends Forminator_Google_Collection
9562
  {
9563
  protected $collection_key = 'profiles';
9564
  protected $internal_gapi_mappings = array(
9568
  public $kind;
9569
  public $level;
9570
  public $name;
9571
+ protected $profilesType = 'Forminator_Google_Service_Analytics_ProfileSummary';
9572
  protected $profilesDataType = 'array';
9573
  public $websiteUrl;
9574
 
9631
  }
9632
  }
9633
 
9634
+ class Forminator_Google_Service_Analytics_Webproperties extends Forminator_Google_Collection
9635
  {
9636
  protected $collection_key = 'items';
9637
  protected $internal_gapi_mappings = array(
9638
  );
9639
+ protected $itemsType = 'Forminator_Google_Service_Analytics_Webproperty';
9640
  protected $itemsDataType = 'array';
9641
  public $itemsPerPage;
9642
  public $kind;
9713
  }
9714
  }
9715
 
9716
+ class Forminator_Google_Service_Analytics_Webproperty extends Forminator_Google_Model
9717
  {
9718
  protected $internal_gapi_mappings = array(
9719
  );
9720
  public $accountId;
9721
+ protected $childLinkType = 'Forminator_Google_Service_Analytics_WebpropertyChildLink';
9722
  protected $childLinkDataType = '';
9723
  public $created;
9724
  public $defaultProfileId;
9728
  public $kind;
9729
  public $level;
9730
  public $name;
9731
+ protected $parentLinkType = 'Forminator_Google_Service_Analytics_WebpropertyParentLink';
9732
  protected $parentLinkDataType = '';
9733
+ protected $permissionsType = 'Forminator_Google_Service_Analytics_WebpropertyPermissions';
9734
  protected $permissionsDataType = '';
9735
  public $profileCount;
9736
  public $selfLink;
9746
  {
9747
  return $this->accountId;
9748
  }
9749
+ public function setChildLink(Forminator_Google_Service_Analytics_WebpropertyChildLink $childLink)
9750
  {
9751
  $this->childLink = $childLink;
9752
  }
9818
  {
9819
  return $this->name;
9820
  }
9821
+ public function setParentLink(Forminator_Google_Service_Analytics_WebpropertyParentLink $parentLink)
9822
  {
9823
  $this->parentLink = $parentLink;
9824
  }
9826
  {
9827
  return $this->parentLink;
9828
  }
9829
+ public function setPermissions(Forminator_Google_Service_Analytics_WebpropertyPermissions $permissions)
9830
  {
9831
  $this->permissions = $permissions;
9832
  }
9868
  }
9869
  }
9870
 
9871
+ class Forminator_Google_Service_Analytics_WebpropertyChildLink extends Forminator_Google_Model
9872
  {
9873
  protected $internal_gapi_mappings = array(
9874
  );
9894
  }
9895
  }
9896
 
9897
+ class Forminator_Google_Service_Analytics_WebpropertyParentLink extends Forminator_Google_Model
9898
  {
9899
  protected $internal_gapi_mappings = array(
9900
  );
9920
  }
9921
  }
9922
 
9923
+ class Forminator_Google_Service_Analytics_WebpropertyPermissions extends Forminator_Google_Collection
9924
  {
9925
  protected $collection_key = 'effective';
9926
  protected $internal_gapi_mappings = array(
addons/pro/googlesheet/lib/external/Google/Service/AnalyticsReporting.php CHANGED
@@ -26,7 +26,7 @@
26
  *
27
  * @author Google, Inc.
28
  */
29
- class Google_Service_AnalyticsReporting extends Google_Service
30
  {
31
  /** View and manage your Google Analytics data. */
32
  const ANALYTICS =
@@ -41,9 +41,9 @@ class Google_Service_AnalyticsReporting extends Google_Service
41
  /**
42
  * Constructs the internal representation of the AnalyticsReporting service.
43
  *
44
- * @param Google_Client $client
45
  */
46
- public function __construct(Google_Client $client)
47
  {
48
  parent::__construct($client);
49
  $this->rootUrl = 'https://analyticsreporting.googleapis.com/';
@@ -51,7 +51,7 @@ class Google_Service_AnalyticsReporting extends Google_Service
51
  $this->version = 'v4';
52
  $this->serviceName = 'analyticsreporting';
53
 
54
- $this->reports = new Google_Service_AnalyticsReporting_Reports_Resource(
55
  $this,
56
  $this->serviceName,
57
  'reports',
@@ -73,42 +73,42 @@ class Google_Service_AnalyticsReporting extends Google_Service
73
  * The "reports" collection of methods.
74
  * Typical usage is:
75
  * <code>
76
- * $analyticsreportingService = new Google_Service_AnalyticsReporting(...);
77
  * $reports = $analyticsreportingService->reports;
78
  * </code>
79
  */
80
- class Google_Service_AnalyticsReporting_Reports_Resource extends Google_Service_Resource
81
  {
82
 
83
  /**
84
  * Returns the Analytics data. (reports.batchGet)
85
  *
86
- * @param Google_GetReportsRequest $postBody
87
  * @param array $optParams Optional parameters.
88
- * @return Google_Service_AnalyticsReporting_GetReportsResponse
89
  */
90
- public function batchGet(Google_Service_AnalyticsReporting_GetReportsRequest $postBody, $optParams = array())
91
  {
92
  $params = array('postBody' => $postBody);
93
  $params = array_merge($params, $optParams);
94
- return $this->call('batchGet', array($params), "Google_Service_AnalyticsReporting_GetReportsResponse");
95
  }
96
  }
97
 
98
 
99
 
100
 
101
- class Google_Service_AnalyticsReporting_Cohort extends Google_Model
102
  {
103
  protected $internal_gapi_mappings = array(
104
  );
105
- protected $dateRangeType = 'Google_Service_AnalyticsReporting_DateRange';
106
  protected $dateRangeDataType = '';
107
  public $name;
108
  public $type;
109
 
110
 
111
- public function setDateRange(Google_Service_AnalyticsReporting_DateRange $dateRange)
112
  {
113
  $this->dateRange = $dateRange;
114
  }
@@ -134,12 +134,12 @@ class Google_Service_AnalyticsReporting_Cohort extends Google_Model
134
  }
135
  }
136
 
137
- class Google_Service_AnalyticsReporting_CohortGroup extends Google_Collection
138
  {
139
  protected $collection_key = 'cohorts';
140
  protected $internal_gapi_mappings = array(
141
  );
142
- protected $cohortsType = 'Google_Service_AnalyticsReporting_Cohort';
143
  protected $cohortsDataType = 'array';
144
  public $lifetimeValue;
145
 
@@ -162,13 +162,13 @@ class Google_Service_AnalyticsReporting_CohortGroup extends Google_Collection
162
  }
163
  }
164
 
165
- class Google_Service_AnalyticsReporting_ColumnHeader extends Google_Collection
166
  {
167
  protected $collection_key = 'dimensions';
168
  protected $internal_gapi_mappings = array(
169
  );
170
  public $dimensions;
171
- protected $metricHeaderType = 'Google_Service_AnalyticsReporting_MetricHeader';
172
  protected $metricHeaderDataType = '';
173
 
174
 
@@ -180,7 +180,7 @@ class Google_Service_AnalyticsReporting_ColumnHeader extends Google_Collection
180
  {
181
  return $this->dimensions;
182
  }
183
- public function setMetricHeader(Google_Service_AnalyticsReporting_MetricHeader $metricHeader)
184
  {
185
  $this->metricHeader = $metricHeader;
186
  }
@@ -190,7 +190,7 @@ class Google_Service_AnalyticsReporting_ColumnHeader extends Google_Collection
190
  }
191
  }
192
 
193
- class Google_Service_AnalyticsReporting_DateRange extends Google_Model
194
  {
195
  protected $internal_gapi_mappings = array(
196
  );
@@ -216,12 +216,12 @@ class Google_Service_AnalyticsReporting_DateRange extends Google_Model
216
  }
217
  }
218
 
219
- class Google_Service_AnalyticsReporting_DateRangeValues extends Google_Collection
220
  {
221
  protected $collection_key = 'values';
222
  protected $internal_gapi_mappings = array(
223
  );
224
- protected $pivotValueRegionsType = 'Google_Service_AnalyticsReporting_PivotValueRegion';
225
  protected $pivotValueRegionsDataType = 'array';
226
  public $values;
227
 
@@ -244,7 +244,7 @@ class Google_Service_AnalyticsReporting_DateRangeValues extends Google_Collectio
244
  }
245
  }
246
 
247
- class Google_Service_AnalyticsReporting_Dimension extends Google_Collection
248
  {
249
  protected $collection_key = 'histogramBuckets';
250
  protected $internal_gapi_mappings = array(
@@ -271,7 +271,7 @@ class Google_Service_AnalyticsReporting_Dimension extends Google_Collection
271
  }
272
  }
273
 
274
- class Google_Service_AnalyticsReporting_DimensionFilter extends Google_Collection
275
  {
276
  protected $collection_key = 'expressions';
277
  protected $internal_gapi_mappings = array(
@@ -325,12 +325,12 @@ class Google_Service_AnalyticsReporting_DimensionFilter extends Google_Collectio
325
  }
326
  }
327
 
328
- class Google_Service_AnalyticsReporting_DimensionFilterClause extends Google_Collection
329
  {
330
  protected $collection_key = 'filters';
331
  protected $internal_gapi_mappings = array(
332
  );
333
- protected $filtersType = 'Google_Service_AnalyticsReporting_DimensionFilter';
334
  protected $filtersDataType = 'array';
335
  public $operator;
336
 
@@ -353,14 +353,14 @@ class Google_Service_AnalyticsReporting_DimensionFilterClause extends Google_Col
353
  }
354
  }
355
 
356
- class Google_Service_AnalyticsReporting_DynamicSegment extends Google_Model
357
  {
358
  protected $internal_gapi_mappings = array(
359
  );
360
  public $name;
361
- protected $sessionSegmentType = 'Google_Service_AnalyticsReporting_SegmentDefinition';
362
  protected $sessionSegmentDataType = '';
363
- protected $userSegmentType = 'Google_Service_AnalyticsReporting_SegmentDefinition';
364
  protected $userSegmentDataType = '';
365
 
366
 
@@ -372,7 +372,7 @@ class Google_Service_AnalyticsReporting_DynamicSegment extends Google_Model
372
  {
373
  return $this->name;
374
  }
375
- public function setSessionSegment(Google_Service_AnalyticsReporting_SegmentDefinition $sessionSegment)
376
  {
377
  $this->sessionSegment = $sessionSegment;
378
  }
@@ -380,7 +380,7 @@ class Google_Service_AnalyticsReporting_DynamicSegment extends Google_Model
380
  {
381
  return $this->sessionSegment;
382
  }
383
- public function setUserSegment(Google_Service_AnalyticsReporting_SegmentDefinition $userSegment)
384
  {
385
  $this->userSegment = $userSegment;
386
  }
@@ -390,12 +390,12 @@ class Google_Service_AnalyticsReporting_DynamicSegment extends Google_Model
390
  }
391
  }
392
 
393
- class Google_Service_AnalyticsReporting_GetReportsRequest extends Google_Collection
394
  {
395
  protected $collection_key = 'reportRequests';
396
  protected $internal_gapi_mappings = array(
397
  );
398
- protected $reportRequestsType = 'Google_Service_AnalyticsReporting_ReportRequest';
399
  protected $reportRequestsDataType = 'array';
400
 
401
 
@@ -409,12 +409,12 @@ class Google_Service_AnalyticsReporting_GetReportsRequest extends Google_Collect
409
  }
410
  }
411
 
412
- class Google_Service_AnalyticsReporting_GetReportsResponse extends Google_Collection
413
  {
414
  protected $collection_key = 'reports';
415
  protected $internal_gapi_mappings = array(
416
  );
417
- protected $reportsType = 'Google_Service_AnalyticsReporting_Report';
418
  protected $reportsDataType = 'array';
419
 
420
 
@@ -428,7 +428,7 @@ class Google_Service_AnalyticsReporting_GetReportsResponse extends Google_Collec
428
  }
429
  }
430
 
431
- class Google_Service_AnalyticsReporting_Metric extends Google_Model
432
  {
433
  protected $internal_gapi_mappings = array(
434
  );
@@ -463,7 +463,7 @@ class Google_Service_AnalyticsReporting_Metric extends Google_Model
463
  }
464
  }
465
 
466
- class Google_Service_AnalyticsReporting_MetricFilter extends Google_Model
467
  {
468
  protected $internal_gapi_mappings = array(
469
  );
@@ -507,12 +507,12 @@ class Google_Service_AnalyticsReporting_MetricFilter extends Google_Model
507
  }
508
  }
509
 
510
- class Google_Service_AnalyticsReporting_MetricFilterClause extends Google_Collection
511
  {
512
  protected $collection_key = 'filters';
513
  protected $internal_gapi_mappings = array(
514
  );
515
- protected $filtersType = 'Google_Service_AnalyticsReporting_MetricFilter';
516
  protected $filtersDataType = 'array';
517
  public $operator;
518
 
@@ -535,14 +535,14 @@ class Google_Service_AnalyticsReporting_MetricFilterClause extends Google_Collec
535
  }
536
  }
537
 
538
- class Google_Service_AnalyticsReporting_MetricHeader extends Google_Collection
539
  {
540
  protected $collection_key = 'pivotHeaders';
541
  protected $internal_gapi_mappings = array(
542
  );
543
- protected $metricHeaderEntriesType = 'Google_Service_AnalyticsReporting_MetricHeaderEntry';
544
  protected $metricHeaderEntriesDataType = 'array';
545
- protected $pivotHeadersType = 'Google_Service_AnalyticsReporting_PivotHeader';
546
  protected $pivotHeadersDataType = 'array';
547
 
548
 
@@ -564,7 +564,7 @@ class Google_Service_AnalyticsReporting_MetricHeader extends Google_Collection
564
  }
565
  }
566
 
567
- class Google_Service_AnalyticsReporting_MetricHeaderEntry extends Google_Model
568
  {
569
  protected $internal_gapi_mappings = array(
570
  );
@@ -590,12 +590,12 @@ class Google_Service_AnalyticsReporting_MetricHeaderEntry extends Google_Model
590
  }
591
  }
592
 
593
- class Google_Service_AnalyticsReporting_OrFiltersForSegment extends Google_Collection
594
  {
595
  protected $collection_key = 'segmentFilterClauses';
596
  protected $internal_gapi_mappings = array(
597
  );
598
- protected $segmentFilterClausesType = 'Google_Service_AnalyticsReporting_SegmentFilterClause';
599
  protected $segmentFilterClausesDataType = 'array';
600
 
601
 
@@ -609,7 +609,7 @@ class Google_Service_AnalyticsReporting_OrFiltersForSegment extends Google_Colle
609
  }
610
  }
611
 
612
- class Google_Service_AnalyticsReporting_OrderBy extends Google_Model
613
  {
614
  protected $internal_gapi_mappings = array(
615
  );
@@ -644,17 +644,17 @@ class Google_Service_AnalyticsReporting_OrderBy extends Google_Model
644
  }
645
  }
646
 
647
- class Google_Service_AnalyticsReporting_Pivot extends Google_Collection
648
  {
649
  protected $collection_key = 'metrics';
650
  protected $internal_gapi_mappings = array(
651
  );
652
- protected $dimensionFilterClausesType = 'Google_Service_AnalyticsReporting_DimensionFilterClause';
653
  protected $dimensionFilterClausesDataType = 'array';
654
- protected $dimensionsType = 'Google_Service_AnalyticsReporting_Dimension';
655
  protected $dimensionsDataType = 'array';
656
  public $maxGroupCount;
657
- protected $metricsType = 'Google_Service_AnalyticsReporting_Metric';
658
  protected $metricsDataType = 'array';
659
  public $startGroup;
660
 
@@ -701,12 +701,12 @@ class Google_Service_AnalyticsReporting_Pivot extends Google_Collection
701
  }
702
  }
703
 
704
- class Google_Service_AnalyticsReporting_PivotHeader extends Google_Collection
705
  {
706
  protected $collection_key = 'pivotHeaderEntries';
707
  protected $internal_gapi_mappings = array(
708
  );
709
- protected $pivotHeaderEntriesType = 'Google_Service_AnalyticsReporting_PivotHeaderEntry';
710
  protected $pivotHeaderEntriesDataType = 'array';
711
  public $totalPivotGroupsCount;
712
 
@@ -729,14 +729,14 @@ class Google_Service_AnalyticsReporting_PivotHeader extends Google_Collection
729
  }
730
  }
731
 
732
- class Google_Service_AnalyticsReporting_PivotHeaderEntry extends Google_Collection
733
  {
734
  protected $collection_key = 'dimensionValues';
735
  protected $internal_gapi_mappings = array(
736
  );
737
  public $dimensionNames;
738
  public $dimensionValues;
739
- protected $metricType = 'Google_Service_AnalyticsReporting_MetricHeaderEntry';
740
  protected $metricDataType = '';
741
 
742
 
@@ -756,7 +756,7 @@ class Google_Service_AnalyticsReporting_PivotHeaderEntry extends Google_Collecti
756
  {
757
  return $this->dimensionValues;
758
  }
759
- public function setMetric(Google_Service_AnalyticsReporting_MetricHeaderEntry $metric)
760
  {
761
  $this->metric = $metric;
762
  }
@@ -766,7 +766,7 @@ class Google_Service_AnalyticsReporting_PivotHeaderEntry extends Google_Collecti
766
  }
767
  }
768
 
769
- class Google_Service_AnalyticsReporting_PivotValueRegion extends Google_Collection
770
  {
771
  protected $collection_key = 'values';
772
  protected $internal_gapi_mappings = array(
@@ -784,18 +784,18 @@ class Google_Service_AnalyticsReporting_PivotValueRegion extends Google_Collecti
784
  }
785
  }
786
 
787
- class Google_Service_AnalyticsReporting_Report extends Google_Model
788
  {
789
  protected $internal_gapi_mappings = array(
790
  );
791
- protected $columnHeaderType = 'Google_Service_AnalyticsReporting_ColumnHeader';
792
  protected $columnHeaderDataType = '';
793
- protected $dataType = 'Google_Service_AnalyticsReporting_ReportData';
794
  protected $dataDataType = '';
795
  public $nextPageToken;
796
 
797
 
798
- public function setColumnHeader(Google_Service_AnalyticsReporting_ColumnHeader $columnHeader)
799
  {
800
  $this->columnHeader = $columnHeader;
801
  }
@@ -803,7 +803,7 @@ class Google_Service_AnalyticsReporting_Report extends Google_Model
803
  {
804
  return $this->columnHeader;
805
  }
806
- public function setData(Google_Service_AnalyticsReporting_ReportData $data)
807
  {
808
  $this->data = $data;
809
  }
@@ -821,22 +821,22 @@ class Google_Service_AnalyticsReporting_Report extends Google_Model
821
  }
822
  }
823
 
824
- class Google_Service_AnalyticsReporting_ReportData extends Google_Collection
825
  {
826
  protected $collection_key = 'totals';
827
  protected $internal_gapi_mappings = array(
828
  );
829
  public $isDataGolden;
830
- protected $maximumsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
831
  protected $maximumsDataType = 'array';
832
- protected $minimumsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
833
  protected $minimumsDataType = 'array';
834
  public $rowCount;
835
- protected $rowsType = 'Google_Service_AnalyticsReporting_ReportRow';
836
  protected $rowsDataType = 'array';
837
  public $samplesReadCounts;
838
  public $samplingSpaceSizes;
839
- protected $totalsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
840
  protected $totalsDataType = 'array';
841
 
842
 
@@ -906,40 +906,40 @@ class Google_Service_AnalyticsReporting_ReportData extends Google_Collection
906
  }
907
  }
908
 
909
- class Google_Service_AnalyticsReporting_ReportRequest extends Google_Collection
910
  {
911
  protected $collection_key = 'segments';
912
  protected $internal_gapi_mappings = array(
913
  );
914
- protected $cohortGroupType = 'Google_Service_AnalyticsReporting_CohortGroup';
915
  protected $cohortGroupDataType = '';
916
- protected $dateRangesType = 'Google_Service_AnalyticsReporting_DateRange';
917
  protected $dateRangesDataType = 'array';
918
- protected $dimensionFilterClausesType = 'Google_Service_AnalyticsReporting_DimensionFilterClause';
919
  protected $dimensionFilterClausesDataType = 'array';
920
- protected $dimensionsType = 'Google_Service_AnalyticsReporting_Dimension';
921
  protected $dimensionsDataType = 'array';
922
  public $filtersExpression;
923
  public $hideTotals;
924
  public $hideValueRanges;
925
  public $includeEmptyRows;
926
- protected $metricFilterClausesType = 'Google_Service_AnalyticsReporting_MetricFilterClause';
927
  protected $metricFilterClausesDataType = 'array';
928
- protected $metricsType = 'Google_Service_AnalyticsReporting_Metric';
929
  protected $metricsDataType = 'array';
930
- protected $orderBysType = 'Google_Service_AnalyticsReporting_OrderBy';
931
  protected $orderBysDataType = 'array';
932
  public $pageSize;
933
  public $pageToken;
934
- protected $pivotsType = 'Google_Service_AnalyticsReporting_Pivot';
935
  protected $pivotsDataType = 'array';
936
  public $samplingLevel;
937
- protected $segmentsType = 'Google_Service_AnalyticsReporting_Segment';
938
  protected $segmentsDataType = 'array';
939
  public $viewId;
940
 
941
 
942
- public function setCohortGroup(Google_Service_AnalyticsReporting_CohortGroup $cohortGroup)
943
  {
944
  $this->cohortGroup = $cohortGroup;
945
  }
@@ -1077,13 +1077,13 @@ class Google_Service_AnalyticsReporting_ReportRequest extends Google_Collection
1077
  }
1078
  }
1079
 
1080
- class Google_Service_AnalyticsReporting_ReportRow extends Google_Collection
1081
  {
1082
  protected $collection_key = 'metrics';
1083
  protected $internal_gapi_mappings = array(
1084
  );
1085
  public $dimensions;
1086
- protected $metricsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
1087
  protected $metricsDataType = 'array';
1088
 
1089
 
@@ -1105,16 +1105,16 @@ class Google_Service_AnalyticsReporting_ReportRow extends Google_Collection
1105
  }
1106
  }
1107
 
1108
- class Google_Service_AnalyticsReporting_Segment extends Google_Model
1109
  {
1110
  protected $internal_gapi_mappings = array(
1111
  );
1112
- protected $dynamicSegmentType = 'Google_Service_AnalyticsReporting_DynamicSegment';
1113
  protected $dynamicSegmentDataType = '';
1114
  public $segmentId;
1115
 
1116
 
1117
- public function setDynamicSegment(Google_Service_AnalyticsReporting_DynamicSegment $dynamicSegment)
1118
  {
1119
  $this->dynamicSegment = $dynamicSegment;
1120
  }
@@ -1132,12 +1132,12 @@ class Google_Service_AnalyticsReporting_Segment extends Google_Model
1132
  }
1133
  }
1134
 
1135
- class Google_Service_AnalyticsReporting_SegmentDefinition extends Google_Collection
1136
  {
1137
  protected $collection_key = 'segmentFilters';
1138
  protected $internal_gapi_mappings = array(
1139
  );
1140
- protected $segmentFiltersType = 'Google_Service_AnalyticsReporting_SegmentFilter';
1141
  protected $segmentFiltersDataType = 'array';
1142
 
1143
 
@@ -1151,7 +1151,7 @@ class Google_Service_AnalyticsReporting_SegmentDefinition extends Google_Collect
1151
  }
1152
  }
1153
 
1154
- class Google_Service_AnalyticsReporting_SegmentDimensionFilter extends Google_Collection
1155
  {
1156
  protected $collection_key = 'expressions';
1157
  protected $internal_gapi_mappings = array(
@@ -1214,14 +1214,14 @@ class Google_Service_AnalyticsReporting_SegmentDimensionFilter extends Google_Co
1214
  }
1215
  }
1216
 
1217
- class Google_Service_AnalyticsReporting_SegmentFilter extends Google_Model
1218
  {
1219
  protected $internal_gapi_mappings = array(
1220
  );
1221
  public $not;
1222
- protected $sequenceSegmentType = 'Google_Service_AnalyticsReporting_SequenceSegment';
1223
  protected $sequenceSegmentDataType = '';
1224
- protected $simpleSegmentType = 'Google_Service_AnalyticsReporting_SimpleSegment';
1225
  protected $simpleSegmentDataType = '';
1226
 
1227
 
@@ -1233,7 +1233,7 @@ class Google_Service_AnalyticsReporting_SegmentFilter extends Google_Model
1233
  {
1234
  return $this->not;
1235
  }
1236
- public function setSequenceSegment(Google_Service_AnalyticsReporting_SequenceSegment $sequenceSegment)
1237
  {
1238
  $this->sequenceSegment = $sequenceSegment;
1239
  }
@@ -1241,7 +1241,7 @@ class Google_Service_AnalyticsReporting_SegmentFilter extends Google_Model
1241
  {
1242
  return $this->sequenceSegment;
1243
  }
1244
- public function setSimpleSegment(Google_Service_AnalyticsReporting_SimpleSegment $simpleSegment)
1245
  {
1246
  $this->simpleSegment = $simpleSegment;
1247
  }
@@ -1251,18 +1251,18 @@ class Google_Service_AnalyticsReporting_SegmentFilter extends Google_Model
1251
  }
1252
  }
1253
 
1254
- class Google_Service_AnalyticsReporting_SegmentFilterClause extends Google_Model
1255
  {
1256
  protected $internal_gapi_mappings = array(
1257
  );
1258
- protected $dimensionFilterType = 'Google_Service_AnalyticsReporting_SegmentDimensionFilter';
1259
  protected $dimensionFilterDataType = '';
1260
- protected $metricFilterType = 'Google_Service_AnalyticsReporting_SegmentMetricFilter';
1261
  protected $metricFilterDataType = '';
1262
  public $not;
1263
 
1264
 
1265
- public function setDimensionFilter(Google_Service_AnalyticsReporting_SegmentDimensionFilter $dimensionFilter)
1266
  {
1267
  $this->dimensionFilter = $dimensionFilter;
1268
  }
@@ -1270,7 +1270,7 @@ class Google_Service_AnalyticsReporting_SegmentFilterClause extends Google_Model
1270
  {
1271
  return $this->dimensionFilter;
1272
  }
1273
- public function setMetricFilter(Google_Service_AnalyticsReporting_SegmentMetricFilter $metricFilter)
1274
  {
1275
  $this->metricFilter = $metricFilter;
1276
  }
@@ -1288,7 +1288,7 @@ class Google_Service_AnalyticsReporting_SegmentFilterClause extends Google_Model
1288
  }
1289
  }
1290
 
1291
- class Google_Service_AnalyticsReporting_SegmentMetricFilter extends Google_Model
1292
  {
1293
  protected $internal_gapi_mappings = array(
1294
  );
@@ -1341,13 +1341,13 @@ class Google_Service_AnalyticsReporting_SegmentMetricFilter extends Google_Model
1341
  }
1342
  }
1343
 
1344
- class Google_Service_AnalyticsReporting_SegmentSequenceStep extends Google_Collection
1345
  {
1346
  protected $collection_key = 'orFiltersForSegment';
1347
  protected $internal_gapi_mappings = array(
1348
  );
1349
  public $matchType;
1350
- protected $orFiltersForSegmentType = 'Google_Service_AnalyticsReporting_OrFiltersForSegment';
1351
  protected $orFiltersForSegmentDataType = 'array';
1352
 
1353
 
@@ -1369,13 +1369,13 @@ class Google_Service_AnalyticsReporting_SegmentSequenceStep extends Google_Colle
1369
  }
1370
  }
1371
 
1372
- class Google_Service_AnalyticsReporting_SequenceSegment extends Google_Collection
1373
  {
1374
  protected $collection_key = 'segmentSequenceSteps';
1375
  protected $internal_gapi_mappings = array(
1376
  );
1377
  public $firstStepShouldMatchFirstHit;
1378
- protected $segmentSequenceStepsType = 'Google_Service_AnalyticsReporting_SegmentSequenceStep';
1379
  protected $segmentSequenceStepsDataType = 'array';
1380
 
1381
 
@@ -1397,12 +1397,12 @@ class Google_Service_AnalyticsReporting_SequenceSegment extends Google_Collectio
1397
  }
1398
  }
1399
 
1400
- class Google_Service_AnalyticsReporting_SimpleSegment extends Google_Collection
1401
  {
1402
  protected $collection_key = 'orFiltersForSegment';
1403
  protected $internal_gapi_mappings = array(
1404
  );
1405
- protected $orFiltersForSegmentType = 'Google_Service_AnalyticsReporting_OrFiltersForSegment';
1406
  protected $orFiltersForSegmentDataType = 'array';
1407
 
1408
 
26
  *
27
  * @author Google, Inc.
28
  */
29
+ class Forminator_Google_Service_AnalyticsReporting extends Forminator_Google_Service
30
  {
31
  /** View and manage your Google Analytics data. */
32
  const ANALYTICS =
41
  /**
42
  * Constructs the internal representation of the AnalyticsReporting service.
43
  *
44
+ * @param Forminator_Google_Client $client
45
  */
46
+ public function __construct(Forminator_Google_Client $client)
47
  {
48
  parent::__construct($client);
49
  $this->rootUrl = 'https://analyticsreporting.googleapis.com/';
51
  $this->version = 'v4';
52
  $this->serviceName = 'analyticsreporting';
53
 
54
+ $this->reports = new Forminator_Google_Service_AnalyticsReporting_Reports_Resource(
55
  $this,
56
  $this->serviceName,
57
  'reports',
73
  * The "reports" collection of methods.
74
  * Typical usage is:
75
  * <code>
76
+ * $analyticsreportingService = new Forminator_Google_Service_AnalyticsReporting(...);
77
  * $reports = $analyticsreportingService->reports;
78
  * </code>
79
  */
80
+ class Forminator_Google_Service_AnalyticsReporting_Reports_Resource extends Forminator_Google_Service_Resource
81
  {
82
 
83
  /**
84
  * Returns the Analytics data. (reports.batchGet)
85
  *
86
+ * @param Forminator_Google_GetReportsRequest $postBody
87
  * @param array $optParams Optional parameters.
88
+ * @return Forminator_Google_Service_AnalyticsReporting_GetReportsResponse
89
  */
90
+ public function batchGet(Forminator_Google_Service_AnalyticsReporting_GetReportsRequest $postBody, $optParams = array())
91
  {
92
  $params = array('postBody' => $postBody);
93
  $params = array_merge($params, $optParams);
94
+ return $this->call('batchGet', array($params), "Forminator_Google_Service_AnalyticsReporting_GetReportsResponse");
95
  }
96
  }
97
 
98
 
99
 
100
 
101
+ class Forminator_Google_Service_AnalyticsReporting_Cohort extends Forminator_Google_Model
102
  {
103
  protected $internal_gapi_mappings = array(
104
  );
105
+ protected $dateRangeType = 'Forminator_Google_Service_AnalyticsReporting_DateRange';
106
  protected $dateRangeDataType = '';
107
  public $name;
108
  public $type;
109
 
110
 
111
+ public function setDateRange(Forminator_Google_Service_AnalyticsReporting_DateRange $dateRange)
112
  {
113
  $this->dateRange = $dateRange;
114
  }
134
  }
135
  }
136
 
137
+ class Forminator_Google_Service_AnalyticsReporting_CohortGroup extends Forminator_Google_Collection
138
  {
139
  protected $collection_key = 'cohorts';
140
  protected $internal_gapi_mappings = array(
141
  );
142
+ protected $cohortsType = 'Forminator_Google_Service_AnalyticsReporting_Cohort';
143
  protected $cohortsDataType = 'array';
144
  public $lifetimeValue;
145
 
162
  }
163
  }
164
 
165
+ class Forminator_Google_Service_AnalyticsReporting_ColumnHeader extends Forminator_Google_Collection
166
  {
167
  protected $collection_key = 'dimensions';
168
  protected $internal_gapi_mappings = array(
169
  );
170
  public $dimensions;
171
+ protected $metricHeaderType = 'Forminator_Google_Service_AnalyticsReporting_MetricHeader';
172
  protected $metricHeaderDataType = '';
173
 
174
 
180
  {
181
  return $this->dimensions;
182
  }
183
+ public function setMetricHeader(Forminator_Google_Service_AnalyticsReporting_MetricHeader $metricHeader)
184
  {
185
  $this->metricHeader = $metricHeader;
186
  }
190
  }
191
  }
192
 
193
+ class Forminator_Google_Service_AnalyticsReporting_DateRange extends Forminator_Google_Model
194
  {
195
  protected $internal_gapi_mappings = array(
196
  );
216
  }
217
  }
218
 
219
+ class Forminator_Google_Service_AnalyticsReporting_DateRangeValues extends Forminator_Google_Collection
220
  {
221
  protected $collection_key = 'values';
222
  protected $internal_gapi_mappings = array(
223
  );
224
+ protected $pivotValueRegionsType = 'Forminator_Google_Service_AnalyticsReporting_PivotValueRegion';
225
  protected $pivotValueRegionsDataType = 'array';
226
  public $values;
227
 
244
  }
245
  }
246
 
247
+ class Forminator_Google_Service_AnalyticsReporting_Dimension extends Forminator_Google_Collection
248
  {
249
  protected $collection_key = 'histogramBuckets';
250
  protected $internal_gapi_mappings = array(
271
  }
272
  }
273
 
274
+ class Forminator_Google_Service_AnalyticsReporting_DimensionFilter extends Forminator_Google_Collection
275
  {
276
  protected $collection_key = 'expressions';
277
  protected $internal_gapi_mappings = array(
325
  }
326
  }
327
 
328
+ class Forminator_Google_Service_AnalyticsReporting_DimensionFilterClause extends Forminator_Google_Collection
329
  {
330
  protected $collection_key = 'filters';
331
  protected $internal_gapi_mappings = array(
332
  );
333
+ protected $filtersType = 'Forminator_Google_Service_AnalyticsReporting_DimensionFilter';
334
  protected $filtersDataType = 'array';
335
  public $operator;
336
 
353
  }
354
  }
355
 
356
+ class Forminator_Google_Service_AnalyticsReporting_DynamicSegment extends Forminator_Google_Model
357
  {
358
  protected $internal_gapi_mappings = array(
359
  );
360
  public $name;
361
+ protected $sessionSegmentType = 'Forminator_Google_Service_AnalyticsReporting_SegmentDefinition';
362
  protected $sessionSegmentDataType = '';
363
+ protected $userSegmentType = 'Forminator_Google_Service_AnalyticsReporting_SegmentDefinition';
364
  protected $userSegmentDataType = '';
365
 
366
 
372
  {
373
  return $this->name;
374
  }
375
+ public function setSessionSegment(Forminator_Google_Service_AnalyticsReporting_SegmentDefinition $sessionSegment)
376
  {
377
  $this->sessionSegment = $sessionSegment;
378
  }
380
  {
381
  return $this->sessionSegment;
382
  }
383
+ public function setUserSegment(Forminator_Google_Service_AnalyticsReporting_SegmentDefinition $userSegment)
384
  {
385
  $this->userSegment = $userSegment;
386
  }
390
  }
391
  }
392
 
393
+ class Forminator_Google_Service_AnalyticsReporting_GetReportsRequest extends Forminator_Google_Collection
394
  {
395
  protected $collection_key = 'reportRequests';
396
  protected $internal_gapi_mappings = array(
397
  );
398
+ protected $reportRequestsType = 'Forminator_Google_Service_AnalyticsReporting_ReportRequest';
399
  protected $reportRequestsDataType = 'array';
400
 
401
 
409
  }
410
  }
411
 
412
+ class Forminator_Google_Service_AnalyticsReporting_GetReportsResponse extends Forminator_Google_Collection
413
  {
414
  protected $collection_key = 'reports';
415
  protected $internal_gapi_mappings = array(
416
  );
417
+ protected $reportsType = 'Forminator_Google_Service_AnalyticsReporting_Report';
418
  protected $reportsDataType = 'array';
419
 
420
 
428
  }
429
  }
430
 
431
+ class Forminator_Google_Service_AnalyticsReporting_Metric extends Forminator_Google_Model
432
  {
433
  protected $internal_gapi_mappings = array(
434
  );
463
  }
464
  }
465
 
466
+ class Forminator_Google_Service_AnalyticsReporting_MetricFilter extends Forminator_Google_Model
467
  {
468
  protected $internal_gapi_mappings = array(
469
  );
507
  }
508
  }
509
 
510
+ class Forminator_Google_Service_AnalyticsReporting_MetricFilterClause extends Forminator_Google_Collection
511
  {
512
  protected $collection_key = 'filters';
513
  protected $internal_gapi_mappings = array(
514
  );
515
+ protected $filtersType = 'Forminator_Google_Service_AnalyticsReporting_MetricFilter';
516
  protected $filtersDataType = 'array';
517
  public $operator;
518
 
535
  }
536
  }
537
 
538
+ class Forminator_Google_Service_AnalyticsReporting_MetricHeader extends Forminator_Google_Collection
539
  {
540
  protected $collection_key = 'pivotHeaders';
541
  protected $internal_gapi_mappings = array(
542
  );
543
+ protected $metricHeaderEntriesType = 'Forminator_Google_Service_AnalyticsReporting_MetricHeaderEntry';
544
  protected $metricHeaderEntriesDataType = 'array';
545
+ protected $pivotHeadersType = 'Forminator_Google_Service_AnalyticsReporting_PivotHeader';
546
  protected $pivotHeadersDataType = 'array';
547
 
548
 
564
  }
565
  }
566
 
567
+ class Forminator_Google_Service_AnalyticsReporting_MetricHeaderEntry extends Forminator_Google_Model
568
  {
569
  protected $internal_gapi_mappings = array(
570
  );
590
  }
591
  }
592
 
593
+ class Forminator_Google_Service_AnalyticsReporting_OrFiltersForSegment extends Forminator_Google_Collection
594
  {
595
  protected $collection_key = 'segmentFilterClauses';
596
  protected $internal_gapi_mappings = array(
597
  );
598
+ protected $segmentFilterClausesType = 'Forminator_Google_Service_AnalyticsReporting_SegmentFilterClause';
599
  protected $segmentFilterClausesDataType = 'array';
600
 
601
 
609
  }
610
  }
611
 
612
+ class Forminator_Google_Service_AnalyticsReporting_OrderBy extends Forminator_Google_Model
613
  {
614
  protected $internal_gapi_mappings = array(
615
  );
644
  }
645
  }
646
 
647
+ class Forminator_Google_Service_AnalyticsReporting_Pivot extends Forminator_Google_Collection
648
  {
649
  protected $collection_key = 'metrics';
650
  protected $internal_gapi_mappings = array(
651
  );
652
+ protected $dimensionFilterClausesType = 'Forminator_Google_Service_AnalyticsReporting_DimensionFilterClause';
653
  protected $dimensionFilterClausesDataType = 'array';
654
+ protected $dimensionsType = 'Forminator_Google_Service_AnalyticsReporting_Dimension';
655
  protected $dimensionsDataType = 'array';
656
  public $maxGroupCount;
657
+ protected $metricsType = 'Forminator_Google_Service_AnalyticsReporting_Metric';
658
  protected $metricsDataType = 'array';
659
  public $startGroup;
660
 
701
  }
702
  }
703
 
704
+ class Forminator_Google_Service_AnalyticsReporting_PivotHeader extends Forminator_Google_Collection
705
  {
706
  protected $collection_key = 'pivotHeaderEntries';
707
  protected $internal_gapi_mappings = array(
708
  );
709
+ protected $pivotHeaderEntriesType = 'Forminator_Google_Service_AnalyticsReporting_PivotHeaderEntry';
710
  protected $pivotHeaderEntriesDataType = 'array';
711
  public $totalPivotGroupsCount;
712
 
729
  }
730
  }
731
 
732
+ class Forminator_Google_Service_AnalyticsReporting_PivotHeaderEntry extends Forminator_Google_Collection
733
  {
734
  protected $collection_key = 'dimensionValues';
735
  protected $internal_gapi_mappings = array(
736
  );
737
  public $dimensionNames;
738
  public $dimensionValues;
739
+ protected $metricType = 'Forminator_Google_Service_AnalyticsReporting_MetricHeaderEntry';
740
  protected $metricDataType = '';
741
 
742
 
756
  {
757
  return $this->dimensionValues;
758
  }
759
+ public function setMetric(Forminator_Google_Service_AnalyticsReporting_MetricHeaderEntry $metric)
760
  {
761
  $this->metric = $metric;
762
  }
766
  }
767
  }
768
 
769
+ class Forminator_Google_Service_AnalyticsReporting_PivotValueRegion extends Forminator_Google_Collection
770
  {
771
  protected $collection_key = 'values';
772
  protected $internal_gapi_mappings = array(
784
  }
785
  }
786
 
787
+ class Forminator_Google_Service_AnalyticsReporting_Report extends Forminator_Google_Model
788
  {
789
  protected $internal_gapi_mappings = array(
790
  );
791
+ protected $columnHeaderType = 'Forminator_Google_Service_AnalyticsReporting_ColumnHeader';
792
  protected $columnHeaderDataType = '';
793
+ protected $dataType = 'Forminator_Google_Service_AnalyticsReporting_ReportData';
794
  protected $dataDataType = '';
795
  public $nextPageToken;
796
 
797
 
798
+ public function setColumnHeader(Forminator_Google_Service_AnalyticsReporting_ColumnHeader $columnHeader)
799
  {
800
  $this->columnHeader = $columnHeader;
801
  }
803
  {
804
  return $this->columnHeader;
805
  }
806
+ public function setData(Forminator_Google_Service_AnalyticsReporting_ReportData $data)
807
  {
808
  $this->data = $data;
809
  }
821
  }
822
  }
823
 
824
+ class Forminator_Google_Service_AnalyticsReporting_ReportData extends Forminator_Google_Collection
825
  {
826
  protected $collection_key = 'totals';
827
  protected $internal_gapi_mappings = array(
828
  );
829
  public $isDataGolden;
830
+ protected $maximumsType = 'Forminator_Google_Service_AnalyticsReporting_DateRangeValues';
831
  protected $maximumsDataType = 'array';
832
+ protected $minimumsType = 'Forminator_Google_Service_AnalyticsReporting_DateRangeValues';
833
  protected $minimumsDataType = 'array';
834
  public $rowCount;
835
+ protected $rowsType = 'Forminator_Google_Service_AnalyticsReporting_ReportRow';
836
  protected $rowsDataType = 'array';
837
  public $samplesReadCounts;
838
  public $samplingSpaceSizes;
839
+ protected $totalsType = 'Forminator_Google_Service_AnalyticsReporting_DateRangeValues';
840
  protected $totalsDataType = 'array';
841
 
842
 
906
  }
907
  }
908
 
909
+ class Forminator_Google_Service_AnalyticsReporting_ReportRequest extends Forminator_Google_Collection
910
  {
911
  protected $collection_key = 'segments';
912
  protected $internal_gapi_mappings = array(
913
  );
914
+ protected $cohortGroupType = 'Forminator_Google_Service_AnalyticsReporting_CohortGroup';
915
  protected $cohortGroupDataType = '';
916
+ protected $dateRangesType = 'Forminator_Google_Service_AnalyticsReporting_DateRange';
917
  protected $dateRangesDataType = 'array';
918
+ protected $dimensionFilterClausesType = 'Forminator_Google_Service_AnalyticsReporting_DimensionFilterClause';
919
  protected $dimensionFilterClausesDataType = 'array';
920
+ protected $dimensionsType = 'Forminator_Google_Service_AnalyticsReporting_Dimension';
921
  protected $dimensionsDataType = 'array';
922
  public $filtersExpression;
923
  public $hideTotals;
924
  public $hideValueRanges;
925
  public $includeEmptyRows;
926
+ protected $metricFilterClausesType = 'Forminator_Google_Service_AnalyticsReporting_MetricFilterClause';
927
  protected $metricFilterClausesDataType = 'array';
928
+ protected $metricsType = 'Forminator_Google_Service_AnalyticsReporting_Metric';
929
  protected $metricsDataType = 'array';
930
+ protected $orderBysType = 'Forminator_Google_Service_AnalyticsReporting_OrderBy';
931
  protected $orderBysDataType = 'array';
932
  public $pageSize;
933
  public $pageToken;
934
+ protected $pivotsType = 'Forminator_Google_Service_AnalyticsReporting_Pivot';
935
  protected $pivotsDataType = 'array';
936
  public $samplingLevel;
937
+ protected $segmentsType = 'Forminator_Google_Service_AnalyticsReporting_Segment';
938
  protected $segmentsDataType = 'array';
939
  public $viewId;
940
 
941
 
942
+ public function setCohortGroup(Forminator_Google_Service_AnalyticsReporting_CohortGroup $cohortGroup)
943
  {
944
  $this->cohortGroup = $cohortGroup;
945
  }
1077
  }
1078
  }
1079
 
1080
+ class Forminator_Google_Service_AnalyticsReporting_ReportRow extends Forminator_Google_Collection
1081
  {
1082
  protected $collection_key = 'metrics';
1083
  protected $internal_gapi_mappings = array(
1084
  );
1085
  public $dimensions;
1086
+ protected $metricsType = 'Forminator_Google_Service_AnalyticsReporting_DateRangeValues';
1087
  protected $metricsDataType = 'array';
1088
 
1089
 
1105
  }
1106
  }
1107
 
1108
+ class Forminator_Google_Service_AnalyticsReporting_Segment extends Forminator_Google_Model
1109
  {
1110
  protected $internal_gapi_mappings = array(
1111
  );
1112
+ protected $dynamicSegmentType = 'Forminator_Google_Service_AnalyticsReporting_DynamicSegment';
1113
  protected $dynamicSegmentDataType = '';
1114
  public $segmentId;
1115
 
1116
 
1117
+ public function setDynamicSegment(Forminator_Google_Service_AnalyticsReporting_DynamicSegment $dynamicSegment)
1118
  {
1119
  $this->dynamicSegment = $dynamicSegment;
1120
  }
1132
  }
1133
  }
1134
 
1135
+ class Forminator_Google_Service_AnalyticsReporting_SegmentDefinition extends Forminator_Google_Collection
1136
  {
1137
  protected $collection_key = 'segmentFilters';
1138
  protected $internal_gapi_mappings = array(
1139
  );
1140
+ protected $segmentFiltersType = 'Forminator_Google_Service_AnalyticsReporting_SegmentFilter';
1141
  protected $segmentFiltersDataType = 'array';
1142
 
1143
 
1151
  }
1152
  }
1153
 
1154
+ class Forminator_Google_Service_AnalyticsReporting_SegmentDimensionFilter extends Forminator_Google_Collection
1155
  {
1156
  protected $collection_key = 'expressions';
1157
  protected $internal_gapi_mappings = array(
1214
  }
1215
  }
1216
 
1217
+ class Forminator_Google_Service_AnalyticsReporting_SegmentFilter extends Forminator_Google_Model
1218
  {
1219
  protected $internal_gapi_mappings = array(
1220
  );
1221
  public $not;
1222
+ protected $sequenceSegmentType = 'Forminator_Google_Service_AnalyticsReporting_SequenceSegment';
1223
  protected $sequenceSegmentDataType = '';
1224
+ protected $simpleSegmentType = 'Forminator_Google_Service_AnalyticsReporting_SimpleSegment';
1225
  protected $simpleSegmentDataType = '';
1226
 
1227
 
1233
  {
1234
  return $this->not;
1235
  }
1236
+ public function setSequenceSegment(Forminator_Google_Service_AnalyticsReporting_SequenceSegment $sequenceSegment)
1237
  {
1238
  $this->sequenceSegment = $sequenceSegment;
1239
  }
1241
  {
1242
  return $this->sequenceSegment;
1243
  }
1244
+ public function setSimpleSegment(Forminator_Google_Service_AnalyticsReporting_SimpleSegment $simpleSegment)
1245
  {
1246
  $this->simpleSegment = $simpleSegment;
1247
  }
1251
  }
1252
  }
1253
 
1254
+ class Forminator_Google_Service_AnalyticsReporting_SegmentFilterClause extends Forminator_Google_Model
1255
  {
1256
  protected $internal_gapi_mappings = array(
1257
  );
1258
+ protected $dimensionFilterType = 'Forminator_Google_Service_AnalyticsReporting_SegmentDimensionFilter';
1259
  protected $dimensionFilterDataType = '';
1260
+ protected $metricFilterType = 'Forminator_Google_Service_AnalyticsReporting_SegmentMetricFilter';
1261
  protected $metricFilterDataType = '';
1262
  public $not;
1263
 
1264
 
1265
+ public function setDimensionFilter(Forminator_Google_Service_AnalyticsReporting_SegmentDimensionFilter $dimensionFilter)
1266
  {
1267
  $this->dimensionFilter = $dimensionFilter;
1268
  }
1270
  {
1271
  return $this->dimensionFilter;
1272
  }
1273
+ public function setMetricFilter(Forminator_Google_Service_AnalyticsReporting_SegmentMetricFilter $metricFilter)
1274
  {
1275
  $this->metricFilter = $metricFilter;
1276
  }
1288
  }
1289
  }
1290
 
1291
+ class Forminator_Google_Service_AnalyticsReporting_SegmentMetricFilter extends Forminator_Google_Model
1292
  {
1293
  protected $internal_gapi_mappings = array(
1294
  );
1341
  }
1342
  }
1343
 
1344
+ class Forminator_Google_Service_AnalyticsReporting_SegmentSequenceStep extends Forminator_Google_Collection
1345
  {
1346
  protected $collection_key = 'orFiltersForSegment';
1347
  protected $internal_gapi_mappings = array(
1348
  );
1349
  public $matchType;
1350
+ protected $orFiltersForSegmentType = 'Forminator_Google_Service_AnalyticsReporting_OrFiltersForSegment';
1351
  protected $orFiltersForSegmentDataType = 'array';
1352
 
1353
 
1369
  }
1370
  }
1371
 
1372
+ class Forminator_Google_Service_AnalyticsReporting_SequenceSegment extends Forminator_Google_Collection
1373
  {
1374
  protected $collection_key = 'segmentSequenceSteps';
1375
  protected $internal_gapi_mappings = array(
1376
  );
1377
  public $firstStepShouldMatchFirstHit;
1378
+ protected $segmentSequenceStepsType = 'Forminator_Google_Service_AnalyticsReporting_SegmentSequenceStep';
1379
  protected $segmentSequenceStepsDataType = 'array';
1380
 
1381
 
1397
  }
1398
  }
1399
 
1400
+ class Forminator_Google_Service_AnalyticsReporting_SimpleSegment extends Forminator_Google_Collection
1401
  {
1402
  protected $collection_key = 'orFiltersForSegment';
1403
  protected $internal_gapi_mappings = array(
1404
  );
1405
+ protected $orFiltersForSegmentType = 'Forminator_Google_Service_AnalyticsReporting_OrFiltersForSegment';
1406
  protected $orFiltersForSegmentDataType = 'array';
1407
 
1408
 
addons/pro/googlesheet/lib/external/Google/Service/AndroidEnterprise.php CHANGED
@@ -27,7 +27,7 @@
27
  *
28
  * @author Google, Inc.
29
  */
30
- class Google_Service_AndroidEnterprise extends Google_Service
31
  {
32
  /** Manage corporate Android devices. */
33
  const ANDROIDENTERPRISE =
@@ -51,9 +51,9 @@ class Google_Service_AndroidEnterprise extends Google_Service
51
  /**
52
  * Constructs the internal representation of the AndroidEnterprise service.
53
  *
54
- * @param Google_Client $client
55
  */
56
- public function __construct(Google_Client $client)
57
  {
58
  parent::__construct($client);
59
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -61,7 +61,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
61
  $this->version = 'v1';
62
  $this->serviceName = 'androidenterprise';
63
 
64
- $this->collections = new Google_Service_AndroidEnterprise_Collections_Resource(
65
  $this,
66
  $this->serviceName,
67
  'collections',
@@ -151,7 +151,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
151
  )
152
  )
153
  );
154
- $this->collectionviewers = new Google_Service_AndroidEnterprise_Collectionviewers_Resource(
155
  $this,
156
  $this->serviceName,
157
  'collectionviewers',
@@ -256,7 +256,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
256
  )
257
  )
258
  );
259
- $this->devices = new Google_Service_AndroidEnterprise_Devices_Resource(
260
  $this,
261
  $this->serviceName,
262
  'devices',
@@ -341,7 +341,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
341
  )
342
  )
343
  );
344
- $this->enterprises = new Google_Service_AndroidEnterprise_Enterprises_Resource(
345
  $this,
346
  $this->serviceName,
347
  'enterprises',
@@ -451,7 +451,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
451
  )
452
  )
453
  );
454
- $this->entitlements = new Google_Service_AndroidEnterprise_Entitlements_Resource(
455
  $this,
456
  $this->serviceName,
457
  'entitlements',
@@ -564,7 +564,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
564
  )
565
  )
566
  );
567
- $this->grouplicenses = new Google_Service_AndroidEnterprise_Grouplicenses_Resource(
568
  $this,
569
  $this->serviceName,
570
  'grouplicenses',
@@ -599,7 +599,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
599
  )
600
  )
601
  );
602
- $this->grouplicenseusers = new Google_Service_AndroidEnterprise_Grouplicenseusers_Resource(
603
  $this,
604
  $this->serviceName,
605
  'grouplicenseusers',
@@ -624,7 +624,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
624
  )
625
  )
626
  );
627
- $this->installs = new Google_Service_AndroidEnterprise_Installs_Resource(
628
  $this,
629
  $this->serviceName,
630
  'installs',
@@ -754,7 +754,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
754
  )
755
  )
756
  );
757
- $this->permissions = new Google_Service_AndroidEnterprise_Permissions_Resource(
758
  $this,
759
  $this->serviceName,
760
  'permissions',
@@ -778,7 +778,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
778
  )
779
  )
780
  );
781
- $this->products = new Google_Service_AndroidEnterprise_Products_Resource(
782
  $this,
783
  $this->serviceName,
784
  'products',
@@ -890,7 +890,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
890
  )
891
  )
892
  );
893
- $this->storelayoutclusters = new Google_Service_AndroidEnterprise_Storelayoutclusters_Resource(
894
  $this,
895
  $this->serviceName,
896
  'storelayoutclusters',
@@ -1010,7 +1010,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
1010
  )
1011
  )
1012
  );
1013
- $this->storelayoutpages = new Google_Service_AndroidEnterprise_Storelayoutpages_Resource(
1014
  $this,
1015
  $this->serviceName,
1016
  'storelayoutpages',
@@ -1100,7 +1100,7 @@ class Google_Service_AndroidEnterprise extends Google_Service
1100
  )
1101
  )
1102
  );
1103
- $this->users = new Google_Service_AndroidEnterprise_Users_Resource(
1104
  $this,
1105
  $this->serviceName,
1106
  'users',
@@ -1208,11 +1208,11 @@ class Google_Service_AndroidEnterprise extends Google_Service
1208
  * The "collections" collection of methods.
1209
  * Typical usage is:
1210
  * <code>
1211
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1212
  * $collections = $androidenterpriseService->collections;
1213
  * </code>
1214
  */
1215
- class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Service_Resource
1216
  {
1217
 
1218
  /**
@@ -1235,28 +1235,28 @@ class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Servi
1235
  * @param string $enterpriseId The ID of the enterprise.
1236
  * @param string $collectionId The ID of the collection.
1237
  * @param array $optParams Optional parameters.
1238
- * @return Google_Service_AndroidEnterprise_Collection
1239
  */
1240
  public function get($enterpriseId, $collectionId, $optParams = array())
1241
  {
1242
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
1243
  $params = array_merge($params, $optParams);
1244
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Collection");
1245
  }
1246
 
1247
  /**
1248
  * Creates a new collection. (collections.insert)
1249
  *
1250
  * @param string $enterpriseId The ID of the enterprise.
1251
- * @param Google_Collection $postBody
1252
  * @param array $optParams Optional parameters.
1253
- * @return Google_Service_AndroidEnterprise_Collection
1254
  */
1255
- public function insert($enterpriseId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
1256
  {
1257
  $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
1258
  $params = array_merge($params, $optParams);
1259
- return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Collection");
1260
  }
1261
 
1262
  /**
@@ -1265,13 +1265,13 @@ class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Servi
1265
  *
1266
  * @param string $enterpriseId The ID of the enterprise.
1267
  * @param array $optParams Optional parameters.
1268
- * @return Google_Service_AndroidEnterprise_CollectionsListResponse
1269
  */
1270
  public function listCollections($enterpriseId, $optParams = array())
1271
  {
1272
  $params = array('enterpriseId' => $enterpriseId);
1273
  $params = array_merge($params, $optParams);
1274
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionsListResponse");
1275
  }
1276
 
1277
  /**
@@ -1280,15 +1280,15 @@ class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Servi
1280
  *
1281
  * @param string $enterpriseId The ID of the enterprise.
1282
  * @param string $collectionId The ID of the collection.
1283
- * @param Google_Collection $postBody
1284
  * @param array $optParams Optional parameters.
1285
- * @return Google_Service_AndroidEnterprise_Collection
1286
  */
1287
- public function patch($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
1288
  {
1289
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
1290
  $params = array_merge($params, $optParams);
1291
- return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Collection");
1292
  }
1293
 
1294
  /**
@@ -1296,15 +1296,15 @@ class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Servi
1296
  *
1297
  * @param string $enterpriseId The ID of the enterprise.
1298
  * @param string $collectionId The ID of the collection.
1299
- * @param Google_Collection $postBody
1300
  * @param array $optParams Optional parameters.
1301
- * @return Google_Service_AndroidEnterprise_Collection
1302
  */
1303
- public function update($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
1304
  {
1305
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
1306
  $params = array_merge($params, $optParams);
1307
- return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Collection");
1308
  }
1309
  }
1310
 
@@ -1312,11 +1312,11 @@ class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Servi
1312
  * The "collectionviewers" collection of methods.
1313
  * Typical usage is:
1314
  * <code>
1315
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1316
  * $collectionviewers = $androidenterpriseService->collectionviewers;
1317
  * </code>
1318
  */
1319
- class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google_Service_Resource
1320
  {
1321
 
1322
  /**
@@ -1345,13 +1345,13 @@ class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google
1345
  * @param string $collectionId The ID of the collection.
1346
  * @param string $userId The ID of the user.
1347
  * @param array $optParams Optional parameters.
1348
- * @return Google_Service_AndroidEnterprise_User
1349
  */
1350
  public function get($enterpriseId, $collectionId, $userId, $optParams = array())
1351
  {
1352
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId);
1353
  $params = array_merge($params, $optParams);
1354
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User");
1355
  }
1356
 
1357
  /**
@@ -1363,13 +1363,13 @@ class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google
1363
  * @param string $enterpriseId The ID of the enterprise.
1364
  * @param string $collectionId The ID of the collection.
1365
  * @param array $optParams Optional parameters.
1366
- * @return Google_Service_AndroidEnterprise_CollectionViewersListResponse
1367
  */
1368
  public function listCollectionviewers($enterpriseId, $collectionId, $optParams = array())
1369
  {
1370
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
1371
  $params = array_merge($params, $optParams);
1372
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionViewersListResponse");
1373
  }
1374
 
1375
  /**
@@ -1381,15 +1381,15 @@ class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google
1381
  * @param string $enterpriseId The ID of the enterprise.
1382
  * @param string $collectionId The ID of the collection.
1383
  * @param string $userId The ID of the user.
1384
- * @param Google_User $postBody
1385
  * @param array $optParams Optional parameters.
1386
- * @return Google_Service_AndroidEnterprise_User
1387
  */
1388
- public function patch($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
1389
  {
1390
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
1391
  $params = array_merge($params, $optParams);
1392
- return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_User");
1393
  }
1394
 
1395
  /**
@@ -1400,15 +1400,15 @@ class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google
1400
  * @param string $enterpriseId The ID of the enterprise.
1401
  * @param string $collectionId The ID of the collection.
1402
  * @param string $userId The ID of the user.
1403
- * @param Google_User $postBody
1404
  * @param array $optParams Optional parameters.
1405
- * @return Google_Service_AndroidEnterprise_User
1406
  */
1407
- public function update($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
1408
  {
1409
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
1410
  $params = array_merge($params, $optParams);
1411
- return $this->call('update', array($params), "Google_Service_AndroidEnterprise_User");
1412
  }
1413
  }
1414
 
@@ -1416,11 +1416,11 @@ class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google
1416
  * The "devices" collection of methods.
1417
  * Typical usage is:
1418
  * <code>
1419
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1420
  * $devices = $androidenterpriseService->devices;
1421
  * </code>
1422
  */
1423
- class Google_Service_AndroidEnterprise_Devices_Resource extends Google_Service_Resource
1424
  {
1425
 
1426
  /**
@@ -1430,13 +1430,13 @@ class Google_Service_AndroidEnterprise_Devices_Resource extends Google_Service_R
1430
  * @param string $userId The ID of the user.
1431
  * @param string $deviceId The ID of the device.
1432
  * @param array $optParams Optional parameters.
1433
- * @return Google_Service_AndroidEnterprise_Device
1434
  */
1435
  public function get($enterpriseId, $userId, $deviceId, $optParams = array())
1436
  {
1437
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
1438
  $params = array_merge($params, $optParams);
1439
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Device");
1440
  }
1441
 
1442
  /**
@@ -1450,13 +1450,13 @@ class Google_Service_AndroidEnterprise_Devices_Resource extends Google_Service_R
1450
  * @param string $userId The ID of the user.
1451
  * @param string $deviceId The ID of the device.
1452
  * @param array $optParams Optional parameters.
1453
- * @return Google_Service_AndroidEnterprise_DeviceState
1454
  */
1455
  public function getState($enterpriseId, $userId, $deviceId, $optParams = array())
1456
  {
1457
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
1458
  $params = array_merge($params, $optParams);
1459
- return $this->call('getState', array($params), "Google_Service_AndroidEnterprise_DeviceState");
1460
  }
1461
 
1462
  /**
@@ -1465,13 +1465,13 @@ class Google_Service_AndroidEnterprise_Devices_Resource extends Google_Service_R
1465
  * @param string $enterpriseId The ID of the enterprise.
1466
  * @param string $userId The ID of the user.
1467
  * @param array $optParams Optional parameters.
1468
- * @return Google_Service_AndroidEnterprise_DevicesListResponse
1469
  */
1470
  public function listDevices($enterpriseId, $userId, $optParams = array())
1471
  {
1472
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
1473
  $params = array_merge($params, $optParams);
1474
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_DevicesListResponse");
1475
  }
1476
 
1477
  /**
@@ -1484,15 +1484,15 @@ class Google_Service_AndroidEnterprise_Devices_Resource extends Google_Service_R
1484
  * @param string $enterpriseId The ID of the enterprise.
1485
  * @param string $userId The ID of the user.
1486
  * @param string $deviceId The ID of the device.
1487
- * @param Google_DeviceState $postBody
1488
  * @param array $optParams Optional parameters.
1489
- * @return Google_Service_AndroidEnterprise_DeviceState
1490
  */
1491
- public function setState($enterpriseId, $userId, $deviceId, Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams = array())
1492
  {
1493
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'postBody' => $postBody);
1494
  $params = array_merge($params, $optParams);
1495
- return $this->call('setState', array($params), "Google_Service_AndroidEnterprise_DeviceState");
1496
  }
1497
  }
1498
 
@@ -1500,11 +1500,11 @@ class Google_Service_AndroidEnterprise_Devices_Resource extends Google_Service_R
1500
  * The "enterprises" collection of methods.
1501
  * Typical usage is:
1502
  * <code>
1503
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1504
  * $enterprises = $androidenterpriseService->enterprises;
1505
  * </code>
1506
  */
1507
- class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Service_Resource
1508
  {
1509
 
1510
  /**
@@ -1528,15 +1528,15 @@ class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Servi
1528
  *
1529
  * @param string $token The token provided by the enterprise to register the
1530
  * EMM.
1531
- * @param Google_Enterprise $postBody
1532
  * @param array $optParams Optional parameters.
1533
- * @return Google_Service_AndroidEnterprise_Enterprise
1534
  */
1535
- public function enroll($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
1536
  {
1537
  $params = array('token' => $token, 'postBody' => $postBody);
1538
  $params = array_merge($params, $optParams);
1539
- return $this->call('enroll', array($params), "Google_Service_AndroidEnterprise_Enterprise");
1540
  }
1541
 
1542
  /**
@@ -1544,13 +1544,13 @@ class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Servi
1544
  *
1545
  * @param string $enterpriseId The ID of the enterprise.
1546
  * @param array $optParams Optional parameters.
1547
- * @return Google_Service_AndroidEnterprise_Enterprise
1548
  */
1549
  public function get($enterpriseId, $optParams = array())
1550
  {
1551
  $params = array('enterpriseId' => $enterpriseId);
1552
  $params = array_merge($params, $optParams);
1553
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Enterprise");
1554
  }
1555
 
1556
  /**
@@ -1558,13 +1558,13 @@ class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Servi
1558
  *
1559
  * @param string $enterpriseId The ID of the enterprise.
1560
  * @param array $optParams Optional parameters.
1561
- * @return Google_Service_AndroidEnterprise_StoreLayout
1562
  */
1563
  public function getStoreLayout($enterpriseId, $optParams = array())
1564
  {
1565
  $params = array('enterpriseId' => $enterpriseId);
1566
  $params = array_merge($params, $optParams);
1567
- return $this->call('getStoreLayout', array($params), "Google_Service_AndroidEnterprise_StoreLayout");
1568
  }
1569
 
1570
  /**
@@ -1573,15 +1573,15 @@ class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Servi
1573
  *
1574
  * @param string $token The token provided by the enterprise to register the
1575
  * EMM.
1576
- * @param Google_Enterprise $postBody
1577
  * @param array $optParams Optional parameters.
1578
- * @return Google_Service_AndroidEnterprise_Enterprise
1579
  */
1580
- public function insert($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
1581
  {
1582
  $params = array('token' => $token, 'postBody' => $postBody);
1583
  $params = array_merge($params, $optParams);
1584
- return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Enterprise");
1585
  }
1586
 
1587
  /**
@@ -1590,13 +1590,13 @@ class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Servi
1590
  * @param string $domain The exact primary domain name of the enterprise to look
1591
  * up.
1592
  * @param array $optParams Optional parameters.
1593
- * @return Google_Service_AndroidEnterprise_EnterprisesListResponse
1594
  */
1595
  public function listEnterprises($domain, $optParams = array())
1596
  {
1597
  $params = array('domain' => $domain);
1598
  $params = array_merge($params, $optParams);
1599
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EnterprisesListResponse");
1600
  }
1601
 
1602
  /**
@@ -1606,13 +1606,13 @@ class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Servi
1606
  *
1607
  * @param string $enterpriseId The ID of the enterprise.
1608
  * @param array $optParams Optional parameters.
1609
- * @return Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse
1610
  */
1611
  public function sendTestPushNotification($enterpriseId, $optParams = array())
1612
  {
1613
  $params = array('enterpriseId' => $enterpriseId);
1614
  $params = array_merge($params, $optParams);
1615
- return $this->call('sendTestPushNotification', array($params), "Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse");
1616
  }
1617
 
1618
  /**
@@ -1620,30 +1620,30 @@ class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Servi
1620
  * enterprise. (enterprises.setAccount)
1621
  *
1622
  * @param string $enterpriseId The ID of the enterprise.
1623
- * @param Google_EnterpriseAccount $postBody
1624
  * @param array $optParams Optional parameters.
1625
- * @return Google_Service_AndroidEnterprise_EnterpriseAccount
1626
  */
1627
- public function setAccount($enterpriseId, Google_Service_AndroidEnterprise_EnterpriseAccount $postBody, $optParams = array())
1628
  {
1629
  $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
1630
  $params = array_merge($params, $optParams);
1631
- return $this->call('setAccount', array($params), "Google_Service_AndroidEnterprise_EnterpriseAccount");
1632
  }
1633
 
1634
  /**
1635
  * Sets the store layout resource. (enterprises.setStoreLayout)
1636
  *
1637
  * @param string $enterpriseId The ID of the enterprise.
1638
- * @param Google_StoreLayout $postBody
1639
  * @param array $optParams Optional parameters.
1640
- * @return Google_Service_AndroidEnterprise_StoreLayout
1641
  */
1642
- public function setStoreLayout($enterpriseId, Google_Service_AndroidEnterprise_StoreLayout $postBody, $optParams = array())
1643
  {
1644
  $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
1645
  $params = array_merge($params, $optParams);
1646
- return $this->call('setStoreLayout', array($params), "Google_Service_AndroidEnterprise_StoreLayout");
1647
  }
1648
 
1649
  /**
@@ -1664,11 +1664,11 @@ class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Servi
1664
  * The "entitlements" collection of methods.
1665
  * Typical usage is:
1666
  * <code>
1667
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1668
  * $entitlements = $androidenterpriseService->entitlements;
1669
  * </code>
1670
  */
1671
- class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Service_Resource
1672
  {
1673
 
1674
  /**
@@ -1696,13 +1696,13 @@ class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Serv
1696
  * @param string $entitlementId The ID of the entitlement, e.g.
1697
  * "app:com.google.android.gm".
1698
  * @param array $optParams Optional parameters.
1699
- * @return Google_Service_AndroidEnterprise_Entitlement
1700
  */
1701
  public function get($enterpriseId, $userId, $entitlementId, $optParams = array())
1702
  {
1703
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId);
1704
  $params = array_merge($params, $optParams);
1705
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Entitlement");
1706
  }
1707
 
1708
  /**
@@ -1712,13 +1712,13 @@ class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Serv
1712
  * @param string $enterpriseId The ID of the enterprise.
1713
  * @param string $userId The ID of the user.
1714
  * @param array $optParams Optional parameters.
1715
- * @return Google_Service_AndroidEnterprise_EntitlementsListResponse
1716
  */
1717
  public function listEntitlements($enterpriseId, $userId, $optParams = array())
1718
  {
1719
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
1720
  $params = array_merge($params, $optParams);
1721
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EntitlementsListResponse");
1722
  }
1723
 
1724
  /**
@@ -1729,20 +1729,20 @@ class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Serv
1729
  * @param string $userId The ID of the user.
1730
  * @param string $entitlementId The ID of the entitlement, e.g.
1731
  * "app:com.google.android.gm".
1732
- * @param Google_Entitlement $postBody
1733
  * @param array $optParams Optional parameters.
1734
  *
1735
  * @opt_param bool install Set to true to also install the product on all the
1736
  * user's devices where possible. Failure to install on one or more devices will
1737
  * not prevent this operation from returning successfully, as long as the
1738
  * entitlement was successfully assigned to the user.
1739
- * @return Google_Service_AndroidEnterprise_Entitlement
1740
  */
1741
- public function patch($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
1742
  {
1743
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
1744
  $params = array_merge($params, $optParams);
1745
- return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Entitlement");
1746
  }
1747
 
1748
  /**
@@ -1752,20 +1752,20 @@ class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Serv
1752
  * @param string $userId The ID of the user.
1753
  * @param string $entitlementId The ID of the entitlement, e.g.
1754
  * "app:com.google.android.gm".
1755
- * @param Google_Entitlement $postBody
1756
  * @param array $optParams Optional parameters.
1757
  *
1758
  * @opt_param bool install Set to true to also install the product on all the
1759
  * user's devices where possible. Failure to install on one or more devices will
1760
  * not prevent this operation from returning successfully, as long as the
1761
  * entitlement was successfully assigned to the user.
1762
- * @return Google_Service_AndroidEnterprise_Entitlement
1763
  */
1764
- public function update($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
1765
  {
1766
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
1767
  $params = array_merge($params, $optParams);
1768
- return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Entitlement");
1769
  }
1770
  }
1771
 
@@ -1773,11 +1773,11 @@ class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Serv
1773
  * The "grouplicenses" collection of methods.
1774
  * Typical usage is:
1775
  * <code>
1776
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1777
  * $grouplicenses = $androidenterpriseService->grouplicenses;
1778
  * </code>
1779
  */
1780
- class Google_Service_AndroidEnterprise_Grouplicenses_Resource extends Google_Service_Resource
1781
  {
1782
 
1783
  /**
@@ -1788,13 +1788,13 @@ class Google_Service_AndroidEnterprise_Grouplicenses_Resource extends Google_Ser
1788
  * @param string $groupLicenseId The ID of the product the group license is for,
1789
  * e.g. "app:com.google.android.gm".
1790
  * @param array $optParams Optional parameters.
1791
- * @return Google_Service_AndroidEnterprise_GroupLicense
1792
  */
1793
  public function get($enterpriseId, $groupLicenseId, $optParams = array())
1794
  {
1795
  $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
1796
  $params = array_merge($params, $optParams);
1797
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_GroupLicense");
1798
  }
1799
 
1800
  /**
@@ -1803,13 +1803,13 @@ class Google_Service_AndroidEnterprise_Grouplicenses_Resource extends Google_Ser
1803
  *
1804
  * @param string $enterpriseId The ID of the enterprise.
1805
  * @param array $optParams Optional parameters.
1806
- * @return Google_Service_AndroidEnterprise_GroupLicensesListResponse
1807
  */
1808
  public function listGrouplicenses($enterpriseId, $optParams = array())
1809
  {
1810
  $params = array('enterpriseId' => $enterpriseId);
1811
  $params = array_merge($params, $optParams);
1812
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicensesListResponse");
1813
  }
1814
  }
1815
 
@@ -1817,11 +1817,11 @@ class Google_Service_AndroidEnterprise_Grouplicenses_Resource extends Google_Ser
1817
  * The "grouplicenseusers" collection of methods.
1818
  * Typical usage is:
1819
  * <code>
1820
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1821
  * $grouplicenseusers = $androidenterpriseService->grouplicenseusers;
1822
  * </code>
1823
  */
1824
- class Google_Service_AndroidEnterprise_Grouplicenseusers_Resource extends Google_Service_Resource
1825
  {
1826
 
1827
  /**
@@ -1832,13 +1832,13 @@ class Google_Service_AndroidEnterprise_Grouplicenseusers_Resource extends Google
1832
  * @param string $groupLicenseId The ID of the product the group license is for,
1833
  * e.g. "app:com.google.android.gm".
1834
  * @param array $optParams Optional parameters.
1835
- * @return Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse
1836
  */
1837
  public function listGrouplicenseusers($enterpriseId, $groupLicenseId, $optParams = array())
1838
  {
1839
  $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
1840
  $params = array_merge($params, $optParams);
1841
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse");
1842
  }
1843
  }
1844
 
@@ -1846,11 +1846,11 @@ class Google_Service_AndroidEnterprise_Grouplicenseusers_Resource extends Google
1846
  * The "installs" collection of methods.
1847
  * Typical usage is:
1848
  * <code>
1849
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1850
  * $installs = $androidenterpriseService->installs;
1851
  * </code>
1852
  */
1853
- class Google_Service_AndroidEnterprise_Installs_Resource extends Google_Service_Resource
1854
  {
1855
 
1856
  /**
@@ -1881,13 +1881,13 @@ class Google_Service_AndroidEnterprise_Installs_Resource extends Google_Service_
1881
  * @param string $installId The ID of the product represented by the install,
1882
  * e.g. "app:com.google.android.gm".
1883
  * @param array $optParams Optional parameters.
1884
- * @return Google_Service_AndroidEnterprise_Install
1885
  */
1886
  public function get($enterpriseId, $userId, $deviceId, $installId, $optParams = array())
1887
  {
1888
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId);
1889
  $params = array_merge($params, $optParams);
1890
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Install");
1891
  }
1892
 
1893
  /**
@@ -1898,13 +1898,13 @@ class Google_Service_AndroidEnterprise_Installs_Resource extends Google_Service_
1898
  * @param string $userId The ID of the user.
1899
  * @param string $deviceId The Android ID of the device.
1900
  * @param array $optParams Optional parameters.
1901
- * @return Google_Service_AndroidEnterprise_InstallsListResponse
1902
  */
1903
  public function listInstalls($enterpriseId, $userId, $deviceId, $optParams = array())
1904
  {
1905
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
1906
  $params = array_merge($params, $optParams);
1907
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_InstallsListResponse");
1908
  }
1909
 
1910
  /**
@@ -1917,15 +1917,15 @@ class Google_Service_AndroidEnterprise_Installs_Resource extends Google_Service_
1917
  * @param string $deviceId The Android ID of the device.
1918
  * @param string $installId The ID of the product represented by the install,
1919
  * e.g. "app:com.google.android.gm".
1920
- * @param Google_Install $postBody
1921
  * @param array $optParams Optional parameters.
1922
- * @return Google_Service_AndroidEnterprise_Install
1923
  */
1924
- public function patch($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
1925
  {
1926
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
1927
  $params = array_merge($params, $optParams);
1928
- return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Install");
1929
  }
1930
 
1931
  /**
@@ -1938,15 +1938,15 @@ class Google_Service_AndroidEnterprise_Installs_Resource extends Google_Service_
1938
  * @param string $deviceId The Android ID of the device.
1939
  * @param string $installId The ID of the product represented by the install,
1940
  * e.g. "app:com.google.android.gm".
1941
- * @param Google_Install $postBody
1942
  * @param array $optParams Optional parameters.
1943
- * @return Google_Service_AndroidEnterprise_Install
1944
  */
1945
- public function update($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
1946
  {
1947
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
1948
  $params = array_merge($params, $optParams);
1949
- return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Install");
1950
  }
1951
  }
1952
 
@@ -1954,11 +1954,11 @@ class Google_Service_AndroidEnterprise_Installs_Resource extends Google_Service_
1954
  * The "permissions" collection of methods.
1955
  * Typical usage is:
1956
  * <code>
1957
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1958
  * $permissions = $androidenterpriseService->permissions;
1959
  * </code>
1960
  */
1961
- class Google_Service_AndroidEnterprise_Permissions_Resource extends Google_Service_Resource
1962
  {
1963
 
1964
  /**
@@ -1970,13 +1970,13 @@ class Google_Service_AndroidEnterprise_Permissions_Resource extends Google_Servi
1970
  *
1971
  * @opt_param string language The BCP47 tag for the user's preferred language
1972
  * (e.g. "en-US", "de")
1973
- * @return Google_Service_AndroidEnterprise_Permission
1974
  */
1975
  public function get($permissionId, $optParams = array())
1976
  {
1977
  $params = array('permissionId' => $permissionId);
1978
  $params = array_merge($params, $optParams);
1979
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Permission");
1980
  }
1981
  }
1982
 
@@ -1984,11 +1984,11 @@ class Google_Service_AndroidEnterprise_Permissions_Resource extends Google_Servi
1984
  * The "products" collection of methods.
1985
  * Typical usage is:
1986
  * <code>
1987
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1988
  * $products = $androidenterpriseService->products;
1989
  * </code>
1990
  */
1991
- class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_Resource
1992
  {
1993
 
1994
  /**
@@ -1997,10 +1997,10 @@ class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_
1997
  *
1998
  * @param string $enterpriseId The ID of the enterprise.
1999
  * @param string $productId The ID of the product.
2000
- * @param Google_ProductsApproveRequest $postBody
2001
  * @param array $optParams Optional parameters.
2002
  */
2003
- public function approve($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductsApproveRequest $postBody, $optParams = array())
2004
  {
2005
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody);
2006
  $params = array_merge($params, $optParams);
@@ -2024,13 +2024,13 @@ class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_
2024
  *
2025
  * @opt_param string languageCode The BCP 47 language code used for permission
2026
  * names and descriptions in the returned iframe, for instance "en-US".
2027
- * @return Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse
2028
  */
2029
  public function generateApprovalUrl($enterpriseId, $productId, $optParams = array())
2030
  {
2031
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2032
  $params = array_merge($params, $optParams);
2033
- return $this->call('generateApprovalUrl', array($params), "Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse");
2034
  }
2035
 
2036
  /**
@@ -2044,13 +2044,13 @@ class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_
2044
  *
2045
  * @opt_param string language The BCP47 tag for the user's preferred language
2046
  * (e.g. "en-US", "de").
2047
- * @return Google_Service_AndroidEnterprise_Product
2048
  */
2049
  public function get($enterpriseId, $productId, $optParams = array())
2050
  {
2051
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2052
  $params = array_merge($params, $optParams);
2053
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Product");
2054
  }
2055
 
2056
  /**
@@ -2064,13 +2064,13 @@ class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_
2064
  *
2065
  * @opt_param string language The BCP47 tag for the user's preferred language
2066
  * (e.g. "en-US", "de").
2067
- * @return Google_Service_AndroidEnterprise_AppRestrictionsSchema
2068
  */
2069
  public function getAppRestrictionsSchema($enterpriseId, $productId, $optParams = array())
2070
  {
2071
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2072
  $params = array_merge($params, $optParams);
2073
- return $this->call('getAppRestrictionsSchema', array($params), "Google_Service_AndroidEnterprise_AppRestrictionsSchema");
2074
  }
2075
 
2076
  /**
@@ -2080,13 +2080,13 @@ class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_
2080
  * @param string $enterpriseId The ID of the enterprise.
2081
  * @param string $productId The ID of the product.
2082
  * @param array $optParams Optional parameters.
2083
- * @return Google_Service_AndroidEnterprise_ProductPermissions
2084
  */
2085
  public function getPermissions($enterpriseId, $productId, $optParams = array())
2086
  {
2087
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2088
  $params = array_merge($params, $optParams);
2089
- return $this->call('getPermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions");
2090
  }
2091
 
2092
  /**
@@ -2095,15 +2095,15 @@ class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_
2095
  *
2096
  * @param string $enterpriseId The ID of the enterprise.
2097
  * @param string $productId The ID of the product.
2098
- * @param Google_ProductPermissions $postBody
2099
  * @param array $optParams Optional parameters.
2100
- * @return Google_Service_AndroidEnterprise_ProductPermissions
2101
  */
2102
- public function updatePermissions($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductPermissions $postBody, $optParams = array())
2103
  {
2104
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody);
2105
  $params = array_merge($params, $optParams);
2106
- return $this->call('updatePermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions");
2107
  }
2108
  }
2109
 
@@ -2111,11 +2111,11 @@ class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_
2111
  * The "storelayoutclusters" collection of methods.
2112
  * Typical usage is:
2113
  * <code>
2114
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
2115
  * $storelayoutclusters = $androidenterpriseService->storelayoutclusters;
2116
  * </code>
2117
  */
2118
- class Google_Service_AndroidEnterprise_Storelayoutclusters_Resource extends Google_Service_Resource
2119
  {
2120
 
2121
  /**
@@ -2140,13 +2140,13 @@ class Google_Service_AndroidEnterprise_Storelayoutclusters_Resource extends Goog
2140
  * @param string $pageId The ID of the page.
2141
  * @param string $clusterId The ID of the cluster.
2142
  * @param array $optParams Optional parameters.
2143
- * @return Google_Service_AndroidEnterprise_StoreCluster
2144
  */
2145
  public function get($enterpriseId, $pageId, $clusterId, $optParams = array())
2146
  {
2147
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId);
2148
  $params = array_merge($params, $optParams);
2149
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
2150
  }
2151
 
2152
  /**
@@ -2154,15 +2154,15 @@ class Google_Service_AndroidEnterprise_Storelayoutclusters_Resource extends Goog
2154
  *
2155
  * @param string $enterpriseId The ID of the enterprise.
2156
  * @param string $pageId The ID of the page.
2157
- * @param Google_StoreCluster $postBody
2158
  * @param array $optParams Optional parameters.
2159
- * @return Google_Service_AndroidEnterprise_StoreCluster
2160
  */
2161
- public function insert($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
2162
  {
2163
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
2164
  $params = array_merge($params, $optParams);
2165
- return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
2166
  }
2167
 
2168
  /**
@@ -2172,13 +2172,13 @@ class Google_Service_AndroidEnterprise_Storelayoutclusters_Resource extends Goog
2172
  * @param string $enterpriseId The ID of the enterprise.
2173
  * @param string $pageId The ID of the page.
2174
  * @param array $optParams Optional parameters.
2175
- * @return Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse
2176
  */
2177
  public function listStorelayoutclusters($enterpriseId, $pageId, $optParams = array())
2178
  {
2179
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
2180
  $params = array_merge($params, $optParams);
2181
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse");
2182
  }
2183
 
2184
  /**
@@ -2188,15 +2188,15 @@ class Google_Service_AndroidEnterprise_Storelayoutclusters_Resource extends Goog
2188
  * @param string $enterpriseId The ID of the enterprise.
2189
  * @param string $pageId The ID of the page.
2190
  * @param string $clusterId The ID of the cluster.
2191
- * @param Google_StoreCluster $postBody
2192
  * @param array $optParams Optional parameters.
2193
- * @return Google_Service_AndroidEnterprise_StoreCluster
2194
  */
2195
- public function patch($enterpriseId, $pageId, $clusterId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
2196
  {
2197
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody);
2198
  $params = array_merge($params, $optParams);
2199
- return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
2200
  }
2201
 
2202
  /**
@@ -2205,15 +2205,15 @@ class Google_Service_AndroidEnterprise_Storelayoutclusters_Resource extends Goog
2205
  * @param string $enterpriseId The ID of the enterprise.
2206
  * @param string $pageId The ID of the page.
2207
  * @param string $clusterId The ID of the cluster.
2208
- * @param Google_StoreCluster $postBody
2209
  * @param array $optParams Optional parameters.
2210
- * @return Google_Service_AndroidEnterprise_StoreCluster
2211
  */
2212
- public function update($enterpriseId, $pageId, $clusterId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
2213
  {
2214
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody);
2215
  $params = array_merge($params, $optParams);
2216
- return $this->call('update', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
2217
  }
2218
  }
2219
 
@@ -2221,11 +2221,11 @@ class Google_Service_AndroidEnterprise_Storelayoutclusters_Resource extends Goog
2221
  * The "storelayoutpages" collection of methods.
2222
  * Typical usage is:
2223
  * <code>
2224
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
2225
  * $storelayoutpages = $androidenterpriseService->storelayoutpages;
2226
  * </code>
2227
  */
2228
- class Google_Service_AndroidEnterprise_Storelayoutpages_Resource extends Google_Service_Resource
2229
  {
2230
 
2231
  /**
@@ -2248,28 +2248,28 @@ class Google_Service_AndroidEnterprise_Storelayoutpages_Resource extends Google_
2248
  * @param string $enterpriseId The ID of the enterprise.
2249
  * @param string $pageId The ID of the page.
2250
  * @param array $optParams Optional parameters.
2251
- * @return Google_Service_AndroidEnterprise_StorePage
2252
  */
2253
  public function get($enterpriseId, $pageId, $optParams = array())
2254
  {
2255
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
2256
  $params = array_merge($params, $optParams);
2257
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_StorePage");
2258
  }
2259
 
2260
  /**
2261
  * Inserts a new store page. (storelayoutpages.insert)
2262
  *
2263
  * @param string $enterpriseId The ID of the enterprise.
2264
- * @param Google_StorePage $postBody
2265
  * @param array $optParams Optional parameters.
2266
- * @return Google_Service_AndroidEnterprise_StorePage
2267
  */
2268
- public function insert($enterpriseId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
2269
  {
2270
  $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
2271
  $params = array_merge($params, $optParams);
2272
- return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_StorePage");
2273
  }
2274
 
2275
  /**
@@ -2278,13 +2278,13 @@ class Google_Service_AndroidEnterprise_Storelayoutpages_Resource extends Google_
2278
  *
2279
  * @param string $enterpriseId The ID of the enterprise.
2280
  * @param array $optParams Optional parameters.
2281
- * @return Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse
2282
  */
2283
  public function listStorelayoutpages($enterpriseId, $optParams = array())
2284
  {
2285
  $params = array('enterpriseId' => $enterpriseId);
2286
  $params = array_merge($params, $optParams);
2287
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse");
2288
  }
2289
 
2290
  /**
@@ -2293,15 +2293,15 @@ class Google_Service_AndroidEnterprise_Storelayoutpages_Resource extends Google_
2293
  *
2294
  * @param string $enterpriseId The ID of the enterprise.
2295
  * @param string $pageId The ID of the page.
2296
- * @param Google_StorePage $postBody
2297
  * @param array $optParams Optional parameters.
2298
- * @return Google_Service_AndroidEnterprise_StorePage
2299
  */
2300
- public function patch($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
2301
  {
2302
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
2303
  $params = array_merge($params, $optParams);
2304
- return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_StorePage");
2305
  }
2306
 
2307
  /**
@@ -2309,15 +2309,15 @@ class Google_Service_AndroidEnterprise_Storelayoutpages_Resource extends Google_
2309
  *
2310
  * @param string $enterpriseId The ID of the enterprise.
2311
  * @param string $pageId The ID of the page.
2312
- * @param Google_StorePage $postBody
2313
  * @param array $optParams Optional parameters.
2314
- * @return Google_Service_AndroidEnterprise_StorePage
2315
  */
2316
- public function update($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
2317
  {
2318
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
2319
  $params = array_merge($params, $optParams);
2320
- return $this->call('update', array($params), "Google_Service_AndroidEnterprise_StorePage");
2321
  }
2322
  }
2323
 
@@ -2325,11 +2325,11 @@ class Google_Service_AndroidEnterprise_Storelayoutpages_Resource extends Google_
2325
  * The "users" collection of methods.
2326
  * Typical usage is:
2327
  * <code>
2328
- * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
2329
  * $users = $androidenterpriseService->users;
2330
  * </code>
2331
  */
2332
- class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Resource
2333
  {
2334
 
2335
  /**
@@ -2342,13 +2342,13 @@ class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Res
2342
  * @param string $enterpriseId The ID of the enterprise.
2343
  * @param string $userId The ID of the user.
2344
  * @param array $optParams Optional parameters.
2345
- * @return Google_Service_AndroidEnterprise_UserToken
2346
  */
2347
  public function generateToken($enterpriseId, $userId, $optParams = array())
2348
  {
2349
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2350
  $params = array_merge($params, $optParams);
2351
- return $this->call('generateToken', array($params), "Google_Service_AndroidEnterprise_UserToken");
2352
  }
2353
 
2354
  /**
@@ -2357,13 +2357,13 @@ class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Res
2357
  * @param string $enterpriseId The ID of the enterprise.
2358
  * @param string $userId The ID of the user.
2359
  * @param array $optParams Optional parameters.
2360
- * @return Google_Service_AndroidEnterprise_User
2361
  */
2362
  public function get($enterpriseId, $userId, $optParams = array())
2363
  {
2364
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2365
  $params = array_merge($params, $optParams);
2366
- return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User");
2367
  }
2368
 
2369
  /**
@@ -2373,13 +2373,13 @@ class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Res
2373
  * @param string $enterpriseId The ID of the enterprise.
2374
  * @param string $userId The ID of the user.
2375
  * @param array $optParams Optional parameters.
2376
- * @return Google_Service_AndroidEnterprise_ProductSet
2377
  */
2378
  public function getAvailableProductSet($enterpriseId, $userId, $optParams = array())
2379
  {
2380
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2381
  $params = array_merge($params, $optParams);
2382
- return $this->call('getAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet");
2383
  }
2384
 
2385
  /**
@@ -2388,13 +2388,13 @@ class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Res
2388
  * @param string $enterpriseId The ID of the enterprise.
2389
  * @param string $email The exact primary email address of the user to look up.
2390
  * @param array $optParams Optional parameters.
2391
- * @return Google_Service_AndroidEnterprise_UsersListResponse
2392
  */
2393
  public function listUsers($enterpriseId, $email, $optParams = array())
2394
  {
2395
  $params = array('enterpriseId' => $enterpriseId, 'email' => $email);
2396
  $params = array_merge($params, $optParams);
2397
- return $this->call('list', array($params), "Google_Service_AndroidEnterprise_UsersListResponse");
2398
  }
2399
 
2400
  /**
@@ -2418,28 +2418,28 @@ class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Res
2418
  *
2419
  * @param string $enterpriseId The ID of the enterprise.
2420
  * @param string $userId The ID of the user.
2421
- * @param Google_ProductSet $postBody
2422
  * @param array $optParams Optional parameters.
2423
- * @return Google_Service_AndroidEnterprise_ProductSet
2424
  */
2425
- public function setAvailableProductSet($enterpriseId, $userId, Google_Service_AndroidEnterprise_ProductSet $postBody, $optParams = array())
2426
  {
2427
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody);
2428
  $params = array_merge($params, $optParams);
2429
- return $this->call('setAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet");
2430
  }
2431
  }
2432
 
2433
 
2434
 
2435
 
2436
- class Google_Service_AndroidEnterprise_AppRestrictionsSchema extends Google_Collection
2437
  {
2438
  protected $collection_key = 'restrictions';
2439
  protected $internal_gapi_mappings = array(
2440
  );
2441
  public $kind;
2442
- protected $restrictionsType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction';
2443
  protected $restrictionsDataType = 'array';
2444
 
2445
 
@@ -2461,12 +2461,12 @@ class Google_Service_AndroidEnterprise_AppRestrictionsSchema extends Google_Coll
2461
  }
2462
  }
2463
 
2464
- class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction extends Google_Collection
2465
  {
2466
  protected $collection_key = 'entryValue';
2467
  protected $internal_gapi_mappings = array(
2468
  );
2469
- protected $defaultValueType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue';
2470
  protected $defaultValueDataType = '';
2471
  public $description;
2472
  public $entry;
@@ -2476,7 +2476,7 @@ class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction extends
2476
  public $title;
2477
 
2478
 
2479
- public function setDefaultValue(Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue $defaultValue)
2480
  {
2481
  $this->defaultValue = $defaultValue;
2482
  }
@@ -2534,7 +2534,7 @@ class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction extends
2534
  }
2535
  }
2536
 
2537
- class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue extends Google_Collection
2538
  {
2539
  protected $collection_key = 'valueMultiselect';
2540
  protected $internal_gapi_mappings = array(
@@ -2588,7 +2588,7 @@ class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestricti
2588
  }
2589
  }
2590
 
2591
- class Google_Service_AndroidEnterprise_AppVersion extends Google_Model
2592
  {
2593
  protected $internal_gapi_mappings = array(
2594
  );
@@ -2614,7 +2614,7 @@ class Google_Service_AndroidEnterprise_AppVersion extends Google_Model
2614
  }
2615
  }
2616
 
2617
- class Google_Service_AndroidEnterprise_ApprovalUrlInfo extends Google_Model
2618
  {
2619
  protected $internal_gapi_mappings = array(
2620
  );
@@ -2640,7 +2640,7 @@ class Google_Service_AndroidEnterprise_ApprovalUrlInfo extends Google_Model
2640
  }
2641
  }
2642
 
2643
- class Google_Service_AndroidEnterprise_Collection extends Google_Collection
2644
  {
2645
  protected $collection_key = 'productId';
2646
  protected $internal_gapi_mappings = array(
@@ -2694,13 +2694,13 @@ class Google_Service_AndroidEnterprise_Collection extends Google_Collection
2694
  }
2695
  }
2696
 
2697
- class Google_Service_AndroidEnterprise_CollectionViewersListResponse extends Google_Collection
2698
  {
2699
  protected $collection_key = 'user';
2700
  protected $internal_gapi_mappings = array(
2701
  );
2702
  public $kind;
2703
- protected $userType = 'Google_Service_AndroidEnterprise_User';
2704
  protected $userDataType = 'array';
2705
 
2706
 
@@ -2722,12 +2722,12 @@ class Google_Service_AndroidEnterprise_CollectionViewersListResponse extends Goo
2722
  }
2723
  }
2724
 
2725
- class Google_Service_AndroidEnterprise_CollectionsListResponse extends Google_Collection
2726
  {
2727
  protected $collection_key = 'collection';
2728
  protected $internal_gapi_mappings = array(
2729
  );
2730
- protected $collectionType = 'Google_Service_AndroidEnterprise_Collection';
2731
  protected $collectionDataType = 'array';
2732
  public $kind;
2733
 
@@ -2750,7 +2750,7 @@ class Google_Service_AndroidEnterprise_CollectionsListResponse extends Google_Co
2750
  }
2751
  }
2752
 
2753
- class Google_Service_AndroidEnterprise_Device extends Google_Model
2754
  {
2755
  protected $internal_gapi_mappings = array(
2756
  );
@@ -2785,7 +2785,7 @@ class Google_Service_AndroidEnterprise_Device extends Google_Model
2785
  }
2786
  }
2787
 
2788
- class Google_Service_AndroidEnterprise_DeviceState extends Google_Model
2789
  {
2790
  protected $internal_gapi_mappings = array(
2791
  );
@@ -2811,12 +2811,12 @@ class Google_Service_AndroidEnterprise_DeviceState extends Google_Model
2811
  }
2812
  }
2813
 
2814
- class Google_Service_AndroidEnterprise_DevicesListResponse extends Google_Collection
2815
  {
2816
  protected $collection_key = 'device';
2817
  protected $internal_gapi_mappings = array(
2818
  );
2819
- protected $deviceType = 'Google_Service_AndroidEnterprise_Device';
2820
  protected $deviceDataType = 'array';
2821
  public $kind;
2822
 
@@ -2839,7 +2839,7 @@ class Google_Service_AndroidEnterprise_DevicesListResponse extends Google_Collec
2839
  }
2840
  }
2841
 
2842
- class Google_Service_AndroidEnterprise_Enterprise extends Google_Model
2843
  {
2844
  protected $internal_gapi_mappings = array(
2845
  );
@@ -2883,7 +2883,7 @@ class Google_Service_AndroidEnterprise_Enterprise extends Google_Model
2883
  }
2884
  }
2885
 
2886
- class Google_Service_AndroidEnterprise_EnterpriseAccount extends Google_Model
2887
  {
2888
  protected $internal_gapi_mappings = array(
2889
  );
@@ -2909,12 +2909,12 @@ class Google_Service_AndroidEnterprise_EnterpriseAccount extends Google_Model
2909
  }
2910
  }
2911
 
2912
- class Google_Service_AndroidEnterprise_EnterprisesListResponse extends Google_Collection
2913
  {
2914
  protected $collection_key = 'enterprise';
2915
  protected $internal_gapi_mappings = array(
2916
  );
2917
- protected $enterpriseType = 'Google_Service_AndroidEnterprise_Enterprise';
2918
  protected $enterpriseDataType = 'array';
2919
  public $kind;
2920
 
@@ -2937,7 +2937,7 @@ class Google_Service_AndroidEnterprise_EnterprisesListResponse extends Google_Co
2937
  }
2938
  }
2939
 
2940
- class Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse extends Google_Model
2941
  {
2942
  protected $internal_gapi_mappings = array(
2943
  );
@@ -2963,7 +2963,7 @@ class Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationRespon
2963
  }
2964
  }
2965
 
2966
- class Google_Service_AndroidEnterprise_Entitlement extends Google_Model
2967
  {
2968
  protected $internal_gapi_mappings = array(
2969
  );
@@ -2998,12 +2998,12 @@ class Google_Service_AndroidEnterprise_Entitlement extends Google_Model
2998
  }
2999
  }
3000
 
3001
- class Google_Service_AndroidEnterprise_EntitlementsListResponse extends Google_Collection
3002
  {
3003
  protected $collection_key = 'entitlement';
3004
  protected $internal_gapi_mappings = array(
3005
  );
3006
- protected $entitlementType = 'Google_Service_AndroidEnterprise_Entitlement';
3007
  protected $entitlementDataType = 'array';
3008
  public $kind;
3009
 
@@ -3026,7 +3026,7 @@ class Google_Service_AndroidEnterprise_EntitlementsListResponse extends Google_C
3026
  }
3027
  }
3028
 
3029
- class Google_Service_AndroidEnterprise_GroupLicense extends Google_Model
3030
  {
3031
  protected $internal_gapi_mappings = array(
3032
  );
@@ -3088,13 +3088,13 @@ class Google_Service_AndroidEnterprise_GroupLicense extends Google_Model
3088
  }
3089
  }
3090
 
3091
- class Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse extends Google_Collection
3092
  {
3093
  protected $collection_key = 'user';
3094
  protected $internal_gapi_mappings = array(
3095
  );
3096
  public $kind;
3097
- protected $userType = 'Google_Service_AndroidEnterprise_User';
3098
  protected $userDataType = 'array';
3099
 
3100
 
@@ -3116,12 +3116,12 @@ class Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse extends Goo
3116
  }
3117
  }
3118
 
3119
- class Google_Service_AndroidEnterprise_GroupLicensesListResponse extends Google_Collection
3120
  {
3121
  protected $collection_key = 'groupLicense';
3122
  protected $internal_gapi_mappings = array(
3123
  );
3124
- protected $groupLicenseType = 'Google_Service_AndroidEnterprise_GroupLicense';
3125
  protected $groupLicenseDataType = 'array';
3126
  public $kind;
3127
 
@@ -3144,7 +3144,7 @@ class Google_Service_AndroidEnterprise_GroupLicensesListResponse extends Google_
3144
  }
3145
  }
3146
 
3147
- class Google_Service_AndroidEnterprise_Install extends Google_Model
3148
  {
3149
  protected $internal_gapi_mappings = array(
3150
  );
@@ -3188,12 +3188,12 @@ class Google_Service_AndroidEnterprise_Install extends Google_Model
3188
  }
3189
  }
3190
 
3191
- class Google_Service_AndroidEnterprise_InstallsListResponse extends Google_Collection
3192
  {
3193
  protected $collection_key = 'install';
3194
  protected $internal_gapi_mappings = array(
3195
  );
3196
- protected $installType = 'Google_Service_AndroidEnterprise_Install';
3197
  protected $installDataType = 'array';
3198
  public $kind;
3199
 
@@ -3216,7 +3216,7 @@ class Google_Service_AndroidEnterprise_InstallsListResponse extends Google_Colle
3216
  }
3217
  }
3218
 
3219
- class Google_Service_AndroidEnterprise_LocalizedText extends Google_Model
3220
  {
3221
  protected $internal_gapi_mappings = array(
3222
  );
@@ -3242,7 +3242,7 @@ class Google_Service_AndroidEnterprise_LocalizedText extends Google_Model
3242
  }
3243
  }
3244
 
3245
- class Google_Service_AndroidEnterprise_Permission extends Google_Model
3246
  {
3247
  protected $internal_gapi_mappings = array(
3248
  );
@@ -3286,12 +3286,12 @@ class Google_Service_AndroidEnterprise_Permission extends Google_Model
3286
  }
3287
  }
3288
 
3289
- class Google_Service_AndroidEnterprise_Product extends Google_Collection
3290
  {
3291
  protected $collection_key = 'appVersion';
3292
  protected $internal_gapi_mappings = array(
3293
  );
3294
- protected $appVersionType = 'Google_Service_AndroidEnterprise_AppVersion';
3295
  protected $appVersionDataType = 'array';
3296
  public $authorName;
3297
  public $detailsUrl;
@@ -3395,7 +3395,7 @@ class Google_Service_AndroidEnterprise_Product extends Google_Collection
3395
  }
3396
  }
3397
 
3398
- class Google_Service_AndroidEnterprise_ProductPermission extends Google_Model
3399
  {
3400
  protected $internal_gapi_mappings = array(
3401
  );
@@ -3421,13 +3421,13 @@ class Google_Service_AndroidEnterprise_ProductPermission extends Google_Model
3421
  }
3422
  }
3423
 
3424
- class Google_Service_AndroidEnterprise_ProductPermissions extends Google_Collection
3425
  {
3426
  protected $collection_key = 'permission';
3427
  protected $internal_gapi_mappings = array(
3428
  );
3429
  public $kind;
3430
- protected $permissionType = 'Google_Service_AndroidEnterprise_ProductPermission';
3431
  protected $permissionDataType = 'array';
3432
  public $productId;
3433
 
@@ -3458,7 +3458,7 @@ class Google_Service_AndroidEnterprise_ProductPermissions extends Google_Collect
3458
  }
3459
  }
3460
 
3461
- class Google_Service_AndroidEnterprise_ProductSet extends Google_Collection
3462
  {
3463
  protected $collection_key = 'productId';
3464
  protected $internal_gapi_mappings = array(
@@ -3485,15 +3485,15 @@ class Google_Service_AndroidEnterprise_ProductSet extends Google_Collection
3485
  }
3486
  }
3487
 
3488
- class Google_Service_AndroidEnterprise_ProductsApproveRequest extends Google_Model
3489
  {
3490
  protected $internal_gapi_mappings = array(
3491
  );
3492
- protected $approvalUrlInfoType = 'Google_Service_AndroidEnterprise_ApprovalUrlInfo';
3493
  protected $approvalUrlInfoDataType = '';
3494
 
3495
 
3496
- public function setApprovalUrlInfo(Google_Service_AndroidEnterprise_ApprovalUrlInfo $approvalUrlInfo)
3497
  {
3498
  $this->approvalUrlInfo = $approvalUrlInfo;
3499
  }
@@ -3503,7 +3503,7 @@ class Google_Service_AndroidEnterprise_ProductsApproveRequest extends Google_Mod
3503
  }
3504
  }
3505
 
3506
- class Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse extends Google_Model
3507
  {
3508
  protected $internal_gapi_mappings = array(
3509
  );
@@ -3520,14 +3520,14 @@ class Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse exten
3520
  }
3521
  }
3522
 
3523
- class Google_Service_AndroidEnterprise_StoreCluster extends Google_Collection
3524
  {
3525
  protected $collection_key = 'productId';
3526
  protected $internal_gapi_mappings = array(
3527
  );
3528
  public $id;
3529
  public $kind;
3530
- protected $nameType = 'Google_Service_AndroidEnterprise_LocalizedText';
3531
  protected $nameDataType = 'array';
3532
  public $orderInPage;
3533
  public $productId;
@@ -3575,7 +3575,7 @@ class Google_Service_AndroidEnterprise_StoreCluster extends Google_Collection
3575
  }
3576
  }
3577
 
3578
- class Google_Service_AndroidEnterprise_StoreLayout extends Google_Model
3579
  {
3580
  protected $internal_gapi_mappings = array(
3581
  );
@@ -3601,12 +3601,12 @@ class Google_Service_AndroidEnterprise_StoreLayout extends Google_Model
3601
  }
3602
  }
3603
 
3604
- class Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse extends Google_Collection
3605
  {
3606
  protected $collection_key = 'cluster';
3607
  protected $internal_gapi_mappings = array(
3608
  );
3609
- protected $clusterType = 'Google_Service_AndroidEnterprise_StoreCluster';
3610
  protected $clusterDataType = 'array';
3611
  public $kind;
3612
 
@@ -3629,13 +3629,13 @@ class Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse extends G
3629
  }
3630
  }
3631
 
3632
- class Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse extends Google_Collection
3633
  {
3634
  protected $collection_key = 'page';
3635
  protected $internal_gapi_mappings = array(
3636
  );
3637
  public $kind;
3638
- protected $pageType = 'Google_Service_AndroidEnterprise_StorePage';
3639
  protected $pageDataType = 'array';
3640
 
3641
 
@@ -3657,7 +3657,7 @@ class Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse extends Goog
3657
  }
3658
  }
3659
 
3660
- class Google_Service_AndroidEnterprise_StorePage extends Google_Collection
3661
  {
3662
  protected $collection_key = 'name';
3663
  protected $internal_gapi_mappings = array(
@@ -3665,7 +3665,7 @@ class Google_Service_AndroidEnterprise_StorePage extends Google_Collection
3665
  public $id;
3666
  public $kind;
3667
  public $link;
3668
- protected $nameType = 'Google_Service_AndroidEnterprise_LocalizedText';
3669
  protected $nameDataType = 'array';
3670
 
3671
 
@@ -3703,7 +3703,7 @@ class Google_Service_AndroidEnterprise_StorePage extends Google_Collection
3703
  }
3704
  }
3705
 
3706
- class Google_Service_AndroidEnterprise_User extends Google_Model
3707
  {
3708
  protected $internal_gapi_mappings = array(
3709
  );
@@ -3738,7 +3738,7 @@ class Google_Service_AndroidEnterprise_User extends Google_Model
3738
  }
3739
  }
3740
 
3741
- class Google_Service_AndroidEnterprise_UserToken extends Google_Model
3742
  {
3743
  protected $internal_gapi_mappings = array(
3744
  );
@@ -3773,13 +3773,13 @@ class Google_Service_AndroidEnterprise_UserToken extends Google_Model
3773
  }
3774
  }
3775
 
3776
- class Google_Service_AndroidEnterprise_UsersListResponse extends Google_Collection
3777
  {
3778
  protected $collection_key = 'user';
3779
  protected $internal_gapi_mappings = array(
3780
  );
3781
  public $kind;
3782
- protected $userType = 'Google_Service_AndroidEnterprise_User';
3783
  protected $userDataType = 'array';
3784
 
3785
 
27
  *
28
  * @author Google, Inc.
29
  */
30
+ class Forminator_Google_Service_AndroidEnterprise extends Forminator_Google_Service
31
  {
32
  /** Manage corporate Android devices. */
33
  const ANDROIDENTERPRISE =
51
  /**
52
  * Constructs the internal representation of the AndroidEnterprise service.
53
  *
54
+ * @param Forminator_Google_Client $client
55
  */
56
+ public function __construct(Forminator_Google_Client $client)
57
  {
58
  parent::__construct($client);
59
  $this->rootUrl = 'https://www.googleapis.com/';
61
  $this->version = 'v1';
62
  $this->serviceName = 'androidenterprise';
63
 
64
+ $this->collections = new Forminator_Google_Service_AndroidEnterprise_Collections_Resource(
65
  $this,
66
  $this->serviceName,
67
  'collections',
151
  )
152
  )
153
  );
154
+ $this->collectionviewers = new Forminator_Google_Service_AndroidEnterprise_Collectionviewers_Resource(
155
  $this,
156
  $this->serviceName,
157
  'collectionviewers',
256
  )
257
  )
258
  );
259
+ $this->devices = new Forminator_Google_Service_AndroidEnterprise_Devices_Resource(
260
  $this,
261
  $this->serviceName,
262
  'devices',
341
  )
342
  )
343
  );
344
+ $this->enterprises = new Forminator_Google_Service_AndroidEnterprise_Enterprises_Resource(
345
  $this,
346
  $this->serviceName,
347
  'enterprises',
451
  )
452
  )
453
  );
454
+ $this->entitlements = new Forminator_Google_Service_AndroidEnterprise_Entitlements_Resource(
455
  $this,
456
  $this->serviceName,
457
  'entitlements',
564
  )
565
  )
566
  );
567
+ $this->grouplicenses = new Forminator_Google_Service_AndroidEnterprise_Grouplicenses_Resource(
568
  $this,
569
  $this->serviceName,
570
  'grouplicenses',
599
  )
600
  )
601
  );
602
+ $this->grouplicenseusers = new Forminator_Google_Service_AndroidEnterprise_Grouplicenseusers_Resource(
603
  $this,
604
  $this->serviceName,
605
  'grouplicenseusers',
624
  )
625
  )
626
  );
627
+ $this->installs = new Forminator_Google_Service_AndroidEnterprise_Installs_Resource(
628
  $this,
629
  $this->serviceName,
630
  'installs',
754
  )
755
  )
756
  );
757
+ $this->permissions = new Forminator_Google_Service_AndroidEnterprise_Permissions_Resource(
758
  $this,
759
  $this->serviceName,
760
  'permissions',
778
  )
779
  )
780
  );
781
+ $this->products = new Forminator_Google_Service_AndroidEnterprise_Products_Resource(
782
  $this,
783
  $this->serviceName,
784
  'products',
890
  )
891
  )
892
  );
893
+ $this->storelayoutclusters = new Forminator_Google_Service_AndroidEnterprise_Storelayoutclusters_Resource(
894
  $this,
895
  $this->serviceName,
896
  'storelayoutclusters',
1010
  )
1011
  )
1012
  );
1013
+ $this->storelayoutpages = new Forminator_Google_Service_AndroidEnterprise_Storelayoutpages_Resource(
1014
  $this,
1015
  $this->serviceName,
1016
  'storelayoutpages',
1100
  )
1101
  )
1102
  );
1103
+ $this->users = new Forminator_Google_Service_AndroidEnterprise_Users_Resource(
1104
  $this,
1105
  $this->serviceName,
1106
  'users',
1208
  * The "collections" collection of methods.
1209
  * Typical usage is:
1210
  * <code>
1211
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1212
  * $collections = $androidenterpriseService->collections;
1213
  * </code>
1214
  */
1215
+ class Forminator_Google_Service_AndroidEnterprise_Collections_Resource extends Forminator_Google_Service_Resource
1216
  {
1217
 
1218
  /**
1235
  * @param string $enterpriseId The ID of the enterprise.
1236
  * @param string $collectionId The ID of the collection.
1237
  * @param array $optParams Optional parameters.
1238
+ * @return Forminator_Google_Service_AndroidEnterprise_Collection
1239
  */
1240
  public function get($enterpriseId, $collectionId, $optParams = array())
1241
  {
1242
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
1243
  $params = array_merge($params, $optParams);
1244
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_Collection");
1245
  }
1246
 
1247
  /**
1248
  * Creates a new collection. (collections.insert)
1249
  *
1250
  * @param string $enterpriseId The ID of the enterprise.
1251
+ * @param Forminator_Google_Collection $postBody
1252
  * @param array $optParams Optional parameters.
1253
+ * @return Forminator_Google_Service_AndroidEnterprise_Collection
1254
  */
1255
+ public function insert($enterpriseId, Forminator_Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
1256
  {
1257
  $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
1258
  $params = array_merge($params, $optParams);
1259
+ return $this->call('insert', array($params), "Forminator_Google_Service_AndroidEnterprise_Collection");
1260
  }
1261
 
1262
  /**
1265
  *
1266
  * @param string $enterpriseId The ID of the enterprise.
1267
  * @param array $optParams Optional parameters.
1268
+ * @return Forminator_Google_Service_AndroidEnterprise_CollectionsListResponse
1269
  */
1270
  public function listCollections($enterpriseId, $optParams = array())
1271
  {
1272
  $params = array('enterpriseId' => $enterpriseId);
1273
  $params = array_merge($params, $optParams);
1274
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_CollectionsListResponse");
1275
  }
1276
 
1277
  /**
1280
  *
1281
  * @param string $enterpriseId The ID of the enterprise.
1282
  * @param string $collectionId The ID of the collection.
1283
+ * @param Forminator_Google_Collection $postBody
1284
  * @param array $optParams Optional parameters.
1285
+ * @return Forminator_Google_Service_AndroidEnterprise_Collection
1286
  */
1287
+ public function patch($enterpriseId, $collectionId, Forminator_Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
1288
  {
1289
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
1290
  $params = array_merge($params, $optParams);
1291
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidEnterprise_Collection");
1292
  }
1293
 
1294
  /**
1296
  *
1297
  * @param string $enterpriseId The ID of the enterprise.
1298
  * @param string $collectionId The ID of the collection.
1299
+ * @param Forminator_Google_Collection $postBody
1300
  * @param array $optParams Optional parameters.
1301
+ * @return Forminator_Google_Service_AndroidEnterprise_Collection
1302
  */
1303
+ public function update($enterpriseId, $collectionId, Forminator_Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
1304
  {
1305
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
1306
  $params = array_merge($params, $optParams);
1307
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidEnterprise_Collection");
1308
  }
1309
  }
1310
 
1312
  * The "collectionviewers" collection of methods.
1313
  * Typical usage is:
1314
  * <code>
1315
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1316
  * $collectionviewers = $androidenterpriseService->collectionviewers;
1317
  * </code>
1318
  */
1319
+ class Forminator_Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Forminator_Google_Service_Resource
1320
  {
1321
 
1322
  /**
1345
  * @param string $collectionId The ID of the collection.
1346
  * @param string $userId The ID of the user.
1347
  * @param array $optParams Optional parameters.
1348
+ * @return Forminator_Google_Service_AndroidEnterprise_User
1349
  */
1350
  public function get($enterpriseId, $collectionId, $userId, $optParams = array())
1351
  {
1352
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId);
1353
  $params = array_merge($params, $optParams);
1354
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_User");
1355
  }
1356
 
1357
  /**
1363
  * @param string $enterpriseId The ID of the enterprise.
1364
  * @param string $collectionId The ID of the collection.
1365
  * @param array $optParams Optional parameters.
1366
+ * @return Forminator_Google_Service_AndroidEnterprise_CollectionViewersListResponse
1367
  */
1368
  public function listCollectionviewers($enterpriseId, $collectionId, $optParams = array())
1369
  {
1370
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
1371
  $params = array_merge($params, $optParams);
1372
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_CollectionViewersListResponse");
1373
  }
1374
 
1375
  /**
1381
  * @param string $enterpriseId The ID of the enterprise.
1382
  * @param string $collectionId The ID of the collection.
1383
  * @param string $userId The ID of the user.
1384
+ * @param Forminator_Google_User $postBody
1385
  * @param array $optParams Optional parameters.
1386
+ * @return Forminator_Google_Service_AndroidEnterprise_User
1387
  */
1388
+ public function patch($enterpriseId, $collectionId, $userId, Forminator_Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
1389
  {
1390
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
1391
  $params = array_merge($params, $optParams);
1392
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidEnterprise_User");
1393
  }
1394
 
1395
  /**
1400
  * @param string $enterpriseId The ID of the enterprise.
1401
  * @param string $collectionId The ID of the collection.
1402
  * @param string $userId The ID of the user.
1403
+ * @param Forminator_Google_User $postBody
1404
  * @param array $optParams Optional parameters.
1405
+ * @return Forminator_Google_Service_AndroidEnterprise_User
1406
  */
1407
+ public function update($enterpriseId, $collectionId, $userId, Forminator_Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
1408
  {
1409
  $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
1410
  $params = array_merge($params, $optParams);
1411
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidEnterprise_User");
1412
  }
1413
  }
1414
 
1416
  * The "devices" collection of methods.
1417
  * Typical usage is:
1418
  * <code>
1419
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1420
  * $devices = $androidenterpriseService->devices;
1421
  * </code>
1422
  */
1423
+ class Forminator_Google_Service_AndroidEnterprise_Devices_Resource extends Forminator_Google_Service_Resource
1424
  {
1425
 
1426
  /**
1430
  * @param string $userId The ID of the user.
1431
  * @param string $deviceId The ID of the device.
1432
  * @param array $optParams Optional parameters.
1433
+ * @return Forminator_Google_Service_AndroidEnterprise_Device
1434
  */
1435
  public function get($enterpriseId, $userId, $deviceId, $optParams = array())
1436
  {
1437
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
1438
  $params = array_merge($params, $optParams);
1439
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_Device");
1440
  }
1441
 
1442
  /**
1450
  * @param string $userId The ID of the user.
1451
  * @param string $deviceId The ID of the device.
1452
  * @param array $optParams Optional parameters.
1453
+ * @return Forminator_Google_Service_AndroidEnterprise_DeviceState
1454
  */
1455
  public function getState($enterpriseId, $userId, $deviceId, $optParams = array())
1456
  {
1457
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
1458
  $params = array_merge($params, $optParams);
1459
+ return $this->call('getState', array($params), "Forminator_Google_Service_AndroidEnterprise_DeviceState");
1460
  }
1461
 
1462
  /**
1465
  * @param string $enterpriseId The ID of the enterprise.
1466
  * @param string $userId The ID of the user.
1467
  * @param array $optParams Optional parameters.
1468
+ * @return Forminator_Google_Service_AndroidEnterprise_DevicesListResponse
1469
  */
1470
  public function listDevices($enterpriseId, $userId, $optParams = array())
1471
  {
1472
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
1473
  $params = array_merge($params, $optParams);
1474
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_DevicesListResponse");
1475
  }
1476
 
1477
  /**
1484
  * @param string $enterpriseId The ID of the enterprise.
1485
  * @param string $userId The ID of the user.
1486
  * @param string $deviceId The ID of the device.
1487
+ * @param Forminator_Google_DeviceState $postBody
1488
  * @param array $optParams Optional parameters.
1489
+ * @return Forminator_Google_Service_AndroidEnterprise_DeviceState
1490
  */
1491
+ public function setState($enterpriseId, $userId, $deviceId, Forminator_Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams = array())
1492
  {
1493
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'postBody' => $postBody);
1494
  $params = array_merge($params, $optParams);
1495
+ return $this->call('setState', array($params), "Forminator_Google_Service_AndroidEnterprise_DeviceState");
1496
  }
1497
  }
1498
 
1500
  * The "enterprises" collection of methods.
1501
  * Typical usage is:
1502
  * <code>
1503
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1504
  * $enterprises = $androidenterpriseService->enterprises;
1505
  * </code>
1506
  */
1507
+ class Forminator_Google_Service_AndroidEnterprise_Enterprises_Resource extends Forminator_Google_Service_Resource
1508
  {
1509
 
1510
  /**
1528
  *
1529
  * @param string $token The token provided by the enterprise to register the
1530
  * EMM.
1531
+ * @param Forminator_Google_Enterprise $postBody
1532
  * @param array $optParams Optional parameters.
1533
+ * @return Forminator_Google_Service_AndroidEnterprise_Enterprise
1534
  */
1535
+ public function enroll($token, Forminator_Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
1536
  {
1537
  $params = array('token' => $token, 'postBody' => $postBody);
1538
  $params = array_merge($params, $optParams);
1539
+ return $this->call('enroll', array($params), "Forminator_Google_Service_AndroidEnterprise_Enterprise");
1540
  }
1541
 
1542
  /**
1544
  *
1545
  * @param string $enterpriseId The ID of the enterprise.
1546
  * @param array $optParams Optional parameters.
1547
+ * @return Forminator_Google_Service_AndroidEnterprise_Enterprise
1548
  */
1549
  public function get($enterpriseId, $optParams = array())
1550
  {
1551
  $params = array('enterpriseId' => $enterpriseId);
1552
  $params = array_merge($params, $optParams);
1553
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_Enterprise");
1554
  }
1555
 
1556
  /**
1558
  *
1559
  * @param string $enterpriseId The ID of the enterprise.
1560
  * @param array $optParams Optional parameters.
1561
+ * @return Forminator_Google_Service_AndroidEnterprise_StoreLayout
1562
  */
1563
  public function getStoreLayout($enterpriseId, $optParams = array())
1564
  {
1565
  $params = array('enterpriseId' => $enterpriseId);
1566
  $params = array_merge($params, $optParams);
1567
+ return $this->call('getStoreLayout', array($params), "Forminator_Google_Service_AndroidEnterprise_StoreLayout");
1568
  }
1569
 
1570
  /**
1573
  *
1574
  * @param string $token The token provided by the enterprise to register the
1575
  * EMM.
1576
+ * @param Forminator_Google_Enterprise $postBody
1577
  * @param array $optParams Optional parameters.
1578
+ * @return Forminator_Google_Service_AndroidEnterprise_Enterprise
1579
  */
1580
+ public function insert($token, Forminator_Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
1581
  {
1582
  $params = array('token' => $token, 'postBody' => $postBody);
1583
  $params = array_merge($params, $optParams);
1584
+ return $this->call('insert', array($params), "Forminator_Google_Service_AndroidEnterprise_Enterprise");
1585
  }
1586
 
1587
  /**
1590
  * @param string $domain The exact primary domain name of the enterprise to look
1591
  * up.
1592
  * @param array $optParams Optional parameters.
1593
+ * @return Forminator_Google_Service_AndroidEnterprise_EnterprisesListResponse
1594
  */
1595
  public function listEnterprises($domain, $optParams = array())
1596
  {
1597
  $params = array('domain' => $domain);
1598
  $params = array_merge($params, $optParams);
1599
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_EnterprisesListResponse");
1600
  }
1601
 
1602
  /**
1606
  *
1607
  * @param string $enterpriseId The ID of the enterprise.
1608
  * @param array $optParams Optional parameters.
1609
+ * @return Forminator_Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse
1610
  */
1611
  public function sendTestPushNotification($enterpriseId, $optParams = array())
1612
  {
1613
  $params = array('enterpriseId' => $enterpriseId);
1614
  $params = array_merge($params, $optParams);
1615
+ return $this->call('sendTestPushNotification', array($params), "Forminator_Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse");
1616
  }
1617
 
1618
  /**
1620
  * enterprise. (enterprises.setAccount)
1621
  *
1622
  * @param string $enterpriseId The ID of the enterprise.
1623
+ * @param Forminator_Google_EnterpriseAccount $postBody
1624
  * @param array $optParams Optional parameters.
1625
+ * @return Forminator_Google_Service_AndroidEnterprise_EnterpriseAccount
1626
  */
1627
+ public function setAccount($enterpriseId, Forminator_Google_Service_AndroidEnterprise_EnterpriseAccount $postBody, $optParams = array())
1628
  {
1629
  $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
1630
  $params = array_merge($params, $optParams);
1631
+ return $this->call('setAccount', array($params), "Forminator_Google_Service_AndroidEnterprise_EnterpriseAccount");
1632
  }
1633
 
1634
  /**
1635
  * Sets the store layout resource. (enterprises.setStoreLayout)
1636
  *
1637
  * @param string $enterpriseId The ID of the enterprise.
1638
+ * @param Forminator_Google_StoreLayout $postBody
1639
  * @param array $optParams Optional parameters.
1640
+ * @return Forminator_Google_Service_AndroidEnterprise_StoreLayout
1641
  */
1642
+ public function setStoreLayout($enterpriseId, Forminator_Google_Service_AndroidEnterprise_StoreLayout $postBody, $optParams = array())
1643
  {
1644
  $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
1645
  $params = array_merge($params, $optParams);
1646
+ return $this->call('setStoreLayout', array($params), "Forminator_Google_Service_AndroidEnterprise_StoreLayout");
1647
  }
1648
 
1649
  /**
1664
  * The "entitlements" collection of methods.
1665
  * Typical usage is:
1666
  * <code>
1667
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1668
  * $entitlements = $androidenterpriseService->entitlements;
1669
  * </code>
1670
  */
1671
+ class Forminator_Google_Service_AndroidEnterprise_Entitlements_Resource extends Forminator_Google_Service_Resource
1672
  {
1673
 
1674
  /**
1696
  * @param string $entitlementId The ID of the entitlement, e.g.
1697
  * "app:com.google.android.gm".
1698
  * @param array $optParams Optional parameters.
1699
+ * @return Forminator_Google_Service_AndroidEnterprise_Entitlement
1700
  */
1701
  public function get($enterpriseId, $userId, $entitlementId, $optParams = array())
1702
  {
1703
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId);
1704
  $params = array_merge($params, $optParams);
1705
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_Entitlement");
1706
  }
1707
 
1708
  /**
1712
  * @param string $enterpriseId The ID of the enterprise.
1713
  * @param string $userId The ID of the user.
1714
  * @param array $optParams Optional parameters.
1715
+ * @return Forminator_Google_Service_AndroidEnterprise_EntitlementsListResponse
1716
  */
1717
  public function listEntitlements($enterpriseId, $userId, $optParams = array())
1718
  {
1719
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
1720
  $params = array_merge($params, $optParams);
1721
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_EntitlementsListResponse");
1722
  }
1723
 
1724
  /**
1729
  * @param string $userId The ID of the user.
1730
  * @param string $entitlementId The ID of the entitlement, e.g.
1731
  * "app:com.google.android.gm".
1732
+ * @param Forminator_Google_Entitlement $postBody
1733
  * @param array $optParams Optional parameters.
1734
  *
1735
  * @opt_param bool install Set to true to also install the product on all the
1736
  * user's devices where possible. Failure to install on one or more devices will
1737
  * not prevent this operation from returning successfully, as long as the
1738
  * entitlement was successfully assigned to the user.
1739
+ * @return Forminator_Google_Service_AndroidEnterprise_Entitlement
1740
  */
1741
+ public function patch($enterpriseId, $userId, $entitlementId, Forminator_Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
1742
  {
1743
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
1744
  $params = array_merge($params, $optParams);
1745
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidEnterprise_Entitlement");
1746
  }
1747
 
1748
  /**
1752
  * @param string $userId The ID of the user.
1753
  * @param string $entitlementId The ID of the entitlement, e.g.
1754
  * "app:com.google.android.gm".
1755
+ * @param Forminator_Google_Entitlement $postBody
1756
  * @param array $optParams Optional parameters.
1757
  *
1758
  * @opt_param bool install Set to true to also install the product on all the
1759
  * user's devices where possible. Failure to install on one or more devices will
1760
  * not prevent this operation from returning successfully, as long as the
1761
  * entitlement was successfully assigned to the user.
1762
+ * @return Forminator_Google_Service_AndroidEnterprise_Entitlement
1763
  */
1764
+ public function update($enterpriseId, $userId, $entitlementId, Forminator_Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
1765
  {
1766
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
1767
  $params = array_merge($params, $optParams);
1768
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidEnterprise_Entitlement");
1769
  }
1770
  }
1771
 
1773
  * The "grouplicenses" collection of methods.
1774
  * Typical usage is:
1775
  * <code>
1776
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1777
  * $grouplicenses = $androidenterpriseService->grouplicenses;
1778
  * </code>
1779
  */
1780
+ class Forminator_Google_Service_AndroidEnterprise_Grouplicenses_Resource extends Forminator_Google_Service_Resource
1781
  {
1782
 
1783
  /**
1788
  * @param string $groupLicenseId The ID of the product the group license is for,
1789
  * e.g. "app:com.google.android.gm".
1790
  * @param array $optParams Optional parameters.
1791
+ * @return Forminator_Google_Service_AndroidEnterprise_GroupLicense
1792
  */
1793
  public function get($enterpriseId, $groupLicenseId, $optParams = array())
1794
  {
1795
  $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
1796
  $params = array_merge($params, $optParams);
1797
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_GroupLicense");
1798
  }
1799
 
1800
  /**
1803
  *
1804
  * @param string $enterpriseId The ID of the enterprise.
1805
  * @param array $optParams Optional parameters.
1806
+ * @return Forminator_Google_Service_AndroidEnterprise_GroupLicensesListResponse
1807
  */
1808
  public function listGrouplicenses($enterpriseId, $optParams = array())
1809
  {
1810
  $params = array('enterpriseId' => $enterpriseId);
1811
  $params = array_merge($params, $optParams);
1812
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_GroupLicensesListResponse");
1813
  }
1814
  }
1815
 
1817
  * The "grouplicenseusers" collection of methods.
1818
  * Typical usage is:
1819
  * <code>
1820
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1821
  * $grouplicenseusers = $androidenterpriseService->grouplicenseusers;
1822
  * </code>
1823
  */
1824
+ class Forminator_Google_Service_AndroidEnterprise_Grouplicenseusers_Resource extends Forminator_Google_Service_Resource
1825
  {
1826
 
1827
  /**
1832
  * @param string $groupLicenseId The ID of the product the group license is for,
1833
  * e.g. "app:com.google.android.gm".
1834
  * @param array $optParams Optional parameters.
1835
+ * @return Forminator_Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse
1836
  */
1837
  public function listGrouplicenseusers($enterpriseId, $groupLicenseId, $optParams = array())
1838
  {
1839
  $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
1840
  $params = array_merge($params, $optParams);
1841
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse");
1842
  }
1843
  }
1844
 
1846
  * The "installs" collection of methods.
1847
  * Typical usage is:
1848
  * <code>
1849
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1850
  * $installs = $androidenterpriseService->installs;
1851
  * </code>
1852
  */
1853
+ class Forminator_Google_Service_AndroidEnterprise_Installs_Resource extends Forminator_Google_Service_Resource
1854
  {
1855
 
1856
  /**
1881
  * @param string $installId The ID of the product represented by the install,
1882
  * e.g. "app:com.google.android.gm".
1883
  * @param array $optParams Optional parameters.
1884
+ * @return Forminator_Google_Service_AndroidEnterprise_Install
1885
  */
1886
  public function get($enterpriseId, $userId, $deviceId, $installId, $optParams = array())
1887
  {
1888
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId);
1889
  $params = array_merge($params, $optParams);
1890
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_Install");
1891
  }
1892
 
1893
  /**
1898
  * @param string $userId The ID of the user.
1899
  * @param string $deviceId The Android ID of the device.
1900
  * @param array $optParams Optional parameters.
1901
+ * @return Forminator_Google_Service_AndroidEnterprise_InstallsListResponse
1902
  */
1903
  public function listInstalls($enterpriseId, $userId, $deviceId, $optParams = array())
1904
  {
1905
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
1906
  $params = array_merge($params, $optParams);
1907
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_InstallsListResponse");
1908
  }
1909
 
1910
  /**
1917
  * @param string $deviceId The Android ID of the device.
1918
  * @param string $installId The ID of the product represented by the install,
1919
  * e.g. "app:com.google.android.gm".
1920
+ * @param Forminator_Google_Install $postBody
1921
  * @param array $optParams Optional parameters.
1922
+ * @return Forminator_Google_Service_AndroidEnterprise_Install
1923
  */
1924
+ public function patch($enterpriseId, $userId, $deviceId, $installId, Forminator_Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
1925
  {
1926
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
1927
  $params = array_merge($params, $optParams);
1928
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidEnterprise_Install");
1929
  }
1930
 
1931
  /**
1938
  * @param string $deviceId The Android ID of the device.
1939
  * @param string $installId The ID of the product represented by the install,
1940
  * e.g. "app:com.google.android.gm".
1941
+ * @param Forminator_Google_Install $postBody
1942
  * @param array $optParams Optional parameters.
1943
+ * @return Forminator_Google_Service_AndroidEnterprise_Install
1944
  */
1945
+ public function update($enterpriseId, $userId, $deviceId, $installId, Forminator_Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
1946
  {
1947
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
1948
  $params = array_merge($params, $optParams);
1949
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidEnterprise_Install");
1950
  }
1951
  }
1952
 
1954
  * The "permissions" collection of methods.
1955
  * Typical usage is:
1956
  * <code>
1957
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1958
  * $permissions = $androidenterpriseService->permissions;
1959
  * </code>
1960
  */
1961
+ class Forminator_Google_Service_AndroidEnterprise_Permissions_Resource extends Forminator_Google_Service_Resource
1962
  {
1963
 
1964
  /**
1970
  *
1971
  * @opt_param string language The BCP47 tag for the user's preferred language
1972
  * (e.g. "en-US", "de")
1973
+ * @return Forminator_Google_Service_AndroidEnterprise_Permission
1974
  */
1975
  public function get($permissionId, $optParams = array())
1976
  {
1977
  $params = array('permissionId' => $permissionId);
1978
  $params = array_merge($params, $optParams);
1979
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_Permission");
1980
  }
1981
  }
1982
 
1984
  * The "products" collection of methods.
1985
  * Typical usage is:
1986
  * <code>
1987
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
1988
  * $products = $androidenterpriseService->products;
1989
  * </code>
1990
  */
1991
+ class Forminator_Google_Service_AndroidEnterprise_Products_Resource extends Forminator_Google_Service_Resource
1992
  {
1993
 
1994
  /**
1997
  *
1998
  * @param string $enterpriseId The ID of the enterprise.
1999
  * @param string $productId The ID of the product.
2000
+ * @param Forminator_Google_ProductsApproveRequest $postBody
2001
  * @param array $optParams Optional parameters.
2002
  */
2003
+ public function approve($enterpriseId, $productId, Forminator_Google_Service_AndroidEnterprise_ProductsApproveRequest $postBody, $optParams = array())
2004
  {
2005
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody);
2006
  $params = array_merge($params, $optParams);
2024
  *
2025
  * @opt_param string languageCode The BCP 47 language code used for permission
2026
  * names and descriptions in the returned iframe, for instance "en-US".
2027
+ * @return Forminator_Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse
2028
  */
2029
  public function generateApprovalUrl($enterpriseId, $productId, $optParams = array())
2030
  {
2031
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2032
  $params = array_merge($params, $optParams);
2033
+ return $this->call('generateApprovalUrl', array($params), "Forminator_Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse");
2034
  }
2035
 
2036
  /**
2044
  *
2045
  * @opt_param string language The BCP47 tag for the user's preferred language
2046
  * (e.g. "en-US", "de").
2047
+ * @return Forminator_Google_Service_AndroidEnterprise_Product
2048
  */
2049
  public function get($enterpriseId, $productId, $optParams = array())
2050
  {
2051
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2052
  $params = array_merge($params, $optParams);
2053
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_Product");
2054
  }
2055
 
2056
  /**
2064
  *
2065
  * @opt_param string language The BCP47 tag for the user's preferred language
2066
  * (e.g. "en-US", "de").
2067
+ * @return Forminator_Google_Service_AndroidEnterprise_AppRestrictionsSchema
2068
  */
2069
  public function getAppRestrictionsSchema($enterpriseId, $productId, $optParams = array())
2070
  {
2071
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2072
  $params = array_merge($params, $optParams);
2073
+ return $this->call('getAppRestrictionsSchema', array($params), "Forminator_Google_Service_AndroidEnterprise_AppRestrictionsSchema");
2074
  }
2075
 
2076
  /**
2080
  * @param string $enterpriseId The ID of the enterprise.
2081
  * @param string $productId The ID of the product.
2082
  * @param array $optParams Optional parameters.
2083
+ * @return Forminator_Google_Service_AndroidEnterprise_ProductPermissions
2084
  */
2085
  public function getPermissions($enterpriseId, $productId, $optParams = array())
2086
  {
2087
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2088
  $params = array_merge($params, $optParams);
2089
+ return $this->call('getPermissions', array($params), "Forminator_Google_Service_AndroidEnterprise_ProductPermissions");
2090
  }
2091
 
2092
  /**
2095
  *
2096
  * @param string $enterpriseId The ID of the enterprise.
2097
  * @param string $productId The ID of the product.
2098
+ * @param Forminator_Google_ProductPermissions $postBody
2099
  * @param array $optParams Optional parameters.
2100
+ * @return Forminator_Google_Service_AndroidEnterprise_ProductPermissions
2101
  */
2102
+ public function updatePermissions($enterpriseId, $productId, Forminator_Google_Service_AndroidEnterprise_ProductPermissions $postBody, $optParams = array())
2103
  {
2104
  $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody);
2105
  $params = array_merge($params, $optParams);
2106
+ return $this->call('updatePermissions', array($params), "Forminator_Google_Service_AndroidEnterprise_ProductPermissions");
2107
  }
2108
  }
2109
 
2111
  * The "storelayoutclusters" collection of methods.
2112
  * Typical usage is:
2113
  * <code>
2114
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
2115
  * $storelayoutclusters = $androidenterpriseService->storelayoutclusters;
2116
  * </code>
2117
  */
2118
+ class Forminator_Google_Service_AndroidEnterprise_Storelayoutclusters_Resource extends Forminator_Google_Service_Resource
2119
  {
2120
 
2121
  /**
2140
  * @param string $pageId The ID of the page.
2141
  * @param string $clusterId The ID of the cluster.
2142
  * @param array $optParams Optional parameters.
2143
+ * @return Forminator_Google_Service_AndroidEnterprise_StoreCluster
2144
  */
2145
  public function get($enterpriseId, $pageId, $clusterId, $optParams = array())
2146
  {
2147
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId);
2148
  $params = array_merge($params, $optParams);
2149
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_StoreCluster");
2150
  }
2151
 
2152
  /**
2154
  *
2155
  * @param string $enterpriseId The ID of the enterprise.
2156
  * @param string $pageId The ID of the page.
2157
+ * @param Forminator_Google_StoreCluster $postBody
2158
  * @param array $optParams Optional parameters.
2159
+ * @return Forminator_Google_Service_AndroidEnterprise_StoreCluster
2160
  */
2161
+ public function insert($enterpriseId, $pageId, Forminator_Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
2162
  {
2163
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
2164
  $params = array_merge($params, $optParams);
2165
+ return $this->call('insert', array($params), "Forminator_Google_Service_AndroidEnterprise_StoreCluster");
2166
  }
2167
 
2168
  /**
2172
  * @param string $enterpriseId The ID of the enterprise.
2173
  * @param string $pageId The ID of the page.
2174
  * @param array $optParams Optional parameters.
2175
+ * @return Forminator_Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse
2176
  */
2177
  public function listStorelayoutclusters($enterpriseId, $pageId, $optParams = array())
2178
  {
2179
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
2180
  $params = array_merge($params, $optParams);
2181
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse");
2182
  }
2183
 
2184
  /**
2188
  * @param string $enterpriseId The ID of the enterprise.
2189
  * @param string $pageId The ID of the page.
2190
  * @param string $clusterId The ID of the cluster.
2191
+ * @param Forminator_Google_StoreCluster $postBody
2192
  * @param array $optParams Optional parameters.
2193
+ * @return Forminator_Google_Service_AndroidEnterprise_StoreCluster
2194
  */
2195
+ public function patch($enterpriseId, $pageId, $clusterId, Forminator_Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
2196
  {
2197
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody);
2198
  $params = array_merge($params, $optParams);
2199
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidEnterprise_StoreCluster");
2200
  }
2201
 
2202
  /**
2205
  * @param string $enterpriseId The ID of the enterprise.
2206
  * @param string $pageId The ID of the page.
2207
  * @param string $clusterId The ID of the cluster.
2208
+ * @param Forminator_Google_StoreCluster $postBody
2209
  * @param array $optParams Optional parameters.
2210
+ * @return Forminator_Google_Service_AndroidEnterprise_StoreCluster
2211
  */
2212
+ public function update($enterpriseId, $pageId, $clusterId, Forminator_Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
2213
  {
2214
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody);
2215
  $params = array_merge($params, $optParams);
2216
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidEnterprise_StoreCluster");
2217
  }
2218
  }
2219
 
2221
  * The "storelayoutpages" collection of methods.
2222
  * Typical usage is:
2223
  * <code>
2224
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
2225
  * $storelayoutpages = $androidenterpriseService->storelayoutpages;
2226
  * </code>
2227
  */
2228
+ class Forminator_Google_Service_AndroidEnterprise_Storelayoutpages_Resource extends Forminator_Google_Service_Resource
2229
  {
2230
 
2231
  /**
2248
  * @param string $enterpriseId The ID of the enterprise.
2249
  * @param string $pageId The ID of the page.
2250
  * @param array $optParams Optional parameters.
2251
+ * @return Forminator_Google_Service_AndroidEnterprise_StorePage
2252
  */
2253
  public function get($enterpriseId, $pageId, $optParams = array())
2254
  {
2255
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
2256
  $params = array_merge($params, $optParams);
2257
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_StorePage");
2258
  }
2259
 
2260
  /**
2261
  * Inserts a new store page. (storelayoutpages.insert)
2262
  *
2263
  * @param string $enterpriseId The ID of the enterprise.
2264
+ * @param Forminator_Google_StorePage $postBody
2265
  * @param array $optParams Optional parameters.
2266
+ * @return Forminator_Google_Service_AndroidEnterprise_StorePage
2267
  */
2268
+ public function insert($enterpriseId, Forminator_Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
2269
  {
2270
  $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
2271
  $params = array_merge($params, $optParams);
2272
+ return $this->call('insert', array($params), "Forminator_Google_Service_AndroidEnterprise_StorePage");
2273
  }
2274
 
2275
  /**
2278
  *
2279
  * @param string $enterpriseId The ID of the enterprise.
2280
  * @param array $optParams Optional parameters.
2281
+ * @return Forminator_Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse
2282
  */
2283
  public function listStorelayoutpages($enterpriseId, $optParams = array())
2284
  {
2285
  $params = array('enterpriseId' => $enterpriseId);
2286
  $params = array_merge($params, $optParams);
2287
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse");
2288
  }
2289
 
2290
  /**
2293
  *
2294
  * @param string $enterpriseId The ID of the enterprise.
2295
  * @param string $pageId The ID of the page.
2296
+ * @param Forminator_Google_StorePage $postBody
2297
  * @param array $optParams Optional parameters.
2298
+ * @return Forminator_Google_Service_AndroidEnterprise_StorePage
2299
  */
2300
+ public function patch($enterpriseId, $pageId, Forminator_Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
2301
  {
2302
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
2303
  $params = array_merge($params, $optParams);
2304
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidEnterprise_StorePage");
2305
  }
2306
 
2307
  /**
2309
  *
2310
  * @param string $enterpriseId The ID of the enterprise.
2311
  * @param string $pageId The ID of the page.
2312
+ * @param Forminator_Google_StorePage $postBody
2313
  * @param array $optParams Optional parameters.
2314
+ * @return Forminator_Google_Service_AndroidEnterprise_StorePage
2315
  */
2316
+ public function update($enterpriseId, $pageId, Forminator_Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
2317
  {
2318
  $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
2319
  $params = array_merge($params, $optParams);
2320
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidEnterprise_StorePage");
2321
  }
2322
  }
2323
 
2325
  * The "users" collection of methods.
2326
  * Typical usage is:
2327
  * <code>
2328
+ * $androidenterpriseService = new Forminator_Google_Service_AndroidEnterprise(...);
2329
  * $users = $androidenterpriseService->users;
2330
  * </code>
2331
  */
2332
+ class Forminator_Google_Service_AndroidEnterprise_Users_Resource extends Forminator_Google_Service_Resource
2333
  {
2334
 
2335
  /**
2342
  * @param string $enterpriseId The ID of the enterprise.
2343
  * @param string $userId The ID of the user.
2344
  * @param array $optParams Optional parameters.
2345
+ * @return Forminator_Google_Service_AndroidEnterprise_UserToken
2346
  */
2347
  public function generateToken($enterpriseId, $userId, $optParams = array())
2348
  {
2349
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2350
  $params = array_merge($params, $optParams);
2351
+ return $this->call('generateToken', array($params), "Forminator_Google_Service_AndroidEnterprise_UserToken");
2352
  }
2353
 
2354
  /**
2357
  * @param string $enterpriseId The ID of the enterprise.
2358
  * @param string $userId The ID of the user.
2359
  * @param array $optParams Optional parameters.
2360
+ * @return Forminator_Google_Service_AndroidEnterprise_User
2361
  */
2362
  public function get($enterpriseId, $userId, $optParams = array())
2363
  {
2364
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2365
  $params = array_merge($params, $optParams);
2366
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidEnterprise_User");
2367
  }
2368
 
2369
  /**
2373
  * @param string $enterpriseId The ID of the enterprise.
2374
  * @param string $userId The ID of the user.
2375
  * @param array $optParams Optional parameters.
2376
+ * @return Forminator_Google_Service_AndroidEnterprise_ProductSet
2377
  */
2378
  public function getAvailableProductSet($enterpriseId, $userId, $optParams = array())
2379
  {
2380
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2381
  $params = array_merge($params, $optParams);
2382
+ return $this->call('getAvailableProductSet', array($params), "Forminator_Google_Service_AndroidEnterprise_ProductSet");
2383
  }
2384
 
2385
  /**
2388
  * @param string $enterpriseId The ID of the enterprise.
2389
  * @param string $email The exact primary email address of the user to look up.
2390
  * @param array $optParams Optional parameters.
2391
+ * @return Forminator_Google_Service_AndroidEnterprise_UsersListResponse
2392
  */
2393
  public function listUsers($enterpriseId, $email, $optParams = array())
2394
  {
2395
  $params = array('enterpriseId' => $enterpriseId, 'email' => $email);
2396
  $params = array_merge($params, $optParams);
2397
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidEnterprise_UsersListResponse");
2398
  }
2399
 
2400
  /**
2418
  *
2419
  * @param string $enterpriseId The ID of the enterprise.
2420
  * @param string $userId The ID of the user.
2421
+ * @param Forminator_Google_ProductSet $postBody
2422
  * @param array $optParams Optional parameters.
2423
+ * @return Forminator_Google_Service_AndroidEnterprise_ProductSet
2424
  */
2425
+ public function setAvailableProductSet($enterpriseId, $userId, Forminator_Google_Service_AndroidEnterprise_ProductSet $postBody, $optParams = array())
2426
  {
2427
  $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody);
2428
  $params = array_merge($params, $optParams);
2429
+ return $this->call('setAvailableProductSet', array($params), "Forminator_Google_Service_AndroidEnterprise_ProductSet");
2430
  }
2431
  }
2432
 
2433
 
2434
 
2435
 
2436
+ class Forminator_Google_Service_AndroidEnterprise_AppRestrictionsSchema extends Forminator_Google_Collection
2437
  {
2438
  protected $collection_key = 'restrictions';
2439
  protected $internal_gapi_mappings = array(
2440
  );
2441
  public $kind;
2442
+ protected $restrictionsType = 'Forminator_Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction';
2443
  protected $restrictionsDataType = 'array';
2444
 
2445
 
2461
  }
2462
  }
2463
 
2464
+ class Forminator_Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction extends Forminator_Google_Collection
2465
  {
2466
  protected $collection_key = 'entryValue';
2467
  protected $internal_gapi_mappings = array(
2468
  );
2469
+ protected $defaultValueType = 'Forminator_Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue';
2470
  protected $defaultValueDataType = '';
2471
  public $description;
2472
  public $entry;
2476
  public $title;
2477
 
2478
 
2479
+ public function setDefaultValue(Forminator_Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue $defaultValue)
2480
  {
2481
  $this->defaultValue = $defaultValue;
2482
  }
2534
  }
2535
  }
2536
 
2537
+ class Forminator_Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue extends Forminator_Google_Collection
2538
  {
2539
  protected $collection_key = 'valueMultiselect';
2540
  protected $internal_gapi_mappings = array(
2588
  }
2589
  }
2590
 
2591
+ class Forminator_Google_Service_AndroidEnterprise_AppVersion extends Forminator_Google_Model
2592
  {
2593
  protected $internal_gapi_mappings = array(
2594
  );
2614
  }
2615
  }
2616
 
2617
+ class Forminator_Google_Service_AndroidEnterprise_ApprovalUrlInfo extends Forminator_Google_Model
2618
  {
2619
  protected $internal_gapi_mappings = array(
2620
  );
2640
  }
2641
  }
2642
 
2643
+ class Forminator_Google_Service_AndroidEnterprise_Collection extends Forminator_Google_Collection
2644
  {
2645
  protected $collection_key = 'productId';
2646
  protected $internal_gapi_mappings = array(
2694
  }
2695
  }
2696
 
2697
+ class Forminator_Google_Service_AndroidEnterprise_CollectionViewersListResponse extends Forminator_Google_Collection
2698
  {
2699
  protected $collection_key = 'user';
2700
  protected $internal_gapi_mappings = array(
2701
  );
2702
  public $kind;
2703
+ protected $userType = 'Forminator_Google_Service_AndroidEnterprise_User';
2704
  protected $userDataType = 'array';
2705
 
2706
 
2722
  }
2723
  }
2724
 
2725
+ class Forminator_Google_Service_AndroidEnterprise_CollectionsListResponse extends Forminator_Google_Collection
2726
  {
2727
  protected $collection_key = 'collection';
2728
  protected $internal_gapi_mappings = array(
2729
  );
2730
+ protected $collectionType = 'Forminator_Google_Service_AndroidEnterprise_Collection';
2731
  protected $collectionDataType = 'array';
2732
  public $kind;
2733
 
2750
  }
2751
  }
2752
 
2753
+ class Forminator_Google_Service_AndroidEnterprise_Device extends Forminator_Google_Model
2754
  {
2755
  protected $internal_gapi_mappings = array(
2756
  );
2785
  }
2786
  }
2787
 
2788
+ class Forminator_Google_Service_AndroidEnterprise_DeviceState extends Forminator_Google_Model
2789
  {
2790
  protected $internal_gapi_mappings = array(
2791
  );
2811
  }
2812
  }
2813
 
2814
+ class Forminator_Google_Service_AndroidEnterprise_DevicesListResponse extends Forminator_Google_Collection
2815
  {
2816
  protected $collection_key = 'device';
2817
  protected $internal_gapi_mappings = array(
2818
  );
2819
+ protected $deviceType = 'Forminator_Google_Service_AndroidEnterprise_Device';
2820
  protected $deviceDataType = 'array';
2821
  public $kind;
2822
 
2839
  }
2840
  }
2841
 
2842
+ class Forminator_Google_Service_AndroidEnterprise_Enterprise extends Forminator_Google_Model
2843
  {
2844
  protected $internal_gapi_mappings = array(
2845
  );
2883
  }
2884
  }
2885
 
2886
+ class Forminator_Google_Service_AndroidEnterprise_EnterpriseAccount extends Forminator_Google_Model
2887
  {
2888
  protected $internal_gapi_mappings = array(
2889
  );
2909
  }
2910
  }
2911
 
2912
+ class Forminator_Google_Service_AndroidEnterprise_EnterprisesListResponse extends Forminator_Google_Collection
2913
  {
2914
  protected $collection_key = 'enterprise';
2915
  protected $internal_gapi_mappings = array(
2916
  );
2917
+ protected $enterpriseType = 'Forminator_Google_Service_AndroidEnterprise_Enterprise';
2918
  protected $enterpriseDataType = 'array';
2919
  public $kind;
2920
 
2937
  }
2938
  }
2939
 
2940
+ class Forminator_Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse extends Forminator_Google_Model
2941
  {
2942
  protected $internal_gapi_mappings = array(
2943
  );
2963
  }
2964
  }
2965
 
2966
+ class Forminator_Google_Service_AndroidEnterprise_Entitlement extends Forminator_Google_Model
2967
  {
2968
  protected $internal_gapi_mappings = array(
2969
  );
2998
  }
2999
  }
3000
 
3001
+ class Forminator_Google_Service_AndroidEnterprise_EntitlementsListResponse extends Forminator_Google_Collection
3002
  {
3003
  protected $collection_key = 'entitlement';
3004
  protected $internal_gapi_mappings = array(
3005
  );
3006
+ protected $entitlementType = 'Forminator_Google_Service_AndroidEnterprise_Entitlement';
3007
  protected $entitlementDataType = 'array';
3008
  public $kind;
3009
 
3026
  }
3027
  }
3028
 
3029
+ class Forminator_Google_Service_AndroidEnterprise_GroupLicense extends Forminator_Google_Model
3030
  {
3031
  protected $internal_gapi_mappings = array(
3032
  );
3088
  }
3089
  }
3090
 
3091
+ class Forminator_Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse extends Forminator_Google_Collection
3092
  {
3093
  protected $collection_key = 'user';
3094
  protected $internal_gapi_mappings = array(
3095
  );
3096
  public $kind;
3097
+ protected $userType = 'Forminator_Google_Service_AndroidEnterprise_User';
3098
  protected $userDataType = 'array';
3099
 
3100
 
3116
  }
3117
  }
3118
 
3119
+ class Forminator_Google_Service_AndroidEnterprise_GroupLicensesListResponse extends Forminator_Google_Collection
3120
  {
3121
  protected $collection_key = 'groupLicense';
3122
  protected $internal_gapi_mappings = array(
3123
  );
3124
+ protected $groupLicenseType = 'Forminator_Google_Service_AndroidEnterprise_GroupLicense';
3125
  protected $groupLicenseDataType = 'array';
3126
  public $kind;
3127
 
3144
  }
3145
  }
3146
 
3147
+ class Forminator_Google_Service_AndroidEnterprise_Install extends Forminator_Google_Model
3148
  {
3149
  protected $internal_gapi_mappings = array(
3150
  );
3188
  }
3189
  }
3190
 
3191
+ class Forminator_Google_Service_AndroidEnterprise_InstallsListResponse extends Forminator_Google_Collection
3192
  {
3193
  protected $collection_key = 'install';
3194
  protected $internal_gapi_mappings = array(
3195
  );
3196
+ protected $installType = 'Forminator_Google_Service_AndroidEnterprise_Install';
3197
  protected $installDataType = 'array';
3198
  public $kind;
3199
 
3216
  }
3217
  }
3218
 
3219
+ class Forminator_Google_Service_AndroidEnterprise_LocalizedText extends Forminator_Google_Model
3220
  {
3221
  protected $internal_gapi_mappings = array(
3222
  );
3242
  }
3243
  }
3244
 
3245
+ class Forminator_Google_Service_AndroidEnterprise_Permission extends Forminator_Google_Model
3246
  {
3247
  protected $internal_gapi_mappings = array(
3248
  );
3286
  }
3287
  }
3288
 
3289
+ class Forminator_Google_Service_AndroidEnterprise_Product extends Forminator_Google_Collection
3290
  {
3291
  protected $collection_key = 'appVersion';
3292
  protected $internal_gapi_mappings = array(
3293
  );
3294
+ protected $appVersionType = 'Forminator_Google_Service_AndroidEnterprise_AppVersion';
3295
  protected $appVersionDataType = 'array';
3296
  public $authorName;
3297
  public $detailsUrl;
3395
  }
3396
  }
3397
 
3398
+ class Forminator_Google_Service_AndroidEnterprise_ProductPermission extends Forminator_Google_Model
3399
  {
3400
  protected $internal_gapi_mappings = array(
3401
  );
3421
  }
3422
  }
3423
 
3424
+ class Forminator_Google_Service_AndroidEnterprise_ProductPermissions extends Forminator_Google_Collection
3425
  {
3426
  protected $collection_key = 'permission';
3427
  protected $internal_gapi_mappings = array(
3428
  );
3429
  public $kind;
3430
+ protected $permissionType = 'Forminator_Google_Service_AndroidEnterprise_ProductPermission';
3431
  protected $permissionDataType = 'array';
3432
  public $productId;
3433
 
3458
  }
3459
  }
3460
 
3461
+ class Forminator_Google_Service_AndroidEnterprise_ProductSet extends Forminator_Google_Collection
3462
  {
3463
  protected $collection_key = 'productId';
3464
  protected $internal_gapi_mappings = array(
3485
  }
3486
  }
3487
 
3488
+ class Forminator_Google_Service_AndroidEnterprise_ProductsApproveRequest extends Forminator_Google_Model
3489
  {
3490
  protected $internal_gapi_mappings = array(
3491
  );
3492
+ protected $approvalUrlInfoType = 'Forminator_Google_Service_AndroidEnterprise_ApprovalUrlInfo';
3493
  protected $approvalUrlInfoDataType = '';
3494
 
3495
 
3496
+ public function setApprovalUrlInfo(Forminator_Google_Service_AndroidEnterprise_ApprovalUrlInfo $approvalUrlInfo)
3497
  {
3498
  $this->approvalUrlInfo = $approvalUrlInfo;
3499
  }
3503
  }
3504
  }
3505
 
3506
+ class Forminator_Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse extends Forminator_Google_Model
3507
  {
3508
  protected $internal_gapi_mappings = array(
3509
  );
3520
  }
3521
  }
3522
 
3523
+ class Forminator_Google_Service_AndroidEnterprise_StoreCluster extends Forminator_Google_Collection
3524
  {
3525
  protected $collection_key = 'productId';
3526
  protected $internal_gapi_mappings = array(
3527
  );
3528
  public $id;
3529
  public $kind;
3530
+ protected $nameType = 'Forminator_Google_Service_AndroidEnterprise_LocalizedText';
3531
  protected $nameDataType = 'array';
3532
  public $orderInPage;
3533
  public $productId;
3575
  }
3576
  }
3577
 
3578
+ class Forminator_Google_Service_AndroidEnterprise_StoreLayout extends Forminator_Google_Model
3579
  {
3580
  protected $internal_gapi_mappings = array(
3581
  );
3601
  }
3602
  }
3603
 
3604
+ class Forminator_Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse extends Forminator_Google_Collection
3605
  {
3606
  protected $collection_key = 'cluster';
3607
  protected $internal_gapi_mappings = array(
3608
  );
3609
+ protected $clusterType = 'Forminator_Google_Service_AndroidEnterprise_StoreCluster';
3610
  protected $clusterDataType = 'array';
3611
  public $kind;
3612
 
3629
  }
3630
  }
3631
 
3632
+ class Forminator_Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse extends Forminator_Google_Collection
3633
  {
3634
  protected $collection_key = 'page';
3635
  protected $internal_gapi_mappings = array(
3636
  );
3637
  public $kind;
3638
+ protected $pageType = 'Forminator_Google_Service_AndroidEnterprise_StorePage';
3639
  protected $pageDataType = 'array';
3640
 
3641
 
3657
  }
3658
  }
3659
 
3660
+ class Forminator_Google_Service_AndroidEnterprise_StorePage extends Forminator_Google_Collection
3661
  {
3662
  protected $collection_key = 'name';
3663
  protected $internal_gapi_mappings = array(
3665
  public $id;
3666
  public $kind;
3667
  public $link;
3668
+ protected $nameType = 'Forminator_Google_Service_AndroidEnterprise_LocalizedText';
3669
  protected $nameDataType = 'array';
3670
 
3671
 
3703
  }
3704
  }
3705
 
3706
+ class Forminator_Google_Service_AndroidEnterprise_User extends Forminator_Google_Model
3707
  {
3708
  protected $internal_gapi_mappings = array(
3709
  );
3738
  }
3739
  }
3740
 
3741
+ class Forminator_Google_Service_AndroidEnterprise_UserToken extends Forminator_Google_Model
3742
  {
3743
  protected $internal_gapi_mappings = array(
3744
  );
3773
  }
3774
  }
3775
 
3776
+ class Forminator_Google_Service_AndroidEnterprise_UsersListResponse extends Forminator_Google_Collection
3777
  {
3778
  protected $collection_key = 'user';
3779
  protected $internal_gapi_mappings = array(
3780
  );
3781
  public $kind;
3782
+ protected $userType = 'Forminator_Google_Service_AndroidEnterprise_User';
3783
  protected $userDataType = 'array';
3784
 
3785
 
addons/pro/googlesheet/lib/external/Google/Service/AndroidPublisher.php CHANGED
@@ -26,7 +26,7 @@
26
  *
27
  * @author Google, Inc.
28
  */
29
- class Google_Service_AndroidPublisher extends Google_Service
30
  {
31
  /** View and manage your Google Play Developer account. */
32
  const ANDROIDPUBLISHER =
@@ -50,9 +50,9 @@ class Google_Service_AndroidPublisher extends Google_Service
50
  /**
51
  * Constructs the internal representation of the AndroidPublisher service.
52
  *
53
- * @param Google_Client $client
54
  */
55
- public function __construct(Google_Client $client)
56
  {
57
  parent::__construct($client);
58
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -60,7 +60,7 @@ class Google_Service_AndroidPublisher extends Google_Service
60
  $this->version = 'v2';
61
  $this->serviceName = 'androidpublisher';
62
 
63
- $this->edits = new Google_Service_AndroidPublisher_Edits_Resource(
64
  $this,
65
  $this->serviceName,
66
  'edits',
@@ -140,7 +140,7 @@ class Google_Service_AndroidPublisher extends Google_Service
140
  )
141
  )
142
  );
143
- $this->edits_apklistings = new Google_Service_AndroidPublisher_EditsApklistings_Resource(
144
  $this,
145
  $this->serviceName,
146
  'apklistings',
@@ -290,7 +290,7 @@ class Google_Service_AndroidPublisher extends Google_Service
290
  )
291
  )
292
  );
293
- $this->edits_apks = new Google_Service_AndroidPublisher_EditsApks_Resource(
294
  $this,
295
  $this->serviceName,
296
  'apks',
@@ -345,7 +345,7 @@ class Google_Service_AndroidPublisher extends Google_Service
345
  )
346
  )
347
  );
348
- $this->edits_details = new Google_Service_AndroidPublisher_EditsDetails_Resource(
349
  $this,
350
  $this->serviceName,
351
  'details',
@@ -400,7 +400,7 @@ class Google_Service_AndroidPublisher extends Google_Service
400
  )
401
  )
402
  );
403
- $this->edits_expansionfiles = new Google_Service_AndroidPublisher_EditsExpansionfiles_Resource(
404
  $this,
405
  $this->serviceName,
406
  'expansionfiles',
@@ -510,7 +510,7 @@ class Google_Service_AndroidPublisher extends Google_Service
510
  )
511
  )
512
  );
513
- $this->edits_images = new Google_Service_AndroidPublisher_EditsImages_Resource(
514
  $this,
515
  $this->serviceName,
516
  'images',
@@ -625,7 +625,7 @@ class Google_Service_AndroidPublisher extends Google_Service
625
  )
626
  )
627
  );
628
- $this->edits_listings = new Google_Service_AndroidPublisher_EditsListings_Resource(
629
  $this,
630
  $this->serviceName,
631
  'listings',
@@ -745,7 +745,7 @@ class Google_Service_AndroidPublisher extends Google_Service
745
  )
746
  )
747
  );
748
- $this->edits_testers = new Google_Service_AndroidPublisher_EditsTesters_Resource(
749
  $this,
750
  $this->serviceName,
751
  'testers',
@@ -815,7 +815,7 @@ class Google_Service_AndroidPublisher extends Google_Service
815
  )
816
  )
817
  );
818
- $this->edits_tracks = new Google_Service_AndroidPublisher_EditsTracks_Resource(
819
  $this,
820
  $this->serviceName,
821
  'tracks',
@@ -900,7 +900,7 @@ class Google_Service_AndroidPublisher extends Google_Service
900
  )
901
  )
902
  );
903
- $this->entitlements = new Google_Service_AndroidPublisher_Entitlements_Resource(
904
  $this,
905
  $this->serviceName,
906
  'entitlements',
@@ -936,7 +936,7 @@ class Google_Service_AndroidPublisher extends Google_Service
936
  )
937
  )
938
  );
939
- $this->inappproducts = new Google_Service_AndroidPublisher_Inappproducts_Resource(
940
  $this,
941
  $this->serviceName,
942
  'inappproducts',
@@ -1054,7 +1054,7 @@ class Google_Service_AndroidPublisher extends Google_Service
1054
  )
1055
  )
1056
  );
1057
- $this->purchases_products = new Google_Service_AndroidPublisher_PurchasesProducts_Resource(
1058
  $this,
1059
  $this->serviceName,
1060
  'products',
@@ -1084,7 +1084,7 @@ class Google_Service_AndroidPublisher extends Google_Service
1084
  )
1085
  )
1086
  );
1087
- $this->purchases_subscriptions = new Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource(
1088
  $this,
1089
  $this->serviceName,
1090
  'subscriptions',
@@ -1202,11 +1202,11 @@ class Google_Service_AndroidPublisher extends Google_Service
1202
  * The "edits" collection of methods.
1203
  * Typical usage is:
1204
  * <code>
1205
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1206
  * $edits = $androidpublisherService->edits;
1207
  * </code>
1208
  */
1209
- class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Resource
1210
  {
1211
 
1212
  /**
@@ -1216,13 +1216,13 @@ class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Reso
1216
  * being updated; for example, "com.spiffygame".
1217
  * @param string $editId Unique identifier for this edit.
1218
  * @param array $optParams Optional parameters.
1219
- * @return Google_Service_AndroidPublisher_AppEdit
1220
  */
1221
  public function commit($packageName, $editId, $optParams = array())
1222
  {
1223
  $params = array('packageName' => $packageName, 'editId' => $editId);
1224
  $params = array_merge($params, $optParams);
1225
- return $this->call('commit', array($params), "Google_Service_AndroidPublisher_AppEdit");
1226
  }
1227
 
1228
  /**
@@ -1250,13 +1250,13 @@ class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Reso
1250
  * being updated; for example, "com.spiffygame".
1251
  * @param string $editId Unique identifier for this edit.
1252
  * @param array $optParams Optional parameters.
1253
- * @return Google_Service_AndroidPublisher_AppEdit
1254
  */
1255
  public function get($packageName, $editId, $optParams = array())
1256
  {
1257
  $params = array('packageName' => $packageName, 'editId' => $editId);
1258
  $params = array_merge($params, $optParams);
1259
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppEdit");
1260
  }
1261
 
1262
  /**
@@ -1265,15 +1265,15 @@ class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Reso
1265
  *
1266
  * @param string $packageName Unique identifier for the Android app that is
1267
  * being updated; for example, "com.spiffygame".
1268
- * @param Google_AppEdit $postBody
1269
  * @param array $optParams Optional parameters.
1270
- * @return Google_Service_AndroidPublisher_AppEdit
1271
  */
1272
- public function insert($packageName, Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
1273
  {
1274
  $params = array('packageName' => $packageName, 'postBody' => $postBody);
1275
  $params = array_merge($params, $optParams);
1276
- return $this->call('insert', array($params), "Google_Service_AndroidPublisher_AppEdit");
1277
  }
1278
 
1279
  /**
@@ -1284,13 +1284,13 @@ class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Reso
1284
  * being updated; for example, "com.spiffygame".
1285
  * @param string $editId Unique identifier for this edit.
1286
  * @param array $optParams Optional parameters.
1287
- * @return Google_Service_AndroidPublisher_AppEdit
1288
  */
1289
  public function validate($packageName, $editId, $optParams = array())
1290
  {
1291
  $params = array('packageName' => $packageName, 'editId' => $editId);
1292
  $params = array_merge($params, $optParams);
1293
- return $this->call('validate', array($params), "Google_Service_AndroidPublisher_AppEdit");
1294
  }
1295
  }
1296
 
@@ -1298,11 +1298,11 @@ class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Reso
1298
  * The "apklistings" collection of methods.
1299
  * Typical usage is:
1300
  * <code>
1301
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1302
  * $apklistings = $androidpublisherService->apklistings;
1303
  * </code>
1304
  */
1305
- class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_Service_Resource
1306
  {
1307
 
1308
  /**
@@ -1357,13 +1357,13 @@ class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_S
1357
  * specific localized listing to read or modify. For example, to select Austrian
1358
  * German, pass "de-AT".
1359
  * @param array $optParams Optional parameters.
1360
- * @return Google_Service_AndroidPublisher_ApkListing
1361
  */
1362
  public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1363
  {
1364
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1365
  $params = array_merge($params, $optParams);
1366
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_ApkListing");
1367
  }
1368
 
1369
  /**
@@ -1376,13 +1376,13 @@ class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_S
1376
  * @param int $apkVersionCode The APK version code whose APK-specific listings
1377
  * should be read or modified.
1378
  * @param array $optParams Optional parameters.
1379
- * @return Google_Service_AndroidPublisher_ApkListingsListResponse
1380
  */
1381
  public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array())
1382
  {
1383
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1384
  $params = array_merge($params, $optParams);
1385
- return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApkListingsListResponse");
1386
  }
1387
 
1388
  /**
@@ -1397,15 +1397,15 @@ class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_S
1397
  * @param string $language The language code (a BCP-47 language tag) of the APK-
1398
  * specific localized listing to read or modify. For example, to select Austrian
1399
  * German, pass "de-AT".
1400
- * @param Google_ApkListing $postBody
1401
  * @param array $optParams Optional parameters.
1402
- * @return Google_Service_AndroidPublisher_ApkListing
1403
  */
1404
- public function patch($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1405
  {
1406
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1407
  $params = array_merge($params, $optParams);
1408
- return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ApkListing");
1409
  }
1410
 
1411
  /**
@@ -1420,26 +1420,26 @@ class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_S
1420
  * @param string $language The language code (a BCP-47 language tag) of the APK-
1421
  * specific localized listing to read or modify. For example, to select Austrian
1422
  * German, pass "de-AT".
1423
- * @param Google_ApkListing $postBody
1424
  * @param array $optParams Optional parameters.
1425
- * @return Google_Service_AndroidPublisher_ApkListing
1426
  */
1427
- public function update($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1428
  {
1429
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1430
  $params = array_merge($params, $optParams);
1431
- return $this->call('update', array($params), "Google_Service_AndroidPublisher_ApkListing");
1432
  }
1433
  }
1434
  /**
1435
  * The "apks" collection of methods.
1436
  * Typical usage is:
1437
  * <code>
1438
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1439
  * $apks = $androidpublisherService->apks;
1440
  * </code>
1441
  */
1442
- class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_Resource
1443
  {
1444
 
1445
  /**
@@ -1451,15 +1451,15 @@ class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_
1451
  * @param string $packageName Unique identifier for the Android app that is
1452
  * being updated; for example, "com.spiffygame".
1453
  * @param string $editId Unique identifier for this edit.
1454
- * @param Google_ApksAddExternallyHostedRequest $postBody
1455
  * @param array $optParams Optional parameters.
1456
- * @return Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse
1457
  */
1458
- public function addexternallyhosted($packageName, $editId, Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody, $optParams = array())
1459
  {
1460
  $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1461
  $params = array_merge($params, $optParams);
1462
- return $this->call('addexternallyhosted', array($params), "Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse");
1463
  }
1464
 
1465
  /**
@@ -1469,13 +1469,13 @@ class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_
1469
  * being updated; for example, "com.spiffygame".
1470
  * @param string $editId Unique identifier for this edit.
1471
  * @param array $optParams Optional parameters.
1472
- * @return Google_Service_AndroidPublisher_ApksListResponse
1473
  */
1474
  public function listEditsApks($packageName, $editId, $optParams = array())
1475
  {
1476
  $params = array('packageName' => $packageName, 'editId' => $editId);
1477
  $params = array_merge($params, $optParams);
1478
- return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApksListResponse");
1479
  }
1480
 
1481
  /**
@@ -1485,24 +1485,24 @@ class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_
1485
  * being updated; for example, "com.spiffygame".
1486
  * @param string $editId Unique identifier for this edit.
1487
  * @param array $optParams Optional parameters.
1488
- * @return Google_Service_AndroidPublisher_Apk
1489
  */
1490
  public function upload($packageName, $editId, $optParams = array())
1491
  {
1492
  $params = array('packageName' => $packageName, 'editId' => $editId);
1493
  $params = array_merge($params, $optParams);
1494
- return $this->call('upload', array($params), "Google_Service_AndroidPublisher_Apk");
1495
  }
1496
  }
1497
  /**
1498
  * The "details" collection of methods.
1499
  * Typical usage is:
1500
  * <code>
1501
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1502
  * $details = $androidpublisherService->details;
1503
  * </code>
1504
  */
1505
- class Google_Service_AndroidPublisher_EditsDetails_Resource extends Google_Service_Resource
1506
  {
1507
 
1508
  /**
@@ -1513,13 +1513,13 @@ class Google_Service_AndroidPublisher_EditsDetails_Resource extends Google_Servi
1513
  * being updated; for example, "com.spiffygame".
1514
  * @param string $editId Unique identifier for this edit.
1515
  * @param array $optParams Optional parameters.
1516
- * @return Google_Service_AndroidPublisher_AppDetails
1517
  */
1518
  public function get($packageName, $editId, $optParams = array())
1519
  {
1520
  $params = array('packageName' => $packageName, 'editId' => $editId);
1521
  $params = array_merge($params, $optParams);
1522
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppDetails");
1523
  }
1524
 
1525
  /**
@@ -1529,15 +1529,15 @@ class Google_Service_AndroidPublisher_EditsDetails_Resource extends Google_Servi
1529
  * @param string $packageName Unique identifier for the Android app that is
1530
  * being updated; for example, "com.spiffygame".
1531
  * @param string $editId Unique identifier for this edit.
1532
- * @param Google_AppDetails $postBody
1533
  * @param array $optParams Optional parameters.
1534
- * @return Google_Service_AndroidPublisher_AppDetails
1535
  */
1536
- public function patch($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1537
  {
1538
  $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1539
  $params = array_merge($params, $optParams);
1540
- return $this->call('patch', array($params), "Google_Service_AndroidPublisher_AppDetails");
1541
  }
1542
 
1543
  /**
@@ -1546,26 +1546,26 @@ class Google_Service_AndroidPublisher_EditsDetails_Resource extends Google_Servi
1546
  * @param string $packageName Unique identifier for the Android app that is
1547
  * being updated; for example, "com.spiffygame".
1548
  * @param string $editId Unique identifier for this edit.
1549
- * @param Google_AppDetails $postBody
1550
  * @param array $optParams Optional parameters.
1551
- * @return Google_Service_AndroidPublisher_AppDetails
1552
  */
1553
- public function update($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1554
  {
1555
  $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1556
  $params = array_merge($params, $optParams);
1557
- return $this->call('update', array($params), "Google_Service_AndroidPublisher_AppDetails");
1558
  }
1559
  }
1560
  /**
1561
  * The "expansionfiles" collection of methods.
1562
  * Typical usage is:
1563
  * <code>
1564
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1565
  * $expansionfiles = $androidpublisherService->expansionfiles;
1566
  * </code>
1567
  */
1568
- class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Google_Service_Resource
1569
  {
1570
 
1571
  /**
@@ -1579,13 +1579,13 @@ class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Googl
1579
  * configuration is being read or modified.
1580
  * @param string $expansionFileType
1581
  * @param array $optParams Optional parameters.
1582
- * @return Google_Service_AndroidPublisher_ExpansionFile
1583
  */
1584
  public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1585
  {
1586
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1587
  $params = array_merge($params, $optParams);
1588
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
1589
  }
1590
 
1591
  /**
@@ -1599,15 +1599,15 @@ class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Googl
1599
  * @param int $apkVersionCode The version code of the APK whose Expansion File
1600
  * configuration is being read or modified.
1601
  * @param string $expansionFileType
1602
- * @param Google_ExpansionFile $postBody
1603
  * @param array $optParams Optional parameters.
1604
- * @return Google_Service_AndroidPublisher_ExpansionFile
1605
  */
1606
- public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1607
  {
1608
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1609
  $params = array_merge($params, $optParams);
1610
- return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
1611
  }
1612
 
1613
  /**
@@ -1621,15 +1621,15 @@ class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Googl
1621
  * @param int $apkVersionCode The version code of the APK whose Expansion File
1622
  * configuration is being read or modified.
1623
  * @param string $expansionFileType
1624
- * @param Google_ExpansionFile $postBody
1625
  * @param array $optParams Optional parameters.
1626
- * @return Google_Service_AndroidPublisher_ExpansionFile
1627
  */
1628
- public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1629
  {
1630
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1631
  $params = array_merge($params, $optParams);
1632
- return $this->call('update', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
1633
  }
1634
 
1635
  /**
@@ -1643,24 +1643,24 @@ class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Googl
1643
  * configuration is being read or modified.
1644
  * @param string $expansionFileType
1645
  * @param array $optParams Optional parameters.
1646
- * @return Google_Service_AndroidPublisher_ExpansionFilesUploadResponse
1647
  */
1648
  public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1649
  {
1650
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1651
  $params = array_merge($params, $optParams);
1652
- return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ExpansionFilesUploadResponse");
1653
  }
1654
  }
1655
  /**
1656
  * The "images" collection of methods.
1657
  * Typical usage is:
1658
  * <code>
1659
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1660
  * $images = $androidpublisherService->images;
1661
  * </code>
1662
  */
1663
- class Google_Service_AndroidPublisher_EditsImages_Resource extends Google_Service_Resource
1664
  {
1665
 
1666
  /**
@@ -1696,13 +1696,13 @@ class Google_Service_AndroidPublisher_EditsImages_Resource extends Google_Servic
1696
  * select Austrian German, pass "de-AT".
1697
  * @param string $imageType
1698
  * @param array $optParams Optional parameters.
1699
- * @return Google_Service_AndroidPublisher_ImagesDeleteAllResponse
1700
  */
1701
  public function deleteall($packageName, $editId, $language, $imageType, $optParams = array())
1702
  {
1703
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1704
  $params = array_merge($params, $optParams);
1705
- return $this->call('deleteall', array($params), "Google_Service_AndroidPublisher_ImagesDeleteAllResponse");
1706
  }
1707
 
1708
  /**
@@ -1717,13 +1717,13 @@ class Google_Service_AndroidPublisher_EditsImages_Resource extends Google_Servic
1717
  * select Austrian German, pass "de-AT".
1718
  * @param string $imageType
1719
  * @param array $optParams Optional parameters.
1720
- * @return Google_Service_AndroidPublisher_ImagesListResponse
1721
  */
1722
  public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array())
1723
  {
1724
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1725
  $params = array_merge($params, $optParams);
1726
- return $this->call('list', array($params), "Google_Service_AndroidPublisher_ImagesListResponse");
1727
  }
1728
 
1729
  /**
@@ -1738,24 +1738,24 @@ class Google_Service_AndroidPublisher_EditsImages_Resource extends Google_Servic
1738
  * select Austrian German, pass "de-AT".
1739
  * @param string $imageType
1740
  * @param array $optParams Optional parameters.
1741
- * @return Google_Service_AndroidPublisher_ImagesUploadResponse
1742
  */
1743
  public function upload($packageName, $editId, $language, $imageType, $optParams = array())
1744
  {
1745
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1746
  $params = array_merge($params, $optParams);
1747
- return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ImagesUploadResponse");
1748
  }
1749
  }
1750
  /**
1751
  * The "listings" collection of methods.
1752
  * Typical usage is:
1753
  * <code>
1754
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1755
  * $listings = $androidpublisherService->listings;
1756
  * </code>
1757
  */
1758
- class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Service_Resource
1759
  {
1760
 
1761
  /**
@@ -1801,13 +1801,13 @@ class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Serv
1801
  * localized listing to read or modify. For example, to select Austrian German,
1802
  * pass "de-AT".
1803
  * @param array $optParams Optional parameters.
1804
- * @return Google_Service_AndroidPublisher_Listing
1805
  */
1806
  public function get($packageName, $editId, $language, $optParams = array())
1807
  {
1808
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1809
  $params = array_merge($params, $optParams);
1810
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_Listing");
1811
  }
1812
 
1813
  /**
@@ -1818,13 +1818,13 @@ class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Serv
1818
  * being updated; for example, "com.spiffygame".
1819
  * @param string $editId Unique identifier for this edit.
1820
  * @param array $optParams Optional parameters.
1821
- * @return Google_Service_AndroidPublisher_ListingsListResponse
1822
  */
1823
  public function listEditsListings($packageName, $editId, $optParams = array())
1824
  {
1825
  $params = array('packageName' => $packageName, 'editId' => $editId);
1826
  $params = array_merge($params, $optParams);
1827
- return $this->call('list', array($params), "Google_Service_AndroidPublisher_ListingsListResponse");
1828
  }
1829
 
1830
  /**
@@ -1837,15 +1837,15 @@ class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Serv
1837
  * @param string $language The language code (a BCP-47 language tag) of the
1838
  * localized listing to read or modify. For example, to select Austrian German,
1839
  * pass "de-AT".
1840
- * @param Google_Listing $postBody
1841
  * @param array $optParams Optional parameters.
1842
- * @return Google_Service_AndroidPublisher_Listing
1843
  */
1844
- public function patch($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1845
  {
1846
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1847
  $params = array_merge($params, $optParams);
1848
- return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Listing");
1849
  }
1850
 
1851
  /**
@@ -1857,26 +1857,26 @@ class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Serv
1857
  * @param string $language The language code (a BCP-47 language tag) of the
1858
  * localized listing to read or modify. For example, to select Austrian German,
1859
  * pass "de-AT".
1860
- * @param Google_Listing $postBody
1861
  * @param array $optParams Optional parameters.
1862
- * @return Google_Service_AndroidPublisher_Listing
1863
  */
1864
- public function update($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1865
  {
1866
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1867
  $params = array_merge($params, $optParams);
1868
- return $this->call('update', array($params), "Google_Service_AndroidPublisher_Listing");
1869
  }
1870
  }
1871
  /**
1872
  * The "testers" collection of methods.
1873
  * Typical usage is:
1874
  * <code>
1875
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1876
  * $testers = $androidpublisherService->testers;
1877
  * </code>
1878
  */
1879
- class Google_Service_AndroidPublisher_EditsTesters_Resource extends Google_Service_Resource
1880
  {
1881
 
1882
  /**
@@ -1887,13 +1887,13 @@ class Google_Service_AndroidPublisher_EditsTesters_Resource extends Google_Servi
1887
  * @param string $editId Unique identifier for this edit.
1888
  * @param string $track
1889
  * @param array $optParams Optional parameters.
1890
- * @return Google_Service_AndroidPublisher_Testers
1891
  */
1892
  public function get($packageName, $editId, $track, $optParams = array())
1893
  {
1894
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1895
  $params = array_merge($params, $optParams);
1896
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_Testers");
1897
  }
1898
 
1899
  /**
@@ -1903,15 +1903,15 @@ class Google_Service_AndroidPublisher_EditsTesters_Resource extends Google_Servi
1903
  * being updated; for example, "com.spiffygame".
1904
  * @param string $editId Unique identifier for this edit.
1905
  * @param string $track
1906
- * @param Google_Testers $postBody
1907
  * @param array $optParams Optional parameters.
1908
- * @return Google_Service_AndroidPublisher_Testers
1909
  */
1910
- public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1911
  {
1912
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1913
  $params = array_merge($params, $optParams);
1914
- return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Testers");
1915
  }
1916
 
1917
  /**
@@ -1921,26 +1921,26 @@ class Google_Service_AndroidPublisher_EditsTesters_Resource extends Google_Servi
1921
  * being updated; for example, "com.spiffygame".
1922
  * @param string $editId Unique identifier for this edit.
1923
  * @param string $track
1924
- * @param Google_Testers $postBody
1925
  * @param array $optParams Optional parameters.
1926
- * @return Google_Service_AndroidPublisher_Testers
1927
  */
1928
- public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1929
  {
1930
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1931
  $params = array_merge($params, $optParams);
1932
- return $this->call('update', array($params), "Google_Service_AndroidPublisher_Testers");
1933
  }
1934
  }
1935
  /**
1936
  * The "tracks" collection of methods.
1937
  * Typical usage is:
1938
  * <code>
1939
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1940
  * $tracks = $androidpublisherService->tracks;
1941
  * </code>
1942
  */
1943
- class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Service_Resource
1944
  {
1945
 
1946
  /**
@@ -1952,13 +1952,13 @@ class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Servic
1952
  * @param string $editId Unique identifier for this edit.
1953
  * @param string $track The track type to read or modify.
1954
  * @param array $optParams Optional parameters.
1955
- * @return Google_Service_AndroidPublisher_Track
1956
  */
1957
  public function get($packageName, $editId, $track, $optParams = array())
1958
  {
1959
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1960
  $params = array_merge($params, $optParams);
1961
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_Track");
1962
  }
1963
 
1964
  /**
@@ -1968,13 +1968,13 @@ class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Servic
1968
  * being updated; for example, "com.spiffygame".
1969
  * @param string $editId Unique identifier for this edit.
1970
  * @param array $optParams Optional parameters.
1971
- * @return Google_Service_AndroidPublisher_TracksListResponse
1972
  */
1973
  public function listEditsTracks($packageName, $editId, $optParams = array())
1974
  {
1975
  $params = array('packageName' => $packageName, 'editId' => $editId);
1976
  $params = array_merge($params, $optParams);
1977
- return $this->call('list', array($params), "Google_Service_AndroidPublisher_TracksListResponse");
1978
  }
1979
 
1980
  /**
@@ -1987,15 +1987,15 @@ class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Servic
1987
  * being updated; for example, "com.spiffygame".
1988
  * @param string $editId Unique identifier for this edit.
1989
  * @param string $track The track type to read or modify.
1990
- * @param Google_Track $postBody
1991
  * @param array $optParams Optional parameters.
1992
- * @return Google_Service_AndroidPublisher_Track
1993
  */
1994
- public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
1995
  {
1996
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1997
  $params = array_merge($params, $optParams);
1998
- return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Track");
1999
  }
2000
 
2001
  /**
@@ -2007,15 +2007,15 @@ class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Servic
2007
  * being updated; for example, "com.spiffygame".
2008
  * @param string $editId Unique identifier for this edit.
2009
  * @param string $track The track type to read or modify.
2010
- * @param Google_Track $postBody
2011
  * @param array $optParams Optional parameters.
2012
- * @return Google_Service_AndroidPublisher_Track
2013
  */
2014
- public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
2015
  {
2016
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
2017
  $params = array_merge($params, $optParams);
2018
- return $this->call('update', array($params), "Google_Service_AndroidPublisher_Track");
2019
  }
2020
  }
2021
 
@@ -2023,11 +2023,11 @@ class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Servic
2023
  * The "entitlements" collection of methods.
2024
  * Typical usage is:
2025
  * <code>
2026
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2027
  * $entitlements = $androidpublisherService->entitlements;
2028
  * </code>
2029
  */
2030
- class Google_Service_AndroidPublisher_Entitlements_Resource extends Google_Service_Resource
2031
  {
2032
 
2033
  /**
@@ -2043,13 +2043,13 @@ class Google_Service_AndroidPublisher_Entitlements_Resource extends Google_Servi
2043
  * 'sku1'). This can be used to restrict the result set.
2044
  * @opt_param string startIndex
2045
  * @opt_param string token
2046
- * @return Google_Service_AndroidPublisher_EntitlementsListResponse
2047
  */
2048
  public function listEntitlements($packageName, $optParams = array())
2049
  {
2050
  $params = array('packageName' => $packageName);
2051
  $params = array_merge($params, $optParams);
2052
- return $this->call('list', array($params), "Google_Service_AndroidPublisher_EntitlementsListResponse");
2053
  }
2054
  }
2055
 
@@ -2057,25 +2057,25 @@ class Google_Service_AndroidPublisher_Entitlements_Resource extends Google_Servi
2057
  * The "inappproducts" collection of methods.
2058
  * Typical usage is:
2059
  * <code>
2060
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2061
  * $inappproducts = $androidpublisherService->inappproducts;
2062
  * </code>
2063
  */
2064
- class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Service_Resource
2065
  {
2066
 
2067
  /**
2068
  * (inappproducts.batch)
2069
  *
2070
- * @param Google_InappproductsBatchRequest $postBody
2071
  * @param array $optParams Optional parameters.
2072
- * @return Google_Service_AndroidPublisher_InappproductsBatchResponse
2073
  */
2074
- public function batch(Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
2075
  {
2076
  $params = array('postBody' => $postBody);
2077
  $params = array_merge($params, $optParams);
2078
- return $this->call('batch', array($params), "Google_Service_AndroidPublisher_InappproductsBatchResponse");
2079
  }
2080
 
2081
  /**
@@ -2099,13 +2099,13 @@ class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Serv
2099
  * @param string $packageName
2100
  * @param string $sku Unique identifier for the in-app product.
2101
  * @param array $optParams Optional parameters.
2102
- * @return Google_Service_AndroidPublisher_InAppProduct
2103
  */
2104
  public function get($packageName, $sku, $optParams = array())
2105
  {
2106
  $params = array('packageName' => $packageName, 'sku' => $sku);
2107
  $params = array_merge($params, $optParams);
2108
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2109
  }
2110
 
2111
  /**
@@ -2113,20 +2113,20 @@ class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Serv
2113
  *
2114
  * @param string $packageName Unique identifier for the Android app; for
2115
  * example, "com.spiffygame".
2116
- * @param Google_InAppProduct $postBody
2117
  * @param array $optParams Optional parameters.
2118
  *
2119
  * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2120
  * targeted by the parent app that don't have a price specified for this in-app
2121
  * product will be auto converted to the target currency based on the default
2122
  * price. Defaults to false.
2123
- * @return Google_Service_AndroidPublisher_InAppProduct
2124
  */
2125
- public function insert($packageName, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2126
  {
2127
  $params = array('packageName' => $packageName, 'postBody' => $postBody);
2128
  $params = array_merge($params, $optParams);
2129
- return $this->call('insert', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2130
  }
2131
 
2132
  /**
@@ -2140,13 +2140,13 @@ class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Serv
2140
  * @opt_param string maxResults
2141
  * @opt_param string startIndex
2142
  * @opt_param string token
2143
- * @return Google_Service_AndroidPublisher_InappproductsListResponse
2144
  */
2145
  public function listInappproducts($packageName, $optParams = array())
2146
  {
2147
  $params = array('packageName' => $packageName);
2148
  $params = array_merge($params, $optParams);
2149
- return $this->call('list', array($params), "Google_Service_AndroidPublisher_InappproductsListResponse");
2150
  }
2151
 
2152
  /**
@@ -2156,20 +2156,20 @@ class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Serv
2156
  * @param string $packageName Unique identifier for the Android app with the in-
2157
  * app product; for example, "com.spiffygame".
2158
  * @param string $sku Unique identifier for the in-app product.
2159
- * @param Google_InAppProduct $postBody
2160
  * @param array $optParams Optional parameters.
2161
  *
2162
  * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2163
  * targeted by the parent app that don't have a price specified for this in-app
2164
  * product will be auto converted to the target currency based on the default
2165
  * price. Defaults to false.
2166
- * @return Google_Service_AndroidPublisher_InAppProduct
2167
  */
2168
- public function patch($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2169
  {
2170
  $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2171
  $params = array_merge($params, $optParams);
2172
- return $this->call('patch', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2173
  }
2174
 
2175
  /**
@@ -2178,20 +2178,20 @@ class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Serv
2178
  * @param string $packageName Unique identifier for the Android app with the in-
2179
  * app product; for example, "com.spiffygame".
2180
  * @param string $sku Unique identifier for the in-app product.
2181
- * @param Google_InAppProduct $postBody
2182
  * @param array $optParams Optional parameters.
2183
  *
2184
  * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2185
  * targeted by the parent app that don't have a price specified for this in-app
2186
  * product will be auto converted to the target currency based on the default
2187
  * price. Defaults to false.
2188
- * @return Google_Service_AndroidPublisher_InAppProduct
2189
  */
2190
- public function update($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2191
  {
2192
  $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2193
  $params = array_merge($params, $optParams);
2194
- return $this->call('update', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2195
  }
2196
  }
2197
 
@@ -2199,11 +2199,11 @@ class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Serv
2199
  * The "purchases" collection of methods.
2200
  * Typical usage is:
2201
  * <code>
2202
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2203
  * $purchases = $androidpublisherService->purchases;
2204
  * </code>
2205
  */
2206
- class Google_Service_AndroidPublisher_Purchases_Resource extends Google_Service_Resource
2207
  {
2208
  }
2209
 
@@ -2211,11 +2211,11 @@ class Google_Service_AndroidPublisher_Purchases_Resource extends Google_Service_
2211
  * The "products" collection of methods.
2212
  * Typical usage is:
2213
  * <code>
2214
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2215
  * $products = $androidpublisherService->products;
2216
  * </code>
2217
  */
2218
- class Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Google_Service_Resource
2219
  {
2220
 
2221
  /**
@@ -2228,24 +2228,24 @@ class Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Google_
2228
  * @param string $token The token provided to the user's device when the inapp
2229
  * product was purchased.
2230
  * @param array $optParams Optional parameters.
2231
- * @return Google_Service_AndroidPublisher_ProductPurchase
2232
  */
2233
  public function get($packageName, $productId, $token, $optParams = array())
2234
  {
2235
  $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
2236
  $params = array_merge($params, $optParams);
2237
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_ProductPurchase");
2238
  }
2239
  }
2240
  /**
2241
  * The "subscriptions" collection of methods.
2242
  * Typical usage is:
2243
  * <code>
2244
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2245
  * $subscriptions = $androidpublisherService->subscriptions;
2246
  * </code>
2247
  */
2248
- class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Google_Service_Resource
2249
  {
2250
 
2251
  /**
@@ -2277,15 +2277,15 @@ class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Go
2277
  * 'monthly001').
2278
  * @param string $token The token provided to the user's device when the
2279
  * subscription was purchased.
2280
- * @param Google_SubscriptionPurchasesDeferRequest $postBody
2281
  * @param array $optParams Optional parameters.
2282
- * @return Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
2283
  */
2284
- public function defer($packageName, $subscriptionId, $token, Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody, $optParams = array())
2285
  {
2286
  $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token, 'postBody' => $postBody);
2287
  $params = array_merge($params, $optParams);
2288
- return $this->call('defer', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse");
2289
  }
2290
 
2291
  /**
@@ -2299,13 +2299,13 @@ class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Go
2299
  * @param string $token The token provided to the user's device when the
2300
  * subscription was purchased.
2301
  * @param array $optParams Optional parameters.
2302
- * @return Google_Service_AndroidPublisher_SubscriptionPurchase
2303
  */
2304
  public function get($packageName, $subscriptionId, $token, $optParams = array())
2305
  {
2306
  $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2307
  $params = array_merge($params, $optParams);
2308
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchase");
2309
  }
2310
 
2311
  /**
@@ -2352,16 +2352,16 @@ class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Go
2352
 
2353
 
2354
 
2355
- class Google_Service_AndroidPublisher_Apk extends Google_Model
2356
  {
2357
  protected $internal_gapi_mappings = array(
2358
  );
2359
- protected $binaryType = 'Google_Service_AndroidPublisher_ApkBinary';
2360
  protected $binaryDataType = '';
2361
  public $versionCode;
2362
 
2363
 
2364
- public function setBinary(Google_Service_AndroidPublisher_ApkBinary $binary)
2365
  {
2366
  $this->binary = $binary;
2367
  }
@@ -2379,7 +2379,7 @@ class Google_Service_AndroidPublisher_Apk extends Google_Model
2379
  }
2380
  }
2381
 
2382
- class Google_Service_AndroidPublisher_ApkBinary extends Google_Model
2383
  {
2384
  protected $internal_gapi_mappings = array(
2385
  );
@@ -2396,7 +2396,7 @@ class Google_Service_AndroidPublisher_ApkBinary extends Google_Model
2396
  }
2397
  }
2398
 
2399
- class Google_Service_AndroidPublisher_ApkListing extends Google_Model
2400
  {
2401
  protected $internal_gapi_mappings = array(
2402
  );
@@ -2422,13 +2422,13 @@ class Google_Service_AndroidPublisher_ApkListing extends Google_Model
2422
  }
2423
  }
2424
 
2425
- class Google_Service_AndroidPublisher_ApkListingsListResponse extends Google_Collection
2426
  {
2427
  protected $collection_key = 'listings';
2428
  protected $internal_gapi_mappings = array(
2429
  );
2430
  public $kind;
2431
- protected $listingsType = 'Google_Service_AndroidPublisher_ApkListing';
2432
  protected $listingsDataType = 'array';
2433
 
2434
 
@@ -2450,15 +2450,15 @@ class Google_Service_AndroidPublisher_ApkListingsListResponse extends Google_Col
2450
  }
2451
  }
2452
 
2453
- class Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest extends Google_Model
2454
  {
2455
  protected $internal_gapi_mappings = array(
2456
  );
2457
- protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk';
2458
  protected $externallyHostedApkDataType = '';
2459
 
2460
 
2461
- public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
2462
  {
2463
  $this->externallyHostedApk = $externallyHostedApk;
2464
  }
@@ -2468,15 +2468,15 @@ class Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest extends Goo
2468
  }
2469
  }
2470
 
2471
- class Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse extends Google_Model
2472
  {
2473
  protected $internal_gapi_mappings = array(
2474
  );
2475
- protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk';
2476
  protected $externallyHostedApkDataType = '';
2477
 
2478
 
2479
- public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
2480
  {
2481
  $this->externallyHostedApk = $externallyHostedApk;
2482
  }
@@ -2486,12 +2486,12 @@ class Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse extends Go
2486
  }
2487
  }
2488
 
2489
- class Google_Service_AndroidPublisher_ApksListResponse extends Google_Collection
2490
  {
2491
  protected $collection_key = 'apks';
2492
  protected $internal_gapi_mappings = array(
2493
  );
2494
- protected $apksType = 'Google_Service_AndroidPublisher_Apk';
2495
  protected $apksDataType = 'array';
2496
  public $kind;
2497
 
@@ -2514,7 +2514,7 @@ class Google_Service_AndroidPublisher_ApksListResponse extends Google_Collection
2514
  }
2515
  }
2516
 
2517
- class Google_Service_AndroidPublisher_AppDetails extends Google_Model
2518
  {
2519
  protected $internal_gapi_mappings = array(
2520
  );
@@ -2558,7 +2558,7 @@ class Google_Service_AndroidPublisher_AppDetails extends Google_Model
2558
  }
2559
  }
2560
 
2561
- class Google_Service_AndroidPublisher_AppEdit extends Google_Model
2562
  {
2563
  protected $internal_gapi_mappings = array(
2564
  );
@@ -2584,7 +2584,7 @@ class Google_Service_AndroidPublisher_AppEdit extends Google_Model
2584
  }
2585
  }
2586
 
2587
- class Google_Service_AndroidPublisher_Entitlement extends Google_Model
2588
  {
2589
  protected $internal_gapi_mappings = array(
2590
  );
@@ -2628,20 +2628,20 @@ class Google_Service_AndroidPublisher_Entitlement extends Google_Model
2628
  }
2629
  }
2630
 
2631
- class Google_Service_AndroidPublisher_EntitlementsListResponse extends Google_Collection
2632
  {
2633
  protected $collection_key = 'resources';
2634
  protected $internal_gapi_mappings = array(
2635
  );
2636
- protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
2637
  protected $pageInfoDataType = '';
2638
- protected $resourcesType = 'Google_Service_AndroidPublisher_Entitlement';
2639
  protected $resourcesDataType = 'array';
2640
- protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
2641
  protected $tokenPaginationDataType = '';
2642
 
2643
 
2644
- public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
2645
  {
2646
  $this->pageInfo = $pageInfo;
2647
  }
@@ -2657,7 +2657,7 @@ class Google_Service_AndroidPublisher_EntitlementsListResponse extends Google_Co
2657
  {
2658
  return $this->resources;
2659
  }
2660
- public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
2661
  {
2662
  $this->tokenPagination = $tokenPagination;
2663
  }
@@ -2667,7 +2667,7 @@ class Google_Service_AndroidPublisher_EntitlementsListResponse extends Google_Co
2667
  }
2668
  }
2669
 
2670
- class Google_Service_AndroidPublisher_ExpansionFile extends Google_Model
2671
  {
2672
  protected $internal_gapi_mappings = array(
2673
  );
@@ -2693,15 +2693,15 @@ class Google_Service_AndroidPublisher_ExpansionFile extends Google_Model
2693
  }
2694
  }
2695
 
2696
- class Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Google_Model
2697
  {
2698
  protected $internal_gapi_mappings = array(
2699
  );
2700
- protected $expansionFileType = 'Google_Service_AndroidPublisher_ExpansionFile';
2701
  protected $expansionFileDataType = '';
2702
 
2703
 
2704
- public function setExpansionFile(Google_Service_AndroidPublisher_ExpansionFile $expansionFile)
2705
  {
2706
  $this->expansionFile = $expansionFile;
2707
  }
@@ -2711,7 +2711,7 @@ class Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Googl
2711
  }
2712
  }
2713
 
2714
- class Google_Service_AndroidPublisher_ExternallyHostedApk extends Google_Collection
2715
  {
2716
  protected $collection_key = 'usesPermissions';
2717
  protected $internal_gapi_mappings = array(
@@ -2728,7 +2728,7 @@ class Google_Service_AndroidPublisher_ExternallyHostedApk extends Google_Collect
2728
  public $nativeCodes;
2729
  public $packageName;
2730
  public $usesFeatures;
2731
- protected $usesPermissionsType = 'Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission';
2732
  protected $usesPermissionsDataType = 'array';
2733
  public $versionCode;
2734
  public $versionName;
@@ -2856,7 +2856,7 @@ class Google_Service_AndroidPublisher_ExternallyHostedApk extends Google_Collect
2856
  }
2857
  }
2858
 
2859
- class Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission extends Google_Model
2860
  {
2861
  protected $internal_gapi_mappings = array(
2862
  );
@@ -2882,7 +2882,7 @@ class Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission extends
2882
  }
2883
  }
2884
 
2885
- class Google_Service_AndroidPublisher_Image extends Google_Model
2886
  {
2887
  protected $internal_gapi_mappings = array(
2888
  );
@@ -2917,12 +2917,12 @@ class Google_Service_AndroidPublisher_Image extends Google_Model
2917
  }
2918
  }
2919
 
2920
- class Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Google_Collection
2921
  {
2922
  protected $collection_key = 'deleted';
2923
  protected $internal_gapi_mappings = array(
2924
  );
2925
- protected $deletedType = 'Google_Service_AndroidPublisher_Image';
2926
  protected $deletedDataType = 'array';
2927
 
2928
 
@@ -2936,12 +2936,12 @@ class Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Google_Col
2936
  }
2937
  }
2938
 
2939
- class Google_Service_AndroidPublisher_ImagesListResponse extends Google_Collection
2940
  {
2941
  protected $collection_key = 'images';
2942
  protected $internal_gapi_mappings = array(
2943
  );
2944
- protected $imagesType = 'Google_Service_AndroidPublisher_Image';
2945
  protected $imagesDataType = 'array';
2946
 
2947
 
@@ -2955,15 +2955,15 @@ class Google_Service_AndroidPublisher_ImagesListResponse extends Google_Collecti
2955
  }
2956
  }
2957
 
2958
- class Google_Service_AndroidPublisher_ImagesUploadResponse extends Google_Model
2959
  {
2960
  protected $internal_gapi_mappings = array(
2961
  );
2962
- protected $imageType = 'Google_Service_AndroidPublisher_Image';
2963
  protected $imageDataType = '';
2964
 
2965
 
2966
- public function setImage(Google_Service_AndroidPublisher_Image $image)
2967
  {
2968
  $this->image = $image;
2969
  }
@@ -2973,20 +2973,20 @@ class Google_Service_AndroidPublisher_ImagesUploadResponse extends Google_Model
2973
  }
2974
  }
2975
 
2976
- class Google_Service_AndroidPublisher_InAppProduct extends Google_Model
2977
  {
2978
  protected $internal_gapi_mappings = array(
2979
  );
2980
  public $defaultLanguage;
2981
- protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
2982
  protected $defaultPriceDataType = '';
2983
- protected $listingsType = 'Google_Service_AndroidPublisher_InAppProductListing';
2984
  protected $listingsDataType = 'map';
2985
  public $packageName;
2986
- protected $pricesType = 'Google_Service_AndroidPublisher_Price';
2987
  protected $pricesDataType = 'map';
2988
  public $purchaseType;
2989
- protected $seasonType = 'Google_Service_AndroidPublisher_Season';
2990
  protected $seasonDataType = '';
2991
  public $sku;
2992
  public $status;
@@ -3002,7 +3002,7 @@ class Google_Service_AndroidPublisher_InAppProduct extends Google_Model
3002
  {
3003
  return $this->defaultLanguage;
3004
  }
3005
- public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
3006
  {
3007
  $this->defaultPrice = $defaultPrice;
3008
  }
@@ -3042,7 +3042,7 @@ class Google_Service_AndroidPublisher_InAppProduct extends Google_Model
3042
  {
3043
  return $this->purchaseType;
3044
  }
3045
- public function setSeason(Google_Service_AndroidPublisher_Season $season)
3046
  {
3047
  $this->season = $season;
3048
  }
@@ -3084,7 +3084,7 @@ class Google_Service_AndroidPublisher_InAppProduct extends Google_Model
3084
  }
3085
  }
3086
 
3087
- class Google_Service_AndroidPublisher_InAppProductListing extends Google_Model
3088
  {
3089
  protected $internal_gapi_mappings = array(
3090
  );
@@ -3110,12 +3110,12 @@ class Google_Service_AndroidPublisher_InAppProductListing extends Google_Model
3110
  }
3111
  }
3112
 
3113
- class Google_Service_AndroidPublisher_InappproductsBatchRequest extends Google_Collection
3114
  {
3115
  protected $collection_key = 'entrys';
3116
  protected $internal_gapi_mappings = array(
3117
  );
3118
- protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
3119
  protected $entrysDataType = 'array';
3120
 
3121
 
@@ -3129,14 +3129,14 @@ class Google_Service_AndroidPublisher_InappproductsBatchRequest extends Google_C
3129
  }
3130
  }
3131
 
3132
- class Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Google_Model
3133
  {
3134
  protected $internal_gapi_mappings = array(
3135
  );
3136
  public $batchId;
3137
- protected $inappproductsinsertrequestType = 'Google_Service_AndroidPublisher_InappproductsInsertRequest';
3138
  protected $inappproductsinsertrequestDataType = '';
3139
- protected $inappproductsupdaterequestType = 'Google_Service_AndroidPublisher_InappproductsUpdateRequest';
3140
  protected $inappproductsupdaterequestDataType = '';
3141
  public $methodName;
3142
 
@@ -3149,7 +3149,7 @@ class Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Goo
3149
  {
3150
  return $this->batchId;
3151
  }
3152
- public function setInappproductsinsertrequest(Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
3153
  {
3154
  $this->inappproductsinsertrequest = $inappproductsinsertrequest;
3155
  }
@@ -3157,7 +3157,7 @@ class Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Goo
3157
  {
3158
  return $this->inappproductsinsertrequest;
3159
  }
3160
- public function setInappproductsupdaterequest(Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest)
3161
  {
3162
  $this->inappproductsupdaterequest = $inappproductsupdaterequest;
3163
  }
@@ -3175,12 +3175,12 @@ class Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Goo
3175
  }
3176
  }
3177
 
3178
- class Google_Service_AndroidPublisher_InappproductsBatchResponse extends Google_Collection
3179
  {
3180
  protected $collection_key = 'entrys';
3181
  protected $internal_gapi_mappings = array(
3182
  );
3183
- protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchResponseEntry';
3184
  protected $entrysDataType = 'array';
3185
  public $kind;
3186
 
@@ -3203,14 +3203,14 @@ class Google_Service_AndroidPublisher_InappproductsBatchResponse extends Google_
3203
  }
3204
  }
3205
 
3206
- class Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Google_Model
3207
  {
3208
  protected $internal_gapi_mappings = array(
3209
  );
3210
  public $batchId;
3211
- protected $inappproductsinsertresponseType = 'Google_Service_AndroidPublisher_InappproductsInsertResponse';
3212
  protected $inappproductsinsertresponseDataType = '';
3213
- protected $inappproductsupdateresponseType = 'Google_Service_AndroidPublisher_InappproductsUpdateResponse';
3214
  protected $inappproductsupdateresponseDataType = '';
3215
 
3216
 
@@ -3222,7 +3222,7 @@ class Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Go
3222
  {
3223
  return $this->batchId;
3224
  }
3225
- public function setInappproductsinsertresponse(Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
3226
  {
3227
  $this->inappproductsinsertresponse = $inappproductsinsertresponse;
3228
  }
@@ -3230,7 +3230,7 @@ class Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Go
3230
  {
3231
  return $this->inappproductsinsertresponse;
3232
  }
3233
- public function setInappproductsupdateresponse(Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
3234
  {
3235
  $this->inappproductsupdateresponse = $inappproductsupdateresponse;
3236
  }
@@ -3240,15 +3240,15 @@ class Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Go
3240
  }
3241
  }
3242
 
3243
- class Google_Service_AndroidPublisher_InappproductsInsertRequest extends Google_Model
3244
  {
3245
  protected $internal_gapi_mappings = array(
3246
  );
3247
- protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3248
  protected $inappproductDataType = '';
3249
 
3250
 
3251
- public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3252
  {
3253
  $this->inappproduct = $inappproduct;
3254
  }
@@ -3258,15 +3258,15 @@ class Google_Service_AndroidPublisher_InappproductsInsertRequest extends Google_
3258
  }
3259
  }
3260
 
3261
- class Google_Service_AndroidPublisher_InappproductsInsertResponse extends Google_Model
3262
  {
3263
  protected $internal_gapi_mappings = array(
3264
  );
3265
- protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3266
  protected $inappproductDataType = '';
3267
 
3268
 
3269
- public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3270
  {
3271
  $this->inappproduct = $inappproduct;
3272
  }
@@ -3276,17 +3276,17 @@ class Google_Service_AndroidPublisher_InappproductsInsertResponse extends Google
3276
  }
3277
  }
3278
 
3279
- class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_Collection
3280
  {
3281
  protected $collection_key = 'inappproduct';
3282
  protected $internal_gapi_mappings = array(
3283
  );
3284
- protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3285
  protected $inappproductDataType = 'array';
3286
  public $kind;
3287
- protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
3288
  protected $pageInfoDataType = '';
3289
- protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
3290
  protected $tokenPaginationDataType = '';
3291
 
3292
 
@@ -3306,7 +3306,7 @@ class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_C
3306
  {
3307
  return $this->kind;
3308
  }
3309
- public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
3310
  {
3311
  $this->pageInfo = $pageInfo;
3312
  }
@@ -3314,7 +3314,7 @@ class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_C
3314
  {
3315
  return $this->pageInfo;
3316
  }
3317
- public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
3318
  {
3319
  $this->tokenPagination = $tokenPagination;
3320
  }
@@ -3324,15 +3324,15 @@ class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_C
3324
  }
3325
  }
3326
 
3327
- class Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Google_Model
3328
  {
3329
  protected $internal_gapi_mappings = array(
3330
  );
3331
- protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3332
  protected $inappproductDataType = '';
3333
 
3334
 
3335
- public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3336
  {
3337
  $this->inappproduct = $inappproduct;
3338
  }
@@ -3342,15 +3342,15 @@ class Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Google_
3342
  }
3343
  }
3344
 
3345
- class Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Google_Model
3346
  {
3347
  protected $internal_gapi_mappings = array(
3348
  );
3349
- protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3350
  protected $inappproductDataType = '';
3351
 
3352
 
3353
- public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3354
  {
3355
  $this->inappproduct = $inappproduct;
3356
  }
@@ -3360,7 +3360,7 @@ class Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Google
3360
  }
3361
  }
3362
 
3363
- class Google_Service_AndroidPublisher_Listing extends Google_Model
3364
  {
3365
  protected $internal_gapi_mappings = array(
3366
  );
@@ -3413,13 +3413,13 @@ class Google_Service_AndroidPublisher_Listing extends Google_Model
3413
  }
3414
  }
3415
 
3416
- class Google_Service_AndroidPublisher_ListingsListResponse extends Google_Collection
3417
  {
3418
  protected $collection_key = 'listings';
3419
  protected $internal_gapi_mappings = array(
3420
  );
3421
  public $kind;
3422
- protected $listingsType = 'Google_Service_AndroidPublisher_Listing';
3423
  protected $listingsDataType = 'array';
3424
 
3425
 
@@ -3441,7 +3441,7 @@ class Google_Service_AndroidPublisher_ListingsListResponse extends Google_Collec
3441
  }
3442
  }
3443
 
3444
- class Google_Service_AndroidPublisher_MonthDay extends Google_Model
3445
  {
3446
  protected $internal_gapi_mappings = array(
3447
  );
@@ -3467,7 +3467,7 @@ class Google_Service_AndroidPublisher_MonthDay extends Google_Model
3467
  }
3468
  }
3469
 
3470
- class Google_Service_AndroidPublisher_PageInfo extends Google_Model
3471
  {
3472
  protected $internal_gapi_mappings = array(
3473
  );
@@ -3502,7 +3502,7 @@ class Google_Service_AndroidPublisher_PageInfo extends Google_Model
3502
  }
3503
  }
3504
 
3505
- class Google_Service_AndroidPublisher_Price extends Google_Model
3506
  {
3507
  protected $internal_gapi_mappings = array(
3508
  );
@@ -3528,7 +3528,7 @@ class Google_Service_AndroidPublisher_Price extends Google_Model
3528
  }
3529
  }
3530
 
3531
- class Google_Service_AndroidPublisher_ProductPurchase extends Google_Model
3532
  {
3533
  protected $internal_gapi_mappings = array(
3534
  );
@@ -3581,17 +3581,17 @@ class Google_Service_AndroidPublisher_ProductPurchase extends Google_Model
3581
  }
3582
  }
3583
 
3584
- class Google_Service_AndroidPublisher_Prorate extends Google_Model
3585
  {
3586
  protected $internal_gapi_mappings = array(
3587
  );
3588
- protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
3589
  protected $defaultPriceDataType = '';
3590
- protected $startType = 'Google_Service_AndroidPublisher_MonthDay';
3591
  protected $startDataType = '';
3592
 
3593
 
3594
- public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
3595
  {
3596
  $this->defaultPrice = $defaultPrice;
3597
  }
@@ -3599,7 +3599,7 @@ class Google_Service_AndroidPublisher_Prorate extends Google_Model
3599
  {
3600
  return $this->defaultPrice;
3601
  }
3602
- public function setStart(Google_Service_AndroidPublisher_MonthDay $start)
3603
  {
3604
  $this->start = $start;
3605
  }
@@ -3609,20 +3609,20 @@ class Google_Service_AndroidPublisher_Prorate extends Google_Model
3609
  }
3610
  }
3611
 
3612
- class Google_Service_AndroidPublisher_Season extends Google_Collection
3613
  {
3614
  protected $collection_key = 'prorations';
3615
  protected $internal_gapi_mappings = array(
3616
  );
3617
- protected $endType = 'Google_Service_AndroidPublisher_MonthDay';
3618
  protected $endDataType = '';
3619
- protected $prorationsType = 'Google_Service_AndroidPublisher_Prorate';
3620
  protected $prorationsDataType = 'array';
3621
- protected $startType = 'Google_Service_AndroidPublisher_MonthDay';
3622
  protected $startDataType = '';
3623
 
3624
 
3625
- public function setEnd(Google_Service_AndroidPublisher_MonthDay $end)
3626
  {
3627
  $this->end = $end;
3628
  }
@@ -3638,7 +3638,7 @@ class Google_Service_AndroidPublisher_Season extends Google_Collection
3638
  {
3639
  return $this->prorations;
3640
  }
3641
- public function setStart(Google_Service_AndroidPublisher_MonthDay $start)
3642
  {
3643
  $this->start = $start;
3644
  }
@@ -3648,7 +3648,7 @@ class Google_Service_AndroidPublisher_Season extends Google_Collection
3648
  }
3649
  }
3650
 
3651
- class Google_Service_AndroidPublisher_SubscriptionDeferralInfo extends Google_Model
3652
  {
3653
  protected $internal_gapi_mappings = array(
3654
  );
@@ -3674,7 +3674,7 @@ class Google_Service_AndroidPublisher_SubscriptionDeferralInfo extends Google_Mo
3674
  }
3675
  }
3676
 
3677
- class Google_Service_AndroidPublisher_SubscriptionPurchase extends Google_Model
3678
  {
3679
  protected $internal_gapi_mappings = array(
3680
  );
@@ -3718,15 +3718,15 @@ class Google_Service_AndroidPublisher_SubscriptionPurchase extends Google_Model
3718
  }
3719
  }
3720
 
3721
- class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest extends Google_Model
3722
  {
3723
  protected $internal_gapi_mappings = array(
3724
  );
3725
- protected $deferralInfoType = 'Google_Service_AndroidPublisher_SubscriptionDeferralInfo';
3726
  protected $deferralInfoDataType = '';
3727
 
3728
 
3729
- public function setDeferralInfo(Google_Service_AndroidPublisher_SubscriptionDeferralInfo $deferralInfo)
3730
  {
3731
  $this->deferralInfo = $deferralInfo;
3732
  }
@@ -3736,7 +3736,7 @@ class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest extends
3736
  }
3737
  }
3738
 
3739
- class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse extends Google_Model
3740
  {
3741
  protected $internal_gapi_mappings = array(
3742
  );
@@ -3753,7 +3753,7 @@ class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse extends
3753
  }
3754
  }
3755
 
3756
- class Google_Service_AndroidPublisher_Testers extends Google_Collection
3757
  {
3758
  protected $collection_key = 'googlePlusCommunities';
3759
  protected $internal_gapi_mappings = array(
@@ -3780,7 +3780,7 @@ class Google_Service_AndroidPublisher_Testers extends Google_Collection
3780
  }
3781
  }
3782
 
3783
- class Google_Service_AndroidPublisher_TokenPagination extends Google_Model
3784
  {
3785
  protected $internal_gapi_mappings = array(
3786
  );
@@ -3806,7 +3806,7 @@ class Google_Service_AndroidPublisher_TokenPagination extends Google_Model
3806
  }
3807
  }
3808
 
3809
- class Google_Service_AndroidPublisher_Track extends Google_Collection
3810
  {
3811
  protected $collection_key = 'versionCodes';
3812
  protected $internal_gapi_mappings = array(
@@ -3842,13 +3842,13 @@ class Google_Service_AndroidPublisher_Track extends Google_Collection
3842
  }
3843
  }
3844
 
3845
- class Google_Service_AndroidPublisher_TracksListResponse extends Google_Collection
3846
  {
3847
  protected $collection_key = 'tracks';
3848
  protected $internal_gapi_mappings = array(
3849
  );
3850
  public $kind;
3851
- protected $tracksType = 'Google_Service_AndroidPublisher_Track';
3852
  protected $tracksDataType = 'array';
3853
 
3854
 
26
  *
27
  * @author Google, Inc.
28
  */
29
+ class Forminator_Google_Service_AndroidPublisher extends Forminator_Google_Service
30
  {
31
  /** View and manage your Google Play Developer account. */
32
  const ANDROIDPUBLISHER =
50
  /**
51
  * Constructs the internal representation of the AndroidPublisher service.
52
  *
53
+ * @param Forminator_Google_Client $client
54
  */
55
+ public function __construct(Forminator_Google_Client $client)
56
  {
57
  parent::__construct($client);
58
  $this->rootUrl = 'https://www.googleapis.com/';
60
  $this->version = 'v2';
61
  $this->serviceName = 'androidpublisher';
62
 
63
+ $this->edits = new Forminator_Google_Service_AndroidPublisher_Edits_Resource(
64
  $this,
65
  $this->serviceName,
66
  'edits',
140
  )
141
  )
142
  );
143
+ $this->edits_apklistings = new Forminator_Google_Service_AndroidPublisher_EditsApklistings_Resource(
144
  $this,
145
  $this->serviceName,
146
  'apklistings',
290
  )
291
  )
292
  );
293
+ $this->edits_apks = new Forminator_Google_Service_AndroidPublisher_EditsApks_Resource(
294
  $this,
295
  $this->serviceName,
296
  'apks',
345
  )
346
  )
347
  );
348
+ $this->edits_details = new Forminator_Google_Service_AndroidPublisher_EditsDetails_Resource(
349
  $this,
350
  $this->serviceName,
351
  'details',
400
  )
401
  )
402
  );
403
+ $this->edits_expansionfiles = new Forminator_Google_Service_AndroidPublisher_EditsExpansionfiles_Resource(
404
  $this,
405
  $this->serviceName,
406
  'expansionfiles',
510
  )
511
  )
512
  );
513
+ $this->edits_images = new Forminator_Google_Service_AndroidPublisher_EditsImages_Resource(
514
  $this,
515
  $this->serviceName,
516
  'images',
625
  )
626
  )
627
  );
628
+ $this->edits_listings = new Forminator_Google_Service_AndroidPublisher_EditsListings_Resource(
629
  $this,
630
  $this->serviceName,
631
  'listings',
745
  )
746
  )
747
  );
748
+ $this->edits_testers = new Forminator_Google_Service_AndroidPublisher_EditsTesters_Resource(
749
  $this,
750
  $this->serviceName,
751
  'testers',
815
  )
816
  )
817
  );
818
+ $this->edits_tracks = new Forminator_Google_Service_AndroidPublisher_EditsTracks_Resource(
819
  $this,
820
  $this->serviceName,
821
  'tracks',
900
  )
901
  )
902
  );
903
+ $this->entitlements = new Forminator_Google_Service_AndroidPublisher_Entitlements_Resource(
904
  $this,
905
  $this->serviceName,
906
  'entitlements',
936
  )
937
  )
938
  );
939
+ $this->inappproducts = new Forminator_Google_Service_AndroidPublisher_Inappproducts_Resource(
940
  $this,
941
  $this->serviceName,
942
  'inappproducts',
1054
  )
1055
  )
1056
  );
1057
+ $this->purchases_products = new Forminator_Google_Service_AndroidPublisher_PurchasesProducts_Resource(
1058
  $this,
1059
  $this->serviceName,
1060
  'products',
1084
  )
1085
  )
1086
  );
1087
+ $this->purchases_subscriptions = new Forminator_Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource(
1088
  $this,
1089
  $this->serviceName,
1090
  'subscriptions',
1202
  * The "edits" collection of methods.
1203
  * Typical usage is:
1204
  * <code>
1205
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
1206
  * $edits = $androidpublisherService->edits;
1207
  * </code>
1208
  */
1209
+ class Forminator_Google_Service_AndroidPublisher_Edits_Resource extends Forminator_Google_Service_Resource
1210
  {
1211
 
1212
  /**
1216
  * being updated; for example, "com.spiffygame".
1217
  * @param string $editId Unique identifier for this edit.
1218
  * @param array $optParams Optional parameters.
1219
+ * @return Forminator_Google_Service_AndroidPublisher_AppEdit
1220
  */
1221
  public function commit($packageName, $editId, $optParams = array())
1222
  {
1223
  $params = array('packageName' => $packageName, 'editId' => $editId);
1224
  $params = array_merge($params, $optParams);
1225
+ return $this->call('commit', array($params), "Forminator_Google_Service_AndroidPublisher_AppEdit");
1226
  }
1227
 
1228
  /**
1250
  * being updated; for example, "com.spiffygame".
1251
  * @param string $editId Unique identifier for this edit.
1252
  * @param array $optParams Optional parameters.
1253
+ * @return Forminator_Google_Service_AndroidPublisher_AppEdit
1254
  */
1255
  public function get($packageName, $editId, $optParams = array())
1256
  {
1257
  $params = array('packageName' => $packageName, 'editId' => $editId);
1258
  $params = array_merge($params, $optParams);
1259
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_AppEdit");
1260
  }
1261
 
1262
  /**
1265
  *
1266
  * @param string $packageName Unique identifier for the Android app that is
1267
  * being updated; for example, "com.spiffygame".
1268
+ * @param Forminator_Google_AppEdit $postBody
1269
  * @param array $optParams Optional parameters.
1270
+ * @return Forminator_Google_Service_AndroidPublisher_AppEdit
1271
  */
1272
+ public function insert($packageName, Forminator_Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
1273
  {
1274
  $params = array('packageName' => $packageName, 'postBody' => $postBody);
1275
  $params = array_merge($params, $optParams);
1276
+ return $this->call('insert', array($params), "Forminator_Google_Service_AndroidPublisher_AppEdit");
1277
  }
1278
 
1279
  /**
1284
  * being updated; for example, "com.spiffygame".
1285
  * @param string $editId Unique identifier for this edit.
1286
  * @param array $optParams Optional parameters.
1287
+ * @return Forminator_Google_Service_AndroidPublisher_AppEdit
1288
  */
1289
  public function validate($packageName, $editId, $optParams = array())
1290
  {
1291
  $params = array('packageName' => $packageName, 'editId' => $editId);
1292
  $params = array_merge($params, $optParams);
1293
+ return $this->call('validate', array($params), "Forminator_Google_Service_AndroidPublisher_AppEdit");
1294
  }
1295
  }
1296
 
1298
  * The "apklistings" collection of methods.
1299
  * Typical usage is:
1300
  * <code>
1301
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
1302
  * $apklistings = $androidpublisherService->apklistings;
1303
  * </code>
1304
  */
1305
+ class Forminator_Google_Service_AndroidPublisher_EditsApklistings_Resource extends Forminator_Google_Service_Resource
1306
  {
1307
 
1308
  /**
1357
  * specific localized listing to read or modify. For example, to select Austrian
1358
  * German, pass "de-AT".
1359
  * @param array $optParams Optional parameters.
1360
+ * @return Forminator_Google_Service_AndroidPublisher_ApkListing
1361
  */
1362
  public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1363
  {
1364
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1365
  $params = array_merge($params, $optParams);
1366
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_ApkListing");
1367
  }
1368
 
1369
  /**
1376
  * @param int $apkVersionCode The APK version code whose APK-specific listings
1377
  * should be read or modified.
1378
  * @param array $optParams Optional parameters.
1379
+ * @return Forminator_Google_Service_AndroidPublisher_ApkListingsListResponse
1380
  */
1381
  public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array())
1382
  {
1383
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1384
  $params = array_merge($params, $optParams);
1385
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidPublisher_ApkListingsListResponse");
1386
  }
1387
 
1388
  /**
1397
  * @param string $language The language code (a BCP-47 language tag) of the APK-
1398
  * specific localized listing to read or modify. For example, to select Austrian
1399
  * German, pass "de-AT".
1400
+ * @param Forminator_Google_ApkListing $postBody
1401
  * @param array $optParams Optional parameters.
1402
+ * @return Forminator_Google_Service_AndroidPublisher_ApkListing
1403
  */
1404
+ public function patch($packageName, $editId, $apkVersionCode, $language, Forminator_Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1405
  {
1406
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1407
  $params = array_merge($params, $optParams);
1408
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidPublisher_ApkListing");
1409
  }
1410
 
1411
  /**
1420
  * @param string $language The language code (a BCP-47 language tag) of the APK-
1421
  * specific localized listing to read or modify. For example, to select Austrian
1422
  * German, pass "de-AT".
1423
+ * @param Forminator_Google_ApkListing $postBody
1424
  * @param array $optParams Optional parameters.
1425
+ * @return Forminator_Google_Service_AndroidPublisher_ApkListing
1426
  */
1427
+ public function update($packageName, $editId, $apkVersionCode, $language, Forminator_Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1428
  {
1429
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1430
  $params = array_merge($params, $optParams);
1431
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidPublisher_ApkListing");
1432
  }
1433
  }
1434
  /**
1435
  * The "apks" collection of methods.
1436
  * Typical usage is:
1437
  * <code>
1438
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
1439
  * $apks = $androidpublisherService->apks;
1440
  * </code>
1441
  */
1442
+ class Forminator_Google_Service_AndroidPublisher_EditsApks_Resource extends Forminator_Google_Service_Resource
1443
  {
1444
 
1445
  /**
1451
  * @param string $packageName Unique identifier for the Android app that is
1452
  * being updated; for example, "com.spiffygame".
1453
  * @param string $editId Unique identifier for this edit.
1454
+ * @param Forminator_Google_ApksAddExternallyHostedRequest $postBody
1455
  * @param array $optParams Optional parameters.
1456
+ * @return Forminator_Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse
1457
  */
1458
+ public function addexternallyhosted($packageName, $editId, Forminator_Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody, $optParams = array())
1459
  {
1460
  $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1461
  $params = array_merge($params, $optParams);
1462
+ return $this->call('addexternallyhosted', array($params), "Forminator_Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse");
1463
  }
1464
 
1465
  /**
1469
  * being updated; for example, "com.spiffygame".
1470
  * @param string $editId Unique identifier for this edit.
1471
  * @param array $optParams Optional parameters.
1472
+ * @return Forminator_Google_Service_AndroidPublisher_ApksListResponse
1473
  */
1474
  public function listEditsApks($packageName, $editId, $optParams = array())
1475
  {
1476
  $params = array('packageName' => $packageName, 'editId' => $editId);
1477
  $params = array_merge($params, $optParams);
1478
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidPublisher_ApksListResponse");
1479
  }
1480
 
1481
  /**
1485
  * being updated; for example, "com.spiffygame".
1486
  * @param string $editId Unique identifier for this edit.
1487
  * @param array $optParams Optional parameters.
1488
+ * @return Forminator_Google_Service_AndroidPublisher_Apk
1489
  */
1490
  public function upload($packageName, $editId, $optParams = array())
1491
  {
1492
  $params = array('packageName' => $packageName, 'editId' => $editId);
1493
  $params = array_merge($params, $optParams);
1494
+ return $this->call('upload', array($params), "Forminator_Google_Service_AndroidPublisher_Apk");
1495
  }
1496
  }
1497
  /**
1498
  * The "details" collection of methods.
1499
  * Typical usage is:
1500
  * <code>
1501
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
1502
  * $details = $androidpublisherService->details;
1503
  * </code>
1504
  */
1505
+ class Forminator_Google_Service_AndroidPublisher_EditsDetails_Resource extends Forminator_Google_Service_Resource
1506
  {
1507
 
1508
  /**
1513
  * being updated; for example, "com.spiffygame".
1514
  * @param string $editId Unique identifier for this edit.
1515
  * @param array $optParams Optional parameters.
1516
+ * @return Forminator_Google_Service_AndroidPublisher_AppDetails
1517
  */
1518
  public function get($packageName, $editId, $optParams = array())
1519
  {
1520
  $params = array('packageName' => $packageName, 'editId' => $editId);
1521
  $params = array_merge($params, $optParams);
1522
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_AppDetails");
1523
  }
1524
 
1525
  /**
1529
  * @param string $packageName Unique identifier for the Android app that is
1530
  * being updated; for example, "com.spiffygame".
1531
  * @param string $editId Unique identifier for this edit.
1532
+ * @param Forminator_Google_AppDetails $postBody
1533
  * @param array $optParams Optional parameters.
1534
+ * @return Forminator_Google_Service_AndroidPublisher_AppDetails
1535
  */
1536
+ public function patch($packageName, $editId, Forminator_Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1537
  {
1538
  $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1539
  $params = array_merge($params, $optParams);
1540
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidPublisher_AppDetails");
1541
  }
1542
 
1543
  /**
1546
  * @param string $packageName Unique identifier for the Android app that is
1547
  * being updated; for example, "com.spiffygame".
1548
  * @param string $editId Unique identifier for this edit.
1549
+ * @param Forminator_Google_AppDetails $postBody
1550
  * @param array $optParams Optional parameters.
1551
+ * @return Forminator_Google_Service_AndroidPublisher_AppDetails
1552
  */
1553
+ public function update($packageName, $editId, Forminator_Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1554
  {
1555
  $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1556
  $params = array_merge($params, $optParams);
1557
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidPublisher_AppDetails");
1558
  }
1559
  }
1560
  /**
1561
  * The "expansionfiles" collection of methods.
1562
  * Typical usage is:
1563
  * <code>
1564
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
1565
  * $expansionfiles = $androidpublisherService->expansionfiles;
1566
  * </code>
1567
  */
1568
+ class Forminator_Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Forminator_Google_Service_Resource
1569
  {
1570
 
1571
  /**
1579
  * configuration is being read or modified.
1580
  * @param string $expansionFileType
1581
  * @param array $optParams Optional parameters.
1582
+ * @return Forminator_Google_Service_AndroidPublisher_ExpansionFile
1583
  */
1584
  public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1585
  {
1586
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1587
  $params = array_merge($params, $optParams);
1588
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_ExpansionFile");
1589
  }
1590
 
1591
  /**
1599
  * @param int $apkVersionCode The version code of the APK whose Expansion File
1600
  * configuration is being read or modified.
1601
  * @param string $expansionFileType
1602
+ * @param Forminator_Google_ExpansionFile $postBody
1603
  * @param array $optParams Optional parameters.
1604
+ * @return Forminator_Google_Service_AndroidPublisher_ExpansionFile
1605
  */
1606
+ public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Forminator_Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1607
  {
1608
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1609
  $params = array_merge($params, $optParams);
1610
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidPublisher_ExpansionFile");
1611
  }
1612
 
1613
  /**
1621
  * @param int $apkVersionCode The version code of the APK whose Expansion File
1622
  * configuration is being read or modified.
1623
  * @param string $expansionFileType
1624
+ * @param Forminator_Google_ExpansionFile $postBody
1625
  * @param array $optParams Optional parameters.
1626
+ * @return Forminator_Google_Service_AndroidPublisher_ExpansionFile
1627
  */
1628
+ public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Forminator_Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1629
  {
1630
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1631
  $params = array_merge($params, $optParams);
1632
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidPublisher_ExpansionFile");
1633
  }
1634
 
1635
  /**
1643
  * configuration is being read or modified.
1644
  * @param string $expansionFileType
1645
  * @param array $optParams Optional parameters.
1646
+ * @return Forminator_Google_Service_AndroidPublisher_ExpansionFilesUploadResponse
1647
  */
1648
  public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1649
  {
1650
  $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1651
  $params = array_merge($params, $optParams);
1652
+ return $this->call('upload', array($params), "Forminator_Google_Service_AndroidPublisher_ExpansionFilesUploadResponse");
1653
  }
1654
  }
1655
  /**
1656
  * The "images" collection of methods.
1657
  * Typical usage is:
1658
  * <code>
1659
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
1660
  * $images = $androidpublisherService->images;
1661
  * </code>
1662
  */
1663
+ class Forminator_Google_Service_AndroidPublisher_EditsImages_Resource extends Forminator_Google_Service_Resource
1664
  {
1665
 
1666
  /**
1696
  * select Austrian German, pass "de-AT".
1697
  * @param string $imageType
1698
  * @param array $optParams Optional parameters.
1699
+ * @return Forminator_Google_Service_AndroidPublisher_ImagesDeleteAllResponse
1700
  */
1701
  public function deleteall($packageName, $editId, $language, $imageType, $optParams = array())
1702
  {
1703
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1704
  $params = array_merge($params, $optParams);
1705
+ return $this->call('deleteall', array($params), "Forminator_Google_Service_AndroidPublisher_ImagesDeleteAllResponse");
1706
  }
1707
 
1708
  /**
1717
  * select Austrian German, pass "de-AT".
1718
  * @param string $imageType
1719
  * @param array $optParams Optional parameters.
1720
+ * @return Forminator_Google_Service_AndroidPublisher_ImagesListResponse
1721
  */
1722
  public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array())
1723
  {
1724
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1725
  $params = array_merge($params, $optParams);
1726
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidPublisher_ImagesListResponse");
1727
  }
1728
 
1729
  /**
1738
  * select Austrian German, pass "de-AT".
1739
  * @param string $imageType
1740
  * @param array $optParams Optional parameters.
1741
+ * @return Forminator_Google_Service_AndroidPublisher_ImagesUploadResponse
1742
  */
1743
  public function upload($packageName, $editId, $language, $imageType, $optParams = array())
1744
  {
1745
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1746
  $params = array_merge($params, $optParams);
1747
+ return $this->call('upload', array($params), "Forminator_Google_Service_AndroidPublisher_ImagesUploadResponse");
1748
  }
1749
  }
1750
  /**
1751
  * The "listings" collection of methods.
1752
  * Typical usage is:
1753
  * <code>
1754
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
1755
  * $listings = $androidpublisherService->listings;
1756
  * </code>
1757
  */
1758
+ class Forminator_Google_Service_AndroidPublisher_EditsListings_Resource extends Forminator_Google_Service_Resource
1759
  {
1760
 
1761
  /**
1801
  * localized listing to read or modify. For example, to select Austrian German,
1802
  * pass "de-AT".
1803
  * @param array $optParams Optional parameters.
1804
+ * @return Forminator_Google_Service_AndroidPublisher_Listing
1805
  */
1806
  public function get($packageName, $editId, $language, $optParams = array())
1807
  {
1808
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1809
  $params = array_merge($params, $optParams);
1810
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_Listing");
1811
  }
1812
 
1813
  /**
1818
  * being updated; for example, "com.spiffygame".
1819
  * @param string $editId Unique identifier for this edit.
1820
  * @param array $optParams Optional parameters.
1821
+ * @return Forminator_Google_Service_AndroidPublisher_ListingsListResponse
1822
  */
1823
  public function listEditsListings($packageName, $editId, $optParams = array())
1824
  {
1825
  $params = array('packageName' => $packageName, 'editId' => $editId);
1826
  $params = array_merge($params, $optParams);
1827
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidPublisher_ListingsListResponse");
1828
  }
1829
 
1830
  /**
1837
  * @param string $language The language code (a BCP-47 language tag) of the
1838
  * localized listing to read or modify. For example, to select Austrian German,
1839
  * pass "de-AT".
1840
+ * @param Forminator_Google_Listing $postBody
1841
  * @param array $optParams Optional parameters.
1842
+ * @return Forminator_Google_Service_AndroidPublisher_Listing
1843
  */
1844
+ public function patch($packageName, $editId, $language, Forminator_Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1845
  {
1846
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1847
  $params = array_merge($params, $optParams);
1848
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidPublisher_Listing");
1849
  }
1850
 
1851
  /**
1857
  * @param string $language The language code (a BCP-47 language tag) of the
1858
  * localized listing to read or modify. For example, to select Austrian German,
1859
  * pass "de-AT".
1860
+ * @param Forminator_Google_Listing $postBody
1861
  * @param array $optParams Optional parameters.
1862
+ * @return Forminator_Google_Service_AndroidPublisher_Listing
1863
  */
1864
+ public function update($packageName, $editId, $language, Forminator_Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1865
  {
1866
  $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1867
  $params = array_merge($params, $optParams);
1868
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidPublisher_Listing");
1869
  }
1870
  }
1871
  /**
1872
  * The "testers" collection of methods.
1873
  * Typical usage is:
1874
  * <code>
1875
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
1876
  * $testers = $androidpublisherService->testers;
1877
  * </code>
1878
  */
1879
+ class Forminator_Google_Service_AndroidPublisher_EditsTesters_Resource extends Forminator_Google_Service_Resource
1880
  {
1881
 
1882
  /**
1887
  * @param string $editId Unique identifier for this edit.
1888
  * @param string $track
1889
  * @param array $optParams Optional parameters.
1890
+ * @return Forminator_Google_Service_AndroidPublisher_Testers
1891
  */
1892
  public function get($packageName, $editId, $track, $optParams = array())
1893
  {
1894
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1895
  $params = array_merge($params, $optParams);
1896
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_Testers");
1897
  }
1898
 
1899
  /**
1903
  * being updated; for example, "com.spiffygame".
1904
  * @param string $editId Unique identifier for this edit.
1905
  * @param string $track
1906
+ * @param Forminator_Google_Testers $postBody
1907
  * @param array $optParams Optional parameters.
1908
+ * @return Forminator_Google_Service_AndroidPublisher_Testers
1909
  */
1910
+ public function patch($packageName, $editId, $track, Forminator_Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1911
  {
1912
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1913
  $params = array_merge($params, $optParams);
1914
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidPublisher_Testers");
1915
  }
1916
 
1917
  /**
1921
  * being updated; for example, "com.spiffygame".
1922
  * @param string $editId Unique identifier for this edit.
1923
  * @param string $track
1924
+ * @param Forminator_Google_Testers $postBody
1925
  * @param array $optParams Optional parameters.
1926
+ * @return Forminator_Google_Service_AndroidPublisher_Testers
1927
  */
1928
+ public function update($packageName, $editId, $track, Forminator_Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1929
  {
1930
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1931
  $params = array_merge($params, $optParams);
1932
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidPublisher_Testers");
1933
  }
1934
  }
1935
  /**
1936
  * The "tracks" collection of methods.
1937
  * Typical usage is:
1938
  * <code>
1939
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
1940
  * $tracks = $androidpublisherService->tracks;
1941
  * </code>
1942
  */
1943
+ class Forminator_Google_Service_AndroidPublisher_EditsTracks_Resource extends Forminator_Google_Service_Resource
1944
  {
1945
 
1946
  /**
1952
  * @param string $editId Unique identifier for this edit.
1953
  * @param string $track The track type to read or modify.
1954
  * @param array $optParams Optional parameters.
1955
+ * @return Forminator_Google_Service_AndroidPublisher_Track
1956
  */
1957
  public function get($packageName, $editId, $track, $optParams = array())
1958
  {
1959
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1960
  $params = array_merge($params, $optParams);
1961
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_Track");
1962
  }
1963
 
1964
  /**
1968
  * being updated; for example, "com.spiffygame".
1969
  * @param string $editId Unique identifier for this edit.
1970
  * @param array $optParams Optional parameters.
1971
+ * @return Forminator_Google_Service_AndroidPublisher_TracksListResponse
1972
  */
1973
  public function listEditsTracks($packageName, $editId, $optParams = array())
1974
  {
1975
  $params = array('packageName' => $packageName, 'editId' => $editId);
1976
  $params = array_merge($params, $optParams);
1977
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidPublisher_TracksListResponse");
1978
  }
1979
 
1980
  /**
1987
  * being updated; for example, "com.spiffygame".
1988
  * @param string $editId Unique identifier for this edit.
1989
  * @param string $track The track type to read or modify.
1990
+ * @param Forminator_Google_Track $postBody
1991
  * @param array $optParams Optional parameters.
1992
+ * @return Forminator_Google_Service_AndroidPublisher_Track
1993
  */
1994
+ public function patch($packageName, $editId, $track, Forminator_Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
1995
  {
1996
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1997
  $params = array_merge($params, $optParams);
1998
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidPublisher_Track");
1999
  }
2000
 
2001
  /**
2007
  * being updated; for example, "com.spiffygame".
2008
  * @param string $editId Unique identifier for this edit.
2009
  * @param string $track The track type to read or modify.
2010
+ * @param Forminator_Google_Track $postBody
2011
  * @param array $optParams Optional parameters.
2012
+ * @return Forminator_Google_Service_AndroidPublisher_Track
2013
  */
2014
+ public function update($packageName, $editId, $track, Forminator_Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
2015
  {
2016
  $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
2017
  $params = array_merge($params, $optParams);
2018
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidPublisher_Track");
2019
  }
2020
  }
2021
 
2023
  * The "entitlements" collection of methods.
2024
  * Typical usage is:
2025
  * <code>
2026
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
2027
  * $entitlements = $androidpublisherService->entitlements;
2028
  * </code>
2029
  */
2030
+ class Forminator_Google_Service_AndroidPublisher_Entitlements_Resource extends Forminator_Google_Service_Resource
2031
  {
2032
 
2033
  /**
2043
  * 'sku1'). This can be used to restrict the result set.
2044
  * @opt_param string startIndex
2045
  * @opt_param string token
2046
+ * @return Forminator_Google_Service_AndroidPublisher_EntitlementsListResponse
2047
  */
2048
  public function listEntitlements($packageName, $optParams = array())
2049
  {
2050
  $params = array('packageName' => $packageName);
2051
  $params = array_merge($params, $optParams);
2052
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidPublisher_EntitlementsListResponse");
2053
  }
2054
  }
2055
 
2057
  * The "inappproducts" collection of methods.
2058
  * Typical usage is:
2059
  * <code>
2060
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
2061
  * $inappproducts = $androidpublisherService->inappproducts;
2062
  * </code>
2063
  */
2064
+ class Forminator_Google_Service_AndroidPublisher_Inappproducts_Resource extends Forminator_Google_Service_Resource
2065
  {
2066
 
2067
  /**
2068
  * (inappproducts.batch)
2069
  *
2070
+ * @param Forminator_Google_InappproductsBatchRequest $postBody
2071
  * @param array $optParams Optional parameters.
2072
+ * @return Forminator_Google_Service_AndroidPublisher_InappproductsBatchResponse
2073
  */
2074
+ public function batch(Forminator_Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
2075
  {
2076
  $params = array('postBody' => $postBody);
2077
  $params = array_merge($params, $optParams);
2078
+ return $this->call('batch', array($params), "Forminator_Google_Service_AndroidPublisher_InappproductsBatchResponse");
2079
  }
2080
 
2081
  /**
2099
  * @param string $packageName
2100
  * @param string $sku Unique identifier for the in-app product.
2101
  * @param array $optParams Optional parameters.
2102
+ * @return Forminator_Google_Service_AndroidPublisher_InAppProduct
2103
  */
2104
  public function get($packageName, $sku, $optParams = array())
2105
  {
2106
  $params = array('packageName' => $packageName, 'sku' => $sku);
2107
  $params = array_merge($params, $optParams);
2108
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_InAppProduct");
2109
  }
2110
 
2111
  /**
2113
  *
2114
  * @param string $packageName Unique identifier for the Android app; for
2115
  * example, "com.spiffygame".
2116
+ * @param Forminator_Google_InAppProduct $postBody
2117
  * @param array $optParams Optional parameters.
2118
  *
2119
  * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2120
  * targeted by the parent app that don't have a price specified for this in-app
2121
  * product will be auto converted to the target currency based on the default
2122
  * price. Defaults to false.
2123
+ * @return Forminator_Google_Service_AndroidPublisher_InAppProduct
2124
  */
2125
+ public function insert($packageName, Forminator_Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2126
  {
2127
  $params = array('packageName' => $packageName, 'postBody' => $postBody);
2128
  $params = array_merge($params, $optParams);
2129
+ return $this->call('insert', array($params), "Forminator_Google_Service_AndroidPublisher_InAppProduct");
2130
  }
2131
 
2132
  /**
2140
  * @opt_param string maxResults
2141
  * @opt_param string startIndex
2142
  * @opt_param string token
2143
+ * @return Forminator_Google_Service_AndroidPublisher_InappproductsListResponse
2144
  */
2145
  public function listInappproducts($packageName, $optParams = array())
2146
  {
2147
  $params = array('packageName' => $packageName);
2148
  $params = array_merge($params, $optParams);
2149
+ return $this->call('list', array($params), "Forminator_Google_Service_AndroidPublisher_InappproductsListResponse");
2150
  }
2151
 
2152
  /**
2156
  * @param string $packageName Unique identifier for the Android app with the in-
2157
  * app product; for example, "com.spiffygame".
2158
  * @param string $sku Unique identifier for the in-app product.
2159
+ * @param Forminator_Google_InAppProduct $postBody
2160
  * @param array $optParams Optional parameters.
2161
  *
2162
  * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2163
  * targeted by the parent app that don't have a price specified for this in-app
2164
  * product will be auto converted to the target currency based on the default
2165
  * price. Defaults to false.
2166
+ * @return Forminator_Google_Service_AndroidPublisher_InAppProduct
2167
  */
2168
+ public function patch($packageName, $sku, Forminator_Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2169
  {
2170
  $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2171
  $params = array_merge($params, $optParams);
2172
+ return $this->call('patch', array($params), "Forminator_Google_Service_AndroidPublisher_InAppProduct");
2173
  }
2174
 
2175
  /**
2178
  * @param string $packageName Unique identifier for the Android app with the in-
2179
  * app product; for example, "com.spiffygame".
2180
  * @param string $sku Unique identifier for the in-app product.
2181
+ * @param Forminator_Google_InAppProduct $postBody
2182
  * @param array $optParams Optional parameters.
2183
  *
2184
  * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2185
  * targeted by the parent app that don't have a price specified for this in-app
2186
  * product will be auto converted to the target currency based on the default
2187
  * price. Defaults to false.
2188
+ * @return Forminator_Google_Service_AndroidPublisher_InAppProduct
2189
  */
2190
+ public function update($packageName, $sku, Forminator_Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2191
  {
2192
  $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2193
  $params = array_merge($params, $optParams);
2194
+ return $this->call('update', array($params), "Forminator_Google_Service_AndroidPublisher_InAppProduct");
2195
  }
2196
  }
2197
 
2199
  * The "purchases" collection of methods.
2200
  * Typical usage is:
2201
  * <code>
2202
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
2203
  * $purchases = $androidpublisherService->purchases;
2204
  * </code>
2205
  */
2206
+ class Forminator_Google_Service_AndroidPublisher_Purchases_Resource extends Forminator_Google_Service_Resource
2207
  {
2208
  }
2209
 
2211
  * The "products" collection of methods.
2212
  * Typical usage is:
2213
  * <code>
2214
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
2215
  * $products = $androidpublisherService->products;
2216
  * </code>
2217
  */
2218
+ class Forminator_Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Forminator_Google_Service_Resource
2219
  {
2220
 
2221
  /**
2228
  * @param string $token The token provided to the user's device when the inapp
2229
  * product was purchased.
2230
  * @param array $optParams Optional parameters.
2231
+ * @return Forminator_Google_Service_AndroidPublisher_ProductPurchase
2232
  */
2233
  public function get($packageName, $productId, $token, $optParams = array())
2234
  {
2235
  $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
2236
  $params = array_merge($params, $optParams);
2237
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_ProductPurchase");
2238
  }
2239
  }
2240
  /**
2241
  * The "subscriptions" collection of methods.
2242
  * Typical usage is:
2243
  * <code>
2244
+ * $androidpublisherService = new Forminator_Google_Service_AndroidPublisher(...);
2245
  * $subscriptions = $androidpublisherService->subscriptions;
2246
  * </code>
2247
  */
2248
+ class Forminator_Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Forminator_Google_Service_Resource
2249
  {
2250
 
2251
  /**
2277
  * 'monthly001').
2278
  * @param string $token The token provided to the user's device when the
2279
  * subscription was purchased.
2280
+ * @param Forminator_Google_SubscriptionPurchasesDeferRequest $postBody
2281
  * @param array $optParams Optional parameters.
2282
+ * @return Forminator_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
2283
  */
2284
+ public function defer($packageName, $subscriptionId, $token, Forminator_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody, $optParams = array())
2285
  {
2286
  $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token, 'postBody' => $postBody);
2287
  $params = array_merge($params, $optParams);
2288
+ return $this->call('defer', array($params), "Forminator_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse");
2289
  }
2290
 
2291
  /**
2299
  * @param string $token The token provided to the user's device when the
2300
  * subscription was purchased.
2301
  * @param array $optParams Optional parameters.
2302
+ * @return Forminator_Google_Service_AndroidPublisher_SubscriptionPurchase
2303
  */
2304
  public function get($packageName, $subscriptionId, $token, $optParams = array())
2305
  {
2306
  $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2307
  $params = array_merge($params, $optParams);
2308
+ return $this->call('get', array($params), "Forminator_Google_Service_AndroidPublisher_SubscriptionPurchase");
2309
  }
2310
 
2311
  /**
2352
 
2353
 
2354
 
2355
+ class Forminator_Google_Service_AndroidPublisher_Apk extends Forminator_Google_Model
2356
  {
2357
  protected $internal_gapi_mappings = array(
2358
  );
2359
+ protected $binaryType = 'Forminator_Google_Service_AndroidPublisher_ApkBinary';
2360
  protected $binaryDataType = '';
2361
  public $versionCode;
2362
 
2363
 
2364
+ public function setBinary(Forminator_Google_Service_AndroidPublisher_ApkBinary $binary)
2365
  {
2366
  $this->binary = $binary;
2367
  }
2379
  }
2380
  }
2381
 
2382
+ class Forminator_Google_Service_AndroidPublisher_ApkBinary extends Forminator_Google_Model
2383
  {
2384
  protected $internal_gapi_mappings = array(
2385
  );
2396
  }
2397
  }
2398
 
2399
+ class Forminator_Google_Service_AndroidPublisher_ApkListing extends Forminator_Google_Model
2400
  {
2401
  protected $internal_gapi_mappings = array(
2402
  );
2422
  }
2423
  }
2424
 
2425
+ class Forminator_Google_Service_AndroidPublisher_ApkListingsListResponse extends Forminator_Google_Collection
2426
  {
2427
  protected $collection_key = 'listings';
2428
  protected $internal_gapi_mappings = array(
2429
  );
2430
  public $kind;
2431
+ protected $listingsType = 'Forminator_Google_Service_AndroidPublisher_ApkListing';
2432
  protected $listingsDataType = 'array';
2433
 
2434
 
2450
  }
2451
  }
2452
 
2453
+ class Forminator_Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest extends Forminator_Google_Model
2454
  {
2455
  protected $internal_gapi_mappings = array(
2456
  );
2457
+ protected $externallyHostedApkType = 'Forminator_Google_Service_AndroidPublisher_ExternallyHostedApk';
2458
  protected $externallyHostedApkDataType = '';
2459
 
2460
 
2461
+ public function setExternallyHostedApk(Forminator_Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
2462
  {
2463
  $this->externallyHostedApk = $externallyHostedApk;
2464
  }
2468
  }
2469
  }
2470
 
2471
+ class Forminator_Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse extends Forminator_Google_Model
2472
  {
2473
  protected $internal_gapi_mappings = array(
2474
  );
2475
+ protected $externallyHostedApkType = 'Forminator_Google_Service_AndroidPublisher_ExternallyHostedApk';
2476
  protected $externallyHostedApkDataType = '';
2477
 
2478
 
2479
+ public function setExternallyHostedApk(Forminator_Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
2480
  {
2481
  $this->externallyHostedApk = $externallyHostedApk;
2482
  }
2486
  }
2487
  }
2488
 
2489
+ class Forminator_Google_Service_AndroidPublisher_ApksListResponse extends Forminator_Google_Collection
2490
  {
2491
  protected $collection_key = 'apks';
2492
  protected $internal_gapi_mappings = array(
2493
  );
2494
+ protected $apksType = 'Forminator_Google_Service_AndroidPublisher_Apk';
2495
  protected $apksDataType = 'array';
2496
  public $kind;
2497
 
2514
  }
2515
  }
2516
 
2517
+ class Forminator_Google_Service_AndroidPublisher_AppDetails extends Forminator_Google_Model
2518
  {
2519
  protected $internal_gapi_mappings = array(
2520
  );
2558
  }
2559
  }
2560
 
2561
+ class Forminator_Google_Service_AndroidPublisher_AppEdit extends Forminator_Google_Model
2562
  {
2563
  protected $internal_gapi_mappings = array(
2564
  );
2584
  }
2585
  }
2586
 
2587
+ class Forminator_Google_Service_AndroidPublisher_Entitlement extends Forminator_Google_Model
2588
  {
2589
  protected $internal_gapi_mappings = array(
2590
  );
2628
  }
2629
  }
2630
 
2631
+ class Forminator_Google_Service_AndroidPublisher_EntitlementsListResponse extends Forminator_Google_Collection
2632
  {
2633
  protected $collection_key = 'resources';
2634
  protected $internal_gapi_mappings = array(
2635
  );
2636
+ protected $pageInfoType = 'Forminator_Google_Service_AndroidPublisher_PageInfo';
2637
  protected $pageInfoDataType = '';
2638
+ protected $resourcesType = 'Forminator_Google_Service_AndroidPublisher_Entitlement';
2639
  protected $resourcesDataType = 'array';
2640
+ protected $tokenPaginationType = 'Forminator_Google_Service_AndroidPublisher_TokenPagination';
2641
  protected $tokenPaginationDataType = '';
2642
 
2643
 
2644
+ public function setPageInfo(Forminator_Google_Service_AndroidPublisher_PageInfo $pageInfo)
2645
  {
2646
  $this->pageInfo = $pageInfo;
2647
  }
2657
  {
2658
  return $this->resources;
2659
  }
2660
+ public function setTokenPagination(Forminator_Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
2661
  {
2662
  $this->tokenPagination = $tokenPagination;
2663
  }
2667
  }
2668
  }
2669
 
2670
+ class Forminator_Google_Service_AndroidPublisher_ExpansionFile extends Forminator_Google_Model
2671
  {
2672
  protected $internal_gapi_mappings = array(
2673
  );
2693
  }
2694
  }
2695
 
2696
+ class Forminator_Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Forminator_Google_Model
2697
  {
2698
  protected $internal_gapi_mappings = array(
2699
  );
2700
+ protected $expansionFileType = 'Forminator_Google_Service_AndroidPublisher_ExpansionFile';
2701
  protected $expansionFileDataType = '';
2702
 
2703
 
2704
+ public function setExpansionFile(Forminator_Google_Service_AndroidPublisher_ExpansionFile $expansionFile)
2705
  {
2706
  $this->expansionFile = $expansionFile;
2707
  }
2711
  }
2712
  }
2713
 
2714
+ class Forminator_Google_Service_AndroidPublisher_ExternallyHostedApk extends Forminator_Google_Collection
2715
  {
2716
  protected $collection_key = 'usesPermissions';
2717
  protected $internal_gapi_mappings = array(
2728
  public $nativeCodes;
2729
  public $packageName;
2730
  public $usesFeatures;
2731
+ protected $usesPermissionsType = 'Forminator_Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission';
2732
  protected $usesPermissionsDataType = 'array';
2733
  public $versionCode;
2734
  public $versionName;
2856
  }
2857
  }
2858
 
2859
+ class Forminator_Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission extends Forminator_Google_Model
2860
  {
2861
  protected $internal_gapi_mappings = array(
2862
  );
2882
  }
2883
  }
2884
 
2885
+ class Forminator_Google_Service_AndroidPublisher_Image extends Forminator_Google_Model
2886
  {
2887
  protected $internal_gapi_mappings = array(
2888
  );
2917
  }
2918
  }
2919
 
2920
+ class Forminator_Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Forminator_Google_Collection
2921
  {
2922
  protected $collection_key = 'deleted';
2923
  protected $internal_gapi_mappings = array(
2924
  );
2925
+ protected $deletedType = 'Forminator_Google_Service_AndroidPublisher_Image';
2926
  protected $deletedDataType = 'array';
2927
 
2928
 
2936
  }
2937
  }
2938
 
2939
+ class Forminator_Google_Service_AndroidPublisher_ImagesListResponse extends Forminator_Google_Collection
2940
  {
2941
  protected $collection_key = 'images';
2942
  protected $internal_gapi_mappings = array(
2943
  );
2944
+ protected $imagesType = 'Forminator_Google_Service_AndroidPublisher_Image';
2945
  protected $imagesDataType = 'array';
2946
 
2947
 
2955
  }
2956
  }
2957
 
2958
+ class Forminator_Google_Service_AndroidPublisher_ImagesUploadResponse extends Forminator_Google_Model
2959
  {
2960
  protected $internal_gapi_mappings = array(
2961
  );
2962
+ protected $imageType = 'Forminator_Google_Service_AndroidPublisher_Image';
2963
  protected $imageDataType = '';
2964
 
2965
 
2966
+ public function setImage(Forminator_Google_Service_AndroidPublisher_Image $image)
2967
  {
2968
  $this->image = $image;
2969
  }
2973
  }
2974
  }
2975
 
2976
+ class Forminator_Google_Service_AndroidPublisher_InAppProduct extends Forminator_Google_Model
2977
  {
2978
  protected $internal_gapi_mappings = array(
2979
  );
2980
  public $defaultLanguage;
2981
+ protected $defaultPriceType = 'Forminator_Google_Service_AndroidPublisher_Price';
2982
  protected $defaultPriceDataType = '';
2983
+ protected $listingsType = 'Forminator_Google_Service_AndroidPublisher_InAppProductListing';
2984
  protected $listingsDataType = 'map';
2985
  public $packageName;
2986
+ protected $pricesType = 'Forminator_Google_Service_AndroidPublisher_Price';
2987
  protected $pricesDataType = 'map';
2988
  public $purchaseType;
2989
+ protected $seasonType = 'Forminator_Google_Service_AndroidPublisher_Season';
2990
  protected $seasonDataType = '';
2991
  public $sku;
2992
  public $status;
3002
  {
3003
  return $this->defaultLanguage;
3004
  }
3005
+ public function setDefaultPrice(Forminator_Google_Service_AndroidPublisher_Price $defaultPrice)
3006
  {
3007
  $this->defaultPrice = $defaultPrice;
3008
  }
3042
  {
3043
  return $this->purchaseType;
3044
  }
3045
+ public function setSeason(Forminator_Google_Service_AndroidPublisher_Season $season)
3046
  {
3047
  $this->season = $season;
3048
  }
3084
  }
3085
  }
3086
 
3087
+ class Forminator_Google_Service_AndroidPublisher_InAppProductListing extends Forminator_Google_Model
3088
  {
3089
  protected $internal_gapi_mappings = array(
3090
  );
3110
  }
3111
  }
3112
 
3113
+ class Forminator_Google_Service_AndroidPublisher_InappproductsBatchRequest extends Forminator_Google_Collection
3114
  {
3115
  protected $collection_key = 'entrys';
3116
  protected $internal_gapi_mappings = array(
3117
  );
3118
+ protected $entrysType = 'Forminator_Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
3119
  protected $entrysDataType = 'array';
3120
 
3121
 
3129
  }
3130
  }
3131
 
3132
+ class Forminator_Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Forminator_Google_Model
3133
  {
3134
  protected $internal_gapi_mappings = array(
3135
  );
3136
  public $batchId;
3137
+ protected $inappproductsinsertrequestType = 'Forminator_Google_Service_AndroidPublisher_InappproductsInsertRequest';
3138
  protected $inappproductsinsertrequestDataType = '';
3139
+ protected $inappproductsupdaterequestType = 'Forminator_Google_Service_AndroidPublisher_InappproductsUpdateRequest';
3140
  protected $inappproductsupdaterequestDataType = '';
3141
  public $methodName;
3142
 
3149
  {
3150
  return $this->batchId;
3151
  }
3152
+ public function setInappproductsinsertrequest(Forminator_Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
3153
  {
3154
  $this->inappproductsinsertrequest = $inappproductsinsertrequest;
3155
  }
3157
  {
3158
  return $this->inappproductsinsertrequest;
3159
  }
3160
+ public function setInappproductsupdaterequest(Forminator_Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest)
3161
  {
3162
  $this->inappproductsupdaterequest = $inappproductsupdaterequest;
3163
  }
3175
  }
3176
  }
3177
 
3178
+ class Forminator_Google_Service_AndroidPublisher_InappproductsBatchResponse extends Forminator_Google_Collection
3179
  {
3180
  protected $collection_key = 'entrys';
3181
  protected $internal_gapi_mappings = array(
3182
  );
3183
+ protected $entrysType = 'Forminator_Google_Service_AndroidPublisher_InappproductsBatchResponseEntry';
3184
  protected $entrysDataType = 'array';
3185
  public $kind;
3186
 
3203
  }
3204
  }
3205
 
3206
+ class Forminator_Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Forminator_Google_Model
3207
  {
3208
  protected $internal_gapi_mappings = array(
3209
  );
3210
  public $batchId;
3211
+ protected $inappproductsinsertresponseType = 'Forminator_Google_Service_AndroidPublisher_InappproductsInsertResponse';
3212
  protected $inappproductsinsertresponseDataType = '';
3213
+ protected $inappproductsupdateresponseType = 'Forminator_Google_Service_AndroidPublisher_InappproductsUpdateResponse';
3214
  protected $inappproductsupdateresponseDataType = '';
3215
 
3216
 
3222
  {
3223
  return $this->batchId;
3224
  }
3225
+ public function setInappproductsinsertresponse(Forminator_Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
3226
  {
3227
  $this->inappproductsinsertresponse = $inappproductsinsertresponse;
3228
  }
3230
  {
3231
  return $this->inappproductsinsertresponse;
3232
  }
3233
+ public function setInappproductsupdateresponse(Forminator_Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
3234
  {
3235
  $this->inappproductsupdateresponse = $inappproductsupdateresponse;
3236
  }
3240
  }
3241
  }
3242
 
3243
+ class Forminator_Google_Service_AndroidPublisher_InappproductsInsertRequest extends Forminator_Google_Model
3244
  {
3245
  protected $internal_gapi_mappings = array(
3246
  );
3247
+ protected $inappproductType = 'Forminator_Google_Service_AndroidPublisher_InAppProduct';
3248
  protected $inappproductDataType = '';
3249
 
3250
 
3251
+ public function setInappproduct(Forminator_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3252
  {
3253
  $this->inappproduct = $inappproduct;
3254
  }
3258
  }
3259
  }
3260
 
3261
+ class Forminator_Google_Service_AndroidPublisher_InappproductsInsertResponse extends Forminator_Google_Model
3262
  {
3263
  protected $internal_gapi_mappings = array(
3264
  );
3265
+ protected $inappproductType = 'Forminator_Google_Service_AndroidPublisher_InAppProduct';
3266
  protected $inappproductDataType = '';
3267
 
3268
 
3269
+ public function setInappproduct(Forminator_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3270
  {
3271
  $this->inappproduct = $inappproduct;
3272
  }
3276
  }
3277
  }
3278
 
3279
+ class Forminator_Google_Service_AndroidPublisher_InappproductsListResponse extends Forminator_Google_Collection
3280
  {
3281
  protected $collection_key = 'inappproduct';
3282
  protected $internal_gapi_mappings = array(
3283
  );
3284
+ protected $inappproductType = 'Forminator_Google_Service_AndroidPublisher_InAppProduct';
3285
  protected $inappproductDataType = 'array';
3286
  public $kind;
3287
+ protected $pageInfoType = 'Forminator_Google_Service_AndroidPublisher_PageInfo';
3288
  protected $pageInfoDataType = '';
3289
+ protected $tokenPaginationType = 'Forminator_Google_Service_AndroidPublisher_TokenPagination';
3290
  protected $tokenPaginationDataType = '';
3291
 
3292
 
3306
  {
3307
  return $this->kind;
3308
  }
3309
+ public function setPageInfo(Forminator_Google_Service_AndroidPublisher_PageInfo $pageInfo)
3310
  {
3311
  $this->pageInfo = $pageInfo;
3312
  }
3314
  {
3315
  return $this->pageInfo;
3316
  }
3317
+ public function setTokenPagination(Forminator_Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
3318
  {
3319
  $this->tokenPagination = $tokenPagination;
3320
  }
3324
  }
3325
  }
3326
 
3327
+ class Forminator_Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Forminator_Google_Model
3328
  {
3329
  protected $internal_gapi_mappings = array(
3330
  );
3331
+ protected $inappproductType = 'Forminator_Google_Service_AndroidPublisher_InAppProduct';
3332
  protected $inappproductDataType = '';
3333
 
3334
 
3335
+ public function setInappproduct(Forminator_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3336
  {
3337
  $this->inappproduct = $inappproduct;
3338
  }
3342
  }
3343
  }
3344
 
3345
+ class Forminator_Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Forminator_Google_Model
3346
  {
3347
  protected $internal_gapi_mappings = array(
3348
  );
3349
+ protected $inappproductType = 'Forminator_Google_Service_AndroidPublisher_InAppProduct';
3350
  protected $inappproductDataType = '';
3351
 
3352
 
3353
+ public function setInappproduct(Forminator_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3354
  {
3355
  $this->inappproduct = $inappproduct;
3356
  }
3360
  }
3361
  }
3362
 
3363
+ class Forminator_Google_Service_AndroidPublisher_Listing extends Forminator_Google_Model
3364
  {
3365
  protected $internal_gapi_mappings = array(
3366
  );
3413
  }
3414
  }
3415
 
3416
+ class Forminator_Google_Service_AndroidPublisher_ListingsListResponse extends Forminator_Google_Collection
3417
  {
3418
  protected $collection_key = 'listings';
3419
  protected $internal_gapi_mappings = array(
3420
  );
3421
  public $kind;
3422
+ protected $listingsType = 'Forminator_Google_Service_AndroidPublisher_Listing';
3423
  protected $listingsDataType = 'array';
3424
 
3425
 
3441
  }
3442
  }
3443
 
3444
+ class Forminator_Google_Service_AndroidPublisher_MonthDay extends Forminator_Google_Model
3445
  {
3446
  protected $internal_gapi_mappings = array(
3447
  );
3467
  }
3468
  }
3469
 
3470
+ class Forminator_Google_Service_AndroidPublisher_PageInfo extends Forminator_Google_Model
3471
  {
3472
  protected $internal_gapi_mappings = array(
3473
  );
3502
  }
3503
  }
3504
 
3505
+ class Forminator_Google_Service_AndroidPublisher_Price extends Forminator_Google_Model
3506
  {
3507
  protected $internal_gapi_mappings = array(
3508
  );
3528
  }
3529
  }
3530
 
3531
+ class Forminator_Google_Service_AndroidPublisher_ProductPurchase extends Forminator_Google_Model
3532
  {
3533
  protected $internal_gapi_mappings = array(
3534
  );
3581
  }
3582
  }
3583
 
3584
+ class Forminator_Google_Service_AndroidPublisher_Prorate extends Forminator_Google_Model
3585
  {
3586
  protected $internal_gapi_mappings = array(
3587
  );
3588
+ protected $defaultPriceType = 'Forminator_Google_Service_AndroidPublisher_Price';
3589
  protected $defaultPriceDataType = '';
3590
+ protected $startType = 'Forminator_Google_Service_AndroidPublisher_MonthDay';
3591
  protected $startDataType = '';
3592
 
3593
 
3594
+ public function setDefaultPrice(Forminator_Google_Service_AndroidPublisher_Price $defaultPrice)
3595
  {
3596
  $this->defaultPrice = $defaultPrice;
3597
  }
3599
  {
3600
  return $this->defaultPrice;
3601
  }
3602
+ public function setStart(Forminator_Google_Service_AndroidPublisher_MonthDay $start)
3603
  {
3604
  $this->start = $start;
3605
  }
3609
  }
3610
  }
3611
 
3612
+ class Forminator_Google_Service_AndroidPublisher_Season extends Forminator_Google_Collection
3613
  {
3614
  protected $collection_key = 'prorations';
3615
  protected $internal_gapi_mappings = array(
3616
  );
3617
+ protected $endType = 'Forminator_Google_Service_AndroidPublisher_MonthDay';
3618
  protected $endDataType = '';
3619
+ protected $prorationsType = 'Forminator_Google_Service_AndroidPublisher_Prorate';
3620
  protected $prorationsDataType = 'array';
3621
+ protected $startType = 'Forminator_Google_Service_AndroidPublisher_MonthDay';
3622
  protected $startDataType = '';
3623
 
3624
 
3625
+ public function setEnd(Forminator_Google_Service_AndroidPublisher_MonthDay $end)
3626
  {
3627
  $this->end = $end;
3628
  }
3638
  {
3639
  return $this->prorations;
3640
  }
3641
+ public function setStart(Forminator_Google_Service_AndroidPublisher_MonthDay $start)
3642
  {
3643
  $this->start = $start;
3644
  }
3648
  }
3649
  }
3650
 
3651
+ class Forminator_Google_Service_AndroidPublisher_SubscriptionDeferralInfo extends Forminator_Google_Model
3652
  {
3653
  protected $internal_gapi_mappings = array(
3654
  );
3674
  }
3675
  }
3676
 
3677
+ class Forminator_Google_Service_AndroidPublisher_SubscriptionPurchase extends Forminator_Google_Model
3678
  {
3679
  protected $internal_gapi_mappings = array(
3680
  );
3718
  }
3719
  }
3720
 
3721
+ class Forminator_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest extends Forminator_Google_Model
3722
  {
3723
  protected $internal_gapi_mappings = array(
3724
  );
3725
+ protected $deferralInfoType = 'Forminator_Google_Service_AndroidPublisher_SubscriptionDeferralInfo';
3726
  protected $deferralInfoDataType = '';
3727
 
3728
 
3729
+ public function setDeferralInfo(Forminator_Google_Service_AndroidPublisher_SubscriptionDeferralInfo $deferralInfo)
3730
  {
3731
  $this->deferralInfo = $deferralInfo;
3732
  }
3736
  }
3737
  }
3738
 
3739
+ class Forminator_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse extends Forminator_Google_Model
3740
  {
3741
  protected $internal_gapi_mappings = array(
3742
  );
3753
  }
3754
  }
3755
 
3756
+ class Forminator_Google_Service_AndroidPublisher_Testers extends Forminator_Google_Collection
3757
  {
3758
  protected $collection_key = 'googlePlusCommunities';
3759
  protected $internal_gapi_mappings = array(
3780
  }
3781
  }
3782
 
3783
+ class Forminator_Google_Service_AndroidPublisher_TokenPagination extends Forminator_Google_Model
3784
  {
3785
  protected $internal_gapi_mappings = array(
3786
  );
3806
  }
3807
  }
3808
 
3809
+ class Forminator_Google_Service_AndroidPublisher_Track extends Forminator_Google_Collection
3810
  {
3811
  protected $collection_key = 'versionCodes';
3812
  protected $internal_gapi_mappings = array(
3842
  }
3843
  }
3844
 
3845
+ class Forminator_Google_Service_AndroidPublisher_TracksListResponse extends Forminator_Google_Collection
3846
  {
3847
  protected $collection_key = 'tracks';
3848
  protected $internal_gapi_mappings = array(
3849
  );
3850
  public $kind;
3851
+ protected $tracksType = 'Forminator_Google_Service_AndroidPublisher_Track';
3852
  protected $tracksDataType = 'array';
3853
 
3854
 
addons/pro/googlesheet/lib/external/Google/Service/AppState.php CHANGED
@@ -26,7 +26,7 @@
26
  *
27
  * @author Google, Inc.
28
  */
29
- class Google_Service_AppState extends Google_Service
30
  {
31
  /** View and manage your data for this application. */
32
  const APPSTATE =
@@ -38,9 +38,9 @@ class Google_Service_AppState extends Google_Service
38
  /**
39
  * Constructs the internal representation of the AppState service.
40
  *
41
- * @param Google_Client $client
42
  */
43
- public function __construct(Google_Client $client)
44
  {
45
  parent::__construct($client);
46
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -48,7 +48,7 @@ class Google_Service_AppState extends Google_Service
48
  $this->version = 'v1';
49
  $this->serviceName = 'appstate';
50
 
51
- $this->states = new Google_Service_AppState_States_Resource(
52
  $this,
53
  $this->serviceName,
54
  'states',
@@ -123,11 +123,11 @@ class Google_Service_AppState extends Google_Service
123
  * The "states" collection of methods.
124
  * Typical usage is:
125
  * <code>
126
- * $appstateService = new Google_Service_AppState(...);
127
  * $states = $appstateService->states;
128
  * </code>
129
  */
130
- class Google_Service_AppState_States_Resource extends Google_Service_Resource
131
  {
132
 
133
  /**
@@ -140,13 +140,13 @@ class Google_Service_AppState_States_Resource extends Google_Service_Resource
140
  *
141
  * @opt_param string currentDataVersion The version of the data to be cleared.
142
  * Version strings are returned by the server.
143
- * @return Google_Service_AppState_WriteResult
144
  */
145
  public function clear($stateKey, $optParams = array())
146
  {
147
  $params = array('stateKey' => $stateKey);
148
  $params = array_merge($params, $optParams);
149
- return $this->call('clear', array($params), "Google_Service_AppState_WriteResult");
150
  }
151
 
152
  /**
@@ -172,13 +172,13 @@ class Google_Service_AppState_States_Resource extends Google_Service_Resource
172
  *
173
  * @param int $stateKey The key for the data to be retrieved.
174
  * @param array $optParams Optional parameters.
175
- * @return Google_Service_AppState_GetResponse
176
  */
177
  public function get($stateKey, $optParams = array())
178
  {
179
  $params = array('stateKey' => $stateKey);
180
  $params = array_merge($params, $optParams);
181
- return $this->call('get', array($params), "Google_Service_AppState_GetResponse");
182
  }
183
 
184
  /**
@@ -188,13 +188,13 @@ class Google_Service_AppState_States_Resource extends Google_Service_Resource
188
  *
189
  * @opt_param bool includeData Whether to include the full data in addition to
190
  * the version number
191
- * @return Google_Service_AppState_ListResponse
192
  */
193
  public function listStates($optParams = array())
194
  {
195
  $params = array();
196
  $params = array_merge($params, $optParams);
197
- return $this->call('list', array($params), "Google_Service_AppState_ListResponse");
198
  }
199
 
200
  /**
@@ -203,7 +203,7 @@ class Google_Service_AppState_States_Resource extends Google_Service_Resource
203
  * of concurrent writes. Maximum per-key size is 128KB. (states.update)
204
  *
205
  * @param int $stateKey The key for the data to be retrieved.
206
- * @param Google_UpdateRequest $postBody
207
  * @param array $optParams Optional parameters.
208
  *
209
  * @opt_param string currentStateVersion The version of the app state your
@@ -211,20 +211,20 @@ class Google_Service_AppState_States_Resource extends Google_Service_Resource
211
  * version, this method will return a conflict error. If there is no data stored
212
  * on the server for this key, the update will succeed irrespective of the value
213
  * of this parameter.
214
- * @return Google_Service_AppState_WriteResult
215
  */
216
- public function update($stateKey, Google_Service_AppState_UpdateRequest $postBody, $optParams = array())
217
  {
218
  $params = array('stateKey' => $stateKey, 'postBody' => $postBody);
219
  $params = array_merge($params, $optParams);
220
- return $this->call('update', array($params), "Google_Service_AppState_WriteResult");
221
  }
222
  }
223
 
224
 
225
 
226
 
227
- class Google_Service_AppState_GetResponse extends Google_Model
228
  {
229
  protected $internal_gapi_mappings = array(
230
  );
@@ -268,12 +268,12 @@ class Google_Service_AppState_GetResponse extends Google_Model
268
  }
269
  }
270
 
271
- class Google_Service_AppState_ListResponse extends Google_Collection
272
  {
273
  protected $collection_key = 'items';
274
  protected $internal_gapi_mappings = array(
275
  );
276
- protected $itemsType = 'Google_Service_AppState_GetResponse';
277
  protected $itemsDataType = 'array';
278
  public $kind;
279
  public $maximumKeyCount;
@@ -305,7 +305,7 @@ class Google_Service_AppState_ListResponse extends Google_Collection
305
  }
306
  }
307
 
308
- class Google_Service_AppState_UpdateRequest extends Google_Model
309
  {
310
  protected $internal_gapi_mappings = array(
311
  );
@@ -331,7 +331,7 @@ class Google_Service_AppState_UpdateRequest extends Google_Model
331
  }
332
  }
333
 
334
- class Google_Service_AppState_WriteResult extends Google_Model
335
  {
336
  protected $internal_gapi_mappings = array(
337
  );
26
  *
27
  * @author Google, Inc.
28
  */
29
+ class Forminator_Google_Service_AppState extends Forminator_Google_Service
30
  {
31
  /** View and manage your data for this application. */
32
  const APPSTATE =
38
  /**
39
  * Constructs the internal representation of the AppState service.
40
  *
41
+ * @param Forminator_Google_Client $client
42
  */
43
+ public function __construct(Forminator_Google_Client $client)
44
  {
45
  parent::__construct($client);
46
  $this->rootUrl = 'https://www.googleapis.com/';
48
  $this->version = 'v1';
49
  $this->serviceName = 'appstate';
50
 
51
+ $this->states = new Forminator_Google_Service_AppState_States_Resource(
52
  $this,
53
  $this->serviceName,
54
  'states',
123
  * The "states" collection of methods.
124
  * Typical usage is:
125
  * <code>
126
+ * $appstateService = new Forminator_Google_Service_AppState(...);
127
  * $states = $appstateService->states;
128
  * </code>
129
  */
130
+ class Forminator_Google_Service_AppState_States_Resource extends Forminator_Google_Service_Resource
131
  {
132
 
133
  /**
140
  *
141
  * @opt_param string currentDataVersion The version of the data to be cleared.
142
  * Version strings are returned by the server.
143
+ * @return Forminator_Google_Service_AppState_WriteResult
144
  */
145
  public function clear($stateKey, $optParams = array())
146
  {
147
  $params = array('stateKey' => $stateKey);
148
  $params = array_merge($params, $optParams);
149
+ return $this->call('clear', array($params), "Forminator_Google_Service_AppState_WriteResult");
150
  }
151
 
152
  /**
172
  *
173
  * @param int $stateKey The key for the data to be retrieved.
174
  * @param array $optParams Optional parameters.
175
+ * @return Forminator_Google_Service_AppState_GetResponse
176
  */
177
  public function get($stateKey, $optParams = array())
178
  {
179
  $params = array('stateKey' => $stateKey);
180
  $params = array_merge($params, $optParams);
181
+ return $this->call('get', array($params), "Forminator_Google_Service_AppState_GetResponse");
182
  }
183
 
184
  /**
188
  *
189
  * @opt_param bool includeData Whether to include the full data in addition to
190
  * the version number
191
+ * @return Forminator_Google_Service_AppState_ListResponse
192
  */
193
  public function listStates($optParams = array())
194
  {
195
  $params = array();
196
  $params = array_merge($params, $optParams);
197
+ return $this->call('list', array($params), "Forminator_Google_Service_AppState_ListResponse");
198
  }
199
 
200
  /**
203
  * of concurrent writes. Maximum per-key size is 128KB. (states.update)
204
  *
205
  * @param int $stateKey The key for the data to be retrieved.
206
+ * @param Forminator_Google_UpdateRequest $postBody
207
  * @param array $optParams Optional parameters.
208
  *
209
  * @opt_param string currentStateVersion The version of the app state your
211
  * version, this method will return a conflict error. If there is no data stored
212
  * on the server for this key, the update will succeed irrespective of the value
213
  * of this parameter.
214
+ * @return Forminator_Google_Service_AppState_WriteResult
215
  */
216
+ public function update($stateKey, Forminator_Google_Service_AppState_UpdateRequest $postBody, $optParams = array())
217
  {
218
  $params = array('stateKey' => $stateKey, 'postBody' => $postBody);
219
  $params = array_merge($params, $optParams);
220
+ return $this->call('update', array($params), "Forminator_Google_Service_AppState_WriteResult");
221
  }
222
  }
223
 
224
 
225
 
226
 
227
+ class Forminator_Google_Service_AppState_GetResponse extends Forminator_Google_Model
228
  {
229
  protected $internal_gapi_mappings = array(
230
  );
268
  }
269
  }
270
 
271
+ class Forminator_Google_Service_AppState_ListResponse extends Forminator_Google_Collection
272
  {
273
  protected $collection_key = 'items';
274
  protected $internal_gapi_mappings = array(
275
  );
276
+ protected $itemsType = 'Forminator_Google_Service_AppState_GetResponse';
277
  protected $itemsDataType = 'array';
278
  public $kind;
279
  public $maximumKeyCount;
305
  }
306
  }
307
 
308
+ class Forminator_Google_Service_AppState_UpdateRequest extends Forminator_Google_Model
309
  {
310
  protected $internal_gapi_mappings = array(
311
  );
331
  }
332
  }
333
 
334
+ class Forminator_Google_Service_AppState_WriteResult extends Forminator_Google_Model
335
  {
336
  protected $internal_gapi_mappings = array(
337
  );
addons/pro/googlesheet/lib/external/Google/Service/Appengine.php CHANGED
@@ -27,7 +27,7 @@
27
  *
28
  * @author Google, Inc.
29
  */
30
- class Google_Service_Appengine extends Google_Service
31
  {
32
  /** View and manage your data across Google Cloud Platform services. */
33
  const CLOUD_PLATFORM =
@@ -42,9 +42,9 @@ class Google_Service_Appengine extends Google_Service
42
  /**
43
  * Constructs the internal representation of the Appengine service.
44
  *
45
- * @param Google_Client $client
46
  */
47
- public function __construct(Google_Client $client)
48
  {
49
  parent::__construct($client);
50
  $this->rootUrl = 'https://appengine.googleapis.com/';
@@ -52,7 +52,7 @@ class Google_Service_Appengine extends Google_Service
52
  $this->version = 'v1beta5';
53
  $this->serviceName = 'appengine';
54
 
55
- $this->apps = new Google_Service_Appengine_Apps_Resource(
56
  $this,
57
  $this->serviceName,
58
  'apps',
@@ -76,7 +76,7 @@ class Google_Service_Appengine extends Google_Service
76
  )
77
  )
78
  );
79
- $this->apps_operations = new Google_Service_Appengine_AppsOperations_Resource(
80
  $this,
81
  $this->serviceName,
82
  'operations',
@@ -123,7 +123,7 @@ class Google_Service_Appengine extends Google_Service
123
  )
124
  )
125
  );
126
- $this->apps_services = new Google_Service_Appengine_AppsServices_Resource(
127
  $this,
128
  $this->serviceName,
129
  'services',
@@ -204,7 +204,7 @@ class Google_Service_Appengine extends Google_Service
204
  )
205
  )
206
  );
207
- $this->apps_services_versions = new Google_Service_Appengine_AppsServicesVersions_Resource(
208
  $this,
209
  $this->serviceName,
210
  'versions',
@@ -308,11 +308,11 @@ class Google_Service_Appengine extends Google_Service
308
  * The "apps" collection of methods.
309
  * Typical usage is:
310
  * <code>
311
- * $appengineService = new Google_Service_Appengine(...);
312
  * $apps = $appengineService->apps;
313
  * </code>
314
  */
315
- class Google_Service_Appengine_Apps_Resource extends Google_Service_Resource
316
  {
317
 
318
  /**
@@ -328,13 +328,13 @@ class Google_Service_Appengine_Apps_Resource extends Google_Service_Resource
328
  * could not be created, the request will fail with an error code. Additionally,
329
  * this parameter can cause the request to take longer to complete. Note: This
330
  * parameter will be deprecated in a future version of the API.
331
- * @return Google_Service_Appengine_Application
332
  */
333
  public function get($appsId, $optParams = array())
334
  {
335
  $params = array('appsId' => $appsId);
336
  $params = array_merge($params, $optParams);
337
- return $this->call('get', array($params), "Google_Service_Appengine_Application");
338
  }
339
  }
340
 
@@ -342,11 +342,11 @@ class Google_Service_Appengine_Apps_Resource extends Google_Service_Resource
342
  * The "operations" collection of methods.
343
  * Typical usage is:
344
  * <code>
345
- * $appengineService = new Google_Service_Appengine(...);
346
  * $operations = $appengineService->operations;
347
  * </code>
348
  */
349
- class Google_Service_Appengine_AppsOperations_Resource extends Google_Service_Resource
350
  {
351
 
352
  /**
@@ -357,13 +357,13 @@ class Google_Service_Appengine_AppsOperations_Resource extends Google_Service_Re
357
  * @param string $appsId Part of `name`. The name of the operation resource.
358
  * @param string $operationsId Part of `name`. See documentation of `appsId`.
359
  * @param array $optParams Optional parameters.
360
- * @return Google_Service_Appengine_Operation
361
  */
362
  public function get($appsId, $operationsId, $optParams = array())
363
  {
364
  $params = array('appsId' => $appsId, 'operationsId' => $operationsId);
365
  $params = array_merge($params, $optParams);
366
- return $this->call('get', array($params), "Google_Service_Appengine_Operation");
367
  }
368
 
369
  /**
@@ -379,24 +379,24 @@ class Google_Service_Appengine_AppsOperations_Resource extends Google_Service_Re
379
  * @opt_param string filter The standard list filter.
380
  * @opt_param int pageSize The standard list page size.
381
  * @opt_param string pageToken The standard list page token.
382
- * @return Google_Service_Appengine_ListOperationsResponse
383
  */
384
  public function listAppsOperations($appsId, $optParams = array())
385
  {
386
  $params = array('appsId' => $appsId);
387
  $params = array_merge($params, $optParams);
388
- return $this->call('list', array($params), "Google_Service_Appengine_ListOperationsResponse");
389
  }
390
  }
391
  /**
392
  * The "services" collection of methods.
393
  * Typical usage is:
394
  * <code>
395
- * $appengineService = new Google_Service_Appengine(...);
396
  * $services = $appengineService->services;
397
  * </code>
398
  */
399
- class Google_Service_Appengine_AppsServices_Resource extends Google_Service_Resource
400
  {
401
 
402
  /**
@@ -406,13 +406,13 @@ class Google_Service_Appengine_AppsServices_Resource extends Google_Service_Reso
406
  * example: "apps/myapp/services/default".
407
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
408
  * @param array $optParams Optional parameters.
409
- * @return Google_Service_Appengine_Operation
410
  */
411
  public function delete($appsId, $servicesId, $optParams = array())
412
  {
413
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId);
414
  $params = array_merge($params, $optParams);
415
- return $this->call('delete', array($params), "Google_Service_Appengine_Operation");
416
  }
417
 
418
  /**
@@ -422,13 +422,13 @@ class Google_Service_Appengine_AppsServices_Resource extends Google_Service_Reso
422
  * example: "apps/myapp/services/default".
423
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
424
  * @param array $optParams Optional parameters.
425
- * @return Google_Service_Appengine_Service
426
  */
427
  public function get($appsId, $servicesId, $optParams = array())
428
  {
429
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId);
430
  $params = array_merge($params, $optParams);
431
- return $this->call('get', array($params), "Google_Service_Appengine_Service");
432
  }
433
 
434
  /**
@@ -441,13 +441,13 @@ class Google_Service_Appengine_AppsServices_Resource extends Google_Service_Reso
441
  * @opt_param int pageSize Maximum results to return per page.
442
  * @opt_param string pageToken Continuation token for fetching the next page of
443
  * results.
444
- * @return Google_Service_Appengine_ListServicesResponse
445
  */
446
  public function listAppsServices($appsId, $optParams = array())
447
  {
448
  $params = array('appsId' => $appsId);
449
  $params = array_merge($params, $optParams);
450
- return $this->call('list', array($params), "Google_Service_Appengine_ListServicesResponse");
451
  }
452
 
453
  /**
@@ -456,7 +456,7 @@ class Google_Service_Appengine_AppsServices_Resource extends Google_Service_Reso
456
  * @param string $appsId Part of `name`. Name of the resource to update. For
457
  * example: "apps/myapp/services/default".
458
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
459
- * @param Google_Service $postBody
460
  * @param array $optParams Optional parameters.
461
  *
462
  * @opt_param string mask Standard field mask for the set of fields to be
@@ -464,13 +464,13 @@ class Google_Service_Appengine_AppsServices_Resource extends Google_Service_Reso
464
  * @opt_param bool migrateTraffic Whether to use Traffic Migration to shift
465
  * traffic gradually. Traffic can only be migrated from a single version to
466
  * another single version.
467
- * @return Google_Service_Appengine_Operation
468
  */
469
- public function patch($appsId, $servicesId, Google_Service_Appengine_Service $postBody, $optParams = array())
470
  {
471
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody);
472
  $params = array_merge($params, $optParams);
473
- return $this->call('patch', array($params), "Google_Service_Appengine_Operation");
474
  }
475
  }
476
 
@@ -478,11 +478,11 @@ class Google_Service_Appengine_AppsServices_Resource extends Google_Service_Reso
478
  * The "versions" collection of methods.
479
  * Typical usage is:
480
  * <code>
481
- * $appengineService = new Google_Service_Appengine(...);
482
  * $versions = $appengineService->versions;
483
  * </code>
484
  */
485
- class Google_Service_Appengine_AppsServicesVersions_Resource extends Google_Service_Resource
486
  {
487
 
488
  /**
@@ -491,15 +491,15 @@ class Google_Service_Appengine_AppsServicesVersions_Resource extends Google_Serv
491
  * @param string $appsId Part of `name`. Name of the resource to update. For
492
  * example: "apps/myapp/services/default".
493
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
494
- * @param Google_Version $postBody
495
  * @param array $optParams Optional parameters.
496
- * @return Google_Service_Appengine_Operation
497
  */
498
- public function create($appsId, $servicesId, Google_Service_Appengine_Version $postBody, $optParams = array())
499
  {
500
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody);
501
  $params = array_merge($params, $optParams);
502
- return $this->call('create', array($params), "Google_Service_Appengine_Operation");
503
  }
504
 
505
  /**
@@ -510,13 +510,13 @@ class Google_Service_Appengine_AppsServicesVersions_Resource extends Google_Serv
510
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
511
  * @param string $versionsId Part of `name`. See documentation of `appsId`.
512
  * @param array $optParams Optional parameters.
513
- * @return Google_Service_Appengine_Operation
514
  */
515
  public function delete($appsId, $servicesId, $versionsId, $optParams = array())
516
  {
517
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId);
518
  $params = array_merge($params, $optParams);
519
- return $this->call('delete', array($params), "Google_Service_Appengine_Operation");
520
  }
521
 
522
  /**
@@ -530,13 +530,13 @@ class Google_Service_Appengine_AppsServicesVersions_Resource extends Google_Serv
530
  *
531
  * @opt_param string view Controls the set of fields returned in the `Get`
532
  * response.
533
- * @return Google_Service_Appengine_Version
534
  */
535
  public function get($appsId, $servicesId, $versionsId, $optParams = array())
536
  {
537
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId);
538
  $params = array_merge($params, $optParams);
539
- return $this->call('get', array($params), "Google_Service_Appengine_Version");
540
  }
541
 
542
  /**
@@ -552,20 +552,20 @@ class Google_Service_Appengine_AppsServicesVersions_Resource extends Google_Serv
552
  * @opt_param int pageSize Maximum results to return per page.
553
  * @opt_param string pageToken Continuation token for fetching the next page of
554
  * results.
555
- * @return Google_Service_Appengine_ListVersionsResponse
556
  */
557
  public function listAppsServicesVersions($appsId, $servicesId, $optParams = array())
558
  {
559
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId);
560
  $params = array_merge($params, $optParams);
561
- return $this->call('list', array($params), "Google_Service_Appengine_ListVersionsResponse");
562
  }
563
  }
564
 
565
 
566
 
567
 
568
- class Google_Service_Appengine_ApiConfigHandler extends Google_Model
569
  {
570
  protected $internal_gapi_mappings = array(
571
  );
@@ -618,7 +618,7 @@ class Google_Service_Appengine_ApiConfigHandler extends Google_Model
618
  }
619
  }
620
 
621
- class Google_Service_Appengine_ApiEndpointHandler extends Google_Model
622
  {
623
  protected $internal_gapi_mappings = array(
624
  );
@@ -635,14 +635,14 @@ class Google_Service_Appengine_ApiEndpointHandler extends Google_Model
635
  }
636
  }
637
 
638
- class Google_Service_Appengine_Application extends Google_Collection
639
  {
640
  protected $collection_key = 'dispatchRules';
641
  protected $internal_gapi_mappings = array(
642
  );
643
  public $codeBucket;
644
  public $defaultBucket;
645
- protected $dispatchRulesType = 'Google_Service_Appengine_UrlDispatchRule';
646
  protected $dispatchRulesDataType = 'array';
647
  public $id;
648
  public $location;
@@ -699,14 +699,14 @@ class Google_Service_Appengine_Application extends Google_Collection
699
  }
700
  }
701
 
702
- class Google_Service_Appengine_AutomaticScaling extends Google_Model
703
  {
704
  protected $internal_gapi_mappings = array(
705
  );
706
  public $coolDownPeriod;
707
- protected $cpuUtilizationType = 'Google_Service_Appengine_CpuUtilization';
708
  protected $cpuUtilizationDataType = '';
709
- protected $diskUtilizationType = 'Google_Service_Appengine_DiskUtilization';
710
  protected $diskUtilizationDataType = '';
711
  public $maxConcurrentRequests;
712
  public $maxIdleInstances;
@@ -715,9 +715,9 @@ class Google_Service_Appengine_AutomaticScaling extends Google_Model
715
  public $minIdleInstances;
716
  public $minPendingLatency;
717
  public $minTotalInstances;
718
- protected $networkUtilizationType = 'Google_Service_Appengine_NetworkUtilization';
719
  protected $networkUtilizationDataType = '';
720
- protected $requestUtilizationType = 'Google_Service_Appengine_RequestUtilization';
721
  protected $requestUtilizationDataType = '';
722
 
723
 
@@ -729,7 +729,7 @@ class Google_Service_Appengine_AutomaticScaling extends Google_Model
729
  {
730
  return $this->coolDownPeriod;
731
  }
732
- public function setCpuUtilization(Google_Service_Appengine_CpuUtilization $cpuUtilization)
733
  {
734
  $this->cpuUtilization = $cpuUtilization;
735
  }
@@ -737,7 +737,7 @@ class Google_Service_Appengine_AutomaticScaling extends Google_Model
737
  {
738
  return $this->cpuUtilization;
739
  }
740
- public function setDiskUtilization(Google_Service_Appengine_DiskUtilization $diskUtilization)
741
  {
742
  $this->diskUtilization = $diskUtilization;
743
  }
@@ -801,7 +801,7 @@ class Google_Service_Appengine_AutomaticScaling extends Google_Model
801
  {
802
  return $this->minTotalInstances;
803
  }
804
- public function setNetworkUtilization(Google_Service_Appengine_NetworkUtilization $networkUtilization)
805
  {
806
  $this->networkUtilization = $networkUtilization;
807
  }
@@ -809,7 +809,7 @@ class Google_Service_Appengine_AutomaticScaling extends Google_Model
809
  {
810
  return $this->networkUtilization;
811
  }
812
- public function setRequestUtilization(Google_Service_Appengine_RequestUtilization $requestUtilization)
813
  {
814
  $this->requestUtilization = $requestUtilization;
815
  }
@@ -819,7 +819,7 @@ class Google_Service_Appengine_AutomaticScaling extends Google_Model
819
  }
820
  }
821
 
822
- class Google_Service_Appengine_BasicScaling extends Google_Model
823
  {
824
  protected $internal_gapi_mappings = array(
825
  );
@@ -845,7 +845,7 @@ class Google_Service_Appengine_BasicScaling extends Google_Model
845
  }
846
  }
847
 
848
- class Google_Service_Appengine_ContainerInfo extends Google_Model
849
  {
850
  protected $internal_gapi_mappings = array(
851
  );
@@ -862,7 +862,7 @@ class Google_Service_Appengine_ContainerInfo extends Google_Model
862
  }
863
  }
864
 
865
- class Google_Service_Appengine_CpuUtilization extends Google_Model
866
  {
867
  protected $internal_gapi_mappings = array(
868
  );
@@ -888,20 +888,20 @@ class Google_Service_Appengine_CpuUtilization extends Google_Model
888
  }
889
  }
890
 
891
- class Google_Service_Appengine_Deployment extends Google_Collection
892
  {
893
  protected $collection_key = 'sourceReferences';
894
  protected $internal_gapi_mappings = array(
895
  );
896
- protected $containerType = 'Google_Service_Appengine_ContainerInfo';
897
  protected $containerDataType = '';
898
- protected $filesType = 'Google_Service_Appengine_FileInfo';
899
  protected $filesDataType = 'map';
900
- protected $sourceReferencesType = 'Google_Service_Appengine_SourceReference';
901
  protected $sourceReferencesDataType = 'array';
902
 
903
 
904
- public function setContainer(Google_Service_Appengine_ContainerInfo $container)
905
  {
906
  $this->container = $container;
907
  }
@@ -927,7 +927,7 @@ class Google_Service_Appengine_Deployment extends Google_Collection
927
  }
928
  }
929
 
930
- class Google_Service_Appengine_DiskUtilization extends Google_Model
931
  {
932
  protected $internal_gapi_mappings = array(
933
  );
@@ -971,7 +971,7 @@ class Google_Service_Appengine_DiskUtilization extends Google_Model
971
  }
972
  }
973
 
974
- class Google_Service_Appengine_ErrorHandler extends Google_Model
975
  {
976
  protected $internal_gapi_mappings = array(
977
  );
@@ -1006,7 +1006,7 @@ class Google_Service_Appengine_ErrorHandler extends Google_Model
1006
  }
1007
  }
1008
 
1009
- class Google_Service_Appengine_FileInfo extends Google_Model
1010
  {
1011
  protected $internal_gapi_mappings = array(
1012
  );
@@ -1041,7 +1041,7 @@ class Google_Service_Appengine_FileInfo extends Google_Model
1041
  }
1042
  }
1043
 
1044
- class Google_Service_Appengine_HealthCheck extends Google_Model
1045
  {
1046
  protected $internal_gapi_mappings = array(
1047
  );
@@ -1112,7 +1112,7 @@ class Google_Service_Appengine_HealthCheck extends Google_Model
1112
  }
1113
  }
1114
 
1115
- class Google_Service_Appengine_Library extends Google_Model
1116
  {
1117
  protected $internal_gapi_mappings = array(
1118
  );
@@ -1138,13 +1138,13 @@ class Google_Service_Appengine_Library extends Google_Model
1138
  }
1139
  }
1140
 
1141
- class Google_Service_Appengine_ListOperationsResponse extends Google_Collection
1142
  {
1143
  protected $collection_key = 'operations';
1144
  protected $internal_gapi_mappings = array(
1145
  );
1146
  public $nextPageToken;
1147
- protected $operationsType = 'Google_Service_Appengine_Operation';
1148
  protected $operationsDataType = 'array';
1149
 
1150
 
@@ -1166,13 +1166,13 @@ class Google_Service_Appengine_ListOperationsResponse extends Google_Collection
1166
  }
1167
  }
1168
 
1169
- class Google_Service_Appengine_ListServicesResponse extends Google_Collection
1170
  {
1171
  protected $collection_key = 'services';
1172
  protected $internal_gapi_mappings = array(
1173
  );
1174
  public $nextPageToken;
1175
- protected $servicesType = 'Google_Service_Appengine_Service';
1176
  protected $servicesDataType = 'array';
1177
 
1178
 
@@ -1194,13 +1194,13 @@ class Google_Service_Appengine_ListServicesResponse extends Google_Collection
1194
  }
1195
  }
1196
 
1197
- class Google_Service_Appengine_ListVersionsResponse extends Google_Collection
1198
  {
1199
  protected $collection_key = 'versions';
1200
  protected $internal_gapi_mappings = array(
1201
  );
1202
  public $nextPageToken;
1203
- protected $versionsType = 'Google_Service_Appengine_Version';
1204
  protected $versionsDataType = 'array';
1205
 
1206
 
@@ -1222,7 +1222,7 @@ class Google_Service_Appengine_ListVersionsResponse extends Google_Collection
1222
  }
1223
  }
1224
 
1225
- class Google_Service_Appengine_ManualScaling extends Google_Model
1226
  {
1227
  protected $internal_gapi_mappings = array(
1228
  );
@@ -1239,7 +1239,7 @@ class Google_Service_Appengine_ManualScaling extends Google_Model
1239
  }
1240
  }
1241
 
1242
- class Google_Service_Appengine_Network extends Google_Collection
1243
  {
1244
  protected $collection_key = 'forwardedPorts';
1245
  protected $internal_gapi_mappings = array(
@@ -1275,7 +1275,7 @@ class Google_Service_Appengine_Network extends Google_Collection
1275
  }
1276
  }
1277
 
1278
- class Google_Service_Appengine_NetworkUtilization extends Google_Model
1279
  {
1280
  protected $internal_gapi_mappings = array(
1281
  );
@@ -1319,12 +1319,12 @@ class Google_Service_Appengine_NetworkUtilization extends Google_Model
1319
  }
1320
  }
1321
 
1322
- class Google_Service_Appengine_Operation extends Google_Model
1323
  {
1324
  protected $internal_gapi_mappings = array(
1325
  );
1326
  public $done;
1327
- protected $errorType = 'Google_Service_Appengine_Status';
1328
  protected $errorDataType = '';
1329
  public $metadata;
1330
  public $name;
@@ -1339,7 +1339,7 @@ class Google_Service_Appengine_Operation extends Google_Model
1339
  {
1340
  return $this->done;
1341
  }
1342
- public function setError(Google_Service_Appengine_Status $error)
1343
  {
1344
  $this->error = $error;
1345
  }
@@ -1373,7 +1373,7 @@ class Google_Service_Appengine_Operation extends Google_Model
1373
  }
1374
  }
1375
 
1376
- class Google_Service_Appengine_OperationMetadata extends Google_Model
1377
  {
1378
  protected $internal_gapi_mappings = array(
1379
  );
@@ -1435,7 +1435,7 @@ class Google_Service_Appengine_OperationMetadata extends Google_Model
1435
  }
1436
  }
1437
 
1438
- class Google_Service_Appengine_OperationMetadataV1Beta5 extends Google_Model
1439
  {
1440
  protected $internal_gapi_mappings = array(
1441
  );
@@ -1488,7 +1488,7 @@ class Google_Service_Appengine_OperationMetadataV1Beta5 extends Google_Model
1488
  }
1489
  }
1490
 
1491
- class Google_Service_Appengine_RequestUtilization extends Google_Model
1492
  {
1493
  protected $internal_gapi_mappings = array(
1494
  );
@@ -1514,7 +1514,7 @@ class Google_Service_Appengine_RequestUtilization extends Google_Model
1514
  }
1515
  }
1516
 
1517
- class Google_Service_Appengine_Resources extends Google_Model
1518
  {
1519
  protected $internal_gapi_mappings = array(
1520
  );
@@ -1549,7 +1549,7 @@ class Google_Service_Appengine_Resources extends Google_Model
1549
  }
1550
  }
1551
 
1552
- class Google_Service_Appengine_ScriptHandler extends Google_Model
1553
  {
1554
  protected $internal_gapi_mappings = array(
1555
  );
@@ -1566,13 +1566,13 @@ class Google_Service_Appengine_ScriptHandler extends Google_Model
1566
  }
1567
  }
1568
 
1569
- class Google_Service_Appengine_Service extends Google_Model
1570
  {
1571
  protected $internal_gapi_mappings = array(
1572
  );
1573
  public $id;
1574
  public $name;
1575
- protected $splitType = 'Google_Service_Appengine_TrafficSplit';
1576
  protected $splitDataType = '';
1577
 
1578
 
@@ -1592,7 +1592,7 @@ class Google_Service_Appengine_Service extends Google_Model
1592
  {
1593
  return $this->name;
1594
  }
1595
- public function setSplit(Google_Service_Appengine_TrafficSplit $split)
1596
  {
1597
  $this->split = $split;
1598
  }
@@ -1602,7 +1602,7 @@ class Google_Service_Appengine_Service extends Google_Model
1602
  }
1603
  }
1604
 
1605
- class Google_Service_Appengine_SourceReference extends Google_Model
1606
  {
1607
  protected $internal_gapi_mappings = array(
1608
  );
@@ -1628,7 +1628,7 @@ class Google_Service_Appengine_SourceReference extends Google_Model
1628
  }
1629
  }
1630
 
1631
- class Google_Service_Appengine_StaticFilesHandler extends Google_Model
1632
  {
1633
  protected $internal_gapi_mappings = array(
1634
  );
@@ -1699,7 +1699,7 @@ class Google_Service_Appengine_StaticFilesHandler extends Google_Model
1699
  }
1700
  }
1701
 
1702
- class Google_Service_Appengine_Status extends Google_Collection
1703
  {
1704
  protected $collection_key = 'details';
1705
  protected $internal_gapi_mappings = array(
@@ -1735,7 +1735,7 @@ class Google_Service_Appengine_Status extends Google_Collection
1735
  }
1736
  }
1737
 
1738
- class Google_Service_Appengine_TrafficSplit extends Google_Model
1739
  {
1740
  protected $internal_gapi_mappings = array(
1741
  );
@@ -1761,7 +1761,7 @@ class Google_Service_Appengine_TrafficSplit extends Google_Model
1761
  }
1762
  }
1763
 
1764
- class Google_Service_Appengine_UrlDispatchRule extends Google_Model
1765
  {
1766
  protected $internal_gapi_mappings = array(
1767
  );
@@ -1796,24 +1796,24 @@ class Google_Service_Appengine_UrlDispatchRule extends Google_Model
1796
  }
1797
  }
1798
 
1799
- class Google_Service_Appengine_UrlMap extends Google_Model
1800
  {
1801
  protected $internal_gapi_mappings = array(
1802
  );
1803
- protected $apiEndpointType = 'Google_Service_Appengine_ApiEndpointHandler';
1804
  protected $apiEndpointDataType = '';
1805
  public $authFailAction;
1806
  public $login;
1807
  public $redirectHttpResponseCode;
1808
- protected $scriptType = 'Google_Service_Appengine_ScriptHandler';
1809
  protected $scriptDataType = '';
1810
  public $securityLevel;
1811
- protected $staticFilesType = 'Google_Service_Appengine_StaticFilesHandler';
1812
  protected $staticFilesDataType = '';
1813
  public $urlRegex;
1814
 
1815
 
1816
- public function setApiEndpoint(Google_Service_Appengine_ApiEndpointHandler $apiEndpoint)
1817
  {
1818
  $this->apiEndpoint = $apiEndpoint;
1819
  }
@@ -1845,7 +1845,7 @@ class Google_Service_Appengine_UrlMap extends Google_Model
1845
  {
1846
  return $this->redirectHttpResponseCode;
1847
  }
1848
- public function setScript(Google_Service_Appengine_ScriptHandler $script)
1849
  {
1850
  $this->script = $script;
1851
  }
@@ -1861,7 +1861,7 @@ class Google_Service_Appengine_UrlMap extends Google_Model
1861
  {
1862
  return $this->securityLevel;
1863
  }
1864
- public function setStaticFiles(Google_Service_Appengine_StaticFilesHandler $staticFiles)
1865
  {
1866
  $this->staticFiles = $staticFiles;
1867
  }
@@ -1879,44 +1879,44 @@ class Google_Service_Appengine_UrlMap extends Google_Model
1879
  }
1880
  }
1881
 
1882
- class Google_Service_Appengine_Version extends Google_Collection
1883
  {
1884
  protected $collection_key = 'libraries';
1885
  protected $internal_gapi_mappings = array(
1886
  );
1887
- protected $apiConfigType = 'Google_Service_Appengine_ApiConfigHandler';
1888
  protected $apiConfigDataType = '';
1889
- protected $automaticScalingType = 'Google_Service_Appengine_AutomaticScaling';
1890
  protected $automaticScalingDataType = '';
1891
- protected $basicScalingType = 'Google_Service_Appengine_BasicScaling';
1892
  protected $basicScalingDataType = '';
1893
  public $betaSettings;
1894
  public $creationTime;
1895
  public $defaultExpiration;
1896
  public $deployer;
1897
- protected $deploymentType = 'Google_Service_Appengine_Deployment';
1898
  protected $deploymentDataType = '';
1899
  public $diskUsageBytes;
1900
  public $env;
1901
  public $envVariables;
1902
- protected $errorHandlersType = 'Google_Service_Appengine_ErrorHandler';
1903
  protected $errorHandlersDataType = 'array';
1904
- protected $handlersType = 'Google_Service_Appengine_UrlMap';
1905
  protected $handlersDataType = 'array';
1906
- protected $healthCheckType = 'Google_Service_Appengine_HealthCheck';
1907
  protected $healthCheckDataType = '';
1908
  public $id;
1909
  public $inboundServices;
1910
  public $instanceClass;
1911
- protected $librariesType = 'Google_Service_Appengine_Library';
1912
  protected $librariesDataType = 'array';
1913
- protected $manualScalingType = 'Google_Service_Appengine_ManualScaling';
1914
  protected $manualScalingDataType = '';
1915
  public $name;
1916
- protected $networkType = 'Google_Service_Appengine_Network';
1917
  protected $networkDataType = '';
1918
  public $nobuildFilesRegex;
1919
- protected $resourcesType = 'Google_Service_Appengine_Resources';
1920
  protected $resourcesDataType = '';
1921
  public $runtime;
1922
  public $servingStatus;
@@ -1924,7 +1924,7 @@ class Google_Service_Appengine_Version extends Google_Collection
1924
  public $vm;
1925
 
1926
 
1927
- public function setApiConfig(Google_Service_Appengine_ApiConfigHandler $apiConfig)
1928
  {
1929
  $this->apiConfig = $apiConfig;
1930
  }
@@ -1932,7 +1932,7 @@ class Google_Service_Appengine_Version extends Google_Collection
1932
  {
1933
  return $this->apiConfig;
1934
  }
1935
- public function setAutomaticScaling(Google_Service_Appengine_AutomaticScaling $automaticScaling)
1936
  {
1937
  $this->automaticScaling = $automaticScaling;
1938
  }
@@ -1940,7 +1940,7 @@ class Google_Service_Appengine_Version extends Google_Collection
1940
  {
1941
  return $this->automaticScaling;
1942
  }
1943
- public function setBasicScaling(Google_Service_Appengine_BasicScaling $basicScaling)
1944
  {
1945
  $this->basicScaling = $basicScaling;
1946
  }
@@ -1980,7 +1980,7 @@ class Google_Service_Appengine_Version extends Google_Collection
1980
  {
1981
  return $this->deployer;
1982
  }
1983
- public function setDeployment(Google_Service_Appengine_Deployment $deployment)
1984
  {
1985
  $this->deployment = $deployment;
1986
  }
@@ -2028,7 +2028,7 @@ class Google_Service_Appengine_Version extends Google_Collection
2028
  {
2029
  return $this->handlers;
2030
  }
2031
- public function setHealthCheck(Google_Service_Appengine_HealthCheck $healthCheck)
2032
  {
2033
  $this->healthCheck = $healthCheck;
2034
  }
@@ -2068,7 +2068,7 @@ class Google_Service_Appengine_Version extends Google_Collection
2068
  {
2069
  return $this->libraries;
2070
  }
2071
- public function setManualScaling(Google_Service_Appengine_ManualScaling $manualScaling)
2072
  {
2073
  $this->manualScaling = $manualScaling;
2074
  }
@@ -2084,7 +2084,7 @@ class Google_Service_Appengine_Version extends Google_Collection
2084
  {
2085
  return $this->name;
2086
  }
2087
- public function setNetwork(Google_Service_Appengine_Network $network)
2088
  {
2089
  $this->network = $network;
2090
  }
@@ -2100,7 +2100,7 @@ class Google_Service_Appengine_Version extends Google_Collection
2100
  {
2101
  return $this->nobuildFilesRegex;
2102
  }
2103
- public function setResources(Google_Service_Appengine_Resources $resources)
2104
  {
2105
  $this->resources = $resources;
2106
  }
27
  *
28
  * @author Google, Inc.
29
  */
30
+ class Forminator_Google_Service_Appengine extends Forminator_Google_Service
31
  {
32
  /** View and manage your data across Google Cloud Platform services. */
33
  const CLOUD_PLATFORM =
42
  /**
43
  * Constructs the internal representation of the Appengine service.
44
  *
45
+ * @param Forminator_Google_Client $client
46
  */
47
+ public function __construct(Forminator_Google_Client $client)
48
  {
49
  parent::__construct($client);
50
  $this->rootUrl = 'https://appengine.googleapis.com/';
52
  $this->version = 'v1beta5';
53
  $this->serviceName = 'appengine';
54
 
55
+ $this->apps = new Forminator_Google_Service_Appengine_Apps_Resource(
56
  $this,
57
  $this->serviceName,
58
  'apps',
76
  )
77
  )
78
  );
79
+ $this->apps_operations = new Forminator_Google_Service_Appengine_AppsOperations_Resource(
80
  $this,
81
  $this->serviceName,
82
  'operations',
123
  )
124
  )
125
  );
126
+ $this->apps_services = new Forminator_Google_Service_Appengine_AppsServices_Resource(
127
  $this,
128
  $this->serviceName,
129
  'services',
204
  )
205
  )
206
  );
207
+ $this->apps_services_versions = new Forminator_Google_Service_Appengine_AppsServicesVersions_Resource(
208
  $this,
209
  $this->serviceName,
210
  'versions',
308
  * The "apps" collection of methods.
309
  * Typical usage is:
310
  * <code>
311
+ * $appengineService = new Forminator_Google_Service_Appengine(...);
312
  * $apps = $appengineService->apps;
313
  * </code>
314
  */
315
+ class Forminator_Google_Service_Appengine_Apps_Resource extends Forminator_Google_Service_Resource
316
  {
317
 
318
  /**
328
  * could not be created, the request will fail with an error code. Additionally,
329
  * this parameter can cause the request to take longer to complete. Note: This
330
  * parameter will be deprecated in a future version of the API.
331
+ * @return Forminator_Google_Service_Appengine_Application
332
  */
333
  public function get($appsId, $optParams = array())
334
  {
335
  $params = array('appsId' => $appsId);
336
  $params = array_merge($params, $optParams);
337
+ return $this->call('get', array($params), "Forminator_Google_Service_Appengine_Application");
338
  }
339
  }
340
 
342
  * The "operations" collection of methods.
343
  * Typical usage is:
344
  * <code>
345
+ * $appengineService = new Forminator_Google_Service_Appengine(...);
346
  * $operations = $appengineService->operations;
347
  * </code>
348
  */
349
+ class Forminator_Google_Service_Appengine_AppsOperations_Resource extends Forminator_Google_Service_Resource
350
  {
351
 
352
  /**
357
  * @param string $appsId Part of `name`. The name of the operation resource.
358
  * @param string $operationsId Part of `name`. See documentation of `appsId`.
359
  * @param array $optParams Optional parameters.
360
+ * @return Forminator_Google_Service_Appengine_Operation
361
  */
362
  public function get($appsId, $operationsId, $optParams = array())
363
  {
364
  $params = array('appsId' => $appsId, 'operationsId' => $operationsId);
365
  $params = array_merge($params, $optParams);
366
+ return $this->call('get', array($params), "Forminator_Google_Service_Appengine_Operation");
367
  }
368
 
369
  /**
379
  * @opt_param string filter The standard list filter.
380
  * @opt_param int pageSize The standard list page size.
381
  * @opt_param string pageToken The standard list page token.
382
+ * @return Forminator_Google_Service_Appengine_ListOperationsResponse
383
  */
384
  public function listAppsOperations($appsId, $optParams = array())
385
  {
386
  $params = array('appsId' => $appsId);
387
  $params = array_merge($params, $optParams);
388
+ return $this->call('list', array($params), "Forminator_Google_Service_Appengine_ListOperationsResponse");
389
  }
390
  }
391
  /**
392
  * The "services" collection of methods.
393
  * Typical usage is:
394
  * <code>
395
+ * $appengineService = new Forminator_Google_Service_Appengine(...);
396
  * $services = $appengineService->services;
397
  * </code>
398
  */
399
+ class Forminator_Google_Service_Appengine_AppsServices_Resource extends Forminator_Google_Service_Resource
400
  {
401
 
402
  /**
406
  * example: "apps/myapp/services/default".
407
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
408
  * @param array $optParams Optional parameters.
409
+ * @return Forminator_Google_Service_Appengine_Operation
410
  */
411
  public function delete($appsId, $servicesId, $optParams = array())
412
  {
413
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId);
414
  $params = array_merge($params, $optParams);
415
+ return $this->call('delete', array($params), "Forminator_Google_Service_Appengine_Operation");
416
  }
417
 
418
  /**
422
  * example: "apps/myapp/services/default".
423
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
424
  * @param array $optParams Optional parameters.
425
+ * @return Forminator_Google_Service_Appengine_Service
426
  */
427
  public function get($appsId, $servicesId, $optParams = array())
428
  {
429
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId);
430
  $params = array_merge($params, $optParams);
431
+ return $this->call('get', array($params), "Forminator_Google_Service_Appengine_Service");
432
  }
433
 
434
  /**
441
  * @opt_param int pageSize Maximum results to return per page.
442
  * @opt_param string pageToken Continuation token for fetching the next page of
443
  * results.
444
+ * @return Forminator_Google_Service_Appengine_ListServicesResponse
445
  */
446
  public function listAppsServices($appsId, $optParams = array())
447
  {
448
  $params = array('appsId' => $appsId);
449
  $params = array_merge($params, $optParams);
450
+ return $this->call('list', array($params), "Forminator_Google_Service_Appengine_ListServicesResponse");
451
  }
452
 
453
  /**
456
  * @param string $appsId Part of `name`. Name of the resource to update. For
457
  * example: "apps/myapp/services/default".
458
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
459
+ * @param Forminator_Google_Service $postBody
460
  * @param array $optParams Optional parameters.
461
  *
462
  * @opt_param string mask Standard field mask for the set of fields to be
464
  * @opt_param bool migrateTraffic Whether to use Traffic Migration to shift
465
  * traffic gradually. Traffic can only be migrated from a single version to
466
  * another single version.
467
+ * @return Forminator_Google_Service_Appengine_Operation
468
  */
469
+ public function patch($appsId, $servicesId, Forminator_Google_Service_Appengine_Service $postBody, $optParams = array())
470
  {
471
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody);
472
  $params = array_merge($params, $optParams);
473
+ return $this->call('patch', array($params), "Forminator_Google_Service_Appengine_Operation");
474
  }
475
  }
476
 
478
  * The "versions" collection of methods.
479
  * Typical usage is:
480
  * <code>
481
+ * $appengineService = new Forminator_Google_Service_Appengine(...);
482
  * $versions = $appengineService->versions;
483
  * </code>
484
  */
485
+ class Forminator_Google_Service_Appengine_AppsServicesVersions_Resource extends Forminator_Google_Service_Resource
486
  {
487
 
488
  /**
491
  * @param string $appsId Part of `name`. Name of the resource to update. For
492
  * example: "apps/myapp/services/default".
493
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
494
+ * @param Forminator_Google_Version $postBody
495
  * @param array $optParams Optional parameters.
496
+ * @return Forminator_Google_Service_Appengine_Operation
497
  */
498
+ public function create($appsId, $servicesId, Forminator_Google_Service_Appengine_Version $postBody, $optParams = array())
499
  {
500
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody);
501
  $params = array_merge($params, $optParams);
502
+ return $this->call('create', array($params), "Forminator_Google_Service_Appengine_Operation");
503
  }
504
 
505
  /**
510
  * @param string $servicesId Part of `name`. See documentation of `appsId`.
511
  * @param string $versionsId Part of `name`. See documentation of `appsId`.
512
  * @param array $optParams Optional parameters.
513
+ * @return Forminator_Google_Service_Appengine_Operation
514
  */
515
  public function delete($appsId, $servicesId, $versionsId, $optParams = array())
516
  {
517
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId);
518
  $params = array_merge($params, $optParams);
519
+ return $this->call('delete', array($params), "Forminator_Google_Service_Appengine_Operation");
520
  }
521
 
522
  /**
530
  *
531
  * @opt_param string view Controls the set of fields returned in the `Get`
532
  * response.
533
+ * @return Forminator_Google_Service_Appengine_Version
534
  */
535
  public function get($appsId, $servicesId, $versionsId, $optParams = array())
536
  {
537
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId);
538
  $params = array_merge($params, $optParams);
539
+ return $this->call('get', array($params), "Forminator_Google_Service_Appengine_Version");
540
  }
541
 
542
  /**
552
  * @opt_param int pageSize Maximum results to return per page.
553
  * @opt_param string pageToken Continuation token for fetching the next page of
554
  * results.
555
+ * @return Forminator_Google_Service_Appengine_ListVersionsResponse
556
  */
557
  public function listAppsServicesVersions($appsId, $servicesId, $optParams = array())
558
  {
559
  $params = array('appsId' => $appsId, 'servicesId' => $servicesId);
560
  $params = array_merge($params, $optParams);
561
+ return $this->call('list', array($params), "Forminator_Google_Service_Appengine_ListVersionsResponse");
562
  }
563
  }
564
 
565
 
566
 
567
 
568
+ class Forminator_Google_Service_Appengine_ApiConfigHandler extends Forminator_Google_Model
569
  {
570
  protected $internal_gapi_mappings = array(
571
  );
618
  }
619
  }
620
 
621
+ class Forminator_Google_Service_Appengine_ApiEndpointHandler extends Forminator_Google_Model
622
  {
623
  protected $internal_gapi_mappings = array(
624
  );
635
  }
636
  }
637
 
638
+ class Forminator_Google_Service_Appengine_Application extends Forminator_Google_Collection
639
  {
640
  protected $collection_key = 'dispatchRules';
641
  protected $internal_gapi_mappings = array(
642
  );
643
  public $codeBucket;
644
  public $defaultBucket;
645
+ protected $dispatchRulesType = 'Forminator_Google_Service_Appengine_UrlDispatchRule';
646
  protected $dispatchRulesDataType = 'array';
647
  public $id;
648
  public $location;
699
  }
700
  }
701
 
702
+ class Forminator_Google_Service_Appengine_AutomaticScaling extends Forminator_Google_Model
703
  {
704
  protected $internal_gapi_mappings = array(
705
  );
706
  public $coolDownPeriod;
707
+ protected $cpuUtilizationType = 'Forminator_Google_Service_Appengine_CpuUtilization';
708
  protected $cpuUtilizationDataType = '';
709
+ protected $diskUtilizationType = 'Forminator_Google_Service_Appengine_DiskUtilization';
710
  protected $diskUtilizationDataType = '';
711
  public $maxConcurrentRequests;
712
  public $maxIdleInstances;
715
  public $minIdleInstances;
716
  public $minPendingLatency;
717
  public $minTotalInstances;
718
+ protected $networkUtilizationType = 'Forminator_Google_Service_Appengine_NetworkUtilization';
719
  protected $networkUtilizationDataType = '';
720
+ protected $requestUtilizationType = 'Forminator_Google_Service_Appengine_RequestUtilization';
721
  protected $requestUtilizationDataType = '';
722
 
723
 
729
  {
730
  return $this->coolDownPeriod;
731
  }
732
+ public function setCpuUtilization(Forminator_Google_Service_Appengine_CpuUtilization $cpuUtilization)
733
  {
734
  $this->cpuUtilization = $cpuUtilization;
735
  }
737
  {
738
  return $this->cpuUtilization;
739
  }
740
+ public function setDiskUtilization(Forminator_Google_Service_Appengine_DiskUtilization $diskUtilization)
741
  {
742
  $this->diskUtilization = $diskUtilization;
743
  }
801
  {
802
  return $this->minTotalInstances;
803
  }
804
+ public function setNetworkUtilization(Forminator_Google_Service_Appengine_NetworkUtilization $networkUtilization)
805
  {
806
  $this->networkUtilization = $networkUtilization;
807
  }
809
  {
810
  return $this->networkUtilization;
811
  }
812
+ public function setRequestUtilization(Forminator_Google_Service_Appengine_RequestUtilization $requestUtilization)
813
  {
814
  $this->requestUtilization = $requestUtilization;
815
  }
819
  }
820
  }
821
 
822
+ class Forminator_Google_Service_Appengine_BasicScaling extends Forminator_Google_Model
823
  {
824
  protected $internal_gapi_mappings = array(
825
  );
845
  }
846
  }
847
 
848
+ class Forminator_Google_Service_Appengine_ContainerInfo extends Forminator_Google_Model
849
  {
850
  protected $internal_gapi_mappings = array(
851
  );
862
  }
863
  }
864
 
865
+ class Forminator_Google_Service_Appengine_CpuUtilization extends Forminator_Google_Model
866
  {
867
  protected $internal_gapi_mappings = array(
868
  );
888
  }
889
  }
890
 
891
+ class Forminator_Google_Service_Appengine_Deployment extends Forminator_Google_Collection
892
  {
893
  protected $collection_key = 'sourceReferences';
894
  protected $internal_gapi_mappings = array(
895
  );
896
+ protected $containerType = 'Forminator_Google_Service_Appengine_ContainerInfo';
897
  protected $containerDataType = '';
898
+ protected $filesType = 'Forminator_Google_Service_Appengine_FileInfo';
899
  protected $filesDataType = 'map';
900
+ protected $sourceReferencesType = 'Forminator_Google_Service_Appengine_SourceReference';
901
  protected $sourceReferencesDataType = 'array';
902
 
903
 
904
+ public function setContainer(Forminator_Google_Service_Appengine_ContainerInfo $container)
905
  {
906
  $this->container = $container;
907
  }
927
  }
928
  }
929
 
930
+ class Forminator_Google_Service_Appengine_DiskUtilization extends Forminator_Google_Model
931
  {
932
  protected $internal_gapi_mappings = array(
933
  );
971
  }
972
  }
973
 
974
+ class Forminator_Google_Service_Appengine_ErrorHandler extends Forminator_Google_Model
975
  {
976
  protected $internal_gapi_mappings = array(
977
  );
1006
  }
1007
  }
1008
 
1009
+ class Forminator_Google_Service_Appengine_FileInfo extends Forminator_Google_Model
1010
  {
1011
  protected $internal_gapi_mappings = array(
1012
  );
1041
  }
1042
  }
1043
 
1044
+ class Forminator_Google_Service_Appengine_HealthCheck extends Forminator_Google_Model
1045
  {
1046
  protected $internal_gapi_mappings = array(
1047
  );
1112
  }
1113
  }
1114
 
1115
+ class Forminator_Google_Service_Appengine_Library extends Forminator_Google_Model
1116
  {
1117
  protected $internal_gapi_mappings = array(
1118
  );
1138
  }
1139
  }
1140
 
1141
+ class Forminator_Google_Service_Appengine_ListOperationsResponse extends Forminator_Google_Collection
1142
  {
1143
  protected $collection_key = 'operations';
1144
  protected $internal_gapi_mappings = array(
1145
  );
1146
  public $nextPageToken;
1147
+ protected $operationsType = 'Forminator_Google_Service_Appengine_Operation';
1148
  protected $operationsDataType = 'array';
1149
 
1150
 
1166
  }
1167
  }
1168
 
1169
+ class Forminator_Google_Service_Appengine_ListServicesResponse extends Forminator_Google_Collection
1170
  {
1171
  protected $collection_key = 'services';
1172
  protected $internal_gapi_mappings = array(
1173
  );
1174
  public $nextPageToken;
1175
+ protected $servicesType = 'Forminator_Google_Service_Appengine_Service';
1176
  protected $servicesDataType = 'array';
1177
 
1178
 
1194
  }
1195
  }
1196
 
1197
+ class Forminator_Google_Service_Appengine_ListVersionsResponse extends Forminator_Google_Collection
1198
  {
1199
  protected $collection_key = 'versions';
1200
  protected $internal_gapi_mappings = array(
1201
  );
1202
  public $nextPageToken;
1203
+ protected $versionsType = 'Forminator_Google_Service_Appengine_Version';
1204
  protected $versionsDataType = 'array';
1205
 
1206
 
1222
  }
1223
  }
1224
 
1225
+ class Forminator_Google_Service_Appengine_ManualScaling extends Forminator_Google_Model
1226
  {
1227
  protected $internal_gapi_mappings = array(
1228
  );
1239
  }
1240
  }
1241
 
1242
+ class Forminator_Google_Service_Appengine_Network extends Forminator_Google_Collection
1243
  {
1244
  protected $collection_key = 'forwardedPorts';
1245
  protected $internal_gapi_mappings = array(
1275
  }
1276
  }
1277
 
1278
+ class Forminator_Google_Service_Appengine_NetworkUtilization extends Forminator_Google_Model
1279
  {
1280
  protected $internal_gapi_mappings = array(
1281
  );
1319
  }
1320
  }
1321
 
1322
+ class Forminator_Google_Service_Appengine_Operation extends Forminator_Google_Model
1323
  {
1324
  protected $internal_gapi_mappings = array(
1325
  );
1326
  public $done;
1327
+ protected $errorType = 'Forminator_Google_Service_Appengine_Status';
1328
  protected $errorDataType = '';
1329
  public $metadata;
1330
  public $name;
1339
  {
1340
  return $this->done;
1341
  }
1342
+ public function setError(Forminator_Google_Service_Appengine_Status $error)
1343
  {
1344
  $this->error = $error;
1345
  }
1373
  }
1374
  }
1375
 
1376
+ class Forminator_Google_Service_Appengine_OperationMetadata extends Forminator_Google_Model
1377
  {
1378
  protected $internal_gapi_mappings = array(
1379
  );
1435
  }
1436
  }
1437
 
1438
+ class Forminator_Google_Service_Appengine_OperationMetadataV1Beta5 extends Forminator_Google_Model
1439
  {
1440
  protected $internal_gapi_mappings = array(
1441
  );
1488
  }
1489
  }
1490
 
1491
+ class Forminator_Google_Service_Appengine_RequestUtilization extends Forminator_Google_Model
1492
  {
1493
  protected $internal_gapi_mappings = array(
1494
  );
1514
  }
1515
  }
1516
 
1517
+ class Forminator_Google_Service_Appengine_Resources extends Forminator_Google_Model
1518
  {
1519
  protected $internal_gapi_mappings = array(
1520
  );
1549
  }
1550
  }
1551
 
1552
+ class Forminator_Google_Service_Appengine_ScriptHandler extends Forminator_Google_Model
1553
  {
1554
  protected $internal_gapi_mappings = array(
1555
  );
1566
  }
1567
  }
1568
 
1569
+ class Forminator_Google_Service_Appengine_Service extends Forminator_Google_Model
1570
  {
1571
  protected $internal_gapi_mappings = array(
1572
  );
1573
  public $id;
1574
  public $name;
1575
+ protected $splitType = 'Forminator_Google_Service_Appengine_TrafficSplit';
1576
  protected $splitDataType = '';
1577
 
1578
 
1592
  {
1593
  return $this->name;
1594
  }
1595
+ public function setSplit(Forminator_Google_Service_Appengine_TrafficSplit $split)
1596
  {
1597
  $this->split = $split;
1598
  }
1602
  }
1603
  }
1604
 
1605
+ class Forminator_Google_Service_Appengine_SourceReference extends Forminator_Google_Model
1606
  {
1607
  protected $internal_gapi_mappings = array(
1608
  );
1628
  }
1629
  }
1630
 
1631
+ class Forminator_Google_Service_Appengine_StaticFilesHandler extends Forminator_Google_Model
1632
  {
1633
  protected $internal_gapi_mappings = array(
1634
  );
1699
  }
1700
  }
1701
 
1702
+ class Forminator_Google_Service_Appengine_Status extends Forminator_Google_Collection
1703
  {
1704
  protected $collection_key = 'details';
1705
  protected $internal_gapi_mappings = array(
1735
  }
1736
  }
1737
 
1738
+ class Forminator_Google_Service_Appengine_TrafficSplit extends Forminator_Google_Model
1739
  {
1740
  protected $internal_gapi_mappings = array(
1741
  );
1761
  }
1762
  }
1763
 
1764
+ class Forminator_Google_Service_Appengine_UrlDispatchRule extends Forminator_Google_Model
1765
  {
1766
  protected $internal_gapi_mappings = array(
1767
  );
1796
  }
1797
  }
1798
 
1799
+ class Forminator_Google_Service_Appengine_UrlMap extends Forminator_Google_Model
1800
  {
1801
  protected $internal_gapi_mappings = array(
1802
  );
1803
+ protected $apiEndpointType = 'Forminator_Google_Service_Appengine_ApiEndpointHandler';
1804
  protected $apiEndpointDataType = '';
1805
  public $authFailAction;
1806
  public $login;
1807
  public $redirectHttpResponseCode;
1808
+ protected $scriptType = 'Forminator_Google_Service_Appengine_ScriptHandler';
1809
  protected $scriptDataType = '';
1810
  public $securityLevel;
1811
+ protected $staticFilesType = 'Forminator_Google_Service_Appengine_StaticFilesHandler';
1812
  protected $staticFilesDataType = '';
1813
  public $urlRegex;
1814
 
1815
 
1816
+ public function setApiEndpoint(Forminator_Google_Service_Appengine_ApiEndpointHandler $apiEndpoint)
1817
  {
1818
  $this->apiEndpoint = $apiEndpoint;
1819
  }
1845
  {
1846
  return $this->redirectHttpResponseCode;
1847
  }
1848
+ public function setScript(Forminator_Google_Service_Appengine_ScriptHandler $script)
1849
  {
1850
  $this->script = $script;
1851
  }
1861
  {
1862
  return $this->securityLevel;
1863
  }
1864
+ public function setStaticFiles(Forminator_Google_Service_Appengine_StaticFilesHandler $staticFiles)
1865
  {
1866
  $this->staticFiles = $staticFiles;
1867
  }
1879
  }
1880
  }
1881
 
1882
+ class Forminator_Google_Service_Appengine_Version extends Forminator_Google_Collection
1883
  {
1884
  protected $collection_key = 'libraries';
1885
  protected $internal_gapi_mappings = array(
1886
  );
1887
+ protected $apiConfigType = 'Forminator_Google_Service_Appengine_ApiConfigHandler';
1888
  protected $apiConfigDataType = '';
1889
+ protected $automaticScalingType = 'Forminator_Google_Service_Appengine_AutomaticScaling';
1890
  protected $automaticScalingDataType = '';
1891
+ protected $basicScalingType = 'Forminator_Google_Service_Appengine_BasicScaling';
1892
  protected $basicScalingDataType = '';
1893
  public $betaSettings;
1894
  public $creationTime;
1895
  public $defaultExpiration;
1896
  public $deployer;
1897
+ protected $deploymentType = 'Forminator_Google_Service_Appengine_Deployment';
1898
  protected $deploymentDataType = '';
1899
  public $diskUsageBytes;
1900
  public $env;
1901
  public $envVariables;
1902
+ protected $errorHandlersType = 'Forminator_Google_Service_Appengine_ErrorHandler';
1903
  protected $errorHandlersDataType = 'array';
1904
+ protected $handlersType = 'Forminator_Google_Service_Appengine_UrlMap';
1905
  protected $handlersDataType = 'array';
1906
+ protected $healthCheckType = 'Forminator_Google_Service_Appengine_HealthCheck';
1907
  protected $healthCheckDataType = '';
1908
  public $id;
1909
  public $inboundServices;
1910
  public $instanceClass;
1911
+ protected $librariesType = 'Forminator_Google_Service_Appengine_Library';
1912
  protected $librariesDataType = 'array';
1913
+ protected $manualScalingType = 'Forminator_Google_Service_Appengine_ManualScaling';
1914
  protected $manualScalingDataType = '';
1915
  public $name;
1916
+ protected $networkType = 'Forminator_Google_Service_Appengine_Network';
1917
  protected $networkDataType = '';
1918
  public $nobuildFilesRegex;
1919
+ protected $resourcesType = 'Forminator_Google_Service_Appengine_Resources';
1920
  protected $resourcesDataType = '';
1921
  public $runtime;
1922
  public $servingStatus;
1924
  public $vm;
1925
 
1926
 
1927
+ public function setApiConfig(Forminator_Google_Service_Appengine_ApiConfigHandler $apiConfig)
1928
  {
1929
  $this->apiConfig = $apiConfig;
1930
  }
1932
  {
1933
  return $this->apiConfig;
1934
  }
1935
+ public function setAutomaticScaling(Forminator_Google_Service_Appengine_AutomaticScaling $automaticScaling)
1936
  {
1937
  $this->automaticScaling = $automaticScaling;
1938
  }
1940
  {
1941
  return $this->automaticScaling;
1942
  }
1943
+ public function setBasicScaling(Forminator_Google_Service_Appengine_BasicScaling $basicScaling)
1944
  {
1945
  $this->basicScaling = $basicScaling;
1946
  }
1980
  {
1981
  return $this->deployer;
1982
  }
1983
+ public function setDeployment(Forminator_Google_Service_Appengine_Deployment $deployment)
1984
  {
1985
  $this->deployment = $deployment;
1986
  }
2028
  {
2029
  return $this->handlers;
2030
  }
2031
+ public function setHealthCheck(Forminator_Google_Service_Appengine_HealthCheck $healthCheck)
2032
  {
2033
  $this->healthCheck = $healthCheck;
2034
  }
2068
  {
2069
  return $this->libraries;
2070
  }
2071
+ public function setManualScaling(Forminator_Google_Service_Appengine_ManualScaling $manualScaling)
2072
  {
2073
  $this->manualScaling = $manualScaling;
2074
  }
2084
  {
2085
  return $this->name;
2086
  }
2087
+ public function setNetwork(Forminator_Google_Service_Appengine_Network $network)
2088
  {
2089
  $this->network = $network;
2090
  }
2100
  {
2101
  return $this->nobuildFilesRegex;
2102
  }
2103
+ public function setResources(Forminator_Google_Service_Appengine_Resources $resources)
2104
  {
2105
  $this->resources = $resources;
2106
  }
addons/pro/googlesheet/lib/external/Google/Service/Appsactivity.php CHANGED
@@ -26,7 +26,7 @@
26
  *
27
  * @author Google, Inc.
28
  */
29
- class Google_Service_Appsactivity extends Google_Service
30
  {
31
  /** View the activity history of your Google Apps. */
32
  const ACTIVITY =
@@ -50,9 +50,9 @@ class Google_Service_Appsactivity extends Google_Service
50
  /**
51
  * Constructs the internal representation of the Appsactivity service.
52
  *
53
- * @param Google_Client $client
54
  */
55
- public function __construct(Google_Client $client)
56
  {
57
  parent::__construct($client);
58
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -60,7 +60,7 @@ class Google_Service_Appsactivity extends Google_Service
60
  $this->version = 'v1';
61
  $this->serviceName = 'appsactivity';
62
 
63
- $this->activities = new Google_Service_Appsactivity_Activities_Resource(
64
  $this,
65
  $this->serviceName,
66
  'activities',
@@ -111,11 +111,11 @@ class Google_Service_Appsactivity extends Google_Service
111
  * The "activities" collection of methods.
112
  * Typical usage is:
113
  * <code>
114
- * $appsactivityService = new Google_Service_Appsactivity(...);
115
  * $activities = $appsactivityService->activities;
116
  * </code>
117
  */
118
- class Google_Service_Appsactivity_Activities_Resource extends Google_Service_Resource
119
  {
120
 
121
  /**
@@ -141,31 +141,31 @@ class Google_Service_Appsactivity_Activities_Resource extends Google_Service_Res
141
  * Possible values of source are: - drive.google.com
142
  * @opt_param string userId Indicates the user to return activity for. Use the
143
  * special value me to indicate the currently authenticated user.
144
- * @return Google_Service_Appsactivity_ListActivitiesResponse
145
  */
146
  public function listActivities($optParams = array())
147
  {
148
  $params = array();
149
  $params = array_merge($params, $optParams);
150
- return $this->call('list', array($params), "Google_Service_Appsactivity_ListActivitiesResponse");
151
  }
152
  }
153
 
154
 
155
 
156
 
157
- class Google_Service_Appsactivity_Activity extends Google_Collection
158
  {
159
  protected $collection_key = 'singleEvents';
160
  protected $internal_gapi_mappings = array(
161
  );
162
- protected $combinedEventType = 'Google_Service_Appsactivity_Event';
163
  protected $combinedEventDataType = '';
164
- protected $singleEventsType = 'Google_Service_Appsactivity_Event';
165
  protected $singleEventsDataType = 'array';
166
 
167
 
168
- public function setCombinedEvent(Google_Service_Appsactivity_Event $combinedEvent)
169
  {
170
  $this->combinedEvent = $combinedEvent;
171
  }
@@ -183,7 +183,7 @@ class Google_Service_Appsactivity_Activity extends Google_Collection
183
  }
184
  }
185
 
186
- class Google_Service_Appsactivity_Event extends Google_Collection
187
  {
188
  protected $collection_key = 'permissionChanges';
189
  protected $internal_gapi_mappings = array(
@@ -191,16 +191,16 @@ class Google_Service_Appsactivity_Event extends Google_Collection
191
  public $additionalEventTypes;
192
  public $eventTimeMillis;
193
  public $fromUserDeletion;
194
- protected $moveType = 'Google_Service_Appsactivity_Move';
195
  protected $moveDataType = '';
196
- protected $permissionChangesType = 'Google_Service_Appsactivity_PermissionChange';
197
  protected $permissionChangesDataType = 'array';
198
  public $primaryEventType;
199
- protected $renameType = 'Google_Service_Appsactivity_Rename';
200
  protected $renameDataType = '';
201
- protected $targetType = 'Google_Service_Appsactivity_Target';
202
  protected $targetDataType = '';
203
- protected $userType = 'Google_Service_Appsactivity_User';
204
  protected $userDataType = '';
205
 
206
 
@@ -228,7 +228,7 @@ class Google_Service_Appsactivity_Event extends Google_Collection
228
  {
229
  return $this->fromUserDeletion;
230
  }
231
- public function setMove(Google_Service_Appsactivity_Move $move)
232
  {
233
  $this->move = $move;
234
  }
@@ -252,7 +252,7 @@ class Google_Service_Appsactivity_Event extends Google_Collection
252
  {
253
  return $this->primaryEventType;
254
  }
255
- public function setRename(Google_Service_Appsactivity_Rename $rename)
256
  {
257
  $this->rename = $rename;
258
  }
@@ -260,7 +260,7 @@ class Google_Service_Appsactivity_Event extends Google_Collection
260
  {
261
  return $this->rename;
262
  }
263
- public function setTarget(Google_Service_Appsactivity_Target $target)
264
  {
265
  $this->target = $target;
266
  }
@@ -268,7 +268,7 @@ class Google_Service_Appsactivity_Event extends Google_Collection
268
  {
269
  return $this->target;
270
  }
271
- public function setUser(Google_Service_Appsactivity_User $user)
272
  {
273
  $this->user = $user;
274
  }
@@ -278,12 +278,12 @@ class Google_Service_Appsactivity_Event extends Google_Collection
278
  }
279
  }
280
 
281
- class Google_Service_Appsactivity_ListActivitiesResponse extends Google_Collection
282
  {
283
  protected $collection_key = 'activities';
284
  protected $internal_gapi_mappings = array(
285
  );
286
- protected $activitiesType = 'Google_Service_Appsactivity_Activity';
287
  protected $activitiesDataType = 'array';
288
  public $nextPageToken;
289
 
@@ -306,14 +306,14 @@ class Google_Service_Appsactivity_ListActivitiesResponse extends Google_Collecti
306
  }
307
  }
308
 
309
- class Google_Service_Appsactivity_Move extends Google_Collection
310
  {
311
  protected $collection_key = 'removedParents';
312
  protected $internal_gapi_mappings = array(
313
  );
314
- protected $addedParentsType = 'Google_Service_Appsactivity_Parent';
315
  protected $addedParentsDataType = 'array';
316
- protected $removedParentsType = 'Google_Service_Appsactivity_Parent';
317
  protected $removedParentsDataType = 'array';
318
 
319
 
@@ -335,7 +335,7 @@ class Google_Service_Appsactivity_Move extends Google_Collection
335
  }
336
  }
337
 
338
- class Google_Service_Appsactivity_Parent extends Google_Model
339
  {
340
  protected $internal_gapi_mappings = array(
341
  );
@@ -370,7 +370,7 @@ class Google_Service_Appsactivity_Parent extends Google_Model
370
  }
371
  }
372
 
373
- class Google_Service_Appsactivity_Permission extends Google_Model
374
  {
375
  protected $internal_gapi_mappings = array(
376
  );
@@ -378,7 +378,7 @@ class Google_Service_Appsactivity_Permission extends Google_Model
378
  public $permissionId;
379
  public $role;
380
  public $type;
381
- protected $userType = 'Google_Service_Appsactivity_User';
382
  protected $userDataType = '';
383
  public $withLink;
384
 
@@ -415,7 +415,7 @@ class Google_Service_Appsactivity_Permission extends Google_Model
415
  {
416
  return $this->type;
417
  }
418
- public function setUser(Google_Service_Appsactivity_User $user)
419
  {
420
  $this->user = $user;
421
  }
@@ -433,14 +433,14 @@ class Google_Service_Appsactivity_Permission extends Google_Model
433
  }
434
  }
435
 
436
- class Google_Service_Appsactivity_PermissionChange extends Google_Collection
437
  {
438
  protected $collection_key = 'removedPermissions';
439
  protected $internal_gapi_mappings = array(
440
  );
441
- protected $addedPermissionsType = 'Google_Service_Appsactivity_Permission';
442
  protected $addedPermissionsDataType = 'array';
443
- protected $removedPermissionsType = 'Google_Service_Appsactivity_Permission';
444
  protected $removedPermissionsDataType = 'array';
445
 
446
 
@@ -462,7 +462,7 @@ class Google_Service_Appsactivity_PermissionChange extends Google_Collection
462
  }
463
  }
464
 
465
- class Google_Service_Appsactivity_Photo extends Google_Model
466
  {
467
  protected $internal_gapi_mappings = array(
468
  );
@@ -479,7 +479,7 @@ class Google_Service_Appsactivity_Photo extends Google_Model
479
  }
480
  }
481
 
482
- class Google_Service_Appsactivity_Rename extends Google_Model
483
  {
484
  protected $internal_gapi_mappings = array(
485
  );
@@ -505,7 +505,7 @@ class Google_Service_Appsactivity_Rename extends Google_Model
505
  }
506
  }
507
 
508
- class Google_Service_Appsactivity_Target extends Google_Model
509
  {
510
  protected $internal_gapi_mappings = array(
511
  );
@@ -540,12 +540,12 @@ class Google_Service_Appsactivity_Target extends Google_Model
540
  }
541
  }
542
 
543
- class Google_Service_Appsactivity_User extends Google_Model
544
  {
545
  protected $internal_gapi_mappings = array(
546
  );
547
  public $name;
548
- protected $photoType = 'Google_Service_Appsactivity_Photo';
549
  protected $photoDataType = '';
550
 
551
 
@@ -557,7 +557,7 @@ class Google_Service_Appsactivity_User extends Google_Model
557
  {
558
  return $this->name;
559
  }
560
- public function setPhoto(Google_Service_Appsactivity_Photo $photo)
561
  {
562
  $this->photo = $photo;
563
  }
26
  *
27
  * @author Google, Inc.
28
  */
29
+ class Forminator_Google_Service_Appsactivity extends Forminator_Google_Service
30
  {
31
  /** View the activity history of your Google Apps. */
32
  const ACTIVITY =
50
  /**
51
  * Constructs the internal representation of the Appsactivity service.
52
  *
53
+ * @param Forminator_Google_Client $client
54
  */
55
+ public function __construct(Forminator_Google_Client $client)
56
  {
57
  parent::__construct($client);
58
  $this->rootUrl = 'https://www.googleapis.com/';
60
  $this->version = 'v1';
61
  $this->serviceName = 'appsactivity';
62
 
63
+ $this->activities = new Forminator_Google_Service_Appsactivity_Activities_Resource(
64
  $this,
65
  $this->serviceName,
66
  'activities',
111
  * The "activities" collection of methods.
112
  * Typical usage is:
113
  * <code>
114
+ * $appsactivityService = new Forminator_Google_Service_Appsactivity(...);
115
  * $activities = $appsactivityService->activities;
116
  * </code>
117
  */
118
+ class Forminator_Google_Service_Appsactivity_Activities_Resource extends Forminator_Google_Service_Resource
119
  {
120
 
121
  /**
141
  * Possible values of source are: - drive.google.com
142
  * @opt_param string userId Indicates the user to return activity for. Use the
143
  * special value me to indicate the currently authenticated user.
144
+ * @return Forminator_Google_Service_Appsactivity_ListActivitiesResponse
145
  */
146
  public function listActivities($optParams = array())
147
  {
148
  $params = array();
149
  $params = array_merge($params, $optParams);
150
+ return $this->call('list', array($params), "Forminator_Google_Service_Appsactivity_ListActivitiesResponse");
151
  }
152
  }
153
 
154
 
155
 
156
 
157
+ class Forminator_Google_Service_Appsactivity_Activity extends Forminator_Google_Collection
158
  {
159
  protected $collection_key = 'singleEvents';
160
  protected $internal_gapi_mappings = array(
161
  );
162
+ protected $combinedEventType = 'Forminator_Google_Service_Appsactivity_Event';
163
  protected $combinedEventDataType = '';
164
+ protected $singleEventsType = 'Forminator_Google_Service_Appsactivity_Event';
165
  protected $singleEventsDataType = 'array';
166
 
167
 
168
+ public function setCombinedEvent(Forminator_Google_Service_Appsactivity_Event $combinedEvent)
169
  {
170
  $this->combinedEvent = $combinedEvent;
171
  }
183
  }
184
  }
185
 
186
+ class Forminator_Google_Service_Appsactivity_Event extends Forminator_Google_Collection
187
  {
188
  protected $collection_key = 'permissionChanges';
189
  protected $internal_gapi_mappings = array(
191
  public $additionalEventTypes;
192
  public $eventTimeMillis;
193
  public $fromUserDeletion;
194
+ protected $moveType = 'Forminator_Google_Service_Appsactivity_Move';
195
  protected $moveDataType = '';
196
+ protected $permissionChangesType = 'Forminator_Google_Service_Appsactivity_PermissionChange';
197
  protected $permissionChangesDataType = 'array';
198
  public $primaryEventType;
199
+ protected $renameType = 'Forminator_Google_Service_Appsactivity_Rename';
200
  protected $renameDataType = '';
201
+ protected $targetType = 'Forminator_Google_Service_Appsactivity_Target';
202
  protected $targetDataType = '';
203
+ protected $userType = 'Forminator_Google_Service_Appsactivity_User';
204
  protected $userDataType = '';
205
 
206
 
228
  {
229
  return $this->fromUserDeletion;
230
  }
231
+ public function setMove(Forminator_Google_Service_Appsactivity_Move $move)
232
  {
233
  $this->move = $move;
234
  }
252
  {
253
  return $this->primaryEventType;
254
  }
255
+ public function setRename(Forminator_Google_Service_Appsactivity_Rename $rename)
256
  {
257
  $this->rename = $rename;
258
  }
260
  {
261
  return $this->rename;
262
  }
263
+ public function setTarget(Forminator_Google_Service_Appsactivity_Target $target)
264
  {
265
  $this->target = $target;
266
  }
268
  {
269
  return $this->target;
270
  }
271
+ public function setUser(Forminator_Google_Service_Appsactivity_User $user)
272
  {
273
  $this->user = $user;
274
  }
278
  }
279
  }
280
 
281
+ class Forminator_Google_Service_Appsactivity_ListActivitiesResponse extends Forminator_Google_Collection
282
  {
283
  protected $collection_key = 'activities';
284
  protected $internal_gapi_mappings = array(
285
  );
286
+ protected $activitiesType = 'Forminator_Google_Service_Appsactivity_Activity';
287
  protected $activitiesDataType = 'array';
288
  public $nextPageToken;
289
 
306
  }
307
  }
308
 
309
+ class Forminator_Google_Service_Appsactivity_Move extends Forminator_Google_Collection
310
  {
311
  protected $collection_key = 'removedParents';
312
  protected $internal_gapi_mappings = array(
313
  );
314
+ protected $addedParentsType = 'Forminator_Google_Service_Appsactivity_Parent';
315
  protected $addedParentsDataType = 'array';
316
+ protected $removedParentsType = 'Forminator_Google_Service_Appsactivity_Parent';
317
  protected $removedParentsDataType = 'array';
318
 
319
 
335
  }
336
  }
337
 
338
+ class Forminator_Google_Service_Appsactivity_Parent extends Forminator_Google_Model
339
  {
340
  protected $internal_gapi_mappings = array(
341
  );
370
  }
371
  }
372
 
373
+ class Forminator_Google_Service_Appsactivity_Permission extends Forminator_Google_Model
374
  {
375
  protected $internal_gapi_mappings = array(
376
  );
378
  public $permissionId;
379
  public $role;
380
  public $type;
381
+ protected $userType = 'Forminator_Google_Service_Appsactivity_User';
382
  protected $userDataType = '';
383
  public $withLink;
384
 
415
  {
416
  return $this->type;
417
  }
418
+ public function setUser(Forminator_Google_Service_Appsactivity_User $user)
419
  {
420
  $this->user = $user;
421
  }
433
  }
434
  }
435
 
436
+ class Forminator_Google_Service_Appsactivity_PermissionChange extends Forminator_Google_Collection
437
  {
438
  protected $collection_key = 'removedPermissions';
439
  protected $internal_gapi_mappings = array(
440
  );
441
+ protected $addedPermissionsType = 'Forminator_Google_Service_Appsactivity_Permission';
442
  protected $addedPermissionsDataType = 'array';
443
+ protected $removedPermissionsType = 'Forminator_Google_Service_Appsactivity_Permission';
444
  protected $removedPermissionsDataType = 'array';
445
 
446
 
462
  }
463
  }
464
 
465
+ class Forminator_Google_Service_Appsactivity_Photo extends Forminator_Google_Model
466
  {
467
  protected $internal_gapi_mappings = array(
468
  );
479
  }
480
  }
481
 
482
+ class Forminator_Google_Service_Appsactivity_Rename extends Forminator_Google_Model
483
  {
484
  protected $internal_gapi_mappings = array(
485
  );
505
  }
506
  }
507
 
508
+ class Forminator_Google_Service_Appsactivity_Target extends Forminator_Google_Model
509
  {
510
  protected $internal_gapi_mappings = array(
511
  );
540
  }
541
  }
542
 
543
+ class Forminator_Google_Service_Appsactivity_User extends Forminator_Google_Model
544
  {
545
  protected $internal_gapi_mappings = array(
546
  );
547
  public $name;
548
+ protected $photoType = 'Forminator_Google_Service_Appsactivity_Photo';
549
  protected $photoDataType = '';
550
 
551
 
557
  {
558
  return $this->name;
559
  }
560
+ public function setPhoto(Forminator_Google_Service_Appsactivity_Photo $photo)
561
  {
562
  $this->photo = $photo;
563
  }
addons/pro/googlesheet/lib/external/Google/Service/Audit.php CHANGED
@@ -29,7 +29,7 @@
29
  *
30
  * @author Google, Inc.
31
  */
32
- class Google_Service_Audit extends Google_Service
33
  {
34
 
35
 
@@ -39,16 +39,16 @@ class Google_Service_Audit extends Google_Service
39
  /**
40
  * Constructs the internal representation of the Audit service.
41
  *
42
- * @param Google_Client $client
43
  */
44
- public function __construct(Google_Client $client)
45
  {
46
  parent::__construct($client);
47
  $this->servicePath = 'apps/reporting/audit/v1/';
48
  $this->version = 'v1';
49
  $this->serviceName = 'audit';
50
 
51
- $this->activities = new Google_Service_Audit_Activities_Resource(
52
  $this,
53
  $this->serviceName,
54
  'activities',
@@ -117,11 +117,11 @@ class Google_Service_Audit extends Google_Service
117
  * The "activities" collection of methods.
118
  * Typical usage is:
119
  * <code>
120
- * $auditService = new Google_Service_Audit(...);
121
  * $activities = $auditService->activities;
122
  * </code>
123
  */
124
- class Google_Service_Audit_Activities_Resource extends Google_Service_Resource
125
  {
126
 
127
  /**
@@ -148,25 +148,25 @@ class Google_Service_Audit_Activities_Resource extends Google_Service_Resource
148
  * time.
149
  * @opt_param string endTime Return events which occured at or before this time.
150
  * @opt_param string continuationToken Next page URL.
151
- * @return Google_Service_Audit_Activities
152
  */
153
  public function listActivities($customerId, $applicationId, $optParams = array())
154
  {
155
  $params = array('customerId' => $customerId, 'applicationId' => $applicationId);
156
  $params = array_merge($params, $optParams);
157
- return $this->call('list', array($params), "Google_Service_Audit_Activities");
158
  }
159
  }
160
 
161
 
162
 
163
 
164
- class Google_Service_Audit_Activities extends Google_Collection
165
  {
166
  protected $collection_key = 'items';
167
  protected $internal_gapi_mappings = array(
168
  );
169
- protected $itemsType = 'Google_Service_Audit_Activity';
170
  protected $itemsDataType = 'array';
171
  public $kind;
172
  public $next;
@@ -198,23 +198,23 @@ class Google_Service_Audit_Activities extends Google_Collection
198
  }
199
  }
200
 
201
- class Google_Service_Audit_Activity extends Google_Collection
202
  {
203
  protected $collection_key = 'events';
204
  protected $internal_gapi_mappings = array(
205
  );
206
- protected $actorType = 'Google_Service_Audit_ActivityActor';
207
  protected $actorDataType = '';
208
- protected $eventsType = 'Google_Service_Audit_ActivityEvents';
209
  protected $eventsDataType = 'array';
210
- protected $idType = 'Google_Service_Audit_ActivityId';
211
  protected $idDataType = '';
212
  public $ipAddress;
213
  public $kind;
214
  public $ownerDomain;
215
 
216
 
217
- public function setActor(Google_Service_Audit_ActivityActor $actor)
218
  {
219
  $this->actor = $actor;
220
  }
@@ -230,7 +230,7 @@ class Google_Service_Audit_Activity extends Google_Collection
230
  {
231
  return $this->events;
232
  }
233
- public function setId(Google_Service_Audit_ActivityId $id)
234
  {
235
  $this->id = $id;
236
  }
@@ -264,7 +264,7 @@ class Google_Service_Audit_Activity extends Google_Collection
264
  }
265
  }
266
 
267
- class Google_Service_Audit_ActivityActor extends Google_Model
268
  {
269
  protected $internal_gapi_mappings = array(
270
  );
@@ -308,14 +308,14 @@ class Google_Service_Audit_ActivityActor extends Google_Model
308
  }
309
  }
310
 
311
- class Google_Service_Audit_ActivityEvents extends Google_Collection
312
  {
313
  protected $collection_key = 'parameters';
314
  protected $internal_gapi_mappings = array(
315
  );
316
  public $eventType;
317
  public $name;
318
- protected $parametersType = 'Google_Service_Audit_ActivityEventsParameters';
319
  protected $parametersDataType = 'array';
320
 
321
 
@@ -345,7 +345,7 @@ class Google_Service_Audit_ActivityEvents extends Google_Collection
345
  }
346
  }
347
 
348
- class Google_Service_Audit_ActivityEventsParameters extends Google_Model
349
  {
350
  protected $internal_gapi_mappings = array(
351
  );
@@ -371,7 +371,7 @@ class Google_Service_Audit_ActivityEventsParameters extends Google_Model
371
  }
372
  }
373
 
374
- class Google_Service_Audit_ActivityId extends Google_Model
375
  {
376
  protected $internal_gapi_mappings = array(
377
  );
29
  *
30
  * @author Google, Inc.
31
  */
32
+ class Forminator_Google_Service_Audit extends Forminator_Google_Service
33
  {
34
 
35
 
39
  /**
40
  * Constructs the internal representation of the Audit service.
41
  *
42
+ * @param Forminator_Google_Client $client
43
  */
44
+ public function __construct(Forminator_Google_Client $client)
45
  {
46
  parent::__construct($client);
47
  $this->servicePath = 'apps/reporting/audit/v1/';
48
  $this->version = 'v1';
49
  $this->serviceName = 'audit';
50
 
51
+ $this->activities = new Forminator_Google_Service_Audit_Activities_Resource(
52
  $this,
53
  $this->serviceName,
54
  'activities',
117
  * The "activities" collection of methods.
118
  * Typical usage is:
119
  * <code>
120
+ * $auditService = new Forminator_Google_Service_Audit(...);
121
  * $activities = $auditService->activities;
122
  * </code>
123
  */
124
+ class Forminator_Google_Service_Audit_Activities_Resource extends Forminator_Google_Service_Resource
125
  {
126
 
127
  /**
148
  * time.
149
  * @opt_param string endTime Return events which occured at or before this time.
150
  * @opt_param string continuationToken Next page URL.
151
+ * @return Forminator_Google_Service_Audit_Activities
152
  */
153
  public function listActivities($customerId, $applicationId, $optParams = array())
154
  {
155
  $params = array('customerId' => $customerId, 'applicationId' => $applicationId);
156
  $params = array_merge($params, $optParams);
157
+ return $this->call('list', array($params), "Forminator_Google_Service_Audit_Activities");
158
  }
159
  }
160
 
161
 
162
 
163
 
164
+ class Forminator_Google_Service_Audit_Activities extends Forminator_Google_Collection
165
  {
166
  protected $collection_key = 'items';
167
  protected $internal_gapi_mappings = array(
168
  );
169
+ protected $itemsType = 'Forminator_Google_Service_Audit_Activity';
170
  protected $itemsDataType = 'array';
171
  public $kind;
172
  public $next;
198
  }
199
  }
200
 
201
+ class Forminator_Google_Service_Audit_Activity extends Forminator_Google_Collection
202
  {
203
  protected $collection_key = 'events';
204
  protected $internal_gapi_mappings = array(
205
  );
206
+ protected $actorType = 'Forminator_Google_Service_Audit_ActivityActor';
207
  protected $actorDataType = '';
208
+ protected $eventsType = 'Forminator_Google_Service_Audit_ActivityEvents';
209
  protected $eventsDataType = 'array';
210
+ protected $idType = 'Forminator_Google_Service_Audit_ActivityId';
211
  protected $idDataType = '';
212
  public $ipAddress;
213
  public $kind;
214
  public $ownerDomain;
215
 
216
 
217
+ public function setActor(Forminator_Google_Service_Audit_ActivityActor $actor)
218
  {
219
  $this->actor = $actor;
220
  }
230
  {
231
  return $this->events;
232
  }
233
+ public function setId(Forminator_Google_Service_Audit_ActivityId $id)
234
  {
235
  $this->id = $id;
236
  }
264
  }
265
  }
266
 
267
+ class Forminator_Google_Service_Audit_ActivityActor extends Forminator_Google_Model
268
  {
269
  protected $internal_gapi_mappings = array(
270
  );
308
  }
309
  }
310
 
311
+ class Forminator_Google_Service_Audit_ActivityEvents extends Forminator_Google_Collection
312
  {
313
  protected $collection_key = 'parameters';
314
  protected $internal_gapi_mappings = array(
315
  );
316
  public $eventType;
317
  public $name;
318
+ protected $parametersType = 'Forminator_Google_Service_Audit_ActivityEventsParameters';
319
  protected $parametersDataType = 'array';
320
 
321
 
345
  }
346
  }
347
 
348
+ class Forminator_Google_Service_Audit_ActivityEventsParameters extends Forminator_Google_Model
349
  {
350
  protected $internal_gapi_mappings = array(
351
  );
371
  }
372
  }
373
 
374
+ class Forminator_Google_Service_Audit_ActivityId extends Forminator_Google_Model
375
  {
376
  protected $internal_gapi_mappings = array(
377
  );
addons/pro/googlesheet/lib/external/Google/Service/Autoscaler.php CHANGED
@@ -27,7 +27,7 @@
27
  *
28
  * @author Google, Inc.
29
  */
30
- class Google_Service_Autoscaler extends Google_Service
31
  {
32
  /** View and manage your Google Compute Engine resources. */
33
  const COMPUTE =
@@ -44,9 +44,9 @@ class Google_Service_Autoscaler extends Google_Service
44
  /**
45
  * Constructs the internal representation of the Autoscaler service.
46
  *
47
- * @param Google_Client $client
48
  */
49
- public function __construct(Google_Client $client)
50
  {
51
  parent::__construct($client);
52
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -54,7 +54,7 @@ class Google_Service_Autoscaler extends Google_Service
54
  $this->version = 'v1beta2';
55
  $this->serviceName = 'autoscaler';
56
 
57
- $this->autoscalers = new Google_Service_Autoscaler_Autoscalers_Resource(
58
  $this,
59
  $this->serviceName,
60
  'autoscalers',
@@ -186,7 +186,7 @@ class Google_Service_Autoscaler extends Google_Service
186
  )
187
  )
188
  );
189
- $this->zoneOperations = new Google_Service_Autoscaler_ZoneOperations_Resource(
190
  $this,
191
  $this->serviceName,
192
  'zoneOperations',
@@ -263,7 +263,7 @@ class Google_Service_Autoscaler extends Google_Service
263
  )
264
  )
265
  );
266
- $this->zones = new Google_Service_Autoscaler_Zones_Resource(
267
  $this,
268
  $this->serviceName,
269
  'zones',
@@ -303,11 +303,11 @@ class Google_Service_Autoscaler extends Google_Service
303
  * The "autoscalers" collection of methods.
304
  * Typical usage is:
305
  * <code>
306
- * $autoscalerService = new Google_Service_Autoscaler(...);
307
  * $autoscalers = $autoscalerService->autoscalers;
308
  * </code>
309
  */
310
- class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Resource
311
  {
312
 
313
  /**
@@ -317,13 +317,13 @@ class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Reso
317
  * @param string $zone Zone name of Autoscaler resource.
318
  * @param string $autoscaler Name of the Autoscaler resource.
319
  * @param array $optParams Optional parameters.
320
- * @return Google_Service_Autoscaler_Operation
321
  */
322
  public function delete($project, $zone, $autoscaler, $optParams = array())
323
  {
324
  $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
325
  $params = array_merge($params, $optParams);
326
- return $this->call('delete', array($params), "Google_Service_Autoscaler_Operation");
327
  }
328
 
329
  /**
@@ -333,13 +333,13 @@ class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Reso
333
  * @param string $zone Zone name of Autoscaler resource.
334
  * @param string $autoscaler Name of the Autoscaler resource.
335
  * @param array $optParams Optional parameters.
336
- * @return Google_Service_Autoscaler_Autoscaler
337
  */
338
  public function get($project, $zone, $autoscaler, $optParams = array())
339
  {
340
  $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
341
  $params = array_merge($params, $optParams);
342
- return $this->call('get', array($params), "Google_Service_Autoscaler_Autoscaler");
343
  }
344
 
345
  /**
@@ -347,15 +347,15 @@ class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Reso
347
  *
348
  * @param string $project Project ID of Autoscaler resource.
349
  * @param string $zone Zone name of Autoscaler resource.
350
- * @param Google_Autoscaler $postBody
351
  * @param array $optParams Optional parameters.
352
- * @return Google_Service_Autoscaler_Operation
353
  */
354
- public function insert($project, $zone, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
355
  {
356
  $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
357
  $params = array_merge($params, $optParams);
358
- return $this->call('insert', array($params), "Google_Service_Autoscaler_Operation");
359
  }
360
 
361
  /**
@@ -368,13 +368,13 @@ class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Reso
368
  * @opt_param string filter
369
  * @opt_param string maxResults
370
  * @opt_param string pageToken
371
- * @return Google_Service_Autoscaler_AutoscalerListResponse
372
  */
373
  public function listAutoscalers($project, $zone, $optParams = array())
374
  {
375
  $params = array('project' => $project, 'zone' => $zone);
376
  $params = array_merge($params, $optParams);
377
- return $this->call('list', array($params), "Google_Service_Autoscaler_AutoscalerListResponse");
378
  }
379
 
380
  /**
@@ -384,15 +384,15 @@ class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Reso
384
  * @param string $project Project ID of Autoscaler resource.
385
  * @param string $zone Zone name of Autoscaler resource.
386
  * @param string $autoscaler Name of the Autoscaler resource.
387
- * @param Google_Autoscaler $postBody
388
  * @param array $optParams Optional parameters.
389
- * @return Google_Service_Autoscaler_Operation
390
  */
391
- public function patch($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
392
  {
393
  $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
394
  $params = array_merge($params, $optParams);
395
- return $this->call('patch', array($params), "Google_Service_Autoscaler_Operation");
396
  }
397
 
398
  /**
@@ -401,15 +401,15 @@ class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Reso
401
  * @param string $project Project ID of Autoscaler resource.
402
  * @param string $zone Zone name of Autoscaler resource.
403
  * @param string $autoscaler Name of the Autoscaler resource.
404
- * @param Google_Autoscaler $postBody
405
  * @param array $optParams Optional parameters.
406
- * @return Google_Service_Autoscaler_Operation
407
  */
408
- public function update($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
409
  {
410
  $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
411
  $params = array_merge($params, $optParams);
412
- return $this->call('update', array($params), "Google_Service_Autoscaler_Operation");
413
  }
414
  }
415
 
@@ -417,11 +417,11 @@ class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Reso
417
  * The "zoneOperations" collection of methods.
418
  * Typical usage is:
419
  * <code>
420
- * $autoscalerService = new Google_Service_Autoscaler(...);
421
  * $zoneOperations = $autoscalerService->zoneOperations;
422
  * </code>
423
  */
424
- class Google_Service_Autoscaler_ZoneOperations_Resource extends Google_Service_Resource
425
  {
426
 
427
  /**
@@ -448,13 +448,13 @@ class Google_Service_Autoscaler_ZoneOperations_Resource extends Google_Service_R
448
  * @param string $zone
449
  * @param string $operation
450
  * @param array $optParams Optional parameters.
451
- * @return Google_Service_Autoscaler_Operation
452
  */
453
  public function get($project, $zone, $operation, $optParams = array())
454
  {
455
  $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
456
  $params = array_merge($params, $optParams);
457
- return $this->call('get', array($params), "Google_Service_Autoscaler_Operation");
458
  }
459
 
460
  /**
@@ -468,13 +468,13 @@ class Google_Service_Autoscaler_ZoneOperations_Resource extends Google_Service_R
468
  * @opt_param string filter
469
  * @opt_param string maxResults
470
  * @opt_param string pageToken
471
- * @return Google_Service_Autoscaler_OperationList
472
  */
473
  public function listZoneOperations($project, $zone, $optParams = array())
474
  {
475
  $params = array('project' => $project, 'zone' => $zone);
476
  $params = array_merge($params, $optParams);
477
- return $this->call('list', array($params), "Google_Service_Autoscaler_OperationList");
478
  }
479
  }
480
 
@@ -482,11 +482,11 @@ class Google_Service_Autoscaler_ZoneOperations_Resource extends Google_Service_R
482
  * The "zones" collection of methods.
483
  * Typical usage is:
484
  * <code>
485
- * $autoscalerService = new Google_Service_Autoscaler(...);
486
  * $zones = $autoscalerService->zones;
487
  * </code>
488
  */
489
- class Google_Service_Autoscaler_Zones_Resource extends Google_Service_Resource
490
  {
491
 
492
  /**
@@ -498,24 +498,24 @@ class Google_Service_Autoscaler_Zones_Resource extends Google_Service_Resource
498
  * @opt_param string filter
499
  * @opt_param string maxResults
500
  * @opt_param string pageToken
501
- * @return Google_Service_Autoscaler_ZoneList
502
  */
503
  public function listZones($project, $optParams = array())
504
  {
505
  $params = array('project' => $project);
506
  $params = array_merge($params, $optParams);
507
- return $this->call('list', array($params), "Google_Service_Autoscaler_ZoneList");
508
  }
509
  }
510
 
511
 
512
 
513
 
514
- class Google_Service_Autoscaler_Autoscaler extends Google_Model
515
  {
516
  protected $internal_gapi_mappings = array(
517
  );
518
- protected $autoscalingPolicyType = 'Google_Service_Autoscaler_AutoscalingPolicy';
519
  protected $autoscalingPolicyDataType = '';
520
  public $creationTimestamp;
521
  public $description;
@@ -526,7 +526,7 @@ class Google_Service_Autoscaler_Autoscaler extends Google_Model
526
  public $target;
527
 
528
 
529
- public function setAutoscalingPolicy(Google_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy)
530
  {
531
  $this->autoscalingPolicy = $autoscalingPolicy;
532
  }
@@ -592,12 +592,12 @@ class Google_Service_Autoscaler_Autoscaler extends Google_Model
592
  }
593
  }
594
 
595
- class Google_Service_Autoscaler_AutoscalerListResponse extends Google_Collection
596
  {
597
  protected $collection_key = 'items';
598
  protected $internal_gapi_mappings = array(
599
  );
600
- protected $itemsType = 'Google_Service_Autoscaler_Autoscaler';
601
  protected $itemsDataType = 'array';
602
  public $kind;
603
  public $nextPageToken;
@@ -629,17 +629,17 @@ class Google_Service_Autoscaler_AutoscalerListResponse extends Google_Collection
629
  }
630
  }
631
 
632
- class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection
633
  {
634
  protected $collection_key = 'customMetricUtilizations';
635
  protected $internal_gapi_mappings = array(
636
  );
637
  public $coolDownPeriodSec;
638
- protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
639
  protected $cpuUtilizationDataType = '';
640
- protected $customMetricUtilizationsType = 'Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization';
641
  protected $customMetricUtilizationsDataType = 'array';
642
- protected $loadBalancingUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization';
643
  protected $loadBalancingUtilizationDataType = '';
644
  public $maxNumReplicas;
645
  public $minNumReplicas;
@@ -653,7 +653,7 @@ class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection
653
  {
654
  return $this->coolDownPeriodSec;
655
  }
656
- public function setCpuUtilization(Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization)
657
  {
658
  $this->cpuUtilization = $cpuUtilization;
659
  }
@@ -669,7 +669,7 @@ class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection
669
  {
670
  return $this->customMetricUtilizations;
671
  }
672
- public function setLoadBalancingUtilization(Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization)
673
  {
674
  $this->loadBalancingUtilization = $loadBalancingUtilization;
675
  }
@@ -695,7 +695,7 @@ class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection
695
  }
696
  }
697
 
698
- class Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Google_Model
699
  {
700
  protected $internal_gapi_mappings = array(
701
  );
@@ -712,7 +712,7 @@ class Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Google_M
712
  }
713
  }
714
 
715
- class Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends Google_Model
716
  {
717
  protected $internal_gapi_mappings = array(
718
  );
@@ -747,7 +747,7 @@ class Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends
747
  }
748
  }
749
 
750
- class Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extends Google_Model
751
  {
752
  protected $internal_gapi_mappings = array(
753
  );
@@ -764,7 +764,7 @@ class Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extend
764
  }
765
  }
766
 
767
- class Google_Service_Autoscaler_DeprecationStatus extends Google_Model
768
  {
769
  protected $internal_gapi_mappings = array(
770
  );
@@ -817,7 +817,7 @@ class Google_Service_Autoscaler_DeprecationStatus extends Google_Model
817
  }
818
  }
819
 
820
- class Google_Service_Autoscaler_Operation extends Google_Collection
821
  {
822
  protected $collection_key = 'warnings';
823
  protected $internal_gapi_mappings = array(
@@ -825,7 +825,7 @@ class Google_Service_Autoscaler_Operation extends Google_Collection
825
  public $clientOperationId;
826
  public $creationTimestamp;
827
  public $endTime;
828
- protected $errorType = 'Google_Service_Autoscaler_OperationError';
829
  protected $errorDataType = '';
830
  public $httpErrorMessage;
831
  public $httpErrorStatusCode;
@@ -843,7 +843,7 @@ class Google_Service_Autoscaler_Operation extends Google_Collection
843
  public $targetId;
844
  public $targetLink;
845
  public $user;
846
- protected $warningsType = 'Google_Service_Autoscaler_OperationWarnings';
847
  protected $warningsDataType = 'array';
848
  public $zone;
849
 
@@ -872,7 +872,7 @@ class Google_Service_Autoscaler_Operation extends Google_Collection
872
  {
873
  return $this->endTime;
874
  }
875
- public function setError(Google_Service_Autoscaler_OperationError $error)
876
  {
877
  $this->error = $error;
878
  }
@@ -1026,12 +1026,12 @@ class Google_Service_Autoscaler_Operation extends Google_Collection
1026
  }
1027
  }
1028
 
1029
- class Google_Service_Autoscaler_OperationError extends Google_Collection
1030
  {
1031
  protected $collection_key = 'errors';
1032
  protected $internal_gapi_mappings = array(
1033
  );
1034
- protected $errorsType = 'Google_Service_Autoscaler_OperationErrorErrors';
1035
  protected $errorsDataType = 'array';
1036
 
1037
 
@@ -1045,7 +1045,7 @@ class Google_Service_Autoscaler_OperationError extends Google_Collection
1045
  }
1046
  }
1047
 
1048
- class Google_Service_Autoscaler_OperationErrorErrors extends Google_Model
1049
  {
1050
  protected $internal_gapi_mappings = array(
1051
  );
@@ -1080,13 +1080,13 @@ class Google_Service_Autoscaler_OperationErrorErrors extends Google_Model
1080
  }
1081
  }
1082
 
1083
- class Google_Service_Autoscaler_OperationList extends Google_Collection
1084
  {
1085
  protected $collection_key = 'items';
1086
  protected $internal_gapi_mappings = array(
1087
  );
1088
  public $id;
1089
- protected $itemsType = 'Google_Service_Autoscaler_Operation';
1090
  protected $itemsDataType = 'array';
1091
  public $kind;
1092
  public $nextPageToken;
@@ -1135,13 +1135,13 @@ class Google_Service_Autoscaler_OperationList extends Google_Collection
1135
  }
1136
  }
1137
 
1138
- class Google_Service_Autoscaler_OperationWarnings extends Google_Collection
1139
  {
1140
  protected $collection_key = 'data';
1141
  protected $internal_gapi_mappings = array(
1142
  );
1143
  public $code;
1144
- protected $dataType = 'Google_Service_Autoscaler_OperationWarningsData';
1145
  protected $dataDataType = 'array';
1146
  public $message;
1147
 
@@ -1172,7 +1172,7 @@ class Google_Service_Autoscaler_OperationWarnings extends Google_Collection
1172
  }
1173
  }
1174
 
1175
- class Google_Service_Autoscaler_OperationWarningsData extends Google_Model
1176
  {
1177
  protected $internal_gapi_mappings = array(
1178
  );
@@ -1198,18 +1198,18 @@ class Google_Service_Autoscaler_OperationWarningsData extends Google_Model
1198
  }
1199
  }
1200
 
1201
- class Google_Service_Autoscaler_Zone extends Google_Collection
1202
  {
1203
  protected $collection_key = 'maintenanceWindows';
1204
  protected $internal_gapi_mappings = array(
1205
  );
1206
  public $creationTimestamp;
1207
- protected $deprecatedType = 'Google_Service_Autoscaler_DeprecationStatus';
1208
  protected $deprecatedDataType = '';
1209
  public $description;
1210
  public $id;
1211
  public $kind;
1212
- protected $maintenanceWindowsType = 'Google_Service_Autoscaler_ZoneMaintenanceWindows';
1213
  protected $maintenanceWindowsDataType = 'array';
1214
  public $name;
1215
  public $region;
@@ -1225,7 +1225,7 @@ class Google_Service_Autoscaler_Zone extends Google_Collection
1225
  {
1226
  return $this->creationTimestamp;
1227
  }
1228
- public function setDeprecated(Google_Service_Autoscaler_DeprecationStatus $deprecated)
1229
  {
1230
  $this->deprecated = $deprecated;
1231
  }
@@ -1299,13 +1299,13 @@ class Google_Service_Autoscaler_Zone extends Google_Collection
1299
  }
1300
  }
1301
 
1302
- class Google_Service_Autoscaler_ZoneList extends Google_Collection
1303
  {
1304
  protected $collection_key = 'items';
1305
  protected $internal_gapi_mappings = array(
1306
  );
1307
  public $id;
1308
- protected $itemsType = 'Google_Service_Autoscaler_Zone';
1309
  protected $itemsDataType = 'array';
1310
  public $kind;
1311
  public $nextPageToken;
@@ -1354,7 +1354,7 @@ class Google_Service_Autoscaler_ZoneList extends Google_Collection
1354
  }
1355
  }
1356
 
1357
- class Google_Service_Autoscaler_ZoneMaintenanceWindows extends Google_Model
1358
  {
1359
  protected $internal_gapi_mappings = array(
1360
  );
27
  *
28
  * @author Google, Inc.
29
  */
30
+ class Forminator_Google_Service_Autoscaler extends Forminator_Google_Service
31
  {
32
  /** View and manage your Google Compute Engine resources. */
33
  const COMPUTE =
44
  /**
45
  * Constructs the internal representation of the Autoscaler service.
46
  *
47
+ * @param Forminator_Google_Client $client
48
  */
49
+ public function __construct(Forminator_Google_Client $client)
50
  {
51
  parent::__construct($client);
52
  $this->rootUrl = 'https://www.googleapis.com/';
54
  $this->version = 'v1beta2';
55
  $this->serviceName = 'autoscaler';
56
 
57
+ $this->autoscalers = new Forminator_Google_Service_Autoscaler_Autoscalers_Resource(
58
  $this,
59
  $this->serviceName,
60
  'autoscalers',
186
  )
187
  )
188
  );
189
+ $this->zoneOperations = new Forminator_Google_Service_Autoscaler_ZoneOperations_Resource(
190
  $this,
191
  $this->serviceName,
192
  'zoneOperations',
263
  )
264
  )
265
  );
266
+ $this->zones = new Forminator_Google_Service_Autoscaler_Zones_Resource(
267
  $this,
268
  $this->serviceName,
269
  'zones',
303
  * The "autoscalers" collection of methods.
304
  * Typical usage is:
305
  * <code>
306
+ * $autoscalerService = new Forminator_Google_Service_Autoscaler(...);
307
  * $autoscalers = $autoscalerService->autoscalers;
308
  * </code>
309
  */
310
+ class Forminator_Google_Service_Autoscaler_Autoscalers_Resource extends Forminator_Google_Service_Resource
311
  {
312
 
313
  /**
317
  * @param string $zone Zone name of Autoscaler resource.
318
  * @param string $autoscaler Name of the Autoscaler resource.
319
  * @param array $optParams Optional parameters.
320
+ * @return Forminator_Google_Service_Autoscaler_Operation
321
  */
322
  public function delete($project, $zone, $autoscaler, $optParams = array())
323
  {
324
  $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
325
  $params = array_merge($params, $optParams);
326
+ return $this->call('delete', array($params), "Forminator_Google_Service_Autoscaler_Operation");
327
  }
328
 
329
  /**
333
  * @param string $zone Zone name of Autoscaler resource.
334
  * @param string $autoscaler Name of the Autoscaler resource.
335
  * @param array $optParams Optional parameters.
336
+ * @return Forminator_Google_Service_Autoscaler_Autoscaler
337
  */
338
  public function get($project, $zone, $autoscaler, $optParams = array())
339
  {
340
  $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
341
  $params = array_merge($params, $optParams);
342
+ return $this->call('get', array($params), "Forminator_Google_Service_Autoscaler_Autoscaler");
343
  }
344
 
345
  /**
347
  *
348
  * @param string $project Project ID of Autoscaler resource.
349
  * @param string $zone Zone name of Autoscaler resource.
350
+ * @param Forminator_Google_Autoscaler $postBody
351
  * @param array $optParams Optional parameters.
352
+ * @return Forminator_Google_Service_Autoscaler_Operation
353
  */
354
+ public function insert($project, $zone, Forminator_Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
355
  {
356
  $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
357
  $params = array_merge($params, $optParams);
358
+ return $this->call('insert', array($params), "Forminator_Google_Service_Autoscaler_Operation");
359
  }
360
 
361
  /**
368
  * @opt_param string filter
369
  * @opt_param string maxResults
370
  * @opt_param string pageToken
371
+ * @return Forminator_Google_Service_Autoscaler_AutoscalerListResponse
372
  */
373
  public function listAutoscalers($project, $zone, $optParams = array())
374
  {
375
  $params = array('project' => $project, 'zone' => $zone);
376
  $params = array_merge($params, $optParams);
377
+ return $this->call('list', array($params), "Forminator_Google_Service_Autoscaler_AutoscalerListResponse");
378
  }
379
 
380
  /**
384
  * @param string $project Project ID of Autoscaler resource.
385
  * @param string $zone Zone name of Autoscaler resource.
386
  * @param string $autoscaler Name of the Autoscaler resource.
387
+ * @param Forminator_Google_Autoscaler $postBody
388
  * @param array $optParams Optional parameters.
389
+ * @return Forminator_Google_Service_Autoscaler_Operation
390
  */
391
+ public function patch($project, $zone, $autoscaler, Forminator_Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
392
  {
393
  $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
394
  $params = array_merge($params, $optParams);
395
+ return $this->call('patch', array($params), "Forminator_Google_Service_Autoscaler_Operation");
396
  }
397
 
398
  /**
401
  * @param string $project Project ID of Autoscaler resource.
402
  * @param string $zone Zone name of Autoscaler resource.
403
  * @param string $autoscaler Name of the Autoscaler resource.
404
+ * @param Forminator_Google_Autoscaler $postBody
405
  * @param array $optParams Optional parameters.
406
+ * @return Forminator_Google_Service_Autoscaler_Operation
407
  */
408
+ public function update($project, $zone, $autoscaler, Forminator_Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
409
  {
410
  $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
411
  $params = array_merge($params, $optParams);
412
+ return $this->call('update', array($params), "Forminator_Google_Service_Autoscaler_Operation");
413
  }
414
  }
415
 
417
  * The "zoneOperations" collection of methods.
418
  * Typical usage is:
419
  * <code>
420
+ * $autoscalerService = new Forminator_Google_Service_Autoscaler(...);
421
  * $zoneOperations = $autoscalerService->zoneOperations;
422
  * </code>
423
  */
424
+ class Forminator_Google_Service_Autoscaler_ZoneOperations_Resource extends Forminator_Google_Service_Resource
425
  {
426
 
427
  /**
448
  * @param string $zone
449
  * @param string $operation
450
  * @param array $optParams Optional parameters.
451
+ * @return Forminator_Google_Service_Autoscaler_Operation
452
  */
453
  public function get($project, $zone, $operation, $optParams = array())
454
  {
455
  $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
456
  $params = array_merge($params, $optParams);
457
+ return $this->call('get', array($params), "Forminator_Google_Service_Autoscaler_Operation");
458
  }
459
 
460
  /**
468
  * @opt_param string filter
469
  * @opt_param string maxResults
470
  * @opt_param string pageToken
471
+ * @return Forminator_Google_Service_Autoscaler_OperationList
472
  */
473
  public function listZoneOperations($project, $zone, $optParams = array())
474
  {
475
  $params = array('project' => $project, 'zone' => $zone);
476
  $params = array_merge($params, $optParams);
477
+ return $this->call('list', array($params), "Forminator_Google_Service_Autoscaler_OperationList");
478
  }
479
  }
480
 
482
  * The "zones" collection of methods.
483
  * Typical usage is:
484
  * <code>
485
+ * $autoscalerService = new Forminator_Google_Service_Autoscaler(...);
486
  * $zones = $autoscalerService->zones;
487
  * </code>
488
  */
489
+ class Forminator_Google_Service_Autoscaler_Zones_Resource extends Forminator_Google_Service_Resource
490
  {
491
 
492
  /**
498
  * @opt_param string filter
499
  * @opt_param string maxResults
500
  * @opt_param string pageToken
501
+ * @return Forminator_Google_Service_Autoscaler_ZoneList
502
  */
503
  public function listZones($project, $optParams = array())
504
  {
505
  $params = array('project' => $project);
506
  $params = array_merge($params, $optParams);
507
+ return $this->call('list', array($params), "Forminator_Google_Service_Autoscaler_ZoneList");
508
  }
509
  }
510
 
511
 
512
 
513
 
514
+ class Forminator_Google_Service_Autoscaler_Autoscaler extends Forminator_Google_Model
515
  {
516
  protected $internal_gapi_mappings = array(
517
  );
518
+ protected $autoscalingPolicyType = 'Forminator_Google_Service_Autoscaler_AutoscalingPolicy';
519
  protected $autoscalingPolicyDataType = '';
520
  public $creationTimestamp;
521
  public $description;
526
  public $target;
527
 
528
 
529
+ public function setAutoscalingPolicy(Forminator_Google_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy)
530
  {
531
  $this->autoscalingPolicy = $autoscalingPolicy;
532
  }
592
  }
593
  }
594
 
595
+ class Forminator_Google_Service_Autoscaler_AutoscalerListResponse extends Forminator_Google_Collection
596
  {
597
  protected $collection_key = 'items';
598
  protected $internal_gapi_mappings = array(
599
  );
600
+ protected $itemsType = 'Forminator_Google_Service_Autoscaler_Autoscaler';
601
  protected $itemsDataType = 'array';
602
  public $kind;
603
  public $nextPageToken;
629
  }
630
  }
631
 
632
+ class Forminator_Google_Service_Autoscaler_AutoscalingPolicy extends Forminator_Google_Collection
633
  {
634
  protected $collection_key = 'customMetricUtilizations';
635
  protected $internal_gapi_mappings = array(
636
  );
637
  public $coolDownPeriodSec;
638
+ protected $cpuUtilizationType = 'Forminator_Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
639
  protected $cpuUtilizationDataType = '';
640
+ protected $customMetricUtilizationsType = 'Forminator_Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization';
641
  protected $customMetricUtilizationsDataType = 'array';
642
+ protected $loadBalancingUtilizationType = 'Forminator_Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization';
643
  protected $loadBalancingUtilizationDataType = '';
644
  public $maxNumReplicas;
645
  public $minNumReplicas;
653
  {
654
  return $this->coolDownPeriodSec;
655
  }
656
+ public function setCpuUtilization(Forminator_Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization)
657
  {
658
  $this->cpuUtilization = $cpuUtilization;
659
  }
669
  {
670
  return $this->customMetricUtilizations;
671
  }
672
+ public function setLoadBalancingUtilization(Forminator_Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization)
673
  {
674
  $this->loadBalancingUtilization = $loadBalancingUtilization;
675
  }
695
  }
696
  }
697
 
698
+ class Forminator_Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Forminator_Google_Model
699
  {
700
  protected $internal_gapi_mappings = array(
701
  );
712
  }
713
  }
714
 
715
+ class Forminator_Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends Forminator_Google_Model
716
  {
717
  protected $internal_gapi_mappings = array(
718
  );
747
  }
748
  }
749
 
750
+ class Forminator_Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extends Forminator_Google_Model
751
  {
752
  protected $internal_gapi_mappings = array(
753
  );
764
  }
765
  }
766
 
767
+ class Forminator_Google_Service_Autoscaler_DeprecationStatus extends Forminator_Google_Model
768
  {
769
  protected $internal_gapi_mappings = array(
770
  );
817
  }
818
  }
819
 
820
+ class Forminator_Google_Service_Autoscaler_Operation extends Forminator_Google_Collection
821
  {
822
  protected $collection_key = 'warnings';
823
  protected $internal_gapi_mappings = array(
825
  public $clientOperationId;
826
  public $creationTimestamp;
827
  public $endTime;
828
+ protected $errorType = 'Forminator_Google_Service_Autoscaler_OperationError';
829
  protected $errorDataType = '';
830
  public $httpErrorMessage;
831
  public $httpErrorStatusCode;
843
  public $targetId;
844
  public $targetLink;
845
  public $user;
846
+ protected $warningsType = 'Forminator_Google_Service_Autoscaler_OperationWarnings';
847
  protected $warningsDataType = 'array';
848
  public $zone;
849
 
872
  {
873
  return $this->endTime;
874
  }
875
+ public function setError(Forminator_Google_Service_Autoscaler_OperationError $error)
876
  {
877
  $this->error = $error;
878
  }
1026
  }
1027
  }
1028
 
1029
+ class Forminator_Google_Service_Autoscaler_OperationError extends Forminator_Google_Collection
1030
  {
1031
  protected $collection_key = 'errors';
1032
  protected $internal_gapi_mappings = array(
1033
  );
1034
+ protected $errorsType = 'Forminator_Google_Service_Autoscaler_OperationErrorErrors';
1035
  protected $errorsDataType = 'array';
1036
 
1037
 
1045
  }
1046
  }
1047
 
1048
+ class Forminator_Google_Service_Autoscaler_OperationErrorErrors extends Forminator_Google_Model
1049
  {
1050
  protected $internal_gapi_mappings = array(
1051
  );
1080
  }
1081
  }
1082
 
1083
+ class Forminator_Google_Service_Autoscaler_OperationList extends Forminator_Google_Collection
1084
  {
1085
  protected $collection_key = 'items';
1086
  protected $internal_gapi_mappings = array(
1087
  );
1088
  public $id;
1089
+ protected $itemsType = 'Forminator_Google_Service_Autoscaler_Operation';
1090
  protected $itemsDataType = 'array';
1091
  public $kind;
1092
  public $nextPageToken;
1135
  }
1136
  }
1137
 
1138
+ class Forminator_Google_Service_Autoscaler_OperationWarnings extends Forminator_Google_Collection
1139
  {
1140
  protected $collection_key = 'data';
1141
  protected $internal_gapi_mappings = array(
1142
  );
1143
  public $code;
1144
+ protected $dataType = 'Forminator_Google_Service_Autoscaler_OperationWarningsData';
1145
  protected $dataDataType = 'array';
1146
  public $message;
1147
 
1172
  }
1173
  }
1174
 
1175
+ class Forminator_Google_Service_Autoscaler_OperationWarningsData extends Forminator_Google_Model
1176
  {
1177
  protected $internal_gapi_mappings = array(
1178
  );
1198
  }
1199
  }
1200
 
1201
+ class Forminator_Google_Service_Autoscaler_Zone extends Forminator_Google_Collection
1202
  {
1203
  protected $collection_key = 'maintenanceWindows';
1204
  protected $internal_gapi_mappings = array(
1205
  );
1206
  public $creationTimestamp;
1207
+ protected $deprecatedType = 'Forminator_Google_Service_Autoscaler_DeprecationStatus';
1208
  protected $deprecatedDataType = '';
1209
  public $description;
1210
  public $id;
1211
  public $kind;
1212
+ protected $maintenanceWindowsType = 'Forminator_Google_Service_Autoscaler_ZoneMaintenanceWindows';
1213
  protected $maintenanceWindowsDataType = 'array';
1214
  public $name;
1215
  public $region;
1225
  {
1226
  return $this->creationTimestamp;
1227
  }
1228
+ public function setDeprecated(Forminator_Google_Service_Autoscaler_DeprecationStatus $deprecated)
1229
  {
1230
  $this->deprecated = $deprecated;
1231
  }
1299
  }
1300
  }
1301
 
1302
+ class Forminator_Google_Service_Autoscaler_ZoneList extends Forminator_Google_Collection
1303
  {
1304
  protected $collection_key = 'items';
1305
  protected $internal_gapi_mappings = array(
1306
  );
1307
  public $id;
1308
+ protected $itemsType = 'Forminator_Google_Service_Autoscaler_Zone';
1309
  protected $itemsDataType = 'array';
1310
  public $kind;
1311
  public $nextPageToken;
1354
  }
1355
  }
1356
 
1357
+ class Forminator_Google_Service_Autoscaler_ZoneMaintenanceWindows extends Forminator_Google_Model
1358
  {
1359
  protected $internal_gapi_mappings = array(
1360
  );
addons/pro/googlesheet/lib/external/Google/Service/Bigquery.php CHANGED
@@ -26,7 +26,7 @@
26
  *
27
  * @author Google, Inc.
28
  */
29
- class Google_Service_Bigquery extends Google_Service
30
  {
31
  /** View and manage your data in Google BigQuery. */
32
  const BIGQUERY =
@@ -60,9 +60,9 @@ class Google_Service_Bigquery extends Google_Service
60
  /**
61
  * Constructs the internal representation of the Bigquery service.
62
  *
63
- * @param Google_Client $client
64
  */
65
- public function __construct(Google_Client $client)
66
  {
67
  parent::__construct($client);
68
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -70,7 +70,7 @@ class Google_Service_Bigquery extends Google_Service
70
  $this->version = 'v2';
71
  $this->serviceName = 'bigquery';
72
 
73
- $this->datasets = new Google_Service_Bigquery_Datasets_Resource(
74
  $this,
75
  $this->serviceName,
76
  'datasets',
@@ -176,7 +176,7 @@ class Google_Service_Bigquery extends Google_Service
176
  )
177
  )
178
  );
179
- $this->jobs = new Google_Service_Bigquery_Jobs_Resource(
180
  $this,
181
  $this->serviceName,
182
  'jobs',
@@ -298,7 +298,7 @@ class Google_Service_Bigquery extends Google_Service
298
  )
299
  )
300
  );
301
- $this->projects = new Google_Service_Bigquery_Projects_Resource(
302
  $this,
303
  $this->serviceName,
304
  'projects',
@@ -321,7 +321,7 @@ class Google_Service_Bigquery extends Google_Service
321
  )
322
  )
323
  );
324
- $this->tabledata = new Google_Service_Bigquery_Tabledata_Resource(
325
  $this,
326
  $this->serviceName,
327
  'tabledata',
@@ -383,7 +383,7 @@ class Google_Service_Bigquery extends Google_Service
383
  )
384
  )
385
  );
386
- $this->tables = new Google_Service_Bigquery_Tables_Resource(
387
  $this,
388
  $this->serviceName,
389
  'tables',
@@ -519,11 +519,11 @@ class Google_Service_Bigquery extends Google_Service
519
  * The "datasets" collection of methods.
520
  * Typical usage is:
521
  * <code>
522
- * $bigqueryService = new Google_Service_Bigquery(...);
523
  * $datasets = $bigqueryService->datasets;
524
  * </code>
525
  */
526
- class Google_Service_Bigquery_Datasets_Resource extends Google_Service_Resource
527
  {
528
 
529
  /**
@@ -553,28 +553,28 @@ class Google_Service_Bigquery_Datasets_Resource extends Google_Service_Resource
553
  * @param string $projectId Project ID of the requested dataset
554
  * @param string $datasetId Dataset ID of the requested dataset
555
  * @param array $optParams Optional parameters.
556
- * @return Google_Service_Bigquery_Dataset
557
  */
558
  public function get($projectId, $datasetId, $optParams = array())
559
  {
560
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
561
  $params = array_merge($params, $optParams);
562
- return $this->call('get', array($params), "Google_Service_Bigquery_Dataset");
563
  }
564
 
565
  /**
566
  * Creates a new empty dataset. (datasets.insert)
567
  *
568
  * @param string $projectId Project ID of the new dataset
569
- * @param Google_Dataset $postBody
570
  * @param array $optParams Optional parameters.
571
- * @return Google_Service_Bigquery_Dataset
572
  */
573
- public function insert($projectId, Google_Service_Bigquery_Dataset $postBody, $optParams = array())
574
  {
575
  $params = array('projectId' => $projectId, 'postBody' => $postBody);
576
  $params = array_merge($params, $optParams);
577
- return $this->call('insert', array($params), "Google_Service_Bigquery_Dataset");
578
  }
579
 
580
  /**
@@ -588,13 +588,13 @@ class Google_Service_Bigquery_Datasets_Resource extends Google_Service_Resource
588
  * @opt_param string maxResults The maximum number of results to return
589
  * @opt_param string pageToken Page token, returned by a previous call, to
590
  * request the next page of results
591
- * @return Google_Service_Bigquery_DatasetList
592
  */
593
  public function listDatasets($projectId, $optParams = array())
594
  {
595
  $params = array('projectId' => $projectId);
596
  $params = array_merge($params, $optParams);
597
- return $this->call('list', array($params), "Google_Service_Bigquery_DatasetList");
598
  }
599
 
600
  /**
@@ -605,15 +605,15 @@ class Google_Service_Bigquery_Datasets_Resource extends Google_Service_Resource
605
  *
606
  * @param string $projectId Project ID of the dataset being updated
607
  * @param string $datasetId Dataset ID of the dataset being updated
608
- * @param Google_Dataset $postBody
609
  * @param array $optParams Optional parameters.
610
- * @return Google_Service_Bigquery_Dataset
611
  */
612
- public function patch($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams = array())
613
  {
614
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
615
  $params = array_merge($params, $optParams);
616
- return $this->call('patch', array($params), "Google_Service_Bigquery_Dataset");
617
  }
618
 
619
  /**
@@ -623,15 +623,15 @@ class Google_Service_Bigquery_Datasets_Resource extends Google_Service_Resource
623
  *
624
  * @param string $projectId Project ID of the dataset being updated
625
  * @param string $datasetId Dataset ID of the dataset being updated
626
- * @param Google_Dataset $postBody
627
  * @param array $optParams Optional parameters.
628
- * @return Google_Service_Bigquery_Dataset
629
  */
630
- public function update($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams = array())
631
  {
632
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
633
  $params = array_merge($params, $optParams);
634
- return $this->call('update', array($params), "Google_Service_Bigquery_Dataset");
635
  }
636
  }
637
 
@@ -639,11 +639,11 @@ class Google_Service_Bigquery_Datasets_Resource extends Google_Service_Resource
639
  * The "jobs" collection of methods.
640
  * Typical usage is:
641
  * <code>
642
- * $bigqueryService = new Google_Service_Bigquery(...);
643
  * $jobs = $bigqueryService->jobs;
644
  * </code>
645
  */
646
- class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
647
  {
648
 
649
  /**
@@ -654,13 +654,13 @@ class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
654
  * @param string $projectId [Required] Project ID of the job to cancel
655
  * @param string $jobId [Required] Job ID of the job to cancel
656
  * @param array $optParams Optional parameters.
657
- * @return Google_Service_Bigquery_JobCancelResponse
658
  */
659
  public function cancel($projectId, $jobId, $optParams = array())
660
  {
661
  $params = array('projectId' => $projectId, 'jobId' => $jobId);
662
  $params = array_merge($params, $optParams);
663
- return $this->call('cancel', array($params), "Google_Service_Bigquery_JobCancelResponse");
664
  }
665
 
666
  /**
@@ -671,13 +671,13 @@ class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
671
  * @param string $projectId [Required] Project ID of the requested job
672
  * @param string $jobId [Required] Job ID of the requested job
673
  * @param array $optParams Optional parameters.
674
- * @return Google_Service_Bigquery_Job
675
  */
676
  public function get($projectId, $jobId, $optParams = array())
677
  {
678
  $params = array('projectId' => $projectId, 'jobId' => $jobId);
679
  $params = array_merge($params, $optParams);
680
- return $this->call('get', array($params), "Google_Service_Bigquery_Job");
681
  }
682
 
683
  /**
@@ -695,13 +695,13 @@ class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
695
  * milliseconds, before returning. Default is 10 seconds. If the timeout passes
696
  * before the job completes, the 'jobComplete' field in the response will be
697
  * false
698
- * @return Google_Service_Bigquery_GetQueryResultsResponse
699
  */
700
  public function getQueryResults($projectId, $jobId, $optParams = array())
701
  {
702
  $params = array('projectId' => $projectId, 'jobId' => $jobId);
703
  $params = array_merge($params, $optParams);
704
- return $this->call('getQueryResults', array($params), "Google_Service_Bigquery_GetQueryResultsResponse");
705
  }
706
 
707
  /**
@@ -710,15 +710,15 @@ class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
710
  *
711
  * @param string $projectId Project ID of the project that will be billed for
712
  * the job
713
- * @param Google_Job $postBody
714
  * @param array $optParams Optional parameters.
715
- * @return Google_Service_Bigquery_Job
716
  */
717
- public function insert($projectId, Google_Service_Bigquery_Job $postBody, $optParams = array())
718
  {
719
  $params = array('projectId' => $projectId, 'postBody' => $postBody);
720
  $params = array_merge($params, $optParams);
721
- return $this->call('insert', array($params), "Google_Service_Bigquery_Job");
722
  }
723
 
724
  /**
@@ -739,13 +739,13 @@ class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
739
  * @opt_param string projection Restrict information returned to a set of
740
  * selected fields
741
  * @opt_param string stateFilter Filter for job state
742
- * @return Google_Service_Bigquery_JobList
743
  */
744
  public function listJobs($projectId, $optParams = array())
745
  {
746
  $params = array('projectId' => $projectId);
747
  $params = array_merge($params, $optParams);
748
- return $this->call('list', array($params), "Google_Service_Bigquery_JobList");
749
  }
750
 
751
  /**
@@ -753,15 +753,15 @@ class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
753
  * query completes within a specified timeout. (jobs.query)
754
  *
755
  * @param string $projectId Project ID of the project billed for the query
756
- * @param Google_QueryRequest $postBody
757
  * @param array $optParams Optional parameters.
758
- * @return Google_Service_Bigquery_QueryResponse
759
  */
760
- public function query($projectId, Google_Service_Bigquery_QueryRequest $postBody, $optParams = array())
761
  {
762
  $params = array('projectId' => $projectId, 'postBody' => $postBody);
763
  $params = array_merge($params, $optParams);
764
- return $this->call('query', array($params), "Google_Service_Bigquery_QueryResponse");
765
  }
766
  }
767
 
@@ -769,11 +769,11 @@ class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
769
  * The "projects" collection of methods.
770
  * Typical usage is:
771
  * <code>
772
- * $bigqueryService = new Google_Service_Bigquery(...);
773
  * $projects = $bigqueryService->projects;
774
  * </code>
775
  */
776
- class Google_Service_Bigquery_Projects_Resource extends Google_Service_Resource
777
  {
778
 
779
  /**
@@ -785,13 +785,13 @@ class Google_Service_Bigquery_Projects_Resource extends Google_Service_Resource
785
  * @opt_param string maxResults Maximum number of results to return
786
  * @opt_param string pageToken Page token, returned by a previous call, to
787
  * request the next page of results
788
- * @return Google_Service_Bigquery_ProjectList
789
  */
790
  public function listProjects($optParams = array())
791
  {
792
  $params = array();
793
  $params = array_merge($params, $optParams);
794
- return $this->call('list', array($params), "Google_Service_Bigquery_ProjectList");
795
  }
796
  }
797
 
@@ -799,11 +799,11 @@ class Google_Service_Bigquery_Projects_Resource extends Google_Service_Resource
799
  * The "tabledata" collection of methods.
800
  * Typical usage is:
801
  * <code>
802
- * $bigqueryService = new Google_Service_Bigquery(...);
803
  * $tabledata = $bigqueryService->tabledata;
804
  * </code>
805
  */
806
- class Google_Service_Bigquery_Tabledata_Resource extends Google_Service_Resource
807
  {
808
 
809
  /**
@@ -813,15 +813,15 @@ class Google_Service_Bigquery_Tabledata_Resource extends Google_Service_Resource
813
  * @param string $projectId Project ID of the destination table.
814
  * @param string $datasetId Dataset ID of the destination table.
815
  * @param string $tableId Table ID of the destination table.
816
- * @param Google_TableDataInsertAllRequest $postBody
817
  * @param array $optParams Optional parameters.
818
- * @return Google_Service_Bigquery_TableDataInsertAllResponse
819
  */
820
- public function insertAll($projectId, $datasetId, $tableId, Google_Service_Bigquery_TableDataInsertAllRequest $postBody, $optParams = array())
821
  {
822
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
823
  $params = array_merge($params, $optParams);
824
- return $this->call('insertAll', array($params), "Google_Service_Bigquery_TableDataInsertAllResponse");
825
  }
826
 
827
  /**
@@ -837,13 +837,13 @@ class Google_Service_Bigquery_Tabledata_Resource extends Google_Service_Resource
837
  * @opt_param string pageToken Page token, returned by a previous call,
838
  * identifying the result set
839
  * @opt_param string startIndex Zero-based index of the starting row to read
840
- * @return Google_Service_Bigquery_TableDataList
841
  */
842
  public function listTabledata($projectId, $datasetId, $tableId, $optParams = array())
843
  {
844
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
845
  $params = array_merge($params, $optParams);
846
- return $this->call('list', array($params), "Google_Service_Bigquery_TableDataList");
847
  }
848
  }
849
 
@@ -851,11 +851,11 @@ class Google_Service_Bigquery_Tabledata_Resource extends Google_Service_Resource
851
  * The "tables" collection of methods.
852
  * Typical usage is:
853
  * <code>
854
- * $bigqueryService = new Google_Service_Bigquery(...);
855
  * $tables = $bigqueryService->tables;
856
  * </code>
857
  */
858
- class Google_Service_Bigquery_Tables_Resource extends Google_Service_Resource
859
  {
860
 
861
  /**
@@ -883,13 +883,13 @@ class Google_Service_Bigquery_Tables_Resource extends Google_Service_Resource
883
  * @param string $datasetId Dataset ID of the requested table
884
  * @param string $tableId Table ID of the requested table
885
  * @param array $optParams Optional parameters.
886
- * @return Google_Service_Bigquery_Table
887
  */
888
  public function get($projectId, $datasetId, $tableId, $optParams = array())
889
  {
890
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
891
  $params = array_merge($params, $optParams);
892
- return $this->call('get', array($params), "Google_Service_Bigquery_Table");
893
  }
894
 
895
  /**
@@ -897,15 +897,15 @@ class Google_Service_Bigquery_Tables_Resource extends Google_Service_Resource
897
  *
898
  * @param string $projectId Project ID of the new table
899
  * @param string $datasetId Dataset ID of the new table
900
- * @param Google_Table $postBody
901
  * @param array $optParams Optional parameters.
902
- * @return Google_Service_Bigquery_Table
903
  */
904
- public function insert($projectId, $datasetId, Google_Service_Bigquery_Table $postBody, $optParams = array())
905
  {
906
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
907
  $params = array_merge($params, $optParams);
908
- return $this->call('insert', array($params), "Google_Service_Bigquery_Table");
909
  }
910
 
911
  /**
@@ -919,13 +919,13 @@ class Google_Service_Bigquery_Tables_Resource extends Google_Service_Resource
919
  * @opt_param string maxResults Maximum number of results to return
920
  * @opt_param string pageToken Page token, returned by a previous call, to
921
  * request the next page of results
922
- * @return Google_Service_Bigquery_TableList
923
  */
924
  public function listTables($projectId, $datasetId, $optParams = array())
925
  {
926
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
927
  $params = array_merge($params, $optParams);
928
- return $this->call('list', array($params), "Google_Service_Bigquery_TableList");
929
  }
930
 
931
  /**
@@ -937,15 +937,15 @@ class Google_Service_Bigquery_Tables_Resource extends Google_Service_Resource
937
  * @param string $projectId Project ID of the table to update
938
  * @param string $datasetId Dataset ID of the table to update
939
  * @param string $tableId Table ID of the table to update
940
- * @param Google_Table $postBody
941
  * @param array $optParams Optional parameters.
942
- * @return Google_Service_Bigquery_Table
943
  */
944
- public function patch($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams = array())
945
  {
946
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
947
  $params = array_merge($params, $optParams);
948
- return $this->call('patch', array($params), "Google_Service_Bigquery_Table");
949
  }
950
 
951
  /**
@@ -956,22 +956,22 @@ class Google_Service_Bigquery_Tables_Resource extends Google_Service_Resource
956
  * @param string $projectId Project ID of the table to update
957
  * @param string $datasetId Dataset ID of the table to update
958
  * @param string $tableId Table ID of the table to update
959
- * @param Google_Table $postBody
960
  * @param array $optParams Optional parameters.
961
- * @return Google_Service_Bigquery_Table
962
  */
963
- public function update($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams = array())
964
  {
965
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
966
  $params = array_merge($params, $optParams);
967
- return $this->call('update', array($params), "Google_Service_Bigquery_Table");
968
  }
969
  }
970
 
971
 
972
 
973
 
974
- class Google_Service_Bigquery_CsvOptions extends Google_Model
975
  {
976
  protected $internal_gapi_mappings = array(
977
  );
@@ -1033,15 +1033,15 @@ class Google_Service_Bigquery_CsvOptions extends Google_Model
1033
  }
1034
  }
1035
 
1036
- class Google_Service_Bigquery_Dataset extends Google_Collection
1037
  {
1038
  protected $collection_key = 'access';
1039
  protected $internal_gapi_mappings = array(
1040
  );
1041
- protected $accessType = 'Google_Service_Bigquery_DatasetAccess';
1042
  protected $accessDataType = 'array';
1043
  public $creationTime;
1044
- protected $datasetReferenceType = 'Google_Service_Bigquery_DatasetReference';
1045
  protected $datasetReferenceDataType = '';
1046
  public $defaultTableExpirationMs;
1047
  public $description;
@@ -1070,7 +1070,7 @@ class Google_Service_Bigquery_Dataset extends Google_Collection
1070
  {
1071
  return $this->creationTime;
1072
  }
1073
- public function setDatasetReference(Google_Service_Bigquery_DatasetReference $datasetReference)
1074
  {
1075
  $this->datasetReference = $datasetReference;
1076
  }
@@ -1152,7 +1152,7 @@ class Google_Service_Bigquery_Dataset extends Google_Collection
1152
  }
1153
  }
1154
 
1155
- class Google_Service_Bigquery_DatasetAccess extends Google_Model
1156
  {
1157
  protected $internal_gapi_mappings = array(
1158
  );
@@ -1161,7 +1161,7 @@ class Google_Service_Bigquery_DatasetAccess extends Google_Model
1161
  public $role;
1162
  public $specialGroup;
1163
  public $userByEmail;
1164
- protected $viewType = 'Google_Service_Bigquery_TableReference';
1165
  protected $viewDataType = '';
1166
 
1167
 
@@ -1205,7 +1205,7 @@ class Google_Service_Bigquery_DatasetAccess extends Google_Model
1205
  {
1206
  return $this->userByEmail;
1207
  }
1208
- public function setView(Google_Service_Bigquery_TableReference $view)
1209
  {
1210
  $this->view = $view;
1211
  }
@@ -1215,12 +1215,12 @@ class Google_Service_Bigquery_DatasetAccess extends Google_Model
1215
  }
1216
  }
1217
 
1218
- class Google_Service_Bigquery_DatasetList extends Google_Collection
1219
  {
1220
  protected $collection_key = 'datasets';
1221
  protected $internal_gapi_mappings = array(
1222
  );
1223
- protected $datasetsType = 'Google_Service_Bigquery_DatasetListDatasets';
1224
  protected $datasetsDataType = 'array';
1225
  public $etag;
1226
  public $kind;
@@ -1261,18 +1261,18 @@ class Google_Service_Bigquery_DatasetList extends Google_Collection
1261
  }
1262
  }
1263
 
1264
- class Google_Service_Bigquery_DatasetListDatasets extends Google_Model
1265
  {
1266
  protected $internal_gapi_mappings = array(
1267
  );
1268
- protected $datasetReferenceType = 'Google_Service_Bigquery_DatasetReference';
1269
  protected $datasetReferenceDataType = '';
1270
  public $friendlyName;
1271
  public $id;
1272
  public $kind;
1273
 
1274
 
1275
- public function setDatasetReference(Google_Service_Bigquery_DatasetReference $datasetReference)
1276
  {
1277
  $this->datasetReference = $datasetReference;
1278
  }
@@ -1306,7 +1306,7 @@ class Google_Service_Bigquery_DatasetListDatasets extends Google_Model
1306
  }
1307
  }
1308
 
1309
- class Google_Service_Bigquery_DatasetReference extends Google_Model
1310
  {
1311
  protected $internal_gapi_mappings = array(
1312
  );
@@ -1332,7 +1332,7 @@ class Google_Service_Bigquery_DatasetReference extends Google_Model
1332
  }
1333
  }
1334
 
1335
- class Google_Service_Bigquery_ErrorProto extends Google_Model
1336
  {
1337
  protected $internal_gapi_mappings = array(
1338
  );
@@ -1376,7 +1376,7 @@ class Google_Service_Bigquery_ErrorProto extends Google_Model
1376
  }
1377
  }
1378
 
1379
- class Google_Service_Bigquery_ExplainQueryStage extends Google_Collection
1380
  {
1381
  protected $collection_key = 'steps';
1382
  protected $internal_gapi_mappings = array(
@@ -1389,7 +1389,7 @@ class Google_Service_Bigquery_ExplainQueryStage extends Google_Collection
1389
  public $readRatioMax;
1390
  public $recordsRead;
1391
  public $recordsWritten;
1392
- protected $stepsType = 'Google_Service_Bigquery_ExplainQueryStep';
1393
  protected $stepsDataType = 'array';
1394
  public $waitRatioAvg;
1395
  public $waitRatioMax;
@@ -1503,7 +1503,7 @@ class Google_Service_Bigquery_ExplainQueryStage extends Google_Collection
1503
  }
1504
  }
1505
 
1506
- class Google_Service_Bigquery_ExplainQueryStep extends Google_Collection
1507
  {
1508
  protected $collection_key = 'substeps';
1509
  protected $internal_gapi_mappings = array(
@@ -1530,17 +1530,17 @@ class Google_Service_Bigquery_ExplainQueryStep extends Google_Collection
1530
  }
1531
  }
1532
 
1533
- class Google_Service_Bigquery_ExternalDataConfiguration extends Google_Collection
1534
  {
1535
  protected $collection_key = 'sourceUris';
1536
  protected $internal_gapi_mappings = array(
1537
  );
1538
  public $compression;
1539
- protected $csvOptionsType = 'Google_Service_Bigquery_CsvOptions';
1540
  protected $csvOptionsDataType = '';
1541
  public $ignoreUnknownValues;
1542
  public $maxBadRecords;
1543
- protected $schemaType = 'Google_Service_Bigquery_TableSchema';
1544
  protected $schemaDataType = '';
1545
  public $sourceFormat;
1546
  public $sourceUris;
@@ -1554,7 +1554,7 @@ class Google_Service_Bigquery_ExternalDataConfiguration extends Google_Collectio
1554
  {
1555
  return $this->compression;
1556
  }
1557
- public function setCsvOptions(Google_Service_Bigquery_CsvOptions $csvOptions)
1558
  {
1559
  $this->csvOptions = $csvOptions;
1560
  }
@@ -1578,7 +1578,7 @@ class Google_Service_Bigquery_ExternalDataConfiguration extends Google_Collectio
1578
  {
1579
  return $this->maxBadRecords;
1580
  }
1581
- public function setSchema(Google_Service_Bigquery_TableSchema $schema)
1582
  {
1583
  $this->schema = $schema;
1584
  }
@@ -1604,23 +1604,23 @@ class Google_Service_Bigquery_ExternalDataConfiguration extends Google_Collectio
1604
  }
1605
  }
1606
 
1607
- class Google_Service_Bigquery_GetQueryResultsResponse extends Google_Collection
1608
  {
1609
  protected $collection_key = 'rows';
1610
  protected $internal_gapi_mappings = array(
1611
  );
1612
  public $cacheHit;
1613
- protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
1614
  protected $errorsDataType = 'array';
1615
  public $etag;
1616
  public $jobComplete;
1617
- protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
1618
  protected $jobReferenceDataType = '';
1619
  public $kind;
1620
  public $pageToken;
1621
- protected $rowsType = 'Google_Service_Bigquery_TableRow';
1622
  protected $rowsDataType = 'array';
1623
- protected $schemaType = 'Google_Service_Bigquery_TableSchema';
1624
  protected $schemaDataType = '';
1625
  public $totalBytesProcessed;
1626
  public $totalRows;
@@ -1658,7 +1658,7 @@ class Google_Service_Bigquery_GetQueryResultsResponse extends Google_Collection
1658
  {
1659
  return $this->jobComplete;
1660
  }
1661
- public function setJobReference(Google_Service_Bigquery_JobReference $jobReference)
1662
  {
1663
  $this->jobReference = $jobReference;
1664
  }
@@ -1690,7 +1690,7 @@ class Google_Service_Bigquery_GetQueryResultsResponse extends Google_Collection
1690
  {
1691
  return $this->rows;
1692
  }
1693
- public function setSchema(Google_Service_Bigquery_TableSchema $schema)
1694
  {
1695
  $this->schema = $schema;
1696
  }
@@ -1716,27 +1716,27 @@ class Google_Service_Bigquery_GetQueryResultsResponse extends Google_Collection
1716
  }
1717
  }
1718
 
1719
- class Google_Service_Bigquery_Job extends Google_Model
1720
  {
1721
  protected $internal_gapi_mappings = array(
1722
  "userEmail" => "user_email",
1723
  );
1724
- protected $configurationType = 'Google_Service_Bigquery_JobConfiguration';
1725
  protected $configurationDataType = '';
1726
  public $etag;
1727
  public $id;
1728
- protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
1729
  protected $jobReferenceDataType = '';
1730
  public $kind;
1731
  public $selfLink;
1732
- protected $statisticsType = 'Google_Service_Bigquery_JobStatistics';
1733
  protected $statisticsDataType = '';
1734
- protected $statusType = 'Google_Service_Bigquery_JobStatus';
1735
  protected $statusDataType = '';
1736
  public $userEmail;
1737
 
1738
 
1739
- public function setConfiguration(Google_Service_Bigquery_JobConfiguration $configuration)
1740
  {
1741
  $this->configuration = $configuration;
1742
  }
@@ -1760,7 +1760,7 @@ class Google_Service_Bigquery_Job extends Google_Model
1760
  {
1761
  return $this->id;
1762
  }
1763
- public function setJobReference(Google_Service_Bigquery_JobReference $jobReference)
1764
  {
1765
  $this->jobReference = $jobReference;
1766
  }
@@ -1784,7 +1784,7 @@ class Google_Service_Bigquery_Job extends Google_Model
1784
  {
1785
  return $this->selfLink;
1786
  }
1787
- public function setStatistics(Google_Service_Bigquery_JobStatistics $statistics)
1788
  {
1789
  $this->statistics = $statistics;
1790
  }
@@ -1792,7 +1792,7 @@ class Google_Service_Bigquery_Job extends Google_Model
1792
  {
1793
  return $this->statistics;
1794
  }
1795
- public function setStatus(Google_Service_Bigquery_JobStatus $status)
1796
  {
1797
  $this->status = $status;
1798
  }
@@ -1810,16 +1810,16 @@ class Google_Service_Bigquery_Job extends Google_Model
1810
  }
1811
  }
1812
 
1813
- class Google_Service_Bigquery_JobCancelResponse extends Google_Model
1814
  {
1815
  protected $internal_gapi_mappings = array(
1816
  );
1817
- protected $jobType = 'Google_Service_Bigquery_Job';
1818
  protected $jobDataType = '';
1819
  public $kind;
1820
 
1821
 
1822
- public function setJob(Google_Service_Bigquery_Job $job)
1823
  {
1824
  $this->job = $job;
1825
  }
@@ -1837,22 +1837,22 @@ class Google_Service_Bigquery_JobCancelResponse extends Google_Model
1837
  }
1838
  }
1839
 
1840
- class Google_Service_Bigquery_JobConfiguration extends Google_Model
1841
  {
1842
  protected $internal_gapi_mappings = array(
1843
  );
1844
- protected $copyType = 'Google_Service_Bigquery_JobConfigurationTableCopy';
1845
  protected $copyDataType = '';
1846
  public $dryRun;
1847
- protected $extractType = 'Google_Service_Bigquery_JobConfigurationExtract';
1848
  protected $extractDataType = '';
1849
- protected $loadType = 'Google_Service_Bigquery_JobConfigurationLoad';
1850
  protected $loadDataType = '';
1851
- protected $queryType = 'Google_Service_Bigquery_JobConfigurationQuery';
1852
  protected $queryDataType = '';
1853
 
1854
 
1855
- public function setCopy(Google_Service_Bigquery_JobConfigurationTableCopy $copy)
1856
  {
1857
  $this->copy = $copy;
1858
  }
@@ -1868,7 +1868,7 @@ class Google_Service_Bigquery_JobConfiguration extends Google_Model
1868
  {
1869
  return $this->dryRun;
1870
  }
1871
- public function setExtract(Google_Service_Bigquery_JobConfigurationExtract $extract)
1872
  {
1873
  $this->extract = $extract;
1874
  }
@@ -1876,7 +1876,7 @@ class Google_Service_Bigquery_JobConfiguration extends Google_Model
1876
  {
1877
  return $this->extract;
1878
  }
1879
- public function setLoad(Google_Service_Bigquery_JobConfigurationLoad $load)
1880
  {
1881
  $this->load = $load;
1882
  }
@@ -1884,7 +1884,7 @@ class Google_Service_Bigquery_JobConfiguration extends Google_Model
1884
  {
1885
  return $this->load;
1886
  }
1887
- public function setQuery(Google_Service_Bigquery_JobConfigurationQuery $query)
1888
  {
1889
  $this->query = $query;
1890
  }
@@ -1894,7 +1894,7 @@ class Google_Service_Bigquery_JobConfiguration extends Google_Model
1894
  }
1895
  }
1896
 
1897
- class Google_Service_Bigquery_JobConfigurationExtract extends Google_Collection
1898
  {
1899
  protected $collection_key = 'destinationUris';
1900
  protected $internal_gapi_mappings = array(
@@ -1905,7 +1905,7 @@ class Google_Service_Bigquery_JobConfigurationExtract extends Google_Collection
1905
  public $destinationUris;
1906
  public $fieldDelimiter;
1907
  public $printHeader;
1908
- protected $sourceTableType = 'Google_Service_Bigquery_TableReference';
1909
  protected $sourceTableDataType = '';
1910
 
1911
 
@@ -1957,7 +1957,7 @@ class Google_Service_Bigquery_JobConfigurationExtract extends Google_Collection
1957
  {
1958
  return $this->printHeader;
1959
  }
1960
- public function setSourceTable(Google_Service_Bigquery_TableReference $sourceTable)
1961
  {
1962
  $this->sourceTable = $sourceTable;
1963
  }
@@ -1967,7 +1967,7 @@ class Google_Service_Bigquery_JobConfigurationExtract extends Google_Collection
1967
  }
1968
  }
1969
 
1970
- class Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection
1971
  {
1972
  protected $collection_key = 'sourceUris';
1973
  protected $internal_gapi_mappings = array(
@@ -1975,7 +1975,7 @@ class Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection
1975
  public $allowJaggedRows;
1976
  public $allowQuotedNewlines;
1977
  public $createDisposition;
1978
- protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
1979
  protected $destinationTableDataType = '';
1980
  public $encoding;
1981
  public $fieldDelimiter;
@@ -1983,7 +1983,7 @@ class Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection
1983
  public $maxBadRecords;
1984
  public $projectionFields;
1985
  public $quote;
1986
- protected $schemaType = 'Google_Service_Bigquery_TableSchema';
1987
  protected $schemaDataType = '';
1988
  public $schemaInline;
1989
  public $schemaInlineFormat;
@@ -2017,7 +2017,7 @@ class Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection
2017
  {
2018
  return $this->createDisposition;
2019
  }
2020
- public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable)
2021
  {
2022
  $this->destinationTable = $destinationTable;
2023
  }
@@ -2073,7 +2073,7 @@ class Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection
2073
  {
2074
  return $this->quote;
2075
  }
2076
- public function setSchema(Google_Service_Bigquery_TableSchema $schema)
2077
  {
2078
  $this->schema = $schema;
2079
  }
@@ -2131,26 +2131,26 @@ class Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection
2131
  }
2132
  }
2133
 
2134
- class Google_Service_Bigquery_JobConfigurationQuery extends Google_Collection
2135
  {
2136
  protected $collection_key = 'userDefinedFunctionResources';
2137
  protected $internal_gapi_mappings = array(
2138
  );
2139
  public $allowLargeResults;
2140
  public $createDisposition;
2141
- protected $defaultDatasetType = 'Google_Service_Bigquery_DatasetReference';
2142
  protected $defaultDatasetDataType = '';
2143
- protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
2144
  protected $destinationTableDataType = '';
2145
  public $flattenResults;
2146
  public $maximumBillingTier;
2147
  public $preserveNulls;
2148
  public $priority;
2149
  public $query;
2150
- protected $tableDefinitionsType = 'Google_Service_Bigquery_ExternalDataConfiguration';
2151
  protected $tableDefinitionsDataType = 'map';
2152
  public $useQueryCache;
2153
- protected $userDefinedFunctionResourcesType = 'Google_Service_Bigquery_UserDefinedFunctionResource';
2154
  protected $userDefinedFunctionResourcesDataType = 'array';
2155
  public $writeDisposition;
2156
 
@@ -2171,7 +2171,7 @@ class Google_Service_Bigquery_JobConfigurationQuery extends Google_Collection
2171
  {
2172
  return $this->createDisposition;
2173
  }
2174
- public function setDefaultDataset(Google_Service_Bigquery_DatasetReference $defaultDataset)
2175
  {
2176
  $this->defaultDataset = $defaultDataset;
2177
  }
@@ -2179,7 +2179,7 @@ class Google_Service_Bigquery_JobConfigurationQuery extends Google_Collection
2179
  {
2180
  return $this->defaultDataset;
2181
  }
2182
- public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable)
2183
  {
2184
  $this->destinationTable = $destinationTable;
2185
  }
@@ -2261,17 +2261,17 @@ class Google_Service_Bigquery_JobConfigurationQuery extends Google_Collection
2261
  }
2262
  }
2263
 
2264
- class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collection
2265
  {
2266
  protected $collection_key = 'sourceTables';
2267
  protected $internal_gapi_mappings = array(
2268
  );
2269
  public $createDisposition;
2270
- protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
2271
  protected $destinationTableDataType = '';
2272
- protected $sourceTableType = 'Google_Service_Bigquery_TableReference';
2273
  protected $sourceTableDataType = '';
2274
- protected $sourceTablesType = 'Google_Service_Bigquery_TableReference';
2275
  protected $sourceTablesDataType = 'array';
2276
  public $writeDisposition;
2277
 
@@ -2284,7 +2284,7 @@ class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collectio
2284
  {
2285
  return $this->createDisposition;
2286
  }
2287
- public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable)
2288
  {
2289
  $this->destinationTable = $destinationTable;
2290
  }
@@ -2292,7 +2292,7 @@ class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collectio
2292
  {
2293
  return $this->destinationTable;
2294
  }
2295
- public function setSourceTable(Google_Service_Bigquery_TableReference $sourceTable)
2296
  {
2297
  $this->sourceTable = $sourceTable;
2298
  }
@@ -2318,13 +2318,13 @@ class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collectio
2318
  }
2319
  }
2320
 
2321
- class Google_Service_Bigquery_JobList extends Google_Collection
2322
  {
2323
  protected $collection_key = 'jobs';
2324
  protected $internal_gapi_mappings = array(
2325
  );
2326
  public $etag;
2327
- protected $jobsType = 'Google_Service_Bigquery_JobListJobs';
2328
  protected $jobsDataType = 'array';
2329
  public $kind;
2330
  public $nextPageToken;
@@ -2364,28 +2364,28 @@ class Google_Service_Bigquery_JobList extends Google_Collection
2364
  }
2365
  }
2366
 
2367
- class Google_Service_Bigquery_JobListJobs extends Google_Model
2368
  {
2369
  protected $internal_gapi_mappings = array(
2370
  "userEmail" => "user_email",
2371
  );
2372
- protected $configurationType = 'Google_Service_Bigquery_JobConfiguration';
2373
  protected $configurationDataType = '';
2374
- protected $errorResultType = 'Google_Service_Bigquery_ErrorProto';
2375
  protected $errorResultDataType = '';
2376
  public $id;
2377
- protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
2378
  protected $jobReferenceDataType = '';
2379
  public $kind;
2380
  public $state;
2381
- protected $statisticsType = 'Google_Service_Bigquery_JobStatistics';
2382
  protected $statisticsDataType = '';
2383
- protected $statusType = 'Google_Service_Bigquery_JobStatus';
2384
  protected $statusDataType = '';
2385
  public $userEmail;
2386
 
2387
 
2388
- public function setConfiguration(Google_Service_Bigquery_JobConfiguration $configuration)
2389
  {
2390
  $this->configuration = $configuration;
2391
  }
@@ -2393,7 +2393,7 @@ class Google_Service_Bigquery_JobListJobs extends Google_Model
2393
  {
2394
  return $this->configuration;
2395
  }
2396
- public function setErrorResult(Google_Service_Bigquery_ErrorProto $errorResult)
2397
  {
2398
  $this->errorResult = $errorResult;
2399
  }
@@ -2409,7 +2409,7 @@ class Google_Service_Bigquery_JobListJobs extends Google_Model
2409
  {
2410
  return $this->id;
2411
  }
2412
- public function setJobReference(Google_Service_Bigquery_JobReference $jobReference)
2413
  {
2414
  $this->jobReference = $jobReference;
2415
  }
@@ -2433,7 +2433,7 @@ class Google_Service_Bigquery_JobListJobs extends Google_Model
2433
  {
2434
  return $this->state;
2435
  }
2436
- public function setStatistics(Google_Service_Bigquery_JobStatistics $statistics)
2437
  {
2438
  $this->statistics = $statistics;
2439
  }
@@ -2441,7 +2441,7 @@ class Google_Service_Bigquery_JobListJobs extends Google_Model
2441
  {
2442
  return $this->statistics;
2443
  }
2444
- public function setStatus(Google_Service_Bigquery_JobStatus $status)
2445
  {
2446
  $this->status = $status;
2447
  }
@@ -2459,7 +2459,7 @@ class Google_Service_Bigquery_JobListJobs extends Google_Model
2459
  }
2460
  }
2461
 
2462
- class Google_Service_Bigquery_JobReference extends Google_Model
2463
  {
2464
  protected $internal_gapi_mappings = array(
2465
  );
@@ -2485,17 +2485,17 @@ class Google_Service_Bigquery_JobReference extends Google_Model
2485
  }
2486
  }
2487
 
2488
- class Google_Service_Bigquery_JobStatistics extends Google_Model
2489
  {
2490
  protected $internal_gapi_mappings = array(
2491
  );
2492
  public $creationTime;
2493
  public $endTime;
2494
- protected $extractType = 'Google_Service_Bigquery_JobStatistics4';
2495
  protected $extractDataType = '';
2496
- protected $loadType = 'Google_Service_Bigquery_JobStatistics3';
2497
  protected $loadDataType = '';
2498
- protected $queryType = 'Google_Service_Bigquery_JobStatistics2';
2499
  protected $queryDataType = '';
2500
  public $startTime;
2501
  public $totalBytesProcessed;
@@ -2517,7 +2517,7 @@ class Google_Service_Bigquery_JobStatistics extends Google_Model
2517
  {
2518
  return $this->endTime;
2519
  }
2520
- public function setExtract(Google_Service_Bigquery_JobStatistics4 $extract)
2521
  {
2522
  $this->extract = $extract;
2523
  }
@@ -2525,7 +2525,7 @@ class Google_Service_Bigquery_JobStatistics extends Google_Model
2525
  {
2526
  return $this->extract;
2527
  }
2528
- public function setLoad(Google_Service_Bigquery_JobStatistics3 $load)
2529
  {
2530
  $this->load = $load;
2531
  }
@@ -2533,7 +2533,7 @@ class Google_Service_Bigquery_JobStatistics extends Google_Model
2533
  {
2534
  return $this->load;
2535
  }
2536
- public function setQuery(Google_Service_Bigquery_JobStatistics2 $query)
2537
  {
2538
  $this->query = $query;
2539
  }
@@ -2559,14 +2559,14 @@ class Google_Service_Bigquery_JobStatistics extends Google_Model
2559
  }
2560
  }
2561
 
2562
- class Google_Service_Bigquery_JobStatistics2 extends Google_Collection
2563
  {
2564
  protected $collection_key = 'queryPlan';
2565
  protected $internal_gapi_mappings = array(
2566
  );
2567
  public $billingTier;
2568
  public $cacheHit;
2569
- protected $queryPlanType = 'Google_Service_Bigquery_ExplainQueryStage';
2570
  protected $queryPlanDataType = 'array';
2571
  public $totalBytesBilled;
2572
  public $totalBytesProcessed;
@@ -2614,7 +2614,7 @@ class Google_Service_Bigquery_JobStatistics2 extends Google_Collection
2614
  }
2615
  }
2616
 
2617
- class Google_Service_Bigquery_JobStatistics3 extends Google_Model
2618
  {
2619
  protected $internal_gapi_mappings = array(
2620
  );
@@ -2658,7 +2658,7 @@ class Google_Service_Bigquery_JobStatistics3 extends Google_Model
2658
  }
2659
  }
2660
 
2661
- class Google_Service_Bigquery_JobStatistics4 extends Google_Collection
2662
  {
2663
  protected $collection_key = 'destinationUriFileCounts';
2664
  protected $internal_gapi_mappings = array(
@@ -2676,19 +2676,19 @@ class Google_Service_Bigquery_JobStatistics4 extends Google_Collection
2676
  }
2677
  }
2678
 
2679
- class Google_Service_Bigquery_JobStatus extends Google_Collection
2680
  {
2681
  protected $collection_key = 'errors';
2682
  protected $internal_gapi_mappings = array(
2683
  );
2684
- protected $errorResultType = 'Google_Service_Bigquery_ErrorProto';
2685
  protected $errorResultDataType = '';
2686
- protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
2687
  protected $errorsDataType = 'array';
2688
  public $state;
2689
 
2690
 
2691
- public function setErrorResult(Google_Service_Bigquery_ErrorProto $errorResult)
2692
  {
2693
  $this->errorResult = $errorResult;
2694
  }
@@ -2714,7 +2714,7 @@ class Google_Service_Bigquery_JobStatus extends Google_Collection
2714
  }
2715
  }
2716
 
2717
- class Google_Service_Bigquery_ProjectList extends Google_Collection
2718
  {
2719
  protected $collection_key = 'projects';
2720
  protected $internal_gapi_mappings = array(
@@ -2722,7 +2722,7 @@ class Google_Service_Bigquery_ProjectList extends Google_Collection
2722
  public $etag;
2723
  public $kind;
2724
  public $nextPageToken;
2725
- protected $projectsType = 'Google_Service_Bigquery_ProjectListProjects';
2726
  protected $projectsDataType = 'array';
2727
  public $totalItems;
2728
 
@@ -2769,7 +2769,7 @@ class Google_Service_Bigquery_ProjectList extends Google_Collection
2769
  }
2770
  }
2771
 
2772
- class Google_Service_Bigquery_ProjectListProjects extends Google_Model
2773
  {
2774
  protected $internal_gapi_mappings = array(
2775
  );
@@ -2777,7 +2777,7 @@ class Google_Service_Bigquery_ProjectListProjects extends Google_Model
2777
  public $id;
2778
  public $kind;
2779
  public $numericId;
2780
- protected $projectReferenceType = 'Google_Service_Bigquery_ProjectReference';
2781
  protected $projectReferenceDataType = '';
2782
 
2783
 
@@ -2813,7 +2813,7 @@ class Google_Service_Bigquery_ProjectListProjects extends Google_Model
2813
  {
2814
  return $this->numericId;
2815
  }
2816
- public function setProjectReference(Google_Service_Bigquery_ProjectReference $projectReference)
2817
  {
2818
  $this->projectReference = $projectReference;
2819
  }
@@ -2823,7 +2823,7 @@ class Google_Service_Bigquery_ProjectListProjects extends Google_Model
2823
  }
2824
  }
2825
 
2826
- class Google_Service_Bigquery_ProjectReference extends Google_Model
2827
  {
2828
  protected $internal_gapi_mappings = array(
2829
  );
@@ -2840,11 +2840,11 @@ class Google_Service_Bigquery_ProjectReference extends Google_Model
2840
  }
2841
  }
2842
 
2843
- class Google_Service_Bigquery_QueryRequest extends Google_Model
2844
  {
2845
  protected $internal_gapi_mappings = array(
2846
  );
2847
- protected $defaultDatasetType = 'Google_Service_Bigquery_DatasetReference';
2848
  protected $defaultDatasetDataType = '';
2849
  public $dryRun;
2850
  public $kind;
@@ -2855,7 +2855,7 @@ class Google_Service_Bigquery_QueryRequest extends Google_Model
2855
  public $useQueryCache;
2856
 
2857
 
2858
- public function setDefaultDataset(Google_Service_Bigquery_DatasetReference $defaultDataset)
2859
  {
2860
  $this->defaultDataset = $defaultDataset;
2861
  }
@@ -2921,22 +2921,22 @@ class Google_Service_Bigquery_QueryRequest extends Google_Model
2921
  }
2922
  }
2923
 
2924
- class Google_Service_Bigquery_QueryResponse extends Google_Collection
2925
  {
2926
  protected $collection_key = 'rows';
2927
  protected $internal_gapi_mappings = array(
2928
  );
2929
  public $cacheHit;
2930
- protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
2931
  protected $errorsDataType = 'array';
2932
  public $jobComplete;
2933
- protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
2934
  protected $jobReferenceDataType = '';
2935
  public $kind;
2936
  public $pageToken;
2937
- protected $rowsType = 'Google_Service_Bigquery_TableRow';
2938
  protected $rowsDataType = 'array';
2939
- protected $schemaType = 'Google_Service_Bigquery_TableSchema';
2940
  protected $schemaDataType = '';
2941
  public $totalBytesProcessed;
2942
  public $totalRows;
@@ -2966,7 +2966,7 @@ class Google_Service_Bigquery_QueryResponse extends Google_Collection
2966
  {
2967
  return $this->jobComplete;
2968
  }
2969
- public function setJobReference(Google_Service_Bigquery_JobReference $jobReference)
2970
  {
2971
  $this->jobReference = $jobReference;
2972
  }
@@ -2998,7 +2998,7 @@ class Google_Service_Bigquery_QueryResponse extends Google_Collection
2998
  {
2999
  return $this->rows;
3000
  }
3001
- public function setSchema(Google_Service_Bigquery_TableSchema $schema)
3002
  {
3003
  $this->schema = $schema;
3004
  }
@@ -3024,7 +3024,7 @@ class Google_Service_Bigquery_QueryResponse extends Google_Collection
3024
  }
3025
  }
3026
 
3027
- class Google_Service_Bigquery_Streamingbuffer extends Google_Model
3028
  {
3029
  protected $internal_gapi_mappings = array(
3030
  );
@@ -3059,7 +3059,7 @@ class Google_Service_Bigquery_Streamingbuffer extends Google_Model
3059
  }
3060
  }
3061
 
3062
- class Google_Service_Bigquery_Table extends Google_Model
3063
  {
3064
  protected $internal_gapi_mappings = array(
3065
  );
@@ -3067,7 +3067,7 @@ class Google_Service_Bigquery_Table extends Google_Model
3067
  public $description;
3068
  public $etag;
3069
  public $expirationTime;
3070
- protected $externalDataConfigurationType = 'Google_Service_Bigquery_ExternalDataConfiguration';
3071
  protected $externalDataConfigurationDataType = '';
3072
  public $friendlyName;
3073
  public $id;
@@ -3076,15 +3076,15 @@ class Google_Service_Bigquery_Table extends Google_Model
3076
  public $location;
3077
  public $numBytes;
3078
  public $numRows;
3079
- protected $schemaType = 'Google_Service_Bigquery_TableSchema';
3080
  protected $schemaDataType = '';
3081
  public $selfLink;
3082
- protected $streamingBufferType = 'Google_Service_Bigquery_Streamingbuffer';
3083
  protected $streamingBufferDataType = '';
3084
- protected $tableReferenceType = 'Google_Service_Bigquery_TableReference';
3085
  protected $tableReferenceDataType = '';
3086
  public $type;
3087
- protected $viewType = 'Google_Service_Bigquery_ViewDefinition';
3088
  protected $viewDataType = '';
3089
 
3090
 
@@ -3120,7 +3120,7 @@ class Google_Service_Bigquery_Table extends Google_Model
3120
  {
3121
  return $this->expirationTime;
3122
  }
3123
- public function setExternalDataConfiguration(Google_Service_Bigquery_ExternalDataConfiguration $externalDataConfiguration)
3124
  {
3125
  $this->externalDataConfiguration = $externalDataConfiguration;
3126
  }
@@ -3184,7 +3184,7 @@ class Google_Service_Bigquery_Table extends Google_Model
3184
  {
3185
  return $this->numRows;
3186
  }
3187
- public function setSchema(Google_Service_Bigquery_TableSchema $schema)
3188
  {
3189
  $this->schema = $schema;
3190
  }
@@ -3200,7 +3200,7 @@ class Google_Service_Bigquery_Table extends Google_Model
3200
  {
3201
  return $this->selfLink;
3202
  }
3203
- public function setStreamingBuffer(Google_Service_Bigquery_Streamingbuffer $streamingBuffer)
3204
  {
3205
  $this->streamingBuffer = $streamingBuffer;
3206
  }
@@ -3208,7 +3208,7 @@ class Google_Service_Bigquery_Table extends Google_Model
3208
  {
3209
  return $this->streamingBuffer;
3210
  }
3211
- public function setTableReference(Google_Service_Bigquery_TableReference $tableReference)
3212
  {
3213
  $this->tableReference = $tableReference;
3214
  }
@@ -3224,7 +3224,7 @@ class Google_Service_Bigquery_Table extends Google_Model
3224
  {
3225
  return $this->type;
3226
  }
3227
- public function setView(Google_Service_Bigquery_ViewDefinition $view)
3228
  {
3229
  $this->view = $view;
3230
  }
@@ -3234,7 +3234,7 @@ class Google_Service_Bigquery_Table extends Google_Model
3234
  }
3235
  }
3236
 
3237
- class Google_Service_Bigquery_TableCell extends Google_Model
3238
  {
3239
  protected $internal_gapi_mappings = array(
3240
  );
@@ -3251,14 +3251,14 @@ class Google_Service_Bigquery_TableCell extends Google_Model
3251
  }
3252
  }
3253
 
3254
- class Google_Service_Bigquery_TableDataInsertAllRequest extends Google_Collection
3255
  {
3256
  protected $collection_key = 'rows';
3257
  protected $internal_gapi_mappings = array(
3258
  );
3259
  public $ignoreUnknownValues;
3260
  public $kind;
3261
- protected $rowsType = 'Google_Service_Bigquery_TableDataInsertAllRequestRows';
3262
  protected $rowsDataType = 'array';
3263
  public $skipInvalidRows;
3264
  public $templateSuffix;
@@ -3306,7 +3306,7 @@ class Google_Service_Bigquery_TableDataInsertAllRequest extends Google_Collectio
3306
  }
3307
  }
3308
 
3309
- class Google_Service_Bigquery_TableDataInsertAllRequestRows extends Google_Model
3310
  {
3311
  protected $internal_gapi_mappings = array(
3312
  );
@@ -3332,12 +3332,12 @@ class Google_Service_Bigquery_TableDataInsertAllRequestRows extends Google_Model
3332
  }
3333
  }
3334
 
3335
- class Google_Service_Bigquery_TableDataInsertAllResponse extends Google_Collection
3336
  {
3337
  protected $collection_key = 'insertErrors';
3338
  protected $internal_gapi_mappings = array(
3339
  );
3340
- protected $insertErrorsType = 'Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors';
3341
  protected $insertErrorsDataType = 'array';
3342
  public $kind;
3343
 
@@ -3360,12 +3360,12 @@ class Google_Service_Bigquery_TableDataInsertAllResponse extends Google_Collecti
3360
  }
3361
  }
3362
 
3363
- class Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends Google_Collection
3364
  {
3365
  protected $collection_key = 'errors';
3366
  protected $internal_gapi_mappings = array(
3367
  );
3368
- protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
3369
  protected $errorsDataType = 'array';
3370
  public $index;
3371
 
@@ -3388,7 +3388,7 @@ class Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends Goo
3388
  }
3389
  }
3390
 
3391
- class Google_Service_Bigquery_TableDataList extends Google_Collection
3392
  {
3393
  protected $collection_key = 'rows';
3394
  protected $internal_gapi_mappings = array(
@@ -3396,7 +3396,7 @@ class Google_Service_Bigquery_TableDataList extends Google_Collection
3396
  public $etag;
3397
  public $kind;
3398
  public $pageToken;
3399
- protected $rowsType = 'Google_Service_Bigquery_TableRow';
3400
  protected $rowsDataType = 'array';
3401
  public $totalRows;
3402
 
@@ -3443,13 +3443,13 @@ class Google_Service_Bigquery_TableDataList extends Google_Collection
3443
  }
3444
  }
3445
 
3446
- class Google_Service_Bigquery_TableFieldSchema extends Google_Collection
3447
  {
3448
  protected $collection_key = 'fields';
3449
  protected $internal_gapi_mappings = array(
3450
  );
3451
  public $description;
3452
- protected $fieldsType = 'Google_Service_Bigquery_TableFieldSchema';
3453
  protected $fieldsDataType = 'array';
3454
  public $mode;
3455
  public $name;
@@ -3498,7 +3498,7 @@ class Google_Service_Bigquery_TableFieldSchema extends Google_Collection
3498
  }
3499
  }
3500
 
3501
- class Google_Service_Bigquery_TableList extends Google_Collection
3502
  {
3503
  protected $collection_key = 'tables';
3504
  protected $internal_gapi_mappings = array(
@@ -3506,7 +3506,7 @@ class Google_Service_Bigquery_TableList extends Google_Collection
3506
  public $etag;
3507
  public $kind;
3508
  public $nextPageToken;
3509
- protected $tablesType = 'Google_Service_Bigquery_TableListTables';
3510
  protected $tablesDataType = 'array';
3511
  public $totalItems;
3512
 
@@ -3553,14 +3553,14 @@ class Google_Service_Bigquery_TableList extends Google_Collection
3553
  }
3554
  }
3555
 
3556
- class Google_Service_Bigquery_TableListTables extends Google_Model
3557
  {
3558
  protected $internal_gapi_mappings = array(
3559
  );
3560
  public $friendlyName;
3561
  public $id;
3562
  public $kind;
3563
- protected $tableReferenceType = 'Google_Service_Bigquery_TableReference';
3564
  protected $tableReferenceDataType = '';
3565
  public $type;
3566
 
@@ -3589,7 +3589,7 @@ class Google_Service_Bigquery_TableListTables extends Google_Model
3589
  {
3590
  return $this->kind;
3591
  }
3592
- public function setTableReference(Google_Service_Bigquery_TableReference $tableReference)
3593
  {
3594
  $this->tableReference = $tableReference;
3595
  }
@@ -3607,7 +3607,7 @@ class Google_Service_Bigquery_TableListTables extends Google_Model
3607
  }
3608
  }
3609
 
3610
- class Google_Service_Bigquery_TableReference extends Google_Model
3611
  {
3612
  protected $internal_gapi_mappings = array(
3613
  );
@@ -3642,12 +3642,12 @@ class Google_Service_Bigquery_TableReference extends Google_Model
3642
  }
3643
  }
3644
 
3645
- class Google_Service_Bigquery_TableRow extends Google_Collection
3646
  {
3647
  protected $collection_key = 'f';
3648
  protected $internal_gapi_mappings = array(
3649
  );
3650
- protected $fType = 'Google_Service_Bigquery_TableCell';
3651
  protected $fDataType = 'array';
3652
 
3653
 
@@ -3661,12 +3661,12 @@ class Google_Service_Bigquery_TableRow extends Google_Collection
3661
  }
3662
  }
3663
 
3664
- class Google_Service_Bigquery_TableSchema extends Google_Collection
3665
  {
3666
  protected $collection_key = 'fields';
3667
  protected $internal_gapi_mappings = array(
3668
  );
3669
- protected $fieldsType = 'Google_Service_Bigquery_TableFieldSchema';
3670
  protected $fieldsDataType = 'array';
3671
 
3672
 
@@ -3680,7 +3680,7 @@ class Google_Service_Bigquery_TableSchema extends Google_Collection
3680
  }
3681
  }
3682
 
3683
- class Google_Service_Bigquery_UserDefinedFunctionResource extends Google_Model
3684
  {
3685
  protected $internal_gapi_mappings = array(
3686
  );
@@ -3706,13 +3706,13 @@ class Google_Service_Bigquery_UserDefinedFunctionResource extends Google_Model
3706
  }
3707
  }
3708
 
3709
- class Google_Service_Bigquery_ViewDefinition extends Google_Collection
3710
  {
3711
  protected $collection_key = 'userDefinedFunctionResources';
3712
  protected $internal_gapi_mappings = array(
3713
  );
3714
  public $query;
3715
- protected $userDefinedFunctionResourcesType = 'Google_Service_Bigquery_UserDefinedFunctionResource';
3716
  protected $userDefinedFunctionResourcesDataType = 'array';
3717
 
3718
 
26
  *
27
  * @author Google, Inc.
28
  */
29
+ class Forminator_Google_Service_Bigquery extends Forminator_Google_Service
30
  {
31
  /** View and manage your data in Google BigQuery. */
32
  const BIGQUERY =
60
  /**
61
  * Constructs the internal representation of the Bigquery service.
62
  *
63
+ * @param Forminator_Google_Client $client
64
  */
65
+ public function __construct(Forminator_Google_Client $client)
66
  {
67
  parent::__construct($client);
68
  $this->rootUrl = 'https://www.googleapis.com/';
70
  $this->version = 'v2';
71
  $this->serviceName = 'bigquery';
72
 
73
+ $this->datasets = new Forminator_Google_Service_Bigquery_Datasets_Resource(
74
  $this,
75
  $this->serviceName,
76
  'datasets',
176
  )
177
  )
178
  );
179
+ $this->jobs = new Forminator_Google_Service_Bigquery_Jobs_Resource(
180
  $this,
181
  $this->serviceName,
182
  'jobs',
298
  )
299
  )
300
  );
301
+ $this->projects = new Forminator_Google_Service_Bigquery_Projects_Resource(
302
  $this,
303
  $this->serviceName,
304
  'projects',
321
  )
322
  )
323
  );
324
+ $this->tabledata = new Forminator_Google_Service_Bigquery_Tabledata_Resource(
325
  $this,
326
  $this->serviceName,
327
  'tabledata',
383
  )
384
  )
385
  );
386
+ $this->tables = new Forminator_Google_Service_Bigquery_Tables_Resource(
387
  $this,
388
  $this->serviceName,
389
  'tables',
519
  * The "datasets" collection of methods.
520
  * Typical usage is:
521
  * <code>
522
+ * $bigqueryService = new Forminator_Google_Service_Bigquery(...);
523
  * $datasets = $bigqueryService->datasets;
524
  * </code>
525
  */
526
+ class Forminator_Google_Service_Bigquery_Datasets_Resource extends Forminator_Google_Service_Resource
527
  {
528
 
529
  /**
553
  * @param string $projectId Project ID of the requested dataset
554
  * @param string $datasetId Dataset ID of the requested dataset
555
  * @param array $optParams Optional parameters.
556
+ * @return Forminator_Google_Service_Bigquery_Dataset
557
  */
558
  public function get($projectId, $datasetId, $optParams = array())
559
  {
560
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
561
  $params = array_merge($params, $optParams);
562
+ return $this->call('get', array($params), "Forminator_Google_Service_Bigquery_Dataset");
563
  }
564
 
565
  /**
566
  * Creates a new empty dataset. (datasets.insert)
567
  *
568
  * @param string $projectId Project ID of the new dataset
569
+ * @param Forminator_Google_Dataset $postBody
570
  * @param array $optParams Optional parameters.
571
+ * @return Forminator_Google_Service_Bigquery_Dataset
572
  */
573
+ public function insert($projectId, Forminator_Google_Service_Bigquery_Dataset $postBody, $optParams = array())
574
  {
575
  $params = array('projectId' => $projectId, 'postBody' => $postBody);
576
  $params = array_merge($params, $optParams);
577
+ return $this->call('insert', array($params), "Forminator_Google_Service_Bigquery_Dataset");
578
  }
579
 
580
  /**
588
  * @opt_param string maxResults The maximum number of results to return
589
  * @opt_param string pageToken Page token, returned by a previous call, to
590
  * request the next page of results
591
+ * @return Forminator_Google_Service_Bigquery_DatasetList
592
  */
593
  public function listDatasets($projectId, $optParams = array())
594
  {
595
  $params = array('projectId' => $projectId);
596
  $params = array_merge($params, $optParams);
597
+ return $this->call('list', array($params), "Forminator_Google_Service_Bigquery_DatasetList");
598
  }
599
 
600
  /**
605
  *
606
  * @param string $projectId Project ID of the dataset being updated
607
  * @param string $datasetId Dataset ID of the dataset being updated
608
+ * @param Forminator_Google_Dataset $postBody
609
  * @param array $optParams Optional parameters.
610
+ * @return Forminator_Google_Service_Bigquery_Dataset
611
  */
612
+ public function patch($projectId, $datasetId, Forminator_Google_Service_Bigquery_Dataset $postBody, $optParams = array())
613
  {
614
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
615
  $params = array_merge($params, $optParams);
616
+ return $this->call('patch', array($params), "Forminator_Google_Service_Bigquery_Dataset");
617
  }
618
 
619
  /**
623
  *
624
  * @param string $projectId Project ID of the dataset being updated
625
  * @param string $datasetId Dataset ID of the dataset being updated
626
+ * @param Forminator_Google_Dataset $postBody
627
  * @param array $optParams Optional parameters.
628
+ * @return Forminator_Google_Service_Bigquery_Dataset
629
  */
630
+ public function update($projectId, $datasetId, Forminator_Google_Service_Bigquery_Dataset $postBody, $optParams = array())
631
  {
632
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
633
  $params = array_merge($params, $optParams);
634
+ return $this->call('update', array($params), "Forminator_Google_Service_Bigquery_Dataset");
635
  }
636
  }
637
 
639
  * The "jobs" collection of methods.
640
  * Typical usage is:
641
  * <code>
642
+ * $bigqueryService = new Forminator_Google_Service_Bigquery(...);
643
  * $jobs = $bigqueryService->jobs;
644
  * </code>
645
  */
646
+ class Forminator_Google_Service_Bigquery_Jobs_Resource extends Forminator_Google_Service_Resource
647
  {
648
 
649
  /**
654
  * @param string $projectId [Required] Project ID of the job to cancel
655
  * @param string $jobId [Required] Job ID of the job to cancel
656
  * @param array $optParams Optional parameters.
657
+ * @return Forminator_Google_Service_Bigquery_JobCancelResponse
658
  */
659
  public function cancel($projectId, $jobId, $optParams = array())
660
  {
661
  $params = array('projectId' => $projectId, 'jobId' => $jobId);
662
  $params = array_merge($params, $optParams);
663
+ return $this->call('cancel', array($params), "Forminator_Google_Service_Bigquery_JobCancelResponse");
664
  }
665
 
666
  /**
671
  * @param string $projectId [Required] Project ID of the requested job
672
  * @param string $jobId [Required] Job ID of the requested job
673
  * @param array $optParams Optional parameters.
674
+ * @return Forminator_Google_Service_Bigquery_Job
675
  */
676
  public function get($projectId, $jobId, $optParams = array())
677
  {
678
  $params = array('projectId' => $projectId, 'jobId' => $jobId);
679
  $params = array_merge($params, $optParams);
680
+ return $this->call('get', array($params), "Forminator_Google_Service_Bigquery_Job");
681
  }
682
 
683
  /**
695
  * milliseconds, before returning. Default is 10 seconds. If the timeout passes
696
  * before the job completes, the 'jobComplete' field in the response will be
697
  * false
698
+ * @return Forminator_Google_Service_Bigquery_GetQueryResultsResponse
699
  */
700
  public function getQueryResults($projectId, $jobId, $optParams = array())
701
  {
702
  $params = array('projectId' => $projectId, 'jobId' => $jobId);
703
  $params = array_merge($params, $optParams);
704
+ return $this->call('getQueryResults', array($params), "Forminator_Google_Service_Bigquery_GetQueryResultsResponse");
705
  }
706
 
707
  /**
710
  *
711
  * @param string $projectId Project ID of the project that will be billed for
712
  * the job
713
+ * @param Forminator_Google_Job $postBody
714
  * @param array $optParams Optional parameters.
715
+ * @return Forminator_Google_Service_Bigquery_Job
716
  */
717
+ public function insert($projectId, Forminator_Google_Service_Bigquery_Job $postBody, $optParams = array())
718
  {
719
  $params = array('projectId' => $projectId, 'postBody' => $postBody);
720
  $params = array_merge($params, $optParams);
721
+ return $this->call('insert', array($params), "Forminator_Google_Service_Bigquery_Job");
722
  }
723
 
724
  /**
739
  * @opt_param string projection Restrict information returned to a set of
740
  * selected fields
741
  * @opt_param string stateFilter Filter for job state
742
+ * @return Forminator_Google_Service_Bigquery_JobList
743
  */
744
  public function listJobs($projectId, $optParams = array())
745
  {
746
  $params = array('projectId' => $projectId);
747
  $params = array_merge($params, $optParams);
748
+ return $this->call('list', array($params), "Forminator_Google_Service_Bigquery_JobList");
749
  }
750
 
751
  /**
753
  * query completes within a specified timeout. (jobs.query)
754
  *
755
  * @param string $projectId Project ID of the project billed for the query
756
+ * @param Forminator_Google_QueryRequest $postBody
757
  * @param array $optParams Optional parameters.
758
+ * @return Forminator_Google_Service_Bigquery_QueryResponse
759
  */
760
+ public function query($projectId, Forminator_Google_Service_Bigquery_QueryRequest $postBody, $optParams = array())
761
  {
762
  $params = array('projectId' => $projectId, 'postBody' => $postBody);
763
  $params = array_merge($params, $optParams);
764
+ return $this->call('query', array($params), "Forminator_Google_Service_Bigquery_QueryResponse");
765
  }
766
  }
767
 
769
  * The "projects" collection of methods.
770
  * Typical usage is:
771
  * <code>
772
+ * $bigqueryService = new Forminator_Google_Service_Bigquery(...);
773
  * $projects = $bigqueryService->projects;
774
  * </code>
775
  */
776
+ class Forminator_Google_Service_Bigquery_Projects_Resource extends Forminator_Google_Service_Resource
777
  {
778
 
779
  /**
785
  * @opt_param string maxResults Maximum number of results to return
786
  * @opt_param string pageToken Page token, returned by a previous call, to
787
  * request the next page of results
788
+ * @return Forminator_Google_Service_Bigquery_ProjectList
789
  */
790
  public function listProjects($optParams = array())
791
  {
792
  $params = array();
793
  $params = array_merge($params, $optParams);
794
+ return $this->call('list', array($params), "Forminator_Google_Service_Bigquery_ProjectList");
795
  }
796
  }
797
 
799
  * The "tabledata" collection of methods.
800
  * Typical usage is:
801
  * <code>
802
+ * $bigqueryService = new Forminator_Google_Service_Bigquery(...);
803
  * $tabledata = $bigqueryService->tabledata;
804
  * </code>
805
  */
806
+ class Forminator_Google_Service_Bigquery_Tabledata_Resource extends Forminator_Google_Service_Resource
807
  {
808
 
809
  /**
813
  * @param string $projectId Project ID of the destination table.
814
  * @param string $datasetId Dataset ID of the destination table.
815
  * @param string $tableId Table ID of the destination table.
816
+ * @param Forminator_Google_TableDataInsertAllRequest $postBody
817
  * @param array $optParams Optional parameters.
818
+ * @return Forminator_Google_Service_Bigquery_TableDataInsertAllResponse
819
  */
820
+ public function insertAll($projectId, $datasetId, $tableId, Forminator_Google_Service_Bigquery_TableDataInsertAllRequest $postBody, $optParams = array())
821
  {
822
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
823
  $params = array_merge($params, $optParams);
824
+ return $this->call('insertAll', array($params), "Forminator_Google_Service_Bigquery_TableDataInsertAllResponse");
825
  }
826
 
827
  /**
837
  * @opt_param string pageToken Page token, returned by a previous call,
838
  * identifying the result set
839
  * @opt_param string startIndex Zero-based index of the starting row to read
840
+ * @return Forminator_Google_Service_Bigquery_TableDataList
841
  */
842
  public function listTabledata($projectId, $datasetId, $tableId, $optParams = array())
843
  {
844
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
845
  $params = array_merge($params, $optParams);
846
+ return $this->call('list', array($params), "Forminator_Google_Service_Bigquery_TableDataList");
847
  }
848
  }
849
 
851
  * The "tables" collection of methods.
852
  * Typical usage is:
853
  * <code>
854
+ * $bigqueryService = new Forminator_Google_Service_Bigquery(...);
855
  * $tables = $bigqueryService->tables;
856
  * </code>
857
  */
858
+ class Forminator_Google_Service_Bigquery_Tables_Resource extends Forminator_Google_Service_Resource
859
  {
860
 
861
  /**
883
  * @param string $datasetId Dataset ID of the requested table
884
  * @param string $tableId Table ID of the requested table
885
  * @param array $optParams Optional parameters.
886
+ * @return Forminator_Google_Service_Bigquery_Table
887
  */
888
  public function get($projectId, $datasetId, $tableId, $optParams = array())
889
  {
890
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
891
  $params = array_merge($params, $optParams);
892
+ return $this->call('get', array($params), "Forminator_Google_Service_Bigquery_Table");
893
  }
894
 
895
  /**
897
  *
898
  * @param string $projectId Project ID of the new table
899
  * @param string $datasetId Dataset ID of the new table
900
+ * @param Forminator_Google_Table $postBody
901
  * @param array $optParams Optional parameters.
902
+ * @return Forminator_Google_Service_Bigquery_Table
903
  */
904
+ public function insert($projectId, $datasetId, Forminator_Google_Service_Bigquery_Table $postBody, $optParams = array())
905
  {
906
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
907
  $params = array_merge($params, $optParams);
908
+ return $this->call('insert', array($params), "Forminator_Google_Service_Bigquery_Table");
909
  }
910
 
911
  /**
919
  * @opt_param string maxResults Maximum number of results to return
920
  * @opt_param string pageToken Page token, returned by a previous call, to
921
  * request the next page of results
922
+ * @return Forminator_Google_Service_Bigquery_TableList
923
  */
924
  public function listTables($projectId, $datasetId, $optParams = array())
925
  {
926
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
927
  $params = array_merge($params, $optParams);
928
+ return $this->call('list', array($params), "Forminator_Google_Service_Bigquery_TableList");
929
  }
930
 
931
  /**
937
  * @param string $projectId Project ID of the table to update
938
  * @param string $datasetId Dataset ID of the table to update
939
  * @param string $tableId Table ID of the table to update
940
+ * @param Forminator_Google_Table $postBody
941
  * @param array $optParams Optional parameters.
942
+ * @return Forminator_Google_Service_Bigquery_Table
943
  */
944
+ public function patch($projectId, $datasetId, $tableId, Forminator_Google_Service_Bigquery_Table $postBody, $optParams = array())
945
  {
946
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
947
  $params = array_merge($params, $optParams);
948
+ return $this->call('patch', array($params), "Forminator_Google_Service_Bigquery_Table");
949
  }
950
 
951
  /**
956
  * @param string $projectId Project ID of the table to update
957
  * @param string $datasetId Dataset ID of the table to update
958
  * @param string $tableId Table ID of the table to update
959
+ * @param Forminator_Google_Table $postBody
960
  * @param array $optParams Optional parameters.
961
+ * @return Forminator_Google_Service_Bigquery_Table
962
  */
963
+ public function update($projectId, $datasetId, $tableId, Forminator_Google_Service_Bigquery_Table $postBody, $optParams = array())
964
  {
965
  $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
966
  $params = array_merge($params, $optParams);
967
+ return $this->call('update', array($params), "Forminator_Google_Service_Bigquery_Table");
968
  }
969
  }
970
 
971
 
972
 
973
 
974
+ class Forminator_Google_Service_Bigquery_CsvOptions extends Forminator_Google_Model
975
  {
976
  protected $internal_gapi_mappings = array(
977
  );
1033
  }
1034
  }
1035
 
1036
+ class Forminator_Google_Service_Bigquery_Dataset extends Forminator_Google_Collection
1037
  {
1038
  protected $collection_key = 'access';
1039
  protected $internal_gapi_mappings = array(
1040
  );
1041
+ protected $accessType = 'Forminator_Google_Service_Bigquery_DatasetAccess';
1042
  protected $accessDataType = 'array';
1043
  public $creationTime;
1044
+ protected $datasetReferenceType = 'Forminator_Google_Service_Bigquery_DatasetReference';
1045
  protected $datasetReferenceDataType = '';
1046
  public $defaultTableExpirationMs;
1047
  public $description;
1070
  {
1071
  return $this->creationTime;
1072
  }
1073
+ public function setDatasetReference(Forminator_Google_Service_Bigquery_DatasetReference $datasetReference)
1074
  {
1075
  $this->datasetReference = $datasetReference;
1076
  }
1152
  }
1153
  }
1154
 
1155
+ class Forminator_Google_Service_Bigquery_DatasetAccess extends Forminator_Google_Model
1156
  {
1157
  protected $internal_gapi_mappings = array(
1158
  );
1161
  public $role;
1162
  public $specialGroup;
1163
  public $userByEmail;
1164
+ protected $viewType = 'Forminator_Google_Service_Bigquery_TableReference';
1165
  protected $viewDataType = '';
1166
 
1167
 
1205
  {
1206
  return $this->userByEmail;
1207
  }
1208
+ public function setView(Forminator_Google_Service_Bigquery_TableReference $view)
1209
  {
1210
  $this->view = $view;
1211
  }
1215
  }
1216
  }
1217
 
1218
+ class Forminator_Google_Service_Bigquery_DatasetList extends Forminator_Google_Collection
1219
  {
1220
  protected $collection_key = 'datasets';
1221
  protected $internal_gapi_mappings = array(
1222
  );
1223
+ protected $datasetsType = 'Forminator_Google_Service_Bigquery_DatasetListDatasets';
1224
  protected $datasetsDataType = 'array';
1225
  public $etag;
1226
  public $kind;
1261
  }
1262
  }
1263
 
1264
+ class Forminator_Google_Service_Bigquery_DatasetListDatasets extends Forminator_Google_Model
1265
  {
1266
  protected $internal_gapi_mappings = array(
1267
  );
1268
+ protected $datasetReferenceType = 'Forminator_Google_Service_Bigquery_DatasetReference';
1269
  protected $datasetReferenceDataType = '';
1270
  public $friendlyName;
1271
  public $id;
1272
  public $kind;
1273
 
1274
 
1275
+ public function setDatasetReference(Forminator_Google_Service_Bigquery_DatasetReference $datasetReference)
1276
  {
1277
  $this->datasetReference = $datasetReference;
1278
  }
1306
  }
1307
  }
1308
 
1309
+ class Forminator_Google_Service_Bigquery_DatasetReference extends Forminator_Google_Model
1310
  {
1311
  protected $internal_gapi_mappings = array(
1312
  );
1332
  }
1333
  }
1334
 
1335
+ class Forminator_Google_Service_Bigquery_ErrorProto extends Forminator_Google_Model
1336
  {
1337
  protected $internal_gapi_mappings = array(
1338
  );
1376
  }
1377
  }
1378
 
1379
+ class Forminator_Google_Service_Bigquery_ExplainQueryStage extends Forminator_Google_Collection
1380
  {
1381
  protected $collection_key = 'steps';
1382
  protected $internal_gapi_mappings = array(
1389
  public $readRatioMax;
1390
  public $recordsRead;
1391
  public $recordsWritten;
1392
+ protected $stepsType = 'Forminator_Google_Service_Bigquery_ExplainQueryStep';
1393
  protected $stepsDataType = 'array';
1394
  public $waitRatioAvg;
1395
  public $waitRatioMax;
1503
  }
1504
  }
1505
 
1506
+ class Forminator_Google_Service_Bigquery_ExplainQueryStep extends Forminator_Google_Collection
1507
  {
1508
  protected $collection_key = 'substeps';
1509
  protected $internal_gapi_mappings = array(
1530
  }
1531
  }
1532
 
1533
+ class Forminator_Google_Service_Bigquery_ExternalDataConfiguration extends Forminator_Google_Collection
1534
  {
1535
  protected $collection_key = 'sourceUris';
1536
  protected $internal_gapi_mappings = array(
1537
  );
1538
  public $compression;
1539
+ protected $csvOptionsType = 'Forminator_Google_Service_Bigquery_CsvOptions';
1540
  protected $csvOptionsDataType = '';
1541
  public $ignoreUnknownValues;
1542
  public $maxBadRecords;
1543
+ protected $schemaType = 'Forminator_Google_Service_Bigquery_TableSchema';
1544
  protected $schemaDataType = '';
1545
  public $sourceFormat;
1546
  public $sourceUris;
1554
  {
1555
  return $this->compression;
1556
  }
1557
+ public function setCsvOptions(Forminator_Google_Service_Bigquery_CsvOptions $csvOptions)
1558
  {
1559
  $this->csvOptions = $csvOptions;
1560
  }
1578
  {
1579
  return $this->maxBadRecords;
1580
  }
1581
+ public function setSchema(Forminator_Google_Service_Bigquery_TableSchema $schema)
1582
  {
1583
  $this->schema = $schema;
1584
  }
1604
  }
1605
  }
1606
 
1607
+ class Forminator_Google_Service_Bigquery_GetQueryResultsResponse extends Forminator_Google_Collection
1608
  {
1609
  protected $collection_key = 'rows';
1610
  protected $internal_gapi_mappings = array(
1611
  );
1612
  public $cacheHit;
1613
+ protected $errorsType = 'Forminator_Google_Service_Bigquery_ErrorProto';
1614
  protected $errorsDataType = 'array';
1615
  public $etag;
1616
  public $jobComplete;
1617
+ protected $jobReferenceType = 'Forminator_Google_Service_Bigquery_JobReference';
1618
  protected $jobReferenceDataType = '';
1619
  public $kind;
1620
  public $pageToken;
1621
+ protected $rowsType = 'Forminator_Google_Service_Bigquery_TableRow';
1622
  protected $rowsDataType = 'array';
1623
+ protected $schemaType = 'Forminator_Google_Service_Bigquery_TableSchema';
1624
  protected $schemaDataType = '';
1625
  public $totalBytesProcessed;
1626
  public $totalRows;
1658
  {
1659
  return $this->jobComplete;
1660
  }
1661
+ public function setJobReference(Forminator_Google_Service_Bigquery_JobReference $jobReference)
1662
  {
1663
  $this->jobReference = $jobReference;
1664
  }
1690
  {
1691
  return $this->rows;
1692
  }
1693
+ public function setSchema(Forminator_Google_Service_Bigquery_TableSchema $schema)
1694
  {
1695
  $this->schema = $schema;
1696
  }
1716
  }
1717
  }
1718
 
1719
+ class Forminator_Google_Service_Bigquery_Job extends Forminator_Google_Model
1720
  {
1721
  protected $internal_gapi_mappings = array(
1722
  "userEmail" => "user_email",
1723
  );
1724
+ protected $configurationType = 'Forminator_Google_Service_Bigquery_JobConfiguration';
1725
  protected $configurationDataType = '';
1726
  public $etag;
1727
  public $id;
1728
+ protected $jobReferenceType = 'Forminator_Google_Service_Bigquery_JobReference';
1729
  protected $jobReferenceDataType = '';
1730
  public $kind;
1731
  public $selfLink;
1732
+ protected $statisticsType = 'Forminator_Google_Service_Bigquery_JobStatistics';
1733
  protected $statisticsDataType = '';
1734
+ protected $statusType = 'Forminator_Google_Service_Bigquery_JobStatus';
1735
  protected $statusDataType = '';
1736
  public $userEmail;
1737
 
1738
 
1739
+ public function setConfiguration(Forminator_Google_Service_Bigquery_JobConfiguration $configuration)
1740
  {
1741
  $this->configuration = $configuration;
1742
  }
1760
  {
1761
  return $this->id;
1762
  }
1763
+ public function setJobReference(Forminator_Google_Service_Bigquery_JobReference $jobReference)
1764
  {
1765
  $this->jobReference = $jobReference;
1766
  }
1784
  {
1785
  return $this->selfLink;
1786
  }
1787
+ public function setStatistics(Forminator_Google_Service_Bigquery_JobStatistics $statistics)
1788
  {
1789
  $this->statistics = $statistics;
1790
  }
1792
  {
1793
  return $this->statistics;
1794
  }
1795
+ public function setStatus(Forminator_Google_Service_Bigquery_JobStatus $status)
1796
  {
1797
  $this->status = $status;
1798
  }
1810
  }
1811
  }
1812
 
1813
+ class Forminator_Google_Service_Bigquery_JobCancelResponse extends Forminator_Google_Model
1814
  {
1815
  protected $internal_gapi_mappings = array(
1816
  );
1817
+ protected $jobType = 'Forminator_Google_Service_Bigquery_Job';
1818
  protected $jobDataType = '';
1819
  public $kind;
1820
 
1821
 
1822
+ public function setJob(Forminator_Google_Service_Bigquery_Job $job)
1823
  {
1824
  $this->job = $job;
1825
  }
1837
  }
1838
  }
1839
 
1840
+ class Forminator_Google_Service_Bigquery_JobConfiguration extends Forminator_Google_Model
1841
  {
1842
  protected $internal_gapi_mappings = array(
1843
  );
1844
+ protected $copyType = 'Forminator_Google_Service_Bigquery_JobConfigurationTableCopy';
1845
  protected $copyDataType = '';
1846
  public $dryRun;
1847
+ protected $extractType = 'Forminator_Google_Service_Bigquery_JobConfigurationExtract';
1848
  protected $extractDataType = '';
1849
+ protected $loadType = 'Forminator_Google_Service_Bigquery_JobConfigurationLoad';
1850
  protected $loadDataType = '';
1851
+ protected $queryType = 'Forminator_Google_Service_Bigquery_JobConfigurationQuery';
1852
  protected $queryDataType = '';
1853
 
1854
 
1855
+ public function setCopy(Forminator_Google_Service_Bigquery_JobConfigurationTableCopy $copy)
1856
  {
1857
  $this->copy = $copy;
1858
  }
1868
  {
1869
  return $this->dryRun;
1870
  }
1871
+ public function setExtract(Forminator_Google_Service_Bigquery_JobConfigurationExtract $extract)
1872
  {
1873
  $this->extract = $extract;
1874
  }
1876
  {
1877
  return $this->extract;
1878
  }
1879
+ public function setLoad(Forminator_Google_Service_Bigquery_JobConfigurationLoad $load)
1880
  {
1881
  $this->load = $load;
1882
  }
1884
  {
1885
  return $this->load;
1886
  }
1887
+ public function setQuery(Forminator_Google_Service_Bigquery_JobConfigurationQuery $query)
1888
  {
1889
  $this->query = $query;
1890
  }
1894
  }
1895
  }
1896
 
1897
+ class Forminator_Google_Service_Bigquery_JobConfigurationExtract extends Forminator_Google_Collection
1898
  {
1899
  protected $collection_key = 'destinationUris';
1900
  protected $internal_gapi_mappings = array(
1905
  public $destinationUris;
1906
  public $fieldDelimiter;
1907
  public $printHeader;
1908
+ protected $sourceTableType = 'Forminator_Google_Service_Bigquery_TableReference';
1909
  protected $sourceTableDataType = '';
1910
 
1911
 
1957
  {
1958
  return $this->printHeader;
1959
  }
1960
+ public function setSourceTable(Forminator_Google_Service_Bigquery_TableReference $sourceTable)
1961
  {
1962
  $this->sourceTable = $sourceTable;
1963
  }
1967
  }
1968
  }
1969
 
1970
+ class Forminator_Google_Service_Bigquery_JobConfigurationLoad extends Forminator_Google_Collection
1971
  {
1972
  protected $collection_key = 'sourceUris';
1973
  protected $internal_gapi_mappings = array(
1975
  public $allowJaggedRows;
1976
  public $allowQuotedNewlines;
1977
  public $createDisposition;
1978
+ protected $destinationTableType = 'Forminator_Google_Service_Bigquery_TableReference';
1979
  protected $destinationTableDataType = '';
1980
  public $encoding;
1981
  public $fieldDelimiter;
1983
  public $maxBadRecords;
1984
  public $projectionFields;
1985
  public $quote;
1986
+ protected $schemaType = 'Forminator_Google_Service_Bigquery_TableSchema';
1987
  protected $schemaDataType = '';
1988
  public $schemaInline;
1989
  public $schemaInlineFormat;
2017
  {
2018
  return $this->createDisposition;
2019
  }
2020
+ public function setDestinationTable(Forminator_Google_Service_Bigquery_TableReference $destinationTable)
2021
  {
2022
  $this->destinationTable = $destinationTable;
2023
  }
2073
  {
2074
  return $this->quote;
2075
  }
2076
+ public function setSchema(Forminator_Google_Service_Bigquery_TableSchema $schema)
2077
  {
2078
  $this->schema = $schema;
2079
  }
2131
  }
2132
  }
2133
 
2134
+ class Forminator_Google_Service_Bigquery_JobConfigurationQuery extends Forminator_Google_Collection
2135
  {
2136
  protected $collection_key = 'userDefinedFunctionResources';
2137
  protected $internal_gapi_mappings = array(
2138
  );
2139
  public $allowLargeResults;
2140
  public $createDisposition;
2141
+ protected $defaultDatasetType = 'Forminator_Google_Service_Bigquery_DatasetReference';
2142
  protected $defaultDatasetDataType = '';
2143
+ protected $destinationTableType = 'Forminator_Google_Service_Bigquery_TableReference';
2144
  protected $destinationTableDataType = '';
2145
  public $flattenResults;
2146
  public $maximumBillingTier;
2147
  public $preserveNulls;
2148
  public $priority;
2149
  public $query;
2150
+ protected $tableDefinitionsType = 'Forminator_Google_Service_Bigquery_ExternalDataConfiguration';
2151
  protected $tableDefinitionsDataType = 'map';
2152
  public $useQueryCache;
2153
+ protected $userDefinedFunctionResourcesType = 'Forminator_Google_Service_Bigquery_UserDefinedFunctionResource';
2154
  protected $userDefinedFunctionResourcesDataType = 'array';
2155
  public $writeDisposition;
2156
 
2171
  {
2172
  return $this->createDisposition;
2173
  }
2174
+ public function setDefaultDataset(Forminator_Google_Service_Bigquery_DatasetReference $defaultDataset)
2175
  {
2176
  $this->defaultDataset = $defaultDataset;
2177
  }
2179
  {
2180
  return $this->defaultDataset;
2181
  }
2182
+ public function setDestinationTable(Forminator_Google_Service_Bigquery_TableReference $destinationTable)
2183
  {
2184
  $this->destinationTable = $destinationTable;
2185
  }
2261
  }
2262
  }
2263
 
2264
+ class Forminator_Google_Service_Bigquery_JobConfigurationTableCopy extends Forminator_Google_Collection
2265
  {
2266
  protected $collection_key = 'sourceTables';
2267
  protected $internal_gapi_mappings = array(
2268
  );
2269
  public $createDisposition;
2270
+ protected $destinationTableType = 'Forminator_Google_Service_Bigquery_TableReference';
2271
  protected $destinationTableDataType = '';
2272
+ protected $sourceTableType = 'Forminator_Google_Service_Bigquery_TableReference';
2273
  protected $sourceTableDataType = '';
2274
+ protected $sourceTablesType = 'Forminator_Google_Service_Bigquery_TableReference';
2275
  protected $sourceTablesDataType = 'array';
2276
  public $writeDisposition;
2277
 
2284
  {
2285
  return $this->createDisposition;
2286
  }
2287
+ public function setDestinationTable(Forminator_Google_Service_Bigquery_TableReference $destinationTable)
2288
  {
2289
  $this->destinationTable = $destinationTable;
2290
  }
2292
  {
2293
  return $this->destinationTable;
2294
  }
2295
+ public function setSourceTable(Forminator_Google_Service_Bigquery_TableReference $sourceTable)
2296
  {
2297
  $this->sourceTable = $sourceTable;
2298
  }
2318
  }
2319
  }
2320
 
2321
+ class Forminator_Google_Service_Bigquery_JobList extends Forminator_Google_Collection
2322
  {
2323
  protected $collection_key = 'jobs';
2324
  protected $internal_gapi_mappings = array(
2325
  );
2326
  public $etag;
2327
+ protected $jobsType = 'Forminator_Google_Service_Bigquery_JobListJobs';
2328
  protected $jobsDataType = 'array';
2329
  public $kind;
2330
  public $nextPageToken;
2364
  }
2365
  }
2366
 
2367
+ class Forminator_Google_Service_Bigquery_JobListJobs extends Forminator_Google_Model
2368
  {
2369
  protected $internal_gapi_mappings = array(
2370
  "userEmail" => "user_email",
2371
  );
2372
+ protected $configurationType = 'Forminator_Google_Service_Bigquery_JobConfiguration';
2373
  protected $configurationDataType = '';
2374
+ protected $errorResultType = 'Forminator_Google_Service_Bigquery_ErrorProto';
2375
  protected $errorResultDataType = '';
2376
  public $id;
2377
+ protected $jobReferenceType = 'Forminator_Google_Service_Bigquery_JobReference';
2378
  protected $jobReferenceDataType = '';
2379
  public $kind;
2380
  public $state;
2381
+ protected $statisticsType = 'Forminator_Google_Service_Bigquery_JobStatistics';
2382
  protected $statisticsDataType = '';
2383
+ protected $statusType = 'Forminator_Google_Service_Bigquery_JobStatus';
2384
  protected $statusDataType = '';
2385
  public $userEmail;
2386
 
2387
 
2388
+ public function setConfiguration(Forminator_Google_Service_Bigquery_JobConfiguration $configuration)
2389
  {
2390
  $this->configuration = $configuration;
2391
  }
2393
  {
2394
  return $this->configuration;
2395
  }
2396
+ public function setErrorResult(Forminator_Google_Service_Bigquery_ErrorProto $errorResult)
2397
  {
2398
  $this->errorResult = $errorResult;
2399
  }
2409
  {
2410
  return $this->id;
2411
  }
2412
+ public function setJobReference(Forminator_Google_Service_Bigquery_JobReference $jobReference)
2413
  {
2414
  $this->jobReference = $jobReference;
2415
  }
2433
  {
2434
  return $this->state;
2435
  }
2436
+ public function setStatistics(Forminator_Google_Service_Bigquery_JobStatistics $statistics)
2437
  {
2438
  $this->statistics = $statistics;
2439
  }
2441
  {
2442
  return $this->statistics;
2443
  }
2444
+ public function setStatus(Forminator_Google_Service_Bigquery_JobStatus $status)
2445
  {
2446
  $this->status = $status;
2447
  }
2459
  }
2460
  }
2461
 
2462
+ class Forminator_Google_Service_Bigquery_JobReference extends Forminator_Google_Model
2463
  {
2464
  protected $internal_gapi_mappings = array(
2465
  );
2485
  }
2486
  }
2487
 
2488
+ class Forminator_Google_Service_Bigquery_JobStatistics extends Forminator_Google_Model
2489
  {
2490
  protected $internal_gapi_mappings = array(
2491
  );
2492
  public $creationTime;
2493
  public $endTime;
2494
+ protected $extractType = 'Forminator_Google_Service_Bigquery_JobStatistics4';
2495
  protected $extractDataType = '';
2496
+ protected $loadType = 'Forminator_Google_Service_Bigquery_JobStatistics3';
2497
  protected $loadDataType = '';
2498
+ protected $queryType = 'Forminator_Google_Service_Bigquery_JobStatistics2';
2499
  protected $queryDataType = '';
2500
  public $startTime;
2501
  public $totalBytesProcessed;
2517
  {
2518
  return $this->endTime;
2519
  }
2520
+ public function setExtract(Forminator_Google_Service_Bigquery_JobStatistics4 $extract)
2521
  {
2522
  $this->extract = $extract;
2523
  }
2525
  {
2526
  return $this->extract;
2527
  }
2528
+ public function setLoad(Forminator_Google_Service_Bigquery_JobStatistics3 $load)
2529
  {
2530
  $this->load = $load;
2531
  }
2533
  {
2534
  return $this->load;
2535
  }
2536
+ public function setQuery(Forminator_Google_Service_Bigquery_JobStatistics2 $query)
2537
  {
2538
  $this->query = $query;
2539
  }
2559
  }
2560
  }
2561
 
2562
+ class Forminator_Google_Service_Bigquery_JobStatistics2 extends Forminator_Google_Collection
2563
  {
2564
  protected $collection_key = 'queryPlan';
2565
  protected $internal_gapi_mappings = array(
2566
  );
2567
  public $billingTier;
2568
  public $cacheHit;
2569
+ protected $queryPlanType = 'Forminator_Google_Service_Bigquery_ExplainQueryStage';
2570
  protected $queryPlanDataType = 'array';
2571
  public $totalBytesBilled;
2572
  public $totalBytesProcessed;
2614
  }
2615
  }
2616
 
2617
+ class Forminator_Google_Service_Bigquery_JobStatistics3 extends Forminator_Google_Model
2618
  {
2619
  protected $internal_gapi_mappings = array(
2620
  );
2658
  }
2659
  }
2660
 
2661
+ class Forminator_Google_Service_Bigquery_JobStatistics4 extends Forminator_Google_Collection
2662
  {
2663
  protected $collection_key = 'destinationUriFileCounts';
2664
  protected $internal_gapi_mappings = array(
2676
  }
2677
  }
2678
 
2679
+ class Forminator_Google_Service_Bigquery_JobStatus extends Forminator_Google_Collection
2680
  {
2681
  protected $collection_key = 'errors';
2682
  protected $internal_gapi_mappings = array(
2683
  );
2684
+ protected $errorResultType = 'Forminator_Google_Service_Bigquery_ErrorProto';
2685
  protected $errorResultDataType = '';
2686
+ protected $errorsType = 'Forminator_Google_Service_Bigquery_ErrorProto';
2687
  protected $errorsDataType = 'array';
2688
  public $state;
2689
 
2690
 
2691
+ public function setErrorResult(Forminator_Google_Service_Bigquery_ErrorProto $errorResult)
2692
  {
2693
  $this->errorResult = $errorResult;
2694
  }
2714
  }
2715
  }
2716
 
2717
+ class Forminator_Google_Service_Bigquery_ProjectList extends Forminator_Google_Collection
2718
  {
2719
  protected $collection_key = 'projects';
2720
  protected $internal_gapi_mappings = array(
2722
  public $etag;
2723
  public $kind;
2724
  public $nextPageToken;
2725
+ protected $projectsType = 'Forminator_Google_Service_Bigquery_ProjectListProjects';
2726
  protected $projectsDataType = 'array';
2727
  public $totalItems;
2728
 
2769
  }
2770
  }
2771
 
2772
+ class Forminator_Google_Service_Bigquery_ProjectListProjects extends Forminator_Google_Model
2773
  {
2774
  protected $internal_gapi_mappings = array(
2775
  );
2777
  public $id;
2778
  public $kind;
2779
  public $numericId;
2780
+ protected $projectReferenceType = 'Forminator_Google_Service_Bigquery_ProjectReference';
2781
  protected $projectReferenceDataType = '';
2782
 
2783
 
2813
  {
2814
  return $this->numericId;
2815
  }
2816
+ public function setProjectReference(Forminator_Google_Service_Bigquery_ProjectReference $projectReference)
2817
  {
2818
  $this->projectReference = $projectReference;
2819
  }
2823
  }
2824
  }
2825
 
2826
+ class Forminator_Google_Service_Bigquery_ProjectReference extends Forminator_Google_Model
2827
  {
2828
  protected $internal_gapi_mappings = array(
2829
  );
2840
  }
2841
  }
2842
 
2843
+ class Forminator_Google_Service_Bigquery_QueryRequest extends Forminator_Google_Model
2844
  {
2845
  protected $internal_gapi_mappings = array(
2846
  );
2847
+ protected $defaultDatasetType = 'Forminator_Google_Service_Bigquery_DatasetReference';
2848
  protected $defaultDatasetDataType = '';
2849
  public $dryRun;
2850
  public $kind;
2855
  public $useQueryCache;
2856
 
2857
 
2858
+ public function setDefaultDataset(Forminator_Google_Service_Bigquery_DatasetReference $defaultDataset)
2859
  {
2860
  $this->defaultDataset = $defaultDataset;
2861
  }
2921
  }
2922
  }
2923
 
2924
+ class Forminator_Google_Service_Bigquery_QueryResponse extends Forminator_Google_Collection
2925
  {
2926
  protected $collection_key = 'rows';
2927
  protected $internal_gapi_mappings = array(
2928
  );
2929
  public $cacheHit;
2930
+ protected $errorsType = 'Forminator_Google_Service_Bigquery_ErrorProto';
2931
  protected $errorsDataType = 'array';
2932
  public $jobComplete;
2933
+ protected $jobReferenceType = 'Forminator_Google_Service_Bigquery_JobReference';
2934
  protected $jobReferenceDataType = '';
2935
  public $kind;
2936
  public $pageToken;
2937
+ protected $rowsType = 'Forminator_Google_Service_Bigquery_TableRow';
2938
  protected $rowsDataType = 'array';
2939
+ protected $schemaType = 'Forminator_Google_Service_Bigquery_TableSchema';
2940
  protected $schemaDataType = '';
2941
  public $totalBytesProcessed;
2942
  public $totalRows;
2966
  {
2967
  return $this->jobComplete;
2968
  }
2969
+ public function setJobReference(Forminator_Google_Service_Bigquery_JobReference $jobReference)
2970
  {
2971
  $this->jobReference = $jobReference;
2972
  }
2998
  {
2999
  return $this->rows;
3000
  }
3001
+ public function setSchema(Forminator_Google_Service_Bigquery_TableSchema $schema)
3002
  {
3003
  $this->schema = $schema;
3004
  }
3024
  }
3025
  }
3026
 
3027
+ class Forminator_Google_Service_Bigquery_Streamingbuffer extends Forminator_Google_Model
3028
  {
3029
  protected $internal_gapi_mappings = array(
3030
  );
3059
  }
3060
  }
3061
 
3062
+ class Forminator_Google_Service_Bigquery_Table extends Forminator_Google_Model
3063
  {
3064
  protected $internal_gapi_mappings = array(
3065
  );
3067
  public $description;
3068
  public $etag;
3069
  public $expirationTime;
3070
+ protected $externalDataConfigurationType = 'Forminator_Google_Service_Bigquery_ExternalDataConfiguration';
3071
  protected $externalDataConfigurationDataType = '';
3072
  public $friendlyName;
3073
  public $id;
3076
  public $location;
3077
  public $numBytes;
3078
  public $numRows;
3079
+ protected $schemaType = 'Forminator_Google_Service_Bigquery_TableSchema';
3080
  protected $schemaDataType = '';
3081
  public $selfLink;
3082
+ protected $streamingBufferType = 'Forminator_Google_Service_Bigquery_Streamingbuffer';
3083
  protected $streamingBufferDataType = '';
3084
+ protected $tableReferenceType = 'Forminator_Google_Service_Bigquery_TableReference';
3085
  protected $tableReferenceDataType = '';
3086
  public $type;
3087
+ protected $viewType = 'Forminator_Google_Service_Bigquery_ViewDefinition';
3088
  protected $viewDataType = '';
3089
 
3090
 
3120
  {
3121
  return $this->expirationTime;
3122
  }
3123
+ public function setExternalDataConfiguration(Forminator_Google_Service_Bigquery_ExternalDataConfiguration $externalDataConfiguration)
3124
  {
3125
  $this->externalDataConfiguration = $externalDataConfiguration;
3126
  }
3184
  {
3185
  return $this->numRows;
3186
  }
3187
+ public function setSchema(Forminator_Google_Service_Bigquery_TableSchema $schema)
3188
  {
3189
  $this->schema = $schema;
3190
  }
3200
  {
3201
  return $this->selfLink;
3202
  }
3203
+ public function setStreamingBuffer(Forminator_Google_Service_Bigquery_Streamingbuffer $streamingBuffer)
3204
  {
3205
  $this->streamingBuffer = $streamingBuffer;
3206
  }
3208
  {
3209
  return $this->streamingBuffer;
3210
  }
3211
+ public function setTableReference(Forminator_Google_Service_Bigquery_TableReference $tableReference)
3212
  {
3213
  $this->tableReference = $tableReference;
3214
  }
3224
  {
3225
  return $this->type;
3226
  }
3227
+ public function setView(Forminator_Google_Service_Bigquery_ViewDefinition $view)
3228
  {
3229
  $this->view = $view;
3230
  }
3234
  }
3235
  }
3236
 
3237
+ class Forminator_Google_Service_Bigquery_TableCell extends Forminator_Google_Model
3238
  {
3239
  protected $internal_gapi_mappings = array(
3240
  );
3251
  }
3252
  }
3253
 
3254
+ class Forminator_Google_Service_Bigquery_TableDataInsertAllRequest extends Forminator_Google_Collection
3255
  {
3256
  protected $collection_key = 'rows';
3257
  protected $internal_gapi_mappings = array(
3258
  );
3259
  public $ignoreUnknownValues;
3260
  public $kind;
3261
+ protected $rowsType = 'Forminator_Google_Service_Bigquery_TableDataInsertAllRequestRows';
3262
  protected $rowsDataType = 'array';
3263
  public $skipInvalidRows;
3264
  public $templateSuffix;
3306
  }
3307
  }
3308
 
3309
+ class Forminator_Google_Service_Bigquery_TableDataInsertAllRequestRows extends Forminator_Google_Model
3310
  {
3311
  protected $internal_gapi_mappings = array(
3312
  );
3332
  }
3333
  }
3334
 
3335
+ class Forminator_Google_Service_Bigquery_TableDataInsertAllResponse extends Forminator_Google_Collection
3336
  {
3337
  protected $collection_key = 'insertErrors';
3338
  protected $internal_gapi_mappings = array(
3339
  );
3340
+ protected $insertErrorsType = 'Forminator_Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors';
3341
  protected $insertErrorsDataType = 'array';
3342
  public $kind;
3343
 
3360
  }
3361
  }
3362
 
3363
+ class Forminator_Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends Forminator_Google_Collection
3364
  {
3365
  protected $collection_key = 'errors';
3366
  protected $internal_gapi_mappings = array(
3367
  );
3368
+ protected $errorsType = 'Forminator_Google_Service_Bigquery_ErrorProto';
3369
  protected $errorsDataType = 'array';
3370
  public $index;
3371
 
3388
  }
3389
  }
3390
 
3391
+ class Forminator_Google_Service_Bigquery_TableDataList extends Forminator_Google_Collection
3392
  {
3393
  protected $collection_key = 'rows';
3394
  protected $internal_gapi_mappings = array(
3396
  public $etag;
3397
  public $kind;
3398
  public $pageToken;
3399
+ protected $rowsType = 'Forminator_Google_Service_Bigquery_TableRow';
3400
  protected $rowsDataType = 'array';
3401
  public $totalRows;
3402
 
3443
  }
3444
  }
3445
 
3446
+ class Forminator_Google_Service_Bigquery_TableFieldSchema extends Forminator_Google_Collection
3447
  {
3448
  protected $collection_key = 'fields';
3449
  protected $internal_gapi_mappings = array(
3450
  );
3451
  public $description;
3452
+ protected $fieldsType = 'Forminator_Google_Service_Bigquery_TableFieldSchema';
3453
  protected $fieldsDataType = 'array';
3454
  public $mode;
3455
  public $name;
3498
  }
3499
  }
3500
 
3501
+ class Forminator_Google_Service_Bigquery_TableList extends Forminator_Google_Collection
3502
  {
3503
  protected $collection_key = 'tables';
3504
  protected $internal_gapi_mappings = array(
3506
  public $etag;
3507
  public $kind;
3508
  public $nextPageToken;
3509
+ protected $tablesType = 'Forminator_Google_Service_Bigquery_TableListTables';
3510
  protected $tablesDataType = 'array';
3511
  public $totalItems;
3512
 
3553
  }
3554
  }
3555
 
3556
+ class Forminator_Google_Service_Bigquery_TableListTables extends Forminator_Google_Model
3557
  {
3558
  protected $internal_gapi_mappings = array(
3559
  );
3560
  public $friendlyName;
3561
  public $id;
3562
  public $kind;
3563
+ protected $tableReferenceType = 'Forminator_Google_Service_Bigquery_TableReference';
3564
  protected $tableReferenceDataType = '';
3565
  public $type;
3566
 
3589
  {
3590
  return $this->kind;
3591
  }
3592
+ public function setTableReference(Forminator_Google_Service_Bigquery_TableReference $tableReference)
3593
  {
3594
  $this->tableReference = $tableReference;
3595
  }
3607
  }
3608
  }
3609
 
3610
+ class Forminator_Google_Service_Bigquery_TableReference extends Forminator_Google_Model
3611
  {
3612
  protected $internal_gapi_mappings = array(
3613
  );
3642
  }
3643
  }
3644
 
3645
+ class Forminator_Google_Service_Bigquery_TableRow extends Forminator_Google_Collection
3646
  {
3647
  protected $collection_key = 'f';
3648
  protected $internal_gapi_mappings = array(
3649
  );
3650
+ protected $fType = 'Forminator_Google_Service_Bigquery_TableCell';
3651
  protected $fDataType = 'array';
3652
 
3653
 
3661
  }
3662
  }
3663
 
3664
+ class Forminator_Google_Service_Bigquery_TableSchema extends Forminator_Google_Collection
3665
  {
3666
  protected $collection_key = 'fields';
3667
  protected $internal_gapi_mappings = array(
3668
  );
3669
+ protected $fieldsType = 'Forminator_Google_Service_Bigquery_TableFieldSchema';
3670
  protected $fieldsDataType = 'array';
3671
 
3672
 
3680
  }
3681
  }
3682
 
3683
+ class Forminator_Google_Service_Bigquery_UserDefinedFunctionResource extends Forminator_Google_Model
3684
  {
3685
  protected $internal_gapi_mappings = array(
3686
  );
3706
  }
3707
  }
3708
 
3709
+ class Forminator_Google_Service_Bigquery_ViewDefinition extends Forminator_Google_Collection
3710
  {
3711
  protected $collection_key = 'userDefinedFunctionResources';
3712
  protected $internal_gapi_mappings = array(
3713
  );
3714
  public $query;
3715
+ protected $userDefinedFunctionResourcesType = 'Forminator_Google_Service_Bigquery_UserDefinedFunctionResource';
3716
  protected $userDefinedFunctionResourcesDataType = 'array';
3717
 
3718
 
addons/pro/googlesheet/lib/external/Google/Service/Blogger.php CHANGED
@@ -26,7 +26,7 @@
26
  *
27
  * @author Google, Inc.
28
  */
29
- class Google_Service_Blogger extends Google_Service
30
  {
31
  /** Manage your Blogger account. */
32
  const BLOGGER =
@@ -48,9 +48,9 @@ class Google_Service_Blogger extends Google_Service
48
  /**
49
  * Constructs the internal representation of the Blogger service.
50
  *
51
- * @param Google_Client $client
52
  */
53
- public function __construct(Google_Client $client)
54
  {
55
  parent::__construct($client);
56
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -58,7 +58,7 @@ class Google_Service_Blogger extends Google_Service
58
  $this->version = 'v3';
59
  $this->serviceName = 'blogger';
60
 
61
- $this->blogUserInfos = new Google_Service_Blogger_BlogUserInfos_Resource(
62
  $this,
63
  $this->serviceName,
64
  'blogUserInfos',
@@ -87,7 +87,7 @@ class Google_Service_Blogger extends Google_Service
87
  )
88
  )
89
  );
90
- $this->blogs = new Google_Service_Blogger_Blogs_Resource(
91
  $this,
92
  $this->serviceName,
93
  'blogs',
@@ -157,7 +157,7 @@ class Google_Service_Blogger extends Google_Service
157
  )
158
  )
159
  );
160
- $this->comments = new Google_Service_Blogger_Comments_Resource(
161
  $this,
162
  $this->serviceName,
163
  'comments',
@@ -350,7 +350,7 @@ class Google_Service_Blogger extends Google_Service
350
  )
351
  )
352
  );
353
- $this->pageViews = new Google_Service_Blogger_PageViews_Resource(
354
  $this,
355
  $this->serviceName,
356
  'pageViews',
@@ -375,7 +375,7 @@ class Google_Service_Blogger extends Google_Service
375
  )
376
  )
377
  );
378
- $this->pages = new Google_Service_Blogger_Pages_Resource(
379
  $this,
380
  $this->serviceName,
381
  'pages',
@@ -540,7 +540,7 @@ class Google_Service_Blogger extends Google_Service
540
  )
541
  )
542
  );
543
- $this->postUserInfos = new Google_Service_Blogger_PostUserInfos_Resource(
544
  $this,
545
  $this->serviceName,
546
  'postUserInfos',
@@ -626,7 +626,7 @@ class Google_Service_Blogger extends Google_Service
626
  )
627
  )
628
  );
629
- $this->posts = new Google_Service_Blogger_Posts_Resource(
630
  $this,
631
  $this->serviceName,
632
  'posts',
@@ -905,7 +905,7 @@ class Google_Service_Blogger extends Google_Service
905
  )
906
  )
907
  );
908
- $this->users = new Google_Service_Blogger_Users_Resource(
909
  $this,
910
  $this->serviceName,
911
  'users',
@@ -933,11 +933,11 @@ class Google_Service_Blogger extends Google_Service
933
  * The "blogUserInfos" collection of methods.
934
  * Typical usage is:
935
  * <code>
936
- * $bloggerService = new Google_Service_Blogger(...);
937
  * $blogUserInfos = $bloggerService->blogUserInfos;
938
  * </code>
939
  */
940
- class Google_Service_Blogger_BlogUserInfos_Resource extends Google_Service_Resource
941
  {
942
 
943
  /**
@@ -950,13 +950,13 @@ class Google_Service_Blogger_BlogUserInfos_Resource extends Google_Service_Resou
950
  *
951
  * @opt_param string maxPosts Maximum number of posts to pull back with the
952
  * blog.
953
- * @return Google_Service_Blogger_BlogUserInfo
954
  */
955
  public function get($userId, $blogId, $optParams = array())
956
  {
957
  $params = array('userId' => $userId, 'blogId' => $blogId);
958
  $params = array_merge($params, $optParams);
959
- return $this->call('get', array($params), "Google_Service_Blogger_BlogUserInfo");
960
  }
961
  }
962
 
@@ -964,11 +964,11 @@ class Google_Service_Blogger_BlogUserInfos_Resource extends Google_Service_Resou
964
  * The "blogs" collection of methods.
965
  * Typical usage is:
966
  * <code>
967
- * $bloggerService = new Google_Service_Blogger(...);
968
  * $blogs = $bloggerService->blogs;
969
  * </code>
970
  */
971
- class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
972
  {
973
 
974
  /**
@@ -981,13 +981,13 @@ class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
981
  * blog.
982
  * @opt_param string view Access level with which to view the blog. Note that
983
  * some fields require elevated access.
984
- * @return Google_Service_Blogger_Blog
985
  */
986
  public function get($blogId, $optParams = array())
987
  {
988
  $params = array('blogId' => $blogId);
989
  $params = array_merge($params, $optParams);
990
- return $this->call('get', array($params), "Google_Service_Blogger_Blog");
991
  }
992
 
993
  /**
@@ -998,13 +998,13 @@ class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
998
  *
999
  * @opt_param string view Access level with which to view the blog. Note that
1000
  * some fields require elevated access.
1001
- * @return Google_Service_Blogger_Blog
1002
  */
1003
  public function getByUrl($url, $optParams = array())
1004
  {
1005
  $params = array('url' => $url);
1006
  $params = array_merge($params, $optParams);
1007
- return $this->call('getByUrl', array($params), "Google_Service_Blogger_Blog");
1008
  }
1009
 
1010
  /**
@@ -1023,13 +1023,13 @@ class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
1023
  * Live blogs only). Note that ADMIN access is required to view deleted blogs.
1024
  * @opt_param string view Access level with which to view the blogs. Note that
1025
  * some fields require elevated access.
1026
- * @return Google_Service_Blogger_BlogList
1027
  */
1028
  public function listByUser($userId, $optParams = array())
1029
  {
1030
  $params = array('userId' => $userId);
1031
  $params = array_merge($params, $optParams);
1032
- return $this->call('listByUser', array($params), "Google_Service_Blogger_BlogList");
1033
  }
1034
  }
1035
 
@@ -1037,11 +1037,11 @@ class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
1037
  * The "comments" collection of methods.
1038
  * Typical usage is:
1039
  * <code>
1040
- * $bloggerService = new Google_Service_Blogger(...);
1041
  * $comments = $bloggerService->comments;
1042
  * </code>
1043
  */
1044
- class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
1045
  {
1046
 
1047
  /**
@@ -1051,13 +1051,13 @@ class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
1051
  * @param string $postId The ID of the Post.
1052
  * @param string $commentId The ID of the comment to mark as not spam.
1053
  * @param array $optParams Optional parameters.
1054
- * @return Google_Service_Blogger_Comment
1055
  */
1056
  public function approve($blogId, $postId, $commentId, $optParams = array())
1057
  {
1058
  $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1059
  $params = array_merge($params, $optParams);
1060
- return $this->call('approve', array($params), "Google_Service_Blogger_Comment");
1061
  }
1062
 
1063
  /**
@@ -1087,13 +1087,13 @@ class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
1087
  * READER). Note that some comments will require elevated permissions, for
1088
  * example comments where the parent posts which is in a draft state, or
1089
  * comments that are pending moderation.
1090
- * @return Google_Service_Blogger_Comment
1091
  */
1092
  public function get($blogId, $postId, $commentId, $optParams = array())
1093
  {
1094
  $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1095
  $params = array_merge($params, $optParams);
1096
- return $this->call('get', array($params), "Google_Service_Blogger_Comment");
1097
  }
1098
 
1099
  /**
@@ -1115,13 +1115,13 @@ class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
1115
  * @opt_param string status
1116
  * @opt_param string view Access level with which to view the returned result.
1117
  * Note that some fields require elevated access.
1118
- * @return Google_Service_Blogger_CommentList
1119
  */
1120
  public function listComments($blogId, $postId, $optParams = array())
1121
  {
1122
  $params = array('blogId' => $blogId, 'postId' => $postId);
1123
  $params = array_merge($params, $optParams);
1124
- return $this->call('list', array($params), "Google_Service_Blogger_CommentList");
1125
  }
1126
 
1127
  /**
@@ -1141,13 +1141,13 @@ class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
1141
  * @opt_param string startDate Earliest date of comment to fetch, a date-time
1142
  * with RFC 3339 formatting.
1143
  * @opt_param string status
1144
- * @return Google_Service_Blogger_CommentList
1145
  */
1146
  public function listByBlog($blogId, $optParams = array())
1147
  {
1148
  $params = array('blogId' => $blogId);
1149
  $params = array_merge($params, $optParams);
1150
- return $this->call('listByBlog', array($params), "Google_Service_Blogger_CommentList");
1151
  }
1152
 
1153
  /**
@@ -1157,13 +1157,13 @@ class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
1157
  * @param string $postId The ID of the Post.
1158
  * @param string $commentId The ID of the comment to mark as spam.
1159
  * @param array $optParams Optional parameters.
1160
- * @return Google_Service_Blogger_Comment
1161
  */
1162
  public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
1163
  {
1164
  $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1165
  $params = array_merge($params, $optParams);
1166
- return $this->call('markAsSpam', array($params), "Google_Service_Blogger_Comment");
1167
  }
1168
 
1169
  /**
@@ -1173,13 +1173,13 @@ class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
1173
  * @param string $postId The ID of the Post.
1174
  * @param string $commentId The ID of the comment to delete content from.
1175
  * @param array $optParams Optional parameters.
1176
- * @return Google_Service_Blogger_Comment
1177
  */
1178
  public function removeContent($blogId, $postId, $commentId, $optParams = array())
1179
  {
1180
  $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1181
  $params = array_merge($params, $optParams);
1182
- return $this->call('removeContent', array($params), "Google_Service_Blogger_Comment");
1183
  }
1184
  }
1185
 
@@ -1187,11 +1187,11 @@ class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
1187
  * The "pageViews" collection of methods.
1188
  * Typical usage is:
1189
  * <code>
1190
- * $bloggerService = new Google_Service_Blogger(...);
1191
  * $pageViews = $bloggerService->pageViews;
1192
  * </code>
1193
  */
1194
- class Google_Service_Blogger_PageViews_Resource extends Google_Service_Resource
1195
  {
1196
 
1197
  /**
@@ -1201,13 +1201,13 @@ class Google_Service_Blogger_PageViews_Resource extends Google_Service_Resource
1201
  * @param array $optParams Optional parameters.
1202
  *
1203
  * @opt_param string range
1204
- * @return Google_Service_Blogger_Pageviews
1205
  */
1206
  public function get($blogId, $optParams = array())
1207
  {
1208
  $params = array('blogId' => $blogId);
1209
  $params = array_merge($params, $optParams);
1210
- return $this->call('get', array($params), "Google_Service_Blogger_Pageviews");
1211
  }
1212
  }
1213
 
@@ -1215,11 +1215,11 @@ class Google_Service_Blogger_PageViews_Resource extends Google_Service_Resource
1215
  * The "pages" collection of methods.
1216
  * Typical usage is:
1217
  * <code>
1218
- * $bloggerService = new Google_Service_Blogger(...);
1219
  * $pages = $bloggerService->pages;
1220
  * </code>
1221
  */
1222
- class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
1223
  {
1224
 
1225
  /**
@@ -1244,31 +1244,31 @@ class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
1244
  * @param array $optParams Optional parameters.
1245
  *
1246
  * @opt_param string view
1247
- * @return Google_Service_Blogger_Page
1248
  */
1249
  public function get($blogId, $pageId, $optParams = array())
1250
  {
1251
  $params = array('blogId' => $blogId, 'pageId' => $pageId);
1252
  $params = array_merge($params, $optParams);
1253
- return $this->call('get', array($params), "Google_Service_Blogger_Page");
1254
  }
1255
 
1256
  /**
1257
  * Add a page. (pages.insert)
1258
  *
1259
  * @param string $blogId ID of the blog to add the page to.
1260
- * @param Google_Page $postBody
1261
  * @param array $optParams Optional parameters.
1262
  *
1263
  * @opt_param bool isDraft Whether to create the page as a draft (default:
1264
  * false).
1265
- * @return Google_Service_Blogger_Page
1266
  */
1267
- public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
1268
  {
1269
  $params = array('blogId' => $blogId, 'postBody' => $postBody);
1270
  $params = array_merge($params, $optParams);
1271
- return $this->call('insert', array($params), "Google_Service_Blogger_Page");
1272
  }
1273
 
1274
  /**
@@ -1284,13 +1284,13 @@ class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
1284
  * @opt_param string status
1285
  * @opt_param string view Access level with which to view the returned result.
1286
  * Note that some fields require elevated access.
1287
- * @return Google_Service_Blogger_PageList
1288
  */
1289
  public function listPages($blogId, $optParams = array())
1290
  {
1291
  $params = array('blogId' => $blogId);
1292
  $params = array_merge($params, $optParams);
1293
- return $this->call('list', array($params), "Google_Service_Blogger_PageList");
1294
  }
1295
 
1296
  /**
@@ -1298,20 +1298,20 @@ class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
1298
  *
1299
  * @param string $blogId The ID of the Blog.
1300
  * @param string $pageId The ID of the Page.
1301
- * @param Google_Page $postBody
1302
  * @param array $optParams Optional parameters.
1303
  *
1304
  * @opt_param bool publish Whether a publish action should be performed when the
1305
  * page is updated (default: false).
1306
  * @opt_param bool revert Whether a revert action should be performed when the
1307
  * page is updated (default: false).
1308
- * @return Google_Service_Blogger_Page
1309
  */
1310
- public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
1311
  {
1312
  $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
1313
  $params = array_merge($params, $optParams);
1314
- return $this->call('patch', array($params), "Google_Service_Blogger_Page");
1315
  }
1316
 
1317
  /**
@@ -1320,13 +1320,13 @@ class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
1320
  * @param string $blogId The ID of the blog.
1321
  * @param string $pageId The ID of the page.
1322
  * @param array $optParams Optional parameters.
1323
- * @return Google_Service_Blogger_Page
1324
  */
1325
  public function publish($blogId, $pageId, $optParams = array())
1326
  {
1327
  $params = array('blogId' => $blogId, 'pageId' => $pageId);
1328
  $params = array_merge($params, $optParams);
1329
- return $this->call('publish', array($params), "Google_Service_Blogger_Page");
1330
  }
1331
 
1332
  /**
@@ -1335,13 +1335,13 @@ class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
1335
  * @param string $blogId The ID of the blog.
1336
  * @param string $pageId The ID of the page.
1337
  * @param array $optParams Optional parameters.
1338
- * @return Google_Service_Blogger_Page
1339
  */
1340
  public function revert($blogId, $pageId, $optParams = array())
1341
  {
1342
  $params = array('blogId' => $blogId, 'pageId' => $pageId);
1343
  $params = array_merge($params, $optParams);
1344
- return $this->call('revert', array($params), "Google_Service_Blogger_Page");
1345
  }
1346
 
1347
  /**
@@ -1349,20 +1349,20 @@ class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
1349
  *
1350
  * @param string $blogId The ID of the Blog.
1351
  * @param string $pageId The ID of the Page.
1352
- * @param Google_Page $postBody
1353
  * @param array $optParams Optional parameters.
1354
  *
1355
  * @opt_param bool publish Whether a publish action should be performed when the
1356
  * page is updated (default: false).
1357
  * @opt_param bool revert Whether a revert action should be performed when the
1358
  * page is updated (default: false).
1359
- * @return Google_Service_Blogger_Page
1360
  */
1361
- public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
1362
  {
1363
  $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
1364
  $params = array_merge($params, $optParams);
1365
- return $this->call('update', array($params), "Google_Service_Blogger_Page");
1366
  }
1367
  }
1368
 
@@ -1370,11 +1370,11 @@ class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
1370
  * The "postUserInfos" collection of methods.
1371
  * Typical usage is:
1372
  * <code>
1373
- * $bloggerService = new Google_Service_Blogger(...);
1374
  * $postUserInfos = $bloggerService->postUserInfos;
1375
  * </code>
1376
  */
1377
- class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resource
1378
  {
1379
 
1380
  /**
@@ -1391,13 +1391,13 @@ class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resou
1391
  *
1392
  * @opt_param string maxComments Maximum number of comments to pull back on a
1393
  * post.
1394
- * @return Google_Service_Blogger_PostUserInfo
1395
  */
1396
  public function get($userId, $blogId, $postId, $optParams = array())
1397
  {
1398
  $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId);
1399
  $params = array_merge($params, $optParams);
1400
- return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo");
1401
  }
1402
 
1403
  /**
@@ -1425,13 +1425,13 @@ class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resou
1425
  * @opt_param string status
1426
  * @opt_param string view Access level with which to view the returned result.
1427
  * Note that some fields require elevated access.
1428
- * @return Google_Service_Blogger_PostUserInfosList
1429
  */
1430
  public function listPostUserInfos($userId, $blogId, $optParams = array())
1431
  {
1432
  $params = array('userId' => $userId, 'blogId' => $blogId);
1433
  $params = array_merge($params, $optParams);
1434
- return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList");
1435
  }
1436
  }
1437
 
@@ -1439,11 +1439,11 @@ class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resou
1439
  * The "posts" collection of methods.
1440
  * Typical usage is:
1441
  * <code>
1442
- * $bloggerService = new Google_Service_Blogger(...);
1443
  * $posts = $bloggerService->posts;
1444
  * </code>
1445
  */
1446
- class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1447
  {
1448
 
1449
  /**
@@ -1476,13 +1476,13 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1476
  * post.
1477
  * @opt_param string view Access level with which to view the returned result.
1478
  * Note that some fields require elevated access.
1479
- * @return Google_Service_Blogger_Post
1480
  */
1481
  public function get($blogId, $postId, $optParams = array())
1482
  {
1483
  $params = array('blogId' => $blogId, 'postId' => $postId);
1484
  $params = array_merge($params, $optParams);
1485
- return $this->call('get', array($params), "Google_Service_Blogger_Post");
1486
  }
1487
 
1488
  /**
@@ -1496,20 +1496,20 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1496
  * post.
1497
  * @opt_param string view Access level with which to view the returned result.
1498
  * Note that some fields require elevated access.
1499
- * @return Google_Service_Blogger_Post
1500
  */
1501
  public function getByPath($blogId, $path, $optParams = array())
1502
  {
1503
  $params = array('blogId' => $blogId, 'path' => $path);
1504
  $params = array_merge($params, $optParams);
1505
- return $this->call('getByPath', array($params), "Google_Service_Blogger_Post");
1506
  }
1507
 
1508
  /**
1509
  * Add a post. (posts.insert)
1510
  *
1511
  * @param string $blogId ID of the blog to add the post to.
1512
- * @param Google_Post $postBody
1513
  * @param array $optParams Optional parameters.
1514
  *
1515
  * @opt_param bool fetchBody Whether the body content of the post is included
@@ -1518,13 +1518,13 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1518
  * included in the returned result (default: false).
1519
  * @opt_param bool isDraft Whether to create the post as a draft (default:
1520
  * false).
1521
- * @return Google_Service_Blogger_Post
1522
  */
1523
- public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array())
1524
  {
1525
  $params = array('blogId' => $blogId, 'postBody' => $postBody);
1526
  $params = array_merge($params, $optParams);
1527
- return $this->call('insert', array($params), "Google_Service_Blogger_Post");
1528
  }
1529
 
1530
  /**
@@ -1549,13 +1549,13 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1549
  * @opt_param string status Statuses to include in the results.
1550
  * @opt_param string view Access level with which to view the returned result.
1551
  * Note that some fields require escalated access.
1552
- * @return Google_Service_Blogger_PostList
1553
  */
1554
  public function listPosts($blogId, $optParams = array())
1555
  {
1556
  $params = array('blogId' => $blogId);
1557
  $params = array_merge($params, $optParams);
1558
- return $this->call('list', array($params), "Google_Service_Blogger_PostList");
1559
  }
1560
 
1561
  /**
@@ -1563,7 +1563,7 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1563
  *
1564
  * @param string $blogId The ID of the Blog.
1565
  * @param string $postId The ID of the Post.
1566
- * @param Google_Post $postBody
1567
  * @param array $optParams Optional parameters.
1568
  *
1569
  * @opt_param bool fetchBody Whether the body content of the post is included
@@ -1576,13 +1576,13 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1576
  * post is updated (default: false).
1577
  * @opt_param bool revert Whether a revert action should be performed when the
1578
  * post is updated (default: false).
1579
- * @return Google_Service_Blogger_Post
1580
  */
1581
- public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
1582
  {
1583
  $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
1584
  $params = array_merge($params, $optParams);
1585
- return $this->call('patch', array($params), "Google_Service_Blogger_Post");
1586
  }
1587
 
1588
  /**
@@ -1598,13 +1598,13 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1598
  * either published at the a previously saved schedule date (if present), or the
1599
  * current time. If a future date is given, the post will be scheduled to be
1600
  * published.
1601
- * @return Google_Service_Blogger_Post
1602
  */
1603
  public function publish($blogId, $postId, $optParams = array())
1604
  {
1605
  $params = array('blogId' => $blogId, 'postId' => $postId);
1606
  $params = array_merge($params, $optParams);
1607
- return $this->call('publish', array($params), "Google_Service_Blogger_Post");
1608
  }
1609
 
1610
  /**
@@ -1613,13 +1613,13 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1613
  * @param string $blogId The ID of the Blog.
1614
  * @param string $postId The ID of the Post.
1615
  * @param array $optParams Optional parameters.
1616
- * @return Google_Service_Blogger_Post
1617
  */
1618
  public function revert($blogId, $postId, $optParams = array())
1619
  {
1620
  $params = array('blogId' => $blogId, 'postId' => $postId);
1621
  $params = array_merge($params, $optParams);
1622
- return $this->call('revert', array($params), "Google_Service_Blogger_Post");
1623
  }
1624
 
1625
  /**
@@ -1633,13 +1633,13 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1633
  * (default: true). This should be set to false when the post bodies are not
1634
  * required, to help minimize traffic.
1635
  * @opt_param string orderBy Sort search results
1636
- * @return Google_Service_Blogger_PostList
1637
  */
1638
  public function search($blogId, $q, $optParams = array())
1639
  {
1640
  $params = array('blogId' => $blogId, 'q' => $q);
1641
  $params = array_merge($params, $optParams);
1642
- return $this->call('search', array($params), "Google_Service_Blogger_PostList");
1643
  }
1644
 
1645
  /**
@@ -1647,7 +1647,7 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1647
  *
1648
  * @param string $blogId The ID of the Blog.
1649
  * @param string $postId The ID of the Post.
1650
- * @param Google_Post $postBody
1651
  * @param array $optParams Optional parameters.
1652
  *
1653
  * @opt_param bool fetchBody Whether the body content of the post is included
@@ -1660,13 +1660,13 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1660
  * post is updated (default: false).
1661
  * @opt_param bool revert Whether a revert action should be performed when the
1662
  * post is updated (default: false).
1663
- * @return Google_Service_Blogger_Post
1664
  */
1665
- public function update($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
1666
  {
1667
  $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
1668
  $params = array_merge($params, $optParams);
1669
- return $this->call('update', array($params), "Google_Service_Blogger_Post");
1670
  }
1671
  }
1672
 
@@ -1674,11 +1674,11 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1674
  * The "users" collection of methods.
1675
  * Typical usage is:
1676
  * <code>
1677
- * $bloggerService = new Google_Service_Blogger(...);
1678
  * $users = $bloggerService->users;
1679
  * </code>
1680
  */
1681
- class Google_Service_Blogger_Users_Resource extends Google_Service_Resource
1682
  {
1683
 
1684
  /**
@@ -1686,20 +1686,20 @@ class Google_Service_Blogger_Users_Resource extends Google_Service_Resource
1686
  *
1687
  * @param string $userId The ID of the user to get.
1688
  * @param array $optParams Optional parameters.
1689
- * @return Google_Service_Blogger_User
1690
  */
1691
  public function get($userId, $optParams = array())
1692
  {
1693
  $params = array('userId' => $userId);
1694
  $params = array_merge($params, $optParams);
1695
- return $this->call('get', array($params), "Google_Service_Blogger_User");
1696
  }
1697
  }
1698
 
1699
 
1700
 
1701
 
1702
- class Google_Service_Blogger_Blog extends Google_Model
1703
  {
1704
  protected $internal_gapi_mappings = array(
1705
  );
@@ -1707,12 +1707,12 @@ class Google_Service_Blogger_Blog extends Google_Model
1707
  public $description;
1708
  public $id;
1709
  public $kind;
1710
- protected $localeType = 'Google_Service_Blogger_BlogLocale';
1711
  protected $localeDataType = '';
1712
  public $name;
1713
- protected $pagesType = 'Google_Service_Blogger_BlogPages';
1714
  protected $pagesDataType = '';
1715
- protected $postsType = 'Google_Service_Blogger_BlogPosts';
1716
  protected $postsDataType = '';
1717
  public $published;
1718
  public $selfLink;
@@ -1753,7 +1753,7 @@ class Google_Service_Blogger_Blog extends Google_Model
1753
  {
1754
  return $this->kind;
1755
  }
1756
- public function setLocale(Google_Service_Blogger_BlogLocale $locale)
1757
  {
1758
  $this->locale = $locale;
1759
  }
@@ -1769,7 +1769,7 @@ class Google_Service_Blogger_Blog extends Google_Model
1769
  {
1770
  return $this->name;
1771
  }
1772
- public function setPages(Google_Service_Blogger_BlogPages $pages)
1773
  {
1774
  $this->pages = $pages;
1775
  }
@@ -1777,7 +1777,7 @@ class Google_Service_Blogger_Blog extends Google_Model
1777
  {
1778
  return $this->pages;
1779
  }
1780
- public function setPosts(Google_Service_Blogger_BlogPosts $posts)
1781
  {
1782
  $this->posts = $posts;
1783
  }
@@ -1827,14 +1827,14 @@ class Google_Service_Blogger_Blog extends Google_Model
1827
  }
1828
  }
1829
 
1830
- class Google_Service_Blogger_BlogList extends Google_Collection
1831
  {
1832
  protected $collection_key = 'items';
1833
  protected $internal_gapi_mappings = array(
1834
  );
1835
- protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo';
1836
  protected $blogUserInfosDataType = 'array';
1837
- protected $itemsType = 'Google_Service_Blogger_Blog';
1838
  protected $itemsDataType = 'array';
1839
  public $kind;
1840
 
@@ -1865,7 +1865,7 @@ class Google_Service_Blogger_BlogList extends Google_Collection
1865
  }
1866
  }
1867
 
1868
- class Google_Service_Blogger_BlogLocale extends Google_Model
1869
  {
1870
  protected $internal_gapi_mappings = array(
1871
  );
@@ -1900,7 +1900,7 @@ class Google_Service_Blogger_BlogLocale extends Google_Model
1900
  }
1901
  }
1902
 
1903
- class Google_Service_Blogger_BlogPages extends Google_Model
1904
  {
1905
  protected $internal_gapi_mappings = array(
1906
  );
@@ -1926,7 +1926,7 @@ class Google_Service_Blogger_BlogPages extends Google_Model
1926
  }
1927
  }
1928
 
1929
- class Google_Service_Blogger_BlogPerUserInfo extends Google_Model
1930
  {
1931
  protected $internal_gapi_mappings = array(
1932
  );
@@ -1988,12 +1988,12 @@ class Google_Service_Blogger_BlogPerUserInfo extends Google_Model
1988
  }
1989
  }
1990
 
1991
- class Google_Service_Blogger_BlogPosts extends Google_Collection
1992
  {
1993
  protected $collection_key = 'items';
1994
  protected $internal_gapi_mappings = array(
1995
  );
1996
- protected $itemsType = 'Google_Service_Blogger_Post';
1997
  protected $itemsDataType = 'array';
1998
  public $selfLink;
1999
  public $totalItems;
@@ -2025,19 +2025,19 @@ class Google_Service_Blogger_BlogPosts extends Google_Collection
2025
  }
2026
  }
2027
 
2028
- class Google_Service_Blogger_BlogUserInfo extends Google_Model
2029
  {
2030
  protected $internal_gapi_mappings = array(
2031
  "blogUserInfo" => "blog_user_info",
2032
  );
2033
- protected $blogType = 'Google_Service_Blogger_Blog';
2034
  protected $blogDataType = '';
2035
- protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo';
2036
  protected $blogUserInfoDataType = '';
2037
  public $kind;
2038
 
2039
 
2040
- public function setBlog(Google_Service_Blogger_Blog $blog)
2041
  {
2042
  $this->blog = $blog;
2043
  }
@@ -2045,7 +2045,7 @@ class Google_Service_Blogger_BlogUserInfo extends Google_Model
2045
  {
2046
  return $this->blog;
2047
  }
2048
- public function setBlogUserInfo(Google_Service_Blogger_BlogPerUserInfo $blogUserInfo)
2049
  {
2050
  $this->blogUserInfo = $blogUserInfo;
2051
  }
@@ -2063,20 +2063,20 @@ class Google_Service_Blogger_BlogUserInfo extends Google_Model
2063
  }
2064
  }
2065
 
2066
- class Google_Service_Blogger_Comment extends Google_Model
2067
  {
2068
  protected $internal_gapi_mappings = array(
2069
  );
2070
- protected $authorType = 'Google_Service_Blogger_CommentAuthor';
2071
  protected $authorDataType = '';
2072
- protected $blogType = 'Google_Service_Blogger_CommentBlog';
2073
  protected $blogDataType = '';
2074
  public $content;
2075
  public $id;
2076
- protected $inReplyToType = 'Google_Service_Blogger_CommentInReplyTo';
2077
  protected $inReplyToDataType = '';
2078
  public $kind;
2079
- protected $postType = 'Google_Service_Blogger_CommentPost';
2080
  protected $postDataType = '';
2081
  public $published;
2082
  public $selfLink;
@@ -2084,7 +2084,7 @@ class Google_Service_Blogger_Comment extends Google_Model
2084
  public $updated;
2085
 
2086
 
2087
- public function setAuthor(Google_Service_Blogger_CommentAuthor $author)
2088
  {
2089
  $this->author = $author;
2090
  }
@@ -2092,7 +2092,7 @@ class Google_Service_Blogger_Comment extends Google_Model
2092
  {
2093
  return $this->author;
2094
  }
2095
- public function setBlog(Google_Service_Blogger_CommentBlog $blog)
2096
  {
2097
  $this->blog = $blog;
2098
  }
@@ -2116,7 +2116,7 @@ class Google_Service_Blogger_Comment extends Google_Model
2116
  {
2117
  return $this->id;
2118
  }
2119
- public function setInReplyTo(Google_Service_Blogger_CommentInReplyTo $inReplyTo)
2120
  {
2121
  $this->inReplyTo = $inReplyTo;
2122
  }
@@ -2132,7 +2132,7 @@ class Google_Service_Blogger_Comment extends Google_Model
2132
  {
2133
  return $this->kind;
2134
  }
2135
- public function setPost(Google_Service_Blogger_CommentPost $post)
2136
  {
2137
  $this->post = $post;
2138
  }
@@ -2174,13 +2174,13 @@ class Google_Service_Blogger_Comment extends Google_Model
2174
  }
2175
  }
2176
 
2177
- class Google_Service_Blogger_CommentAuthor extends Google_Model
2178
  {
2179
  protected $internal_gapi_mappings = array(
2180
  );
2181
  public $displayName;
2182
  public $id;
2183
- protected $imageType = 'Google_Service_Blogger_CommentAuthorImage';
2184
  protected $imageDataType = '';
2185
  public $url;
2186
 
@@ -2201,7 +2201,7 @@ class Google_Service_Blogger_CommentAuthor extends Google_Model
2201
  {
2202
  return $this->id;
2203
  }
2204
- public function setImage(Google_Service_Blogger_CommentAuthorImage $image)
2205
  {
2206
  $this->image = $image;
2207
  }
@@ -2219,7 +2219,7 @@ class Google_Service_Blogger_CommentAuthor extends Google_Model
2219
  }
2220
  }
2221
 
2222
- class Google_Service_Blogger_CommentAuthorImage extends Google_Model
2223
  {
2224
  protected $internal_gapi_mappings = array(
2225
  );
@@ -2236,7 +2236,7 @@ class Google_Service_Blogger_CommentAuthorImage extends Google_Model
2236
  }
2237
  }
2238
 
2239
- class Google_Service_Blogger_CommentBlog extends Google_Model
2240
  {
2241
  protected $internal_gapi_mappings = array(
2242
  );
@@ -2253,7 +2253,7 @@ class Google_Service_Blogger_CommentBlog extends Google_Model
2253
  }
2254
  }
2255
 
2256
- class Google_Service_Blogger_CommentInReplyTo extends Google_Model
2257
  {
2258
  protected $internal_gapi_mappings = array(
2259
  );
@@ -2270,13 +2270,13 @@ class Google_Service_Blogger_CommentInReplyTo extends Google_Model
2270
  }
2271
  }
2272
 
2273
- class Google_Service_Blogger_CommentList extends Google_Collection
2274
  {
2275
  protected $collection_key = 'items';
2276
  protected $internal_gapi_mappings = array(
2277
  );
2278
  public $etag;
2279
- protected $itemsType = 'Google_Service_Blogger_Comment';
2280
  protected $itemsDataType = 'array';
2281
  public $kind;
2282
  public $nextPageToken;
@@ -2325,7 +2325,7 @@ class Google_Service_Blogger_CommentList extends Google_Collection
2325
  }
2326
  }
2327
 
2328
- class Google_Service_Blogger_CommentPost extends Google_Model
2329
  {
2330
  protected $internal_gapi_mappings = array(
2331
  );
@@ -2342,13 +2342,13 @@ class Google_Service_Blogger_CommentPost extends Google_Model
2342
  }
2343
  }
2344
 
2345
- class Google_Service_Blogger_Page extends Google_Model
2346
  {
2347
  protected $internal_gapi_mappings = array(
2348
  );
2349
- protected $authorType = 'Google_Service_Blogger_PageAuthor';
2350
  protected $authorDataType = '';
2351
- protected $blogType = 'Google_Service_Blogger_PageBlog';
2352
  protected $blogDataType = '';
2353
  public $content;
2354
  public $etag;
@@ -2362,7 +2362,7 @@ class Google_Service_Blogger_Page extends Google_Model
2362
  public $url;
2363
 
2364
 
2365
- public function setAuthor(Google_Service_Blogger_PageAuthor $author)
2366
  {
2367
  $this->author = $author;
2368
  }
@@ -2370,7 +2370,7 @@ class Google_Service_Blogger_Page extends Google_Model
2370
  {
2371
  return $this->author;
2372
  }
2373
- public function setBlog(Google_Service_Blogger_PageBlog $blog)
2374
  {
2375
  $this->blog = $blog;
2376
  }
@@ -2460,13 +2460,13 @@ class Google_Service_Blogger_Page extends Google_Model
2460
  }
2461
  }
2462
 
2463
- class Google_Service_Blogger_PageAuthor extends Google_Model
2464
  {
2465
  protected $internal_gapi_mappings = array(
2466
  );
2467
  public $displayName;
2468
  public $id;
2469
- protected $imageType = 'Google_Service_Blogger_PageAuthorImage';
2470
  protected $imageDataType = '';
2471
  public $url;
2472
 
@@ -2487,7 +2487,7 @@ class Google_Service_Blogger_PageAuthor extends Google_Model
2487
  {
2488
  return $this->id;
2489
  }
2490
- public function setImage(Google_Service_Blogger_PageAuthorImage $image)
2491
  {
2492
  $this->image = $image;
2493
  }
@@ -2505,7 +2505,7 @@ class Google_Service_Blogger_PageAuthor extends Google_Model
2505
  }
2506
  }
2507
 
2508
- class Google_Service_Blogger_PageAuthorImage extends Google_Model
2509
  {
2510
  protected $internal_gapi_mappings = array(
2511
  );
@@ -2522,7 +2522,7 @@ class Google_Service_Blogger_PageAuthorImage extends Google_Model
2522
  }
2523
  }
2524
 
2525
- class Google_Service_Blogger_PageBlog extends Google_Model
2526
  {
2527
  protected $internal_gapi_mappings = array(
2528
  );
@@ -2539,13 +2539,13 @@ class Google_Service_Blogger_PageBlog extends Google_Model
2539
  }
2540
  }
2541
 
2542
- class Google_Service_Blogger_PageList extends Google_Collection
2543
  {
2544
  protected $collection_key = 'items';
2545
  protected $internal_gapi_mappings = array(
2546
  );
2547
  public $etag;
2548
- protected $itemsType = 'Google_Service_Blogger_Page';
2549
  protected $itemsDataType = 'array';
2550
  public $kind;
2551
  public $nextPageToken;
@@ -2585,13 +2585,13 @@ class Google_Service_Blogger_PageList extends Google_Collection
2585
  }
2586
  }
2587
 
2588
- class Google_Service_Blogger_Pageviews extends Google_Collection
2589
  {
2590
  protected $collection_key = 'counts';
2591
  protected $internal_gapi_mappings = array(
2592
  );
2593
  public $blogId;
2594
- protected $countsType = 'Google_Service_Blogger_PageviewsCounts';
2595
  protected $countsDataType = 'array';
2596
  public $kind;
2597
 
@@ -2622,7 +2622,7 @@ class Google_Service_Blogger_Pageviews extends Google_Collection
2622
  }
2623
  }
2624
 
2625
- class Google_Service_Blogger_PageviewsCounts extends Google_Model
2626
  {
2627
  protected $internal_gapi_mappings = array(
2628
  );
@@ -2648,28 +2648,28 @@ class Google_Service_Blogger_PageviewsCounts extends Google_Model
2648
  }
2649
  }
2650
 
2651
- class Google_Service_Blogger_Post extends Google_Collection
2652
  {
2653
  protected $collection_key = 'labels';
2654
  protected $internal_gapi_mappings = array(
2655
  );
2656
- protected $authorType = 'Google_Service_Blogger_PostAuthor';
2657
  protected $authorDataType = '';
2658
- protected $blogType = 'Google_Service_Blogger_PostBlog';
2659
  protected $blogDataType = '';
2660
  public $content;
2661
  public $customMetaData;
2662
  public $etag;
2663
  public $id;
2664
- protected $imagesType = 'Google_Service_Blogger_PostImages';
2665
  protected $imagesDataType = 'array';
2666
  public $kind;
2667
  public $labels;
2668
- protected $locationType = 'Google_Service_Blogger_PostLocation';
2669
  protected $locationDataType = '';
2670
  public $published;
2671
  public $readerComments;
2672
- protected $repliesType = 'Google_Service_Blogger_PostReplies';
2673
  protected $repliesDataType = '';
2674
  public $selfLink;
2675
  public $status;
@@ -2679,7 +2679,7 @@ class Google_Service_Blogger_Post extends Google_Collection
2679
  public $url;
2680
 
2681
 
2682
- public function setAuthor(Google_Service_Blogger_PostAuthor $author)
2683
  {
2684
  $this->author = $author;
2685
  }
@@ -2687,7 +2687,7 @@ class Google_Service_Blogger_Post extends Google_Collection
2687
  {
2688
  return $this->author;
2689
  }
2690
- public function setBlog(Google_Service_Blogger_PostBlog $blog)
2691
  {
2692
  $this->blog = $blog;
2693
  }
@@ -2751,7 +2751,7 @@ class Google_Service_Blogger_Post extends Google_Collection
2751
  {
2752
  return $this->labels;
2753
  }
2754
- public function setLocation(Google_Service_Blogger_PostLocation $location)
2755
  {
2756
  $this->location = $location;
2757
  }
@@ -2775,7 +2775,7 @@ class Google_Service_Blogger_Post extends Google_Collection
2775
  {
2776
  return $this->readerComments;
2777
  }
2778
- public function setReplies(Google_Service_Blogger_PostReplies $replies)
2779
  {
2780
  $this->replies = $replies;
2781
  }
@@ -2833,13 +2833,13 @@ class Google_Service_Blogger_Post extends Google_Collection
2833
  }
2834
  }
2835
 
2836
- class Google_Service_Blogger_PostAuthor extends Google_Model
2837
  {
2838
  protected $internal_gapi_mappings = array(
2839
  );
2840
  public $displayName;
2841
  public $id;
2842
- protected $imageType = 'Google_Service_Blogger_PostAuthorImage';
2843
  protected $imageDataType = '';
2844
  public $url;
2845
 
@@ -2860,7 +2860,7 @@ class Google_Service_Blogger_PostAuthor extends Google_Model
2860
  {
2861
  return $this->id;
2862
  }
2863
- public function setImage(Google_Service_Blogger_PostAuthorImage $image)
2864
  {
2865
  $this->image = $image;
2866
  }
@@ -2878,7 +2878,7 @@ class Google_Service_Blogger_PostAuthor extends Google_Model
2878
  }
2879
  }
2880
 
2881
- class Google_Service_Blogger_PostAuthorImage extends Google_Model
2882
  {
2883
  protected $internal_gapi_mappings = array(
2884
  );
@@ -2895,7 +2895,7 @@ class Google_Service_Blogger_PostAuthorImage extends Google_Model
2895
  }
2896
  }
2897
 
2898
- class Google_Service_Blogger_PostBlog extends Google_Model
2899
  {
2900
  protected $internal_gapi_mappings = array(
2901
  );
@@ -2912,7 +2912,7 @@ class Google_Service_Blogger_PostBlog extends Google_Model
2912
  }
2913
  }
2914
 
2915
- class Google_Service_Blogger_PostImages extends Google_Model
2916
  {
2917
  protected $internal_gapi_mappings = array(
2918
  );
@@ -2929,13 +2929,13 @@ class Google_Service_Blogger_PostImages extends Google_Model
2929
  }
2930
  }
2931
 
2932
- class Google_Service_Blogger_PostList extends Google_Collection
2933
  {
2934
  protected $collection_key = 'items';
2935
  protected $internal_gapi_mappings = array(
2936
  );
2937
  public $etag;
2938
- protected $itemsType = 'Google_Service_Blogger_Post';
2939
  protected $itemsDataType = 'array';
2940
  public $kind;
2941
  public $nextPageToken;
@@ -2975,7 +2975,7 @@ class Google_Service_Blogger_PostList extends Google_Collection
2975
  }
2976
  }
2977
 
2978
- class Google_Service_Blogger_PostLocation extends Google_Model
2979
  {
2980
  protected $internal_gapi_mappings = array(
2981
  );
@@ -3019,7 +3019,7 @@ class Google_Service_Blogger_PostLocation extends Google_Model
3019
  }
3020
  }
3021
 
3022
- class Google_Service_Blogger_PostPerUserInfo extends Google_Model
3023
  {
3024
  protected $internal_gapi_mappings = array(
3025
  );
@@ -3072,12 +3072,12 @@ class Google_Service_Blogger_PostPerUserInfo extends Google_Model
3072
  }
3073
  }
3074
 
3075
- class Google_Service_Blogger_PostReplies extends Google_Collection
3076
  {
3077
  protected $collection_key = 'items';
3078
  protected $internal_gapi_mappings = array(
3079
  );
3080
- protected $itemsType = 'Google_Service_Blogger_Comment';
3081
  protected $itemsDataType = 'array';
3082
  public $selfLink;
3083
  public $totalItems;
@@ -3109,15 +3109,15 @@ class Google_Service_Blogger_PostReplies extends Google_Collection
3109
  }
3110
  }
3111
 
3112
- class Google_Service_Blogger_PostUserInfo extends Google_Model
3113
  {
3114
  protected $internal_gapi_mappings = array(
3115
  "postUserInfo" => "post_user_info",
3116
  );
3117
  public $kind;
3118
- protected $postType = 'Google_Service_Blogger_Post';
3119
  protected $postDataType = '';
3120
- protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo';
3121
  protected $postUserInfoDataType = '';
3122
 
3123
 
@@ -3129,7 +3129,7 @@ class Google_Service_Blogger_PostUserInfo extends Google_Model
3129
  {
3130
  return $this->kind;
3131
  }
3132
- public function setPost(Google_Service_Blogger_Post $post)
3133
  {
3134
  $this->post = $post;
3135
  }
@@ -3137,7 +3137,7 @@ class Google_Service_Blogger_PostUserInfo extends Google_Model
3137
  {
3138
  return $this->post;
3139
  }
3140
- public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo)
3141
  {
3142
  $this->postUserInfo = $postUserInfo;
3143
  }
@@ -3147,12 +3147,12 @@ class Google_Service_Blogger_PostUserInfo extends Google_Model
3147
  }
3148
  }
3149
 
3150
- class Google_Service_Blogger_PostUserInfosList extends Google_Collection
3151
  {
3152
  protected $collection_key = 'items';
3153
  protected $internal_gapi_mappings = array(
3154
  );
3155
- protected $itemsType = 'Google_Service_Blogger_PostUserInfo';
3156
  protected $itemsDataType = 'array';
3157
  public $kind;
3158
  public $nextPageToken;
@@ -3184,18 +3184,18 @@ class Google_Service_Blogger_PostUserInfosList extends Google_Collection
3184
  }
3185
  }
3186
 
3187
- class Google_Service_Blogger_User extends Google_Model
3188
  {
3189
  protected $internal_gapi_mappings = array(
3190
  );
3191
  public $about;
3192
- protected $blogsType = 'Google_Service_Blogger_UserBlogs';
3193
  protected $blogsDataType = '';
3194
  public $created;
3195
  public $displayName;
3196
  public $id;
3197
  public $kind;
3198
- protected $localeType = 'Google_Service_Blogger_UserLocale';
3199
  protected $localeDataType = '';
3200
  public $selfLink;
3201
  public $url;
@@ -3209,7 +3209,7 @@ class Google_Service_Blogger_User extends Google_Model
3209
  {
3210
  return $this->about;
3211
  }
3212
- public function setBlogs(Google_Service_Blogger_UserBlogs $blogs)
3213
  {
3214
  $this->blogs = $blogs;
3215
  }
@@ -3249,7 +3249,7 @@ class Google_Service_Blogger_User extends Google_Model
3249
  {
3250
  return $this->kind;
3251
  }
3252
- public function setLocale(Google_Service_Blogger_UserLocale $locale)
3253
  {
3254
  $this->locale = $locale;
3255
  }
@@ -3275,7 +3275,7 @@ class Google_Service_Blogger_User extends Google_Model
3275
  }
3276
  }
3277
 
3278
- class Google_Service_Blogger_UserBlogs extends Google_Model
3279
  {
3280
  protected $internal_gapi_mappings = array(
3281
  );
@@ -3292,7 +3292,7 @@ class Google_Service_Blogger_UserBlogs extends Google_Model
3292
  }
3293
  }
3294
 
3295
- class Google_Service_Blogger_UserLocale extends Google_Model
3296
  {
3297
  protected $internal_gapi_mappings = array(
3298
  );
26
  *
27
  * @author Google, Inc.
28
  */
29
+ class Forminator_Google_Service_Blogger extends Forminator_Google_Service
30
  {
31
  /** Manage your Blogger account. */
32
  const BLOGGER =
48
  /**
49
  * Constructs the internal representation of the Blogger service.
50
  *
51
+ * @param Forminator_Google_Client $client
52
  */
53
+ public function __construct(Forminator_Google_Client $client)
54
  {
55
  parent::__construct($client);
56
  $this->rootUrl = 'https://www.googleapis.com/';
58
  $this->version = 'v3';
59
  $this->serviceName = 'blogger';
60
 
61
+ $this->blogUserInfos = new Forminator_Google_Service_Blogger_BlogUserInfos_Resource(
62
  $this,
63
  $this->serviceName,
64
  'blogUserInfos',
87
  )
88
  )
89
  );
90
+ $this->blogs = new Forminator_Google_Service_Blogger_Blogs_Resource(
91
  $this,
92
  $this->serviceName,
93
  'blogs',
157
  )
158
  )
159
  );
160
+ $this->comments = new Forminator_Google_Service_Blogger_Comments_Resource(
161
  $this,
162
  $this->serviceName,
163
  'comments',
350
  )
351
  )
352
  );
353
+ $this->pageViews = new Forminator_Google_Service_Blogger_PageViews_Resource(
354
  $this,
355
  $this->serviceName,
356
  'pageViews',
375
  )
376
  )
377
  );
378
+ $this->pages = new Forminator_Google_Service_Blogger_Pages_Resource(
379
  $this,
380
  $this->serviceName,
381
  'pages',
540
  )
541
  )
542
  );
543
+ $this->postUserInfos = new Forminator_Google_Service_Blogger_PostUserInfos_Resource(
544
  $this,
545
  $this->serviceName,
546
  'postUserInfos',
626
  )
627
  )
628
  );
629
+ $this->posts = new Forminator_Google_Service_Blogger_Posts_Resource(
630
  $this,
631
  $this->serviceName,
632
  'posts',
905
  )
906
  )
907
  );
908
+ $this->users = new Forminator_Google_Service_Blogger_Users_Resource(
909
  $this,
910
  $this->serviceName,
911
  'users',
933
  * The "blogUserInfos" collection of methods.
934
  * Typical usage is:
935
  * <code>
936
+ * $bloggerService = new Forminator_Google_Service_Blogger(...);
937
  * $blogUserInfos = $bloggerService->blogUserInfos;
938
  * </code>
939
  */
940
+ class Forminator_Google_Service_Blogger_BlogUserInfos_Resource extends Forminator_Google_Service_Resource
941
  {
942
 
943
  /**
950
  *
951
  * @opt_param string maxPosts Maximum number of posts to pull back with the
952
  * blog.
953
+ * @return Forminator_Google_Service_Blogger_BlogUserInfo
954
  */
955
  public function get($userId, $blogId, $optParams = array())
956
  {
957
  $params = array('userId' => $userId, 'blogId' => $blogId);
958
  $params = array_merge($params, $optParams);
959
+ return $this->call('get', array($params), "Forminator_Google_Service_Blogger_BlogUserInfo");
960
  }
961
  }
962
 
964
  * The "blogs" collection of methods.
965
  * Typical usage is:
966
  * <code>
967
+ * $bloggerService = new Forminator_Google_Service_Blogger(...);
968
  * $blogs = $bloggerService->blogs;
969
  * </code>
970
  */
971
+ class Forminator_Google_Service_Blogger_Blogs_Resource extends Forminator_Google_Service_Resource
972
  {
973
 
974
  /**
981
  * blog.
982
  * @opt_param string view Access level with which to view the blog. Note that
983
  * some fields require elevated access.
984
+ * @return Forminator_Google_Service_Blogger_Blog
985
  */
986
  public function get($blogId, $optParams = array())
987
  {
988
  $params = array('blogId' => $blogId);
989
  $params = array_merge($params, $optParams);
990
+ return $this->call('get', array($params), "Forminator_Google_Service_Blogger_Blog");
991
  }
992
 
993
  /**
998
  *
999
  * @opt_param string view Access level with which to view the blog. Note that
1000
  * some fields require elevated access.
1001
+ * @return Forminator_Google_Service_Blogger_Blog
1002
  */
1003
  public function getByUrl($url, $optParams = array())
1004
  {
1005
  $params = array('url' => $url);
1006
  $params = array_merge($params, $optParams);
1007
+ return $this->call('getByUrl', array($params), "Forminator_Google_Service_Blogger_Blog");
1008
  }
1009
 
1010
  /**
1023
  * Live blogs only). Note that ADMIN access is required to view deleted blogs.
1024
  * @opt_param string view Access level with which to view the blogs. Note that
1025
  * some fields require elevated access.
1026
+ * @return Forminator_Google_Service_Blogger_BlogList
1027
  */
1028
  public function listByUser($userId, $optParams = array())
1029
  {
1030
  $params = array('userId' => $userId);
1031
  $params = array_merge($params, $optParams);
1032
+ return $this->call('listByUser', array($params), "Forminator_Google_Service_Blogger_BlogList");
1033
  }
1034
  }
1035
 
1037
  * The "comments" collection of methods.
1038
  * Typical usage is:
1039
  * <code>
1040
+ * $bloggerService = new Forminator_Google_Service_Blogger(...);
1041
  * $comments = $bloggerService->comments;
1042
  * </code>
1043
  */
1044
+ class Forminator_Google_Service_Blogger_Comments_Resource extends Forminator_Google_Service_Resource
1045
  {
1046
 
1047
  /**
1051
  * @param string $postId The ID of the Post.
1052
  * @param string $commentId The ID of the comment to mark as not spam.
1053
  * @param array $optParams Optional parameters.
1054
+ * @return Forminator_Google_Service_Blogger_Comment
1055
  */
1056
  public function approve($blogId, $postId, $commentId, $optParams = array())
1057
  {
1058
  $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1059
  $params = array_merge($params, $optParams);
1060
+ return $this->call('approve', array($params), "Forminator_Google_Service_Blogger_Comment");
1061
  }
1062
 
1063
  /**
1087
  * READER). Note that some comments will require elevated permissions, for
1088
  * example comments where the parent posts which is in a draft state, or
1089
  * comments that are pending moderation.
1090
+ * @return Forminator_Google_Service_Blogger_Comment
1091
  */
1092
  public function get($blogId, $postId, $commentId, $optParams = array())
1093
  {
1094
  $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1095
  $params = array_merge($params, $optParams);
1096
+ return $this->call('get', array($params), "Forminator_Google_Service_Blogger_Comment");
1097
  }
1098
 
1099
  /**
1115
  * @opt_param string status
1116
  * @opt_param string view Access level with which to view the returned result.
1117
  * Note that some fields require elevated access.
1118
+ * @return Forminator_Google_Service_Blogger_CommentList
1119
  */
1120
  public function listComments($blogId, $postId, $optParams = array())
1121
  {
1122
  $params = array('blogId' => $blogId, 'postId' => $postId);
1123
  $params = array_merge($params, $optParams);
1124
+ return $this->call('list', array($params), "Forminator_Google_Service_Blogger_CommentList");
1125
  }
1126
 
1127
  /**
1141
  * @opt_param string startDate Earliest date of comment to fetch, a date-time
1142
  * with RFC 3339 formatting.
1143
  * @opt_param string status
1144
+ * @return Forminator_Google_Service_Blogger_CommentList
1145
  */
1146
  public function listByBlog($blogId, $optParams = array())
1147
  {
1148
  $params = array('blogId' => $blogId);
1149
  $params = array_merge($params, $optParams);
1150
+ return $this->call('listByBlog', array($params), "Forminator_Google_Service_Blogger_CommentList");
1151
  }
1152
 
1153
  /**
1157
  * @param string $postId The ID of the Post.
1158
  * @param string $commentId The ID of the comment to mark as spam.
1159
  * @param array $optParams Optional parameters.
1160
+ * @return Forminator_Google_Service_Blogger_Comment
1161
  */
1162
  public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
1163
  {
1164
  $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1165
  $params = array_merge($params, $optParams);
1166
+ return $this->call('markAsSpam', array($params), "Forminator_Google_Service_Blogger_Comment");
1167
  }
1168
 
1169
  /**
1173
  * @param string $postId The ID of the Post.
1174
  * @param string $commentId The ID of the comment to delete content from.
1175
  * @param array $optParams Optional parameters.
1176
+ * @return Forminator_Google_Service_Blogger_Comment
1177
  */
1178
  public function removeContent($blogId, $postId, $commentId, $optParams = array())
1179
  {
1180
  $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1181
  $params = array_merge($params, $optParams);
1182
+ return $this->call('removeContent', array($params), "Forminator_Google_Service_Blogger_Comment");
1183
  }
1184
  }
1185
 
1187
  * The "pageViews" collection of methods.
1188
  * Typical usage is:
1189
  * <code>
1190
+ * $bloggerService = new Forminator_Google_Service_Blogger(...);
1191
  * $pageViews = $bloggerService->pageViews;
1192
  * </code>
1193
  */
1194
+ class Forminator_Google_Service_Blogger_PageViews_Resource extends Forminator_Google_Service_Resource
1195
  {
1196
 
1197
  /**
1201
  * @param array $optParams Optional parameters.
1202
  *
1203
  * @opt_param string range
1204
+ * @return Forminator_Google_Service_Blogger_Pageviews
1205
  */
1206
  public function get($blogId, $optParams = array())
1207
  {
1208
  $params = array('blogId' => $blogId);
1209
  $params = array_merge($params, $optParams);
1210
+ return $this->call('get', array($params), "Forminator_Google_Service_Blogger_Pageviews");
1211
  }
1212
  }
1213
 
1215
  * The "pages" collection of methods.
1216
  * Typical usage is:
1217
  * <code>
1218
+ * $bloggerService = new Forminator_Google_Service_Blogger(...);
1219
  * $pages = $bloggerService->pages;
1220
  * </code>
1221
  */
1222
+ class Forminator_Google_Service_Blogger_Pages_Resource extends Forminator_Google_Service_Resource
1223
  {
1224
 
1225
  /**
1244
  * @param array $optParams Optional parameters.
1245
  *
1246
  * @opt_param string view
1247
+ * @return Forminator_Google_Service_Blogger_Page
1248
  */
1249
  public function get($blogId, $pageId, $optParams = array())
1250
  {
1251
  $params = array('blogId' => $blogId, 'pageId' => $pageId);
1252
  $params = array_merge($params, $optParams);
1253
+ return $this->call('get', array($params), "Forminator_Google_Service_Blogger_Page");
1254
  }
1255
 
1256
  /**
1257
  * Add a page. (pages.insert)
1258
  *
1259
  * @param string $blogId ID of the blog to add the page to.
1260
+ * @param Forminator_Google_Page $postBody
1261
  * @param array $optParams Optional parameters.
1262
  *
1263
  * @opt_param bool isDraft Whether to create the page as a draft (default:
1264
  * false).
1265
+ * @return Forminator_Google_Service_Blogger_Page
1266
  */
1267
+ public function insert($blogId, Forminator_Google_Service_Blogger_Page $postBody, $optParams = array())
1268
  {
1269
  $params = array('blogId' => $blogId, 'postBody' => $postBody);
1270
  $params = array_merge($params, $optParams);
1271
+ return $this->call('insert', array($params), "Forminator_Google_Service_Blogger_Page");
1272
  }
1273
 
1274
  /**
1284
  * @opt_param string status
1285
  * @opt_param string view Access level with which to view the returned result.
1286
  * Note that some fields require elevated access.
1287
+ * @return Forminator_Google_Service_Blogger_PageList
1288
  */
1289
  public function listPages($blogId, $optParams = array())
1290
  {
1291
  $params = array('blogId' => $blogId);
1292
  $params = array_merge($params, $optParams);
1293
+ return $this->call('list', array($params), "Forminator_Google_Service_Blogger_PageList");
1294
  }
1295
 
1296
  /**
1298
  *
1299
  * @param string $blogId The ID of the Blog.
1300
  * @param string $pageId The ID of the Page.
1301
+ * @param Forminator_Google_Page $postBody
1302
  * @param array $optParams Optional parameters.
1303
  *
1304
  * @opt_param bool publish Whether a publish action should be performed when the
1305
  * page is updated (default: false).
1306
  * @opt_param bool revert Whether a revert action should be performed when the
1307
  * page is updated (default: false).
1308
+ * @return Forminator_Google_Service_Blogger_Page
1309
  */
1310
+ public function patch($blogId, $pageId, Forminator_Google_Service_Blogger_Page $postBody, $optParams = array())
1311
  {
1312
  $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
1313
  $params = array_merge($params, $optParams);
1314
+ return $this->call('patch', array($params), "Forminator_Google_Service_Blogger_Page");
1315
  }
1316
 
1317
  /**
1320
  * @param string $blogId The ID of the blog.
1321
  * @param string $pageId The ID of the page.
1322
  * @param array $optParams Optional parameters.
1323
+ * @return Forminator_Google_Service_Blogger_Page
1324
  */
1325
  public function publish($blogId, $pageId, $optParams = array())
1326
  {
1327
  $params = array('blogId' => $blogId, 'pageId' => $pageId);
1328
  $params = array_merge($params, $optParams);
1329
+ return $this->call('publish', array($params), "Forminator_Google_Service_Blogger_Page");
1330
  }
1331
 
1332
  /**
1335
  * @param string $blogId The ID of the blog.
1336
  * @param string $pageId The ID of the page.
1337
  * @param array $optParams Optional parameters.
1338
+ * @return Forminator_Google_Service_Blogger_Page
1339
  */
1340
  public function revert($blogId, $pageId, $optParams = array())
1341
  {
1342
  $params = array('blogId' => $blogId, 'pageId' => $pageId);
1343
  $params = array_merge($params, $optParams);
1344
+ return $this->call('revert', array($params), "Forminator_Google_Service_Blogger_Page");
1345
  }
1346
 
1347
  /**
1349
  *
1350
  * @param string $blogId The ID of the Blog.
1351
  * @param string $pageId The ID of the Page.
1352
+ * @param Forminator_Google_Page $postBody
1353
  * @param array $optParams Optional parameters.
1354
  *
1355
  * @opt_param bool publish Whether a publish action should be performed when the
1356
  * page is updated (default: false).
1357
  * @opt_param bool revert Whether a revert action should be performed when the
1358
  * page is updated (default: false).
1359
+ * @return Forminator_Google_Service_Blogger_Page
1360
  */
1361
+ public function update($blogId, $pageId, Forminator_Google_Service_Blogger_Page $postBody, $optParams = array())
1362
  {
1363
  $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
1364
  $params = array_merge($params, $optParams);
1365
+ return $this->call('update', array($params), "Forminator_Google_Service_Blogger_Page");
1366
  }
1367
  }
1368
 
1370
  * The "postUserInfos" collection of methods.
1371
  * Typical usage is:
1372
  * <code>
1373
+ * $bloggerService = new Forminator_Google_Service_Blogger(...);
1374
  * $postUserInfos = $bloggerService->postUserInfos;
1375
  * </code>
1376
  */
1377
+ class Forminator_Google_Service_Blogger_PostUserInfos_Resource extends Forminator_Google_Service_Resource
1378
  {
1379
 
1380
  /**
1391
  *
1392
  * @opt_param string maxComments Maximum number of comments to pull back on a
1393
  * post.
1394
+ * @return Forminator_Google_Service_Blogger_PostUserInfo
1395
  */
1396
  public function get($userId, $blogId, $postId, $optParams = array())
1397
  {
1398
  $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId);
1399
  $params = array_merge($params, $optParams);
1400
+ return $this->call('get', array($params), "Forminator_Google_Service_Blogger_PostUserInfo");
1401
  }
1402
 
1403
  /**
1425
  * @opt_param string status
1426
  * @opt_param string view Access level with which to view the returned result.
1427
  * Note that some fields require elevated access.
1428
+ * @return Forminator_Google_Service_Blogger_PostUserInfosList
1429
  */
1430
  public function listPostUserInfos($userId, $blogId, $optParams = array())
1431
  {
1432
  $params = array('userId' => $userId, 'blogId' => $blogId);
1433
  $params = array_merge($params, $optParams);
1434
+ return $this->call('list', array($params), "Forminator_Google_Service_Blogger_PostUserInfosList");
1435
  }
1436
  }
1437
 
1439
  * The "posts" collection of methods.
1440
  * Typical usage is:
1441
  * <code>
1442
+ * $bloggerService = new Forminator_Google_Service_Blogger(...);
1443
  * $posts = $bloggerService->posts;
1444
  * </code>
1445
  */
1446
+ class Forminator_Google_Service_Blogger_Posts_Resource extends Forminator_Google_Service_Resource
1447
  {
1448
 
1449
  /**
1476
  * post.
1477
  * @opt_param string view Access level with which to view the returned result.
1478
  * Note that some fields require elevated access.
1479
+ * @return Forminator_Google_Service_Blogger_Post
1480
  */
1481
  public function get($blogId, $postId, $optParams = array())
1482
  {
1483
  $params = array('blogId' => $blogId, 'postId' => $postId);
1484
  $params = array_merge($params, $optParams);
1485
+ return $this->call('get', array($params), "Forminator_Google_Service_Blogger_Post");
1486
  }
1487
 
1488
  /**
1496
  * post.
1497
  * @opt_param string view Access level with which to view the returned result.
1498
  * Note that some fields require elevated access.
1499
+ * @return Forminator_Google_Service_Blogger_Post
1500
  */
1501
  public function getByPath($blogId, $path, $optParams = array())
1502
  {
1503
  $params = array('blogId' => $blogId, 'path' => $path);
1504
  $params = array_merge($params, $optParams);
1505
+ return $this->call('getByPath', array($params), "Forminator_Google_Service_Blogger_Post");
1506
  }
1507
 
1508
  /**
1509
  * Add a post. (posts.insert)
1510
  *
1511
  * @param string $blogId ID of the blog to add the post to.
1512
+ * @param Forminator_Google_Post $postBody
1513
  * @param array $optParams Optional parameters.
1514
  *
1515
  * @opt_param bool fetchBody Whether the body content of the post is included
1518
  * included in the returned result (default: false).
1519
  * @opt_param bool isDraft Whether to create the post as a draft (default:
1520
  * false).
1521
+ * @return Forminator_Google_Service_Blogger_Post
1522
  */
1523
+ public function insert($blogId, Forminator_Google_Service_Blogger_Post $postBody, $optParams = array())
1524
  {
1525
  $params = array('blogId' => $blogId, 'postBody' => $postBody);
1526
  $params = array_merge($params, $optParams);
1527
+ return $this->call('insert', array($params), "Forminator_Google_Service_Blogger_Post");
1528
  }
1529
 
1530
  /**
1549
  * @opt_param string status Statuses to include in the results.
1550
  * @opt_param string view Access level with which to view the returned result.
1551
  * Note that some fields require escalated access.
1552
+ * @return Forminator_Google_Service_Blogger_PostList
1553
  */
1554
  public function listPosts($blogId, $optParams = array())
1555
  {
1556
  $params = array('blogId' => $blogId);
1557
  $params = array_merge($params, $optParams);
1558
+ return $this->call('list', array($params), "Forminator_Google_Service_Blogger_PostList");
1559
  }
1560
 
1561
  /**
1563
  *
1564
  * @param string $blogId The ID of the Blog.
1565
  * @param string $postId The ID of the Post.
1566
+ * @param Forminator_Google_Post $postBody
1567
  * @param array $optParams Optional parameters.
1568
  *
1569
  * @opt_param bool fetchBody Whether the body content of the post is included
1576
  * post is updated (default: false).
1577
  * @opt_param bool revert Whether a revert action should be performed when the
1578
  * post is updated (default: false).
1579
+ * @return Forminator_Google_Service_Blogger_Post
1580
  */
1581
+ public function patch($blogId, $postId, Forminator_Google_Service_Blogger_Post $postBody, $optParams = array())
1582
  {
1583
  $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
1584
  $params = array_merge($params, $optParams);
1585
+ return $this->call('patch', array($params), "Forminator_Google_Service_Blogger_Post");
1586
  }
1587
 
1588
  /**
1598
  * either published at the a previously saved schedule date (if present), or the
1599
  * current time. If a future date is given, the post will be scheduled to be
1600
  * published.
1601
+ * @return Forminator_Google_Service_Blogger_Post
1602
  */
1603
  public function publish($blogId, $postId, $optParams = array())
1604
  {
1605
  $params = array('blogId' => $blogId, 'postId' => $postId);
1606
  $params = array_merge($params, $optParams);
1607
+ return $this->call('publish', array($params), "Forminator_Google_Service_Blogger_Post");
1608
  }
1609
 
1610
  /**
1613
  * @param string $blogId The ID of the Blog.
1614
  * @param string $postId The ID of the Post.
1615
  * @param array $optParams Optional parameters.
1616
+ * @return Forminator_Google_Service_Blogger_Post
1617
  */
1618
  public function revert($blogId, $postId, $optParams = array())
1619
  {
1620
  $params = array('blogId' => $blogId, 'postId' => $postId);
1621
  $params = array_merge($params, $optParams);
1622
+ return $this->call('revert', array($params), "Forminator_Google_Service_Blogger_Post");
1623
  }
1624
 
1625
  /**
1633
  * (default: true). This should be set to false when the post bodies are not
1634
  * required, to help minimize traffic.
1635
  * @opt_param string orderBy Sort search results
1636
+ * @return Forminator_Google_Service_Blogger_PostList
1637
  */
1638
  public function search($blogId, $q, $optParams = array())
1639
  {
1640
  $params = array('blogId' => $blogId, 'q' => $q);
1641
  $params = array_merge($params, $optParams);
1642
+ return $this->call('search', array($params), "Forminator_Google_Service_Blogger_PostList");
1643
  }
1644
 
1645
  /**
1647
  *
1648
  * @param string $blogId The ID of the Blog.
1649
  * @param string $postId The ID of the Post.
1650
+ * @param Forminator_Google_Post $postBody
1651
  * @param array $optParams Optional parameters.
1652
  *
1653
  * @opt_param bool fetchBody Whether the body content of the post is included
1660
  * post is updated (default: false).
1661
  * @opt_param bool revert Whether a revert action should be performed when the
1662
  * post is updated (default: false).
1663
+ * @return Forminator_Google_Service_Blogger_Post
1664
  */
1665
+ public function update($blogId, $postId, Forminator_Google_Service_Blogger_Post $postBody, $optParams = array())
1666
  {
1667
  $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
1668
  $params = array_merge($params, $optParams);
1669
+ return $this->call('update', array($params), "Forminator_Google_Service_Blogger_Post");
1670
  }
1671
  }
1672
 
1674
  * The "users" collection of methods.
1675
  * Typical usage is:
1676
  * <code>
1677
+ * $bloggerService = new Forminator_Google_Service_Blogger(...);
1678
  * $users = $bloggerService->users;
1679
  * </code>
1680
  */
1681
+ class Forminator_Google_Service_Blogger_Users_Resource extends Forminator_Google_Service_Resource
1682
  {
1683
 
1684
  /**
1686
  *
1687
  * @param string $userId The ID of the user to get.
1688
  * @param array $optParams Optional parameters.
1689
+ * @return Forminator_Google_Service_Blogger_User
1690
  */
1691
  public function get($userId, $optParams = array())
1692
  {
1693
  $params = array('userId' => $userId);
1694
  $params = array_merge($params, $optParams);
1695
+ return $this->call('get', array($params), "Forminator_Google_Service_Blogger_User");
1696
  }
1697
  }
1698
 
1699
 
1700
 
1701
 
1702
+ class Forminator_Google_Service_Blogger_Blog extends Forminator_Google_Model
1703
  {
1704
  protected $internal_gapi_mappings = array(
1705
  );
1707
  public $description;
1708
  public $id;
1709
  public $kind;
1710
+ protected $localeType = 'Forminator_Google_Service_Blogger_BlogLocale';
1711
  protected $localeDataType = '';
1712
  public $name;
1713
+ protected $pagesType = 'Forminator_Google_Service_Blogger_BlogPages';
1714
  protected $pagesDataType = '';
1715
+ protected $postsType = 'Forminator_Google_Service_Blogger_BlogPosts';
1716
  protected $postsDataType = '';
1717
  public $published;
1718
  public $selfLink;
1753
  {
1754
  return $this->kind;
1755
  }
1756
+ public function setLocale(Forminator_Google_Service_Blogger_BlogLocale $locale)
1757
  {
1758
  $this->locale = $locale;
1759
  }
1769
  {
1770
  return $this->name;
1771
  }
1772
+ public function setPages(Forminator_Google_Service_Blogger_BlogPages $pages)
1773
  {
1774
  $this->pages = $pages;
1775
  }
1777
  {
1778
  return $this->pages;
1779
  }
1780
+ public function setPosts(Forminator_Google_Service_Blogger_BlogPosts $posts)
1781
  {
1782
  $this->posts = $posts;
1783
  }
1827
  }
1828
  }
1829
 
1830
+ class Forminator_Google_Service_Blogger_BlogList extends Forminator_Google_Collection
1831
  {
1832
  protected $collection_key = 'items';
1833
  protected $internal_gapi_mappings = array(
1834
  );
1835
+ protected $blogUserInfosType = 'Forminator_Google_Service_Blogger_BlogUserInfo';
1836
  protected $blogUserInfosDataType = 'array';
1837
+ protected $itemsType = 'Forminator_Google_Service_Blogger_Blog';
1838
  protected $itemsDataType = 'array';
1839
  public $kind;
1840
 
1865
  }
1866
  }
1867
 
1868
+ class Forminator_Google_Service_Blogger_BlogLocale extends Forminator_Google_Model
1869
  {
1870
  protected $internal_gapi_mappings = array(
1871
  );
1900
  }
1901
  }
1902
 
1903
+ class Forminator_Google_Service_Blogger_BlogPages extends Forminator_Google_Model
1904
  {
1905
  protected $internal_gapi_mappings = array(
1906
  );
1926
  }
1927
  }
1928
 
1929
+ class Forminator_Google_Service_Blogger_BlogPerUserInfo extends Forminator_Google_Model
1930
  {
1931
  protected $internal_gapi_mappings = array(
1932
  );
1988
  }
1989
  }
1990
 
1991
+ class Forminator_Google_Service_Blogger_BlogPosts extends Forminator_Google_Collection
1992
  {
1993
  protected $collection_key = 'items';
1994
  protected $internal_gapi_mappings = array(
1995
  );
1996
+ protected $itemsType = 'Forminator_Google_Service_Blogger_Post';
1997
  protected $itemsDataType = 'array';
1998
  public $selfLink;
1999
  public $totalItems;
2025
  }
2026
  }
2027
 
2028
+ class Forminator_Google_Service_Blogger_BlogUserInfo extends Forminator_Google_Model
2029
  {
2030
  protected $internal_gapi_mappings = array(
2031
  "blogUserInfo" => "blog_user_info",
2032
  );
2033
+ protected $blogType = 'Forminator_Google_Service_Blogger_Blog';
2034
  protected $blogDataType = '';
2035
+ protected $blogUserInfoType = 'Forminator_Google_Service_Blogger_BlogPerUserInfo';
2036
  protected $blogUserInfoDataType = '';
2037
  public $kind;
2038
 
2039
 
2040
+ public function setBlog(Forminator_Google_Service_Blogger_Blog $blog)
2041
  {
2042
  $this->blog = $blog;
2043
  }
2045
  {
2046
  return $this->blog;
2047
  }
2048
+ public function setBlogUserInfo(Forminator_Google_Service_Blogger_BlogPerUserInfo $blogUserInfo)
2049
  {
2050
  $this->blogUserInfo = $blogUserInfo;
2051
  }
2063
  }
2064
  }
2065
 
2066
+ class Forminator_Google_Service_Blogger_Comment extends Forminator_Google_Model
2067
  {
2068
  protected $internal_gapi_mappings = array(
2069
  );
2070
+ protected $authorType = 'Forminator_Google_Service_Blogger_CommentAuthor';
2071
  protected $authorDataType = '';
2072
+ protected $blogType = 'Forminator_Google_Service_Blogger_CommentBlog';
2073
  protected $blogDataType = '';
2074
  public $content;
2075
  public $id;
2076
+ protected $inReplyToType = 'Forminator_Google_Service_Blogger_CommentInReplyTo';
2077
  protected $inReplyToDataType = '';
2078
  public $kind;
2079
+ protected $postType = 'Forminator_Google_Service_Blogger_CommentPost';
2080
  protected $postDataType = '';
2081
  public $published;
2082
  public $selfLink;
2084
  public $updated;
2085
 
2086
 
2087
+ public function setAuthor(Forminator_Google_Service_Blogger_CommentAuthor $author)
2088
  {
2089
  $this->author = $author;
2090
  }
2092
  {
2093
  return $this->author;
2094
  }
2095
+ public function setBlog(Forminator_Google_Service_Blogger_CommentBlog $blog)
2096
  {
2097
  $this->blog = $blog;
2098
  }
2116
  {
2117
  return $this->id;
2118
  }
2119
+ public function setInReplyTo(Forminator_Google_Service_Blogger_CommentInReplyTo $inReplyTo)
2120
  {
2121
  $this->inReplyTo = $inReplyTo;
2122
  }
2132
  {
2133
  return $this->kind;
2134
  }
2135
+ public function setPost(Forminator_Google_Service_Blogger_CommentPost $post)
2136
  {
2137
  $this->post = $post;
2138
  }
2174
  }
2175
  }
2176
 
2177
+ class Forminator_Google_Service_Blogger_CommentAuthor extends Forminator_Google_Model
2178
  {
2179
  protected $internal_gapi_mappings = array(
2180
  );
2181
  public $displayName;
2182
  public $id;
2183
+ protected $imageType = 'Forminator_Google_Service_Blogger_CommentAuthorImage';
2184
  protected $imageDataType = '';
2185
  public $url;
2186
 
2201
  {
2202
  return $this->id;
2203
  }
2204
+ public function setImage(Forminator_Google_Service_Blogger_CommentAuthorImage $image)
2205
  {
2206
  $this->image = $image;
2207
  }
2219
  }
2220
  }
2221
 
2222
+ class Forminator_Google_Service_Blogger_CommentAuthorImage extends Forminator_Google_Model
2223
  {
2224
  protected $internal_gapi_mappings = array(
2225
  );
2236
  }
2237
  }
2238
 
2239
+ class Forminator_Google_Service_Blogger_CommentBlog extends Forminator_Google_Model
2240
  {
2241
  protected $internal_gapi_mappings = array(
2242
  );
2253
  }
2254
  }
2255
 
2256
+ class Forminator_Google_Service_Blogger_CommentInReplyTo extends Forminator_Google_Model
2257
  {
2258
  protected $internal_gapi_mappings = array(
2259
  );
2270
  }
2271
  }
2272
 
2273
+ class Forminator_Google_Service_Blogger_CommentList extends Forminator_Google_Collection
2274
  {
2275
  protected $collection_key = 'items';
2276
  protected $internal_gapi_mappings = array(
2277
  );
2278
  public $etag;
2279
+ protected $itemsType = 'Forminator_Google_Service_Blogger_Comment';
2280
  protected $itemsDataType = 'array';
2281
  public $kind;
2282
  public $nextPageToken;
2325
  }
2326
  }
2327
 
2328
+ class Forminator_Google_Service_Blogger_CommentPost extends Forminator_Google_Model
2329
  {
2330
  protected $internal_gapi_mappings = array(
2331
  );
2342
  }
2343
  }
2344
 
2345
+ class Forminator_Google_Service_Blogger_Page extends Forminator_Google_Model
2346
  {
2347
  protected $internal_gapi_mappings = array(
2348
  );
2349
+ protected $authorType = 'Forminator_Google_Service_Blogger_PageAuthor';
2350
  protected $authorDataType = '';
2351
+ protected $blogType = 'Forminator_Google_Service_Blogger_PageBlog';
2352
  protected $blogDataType = '';
2353
  public $content;
2354
  public $etag;
2362
  public $url;
2363
 
2364
 
2365
+ public function setAuthor(Forminator_Google_Service_Blogger_PageAuthor $author)
2366
  {
2367
  $this->author = $author;
2368
  }
2370
  {
2371
  return $this->author;
2372
  }
2373
+ public function setBlog(Forminator_Google_Service_Blogger_PageBlog $blog)
2374
  {
2375
  $this->blog = $blog;
2376
  }
2460
  }
2461
  }
2462
 
2463
+ class Forminator_Google_Service_Blogger_PageAuthor extends Forminator_Google_Model
2464
  {
2465
  protected $internal_gapi_mappings = array(
2466
  );
2467
  public $displayName;
2468
  public $id;
2469
+ protected $imageType = 'Forminator_Google_Service_Blogger_PageAuthorImage';
2470
  protected $imageDataType = '';
2471
  public $url;
2472
 
2487
  {
2488
  return $this->id;
2489
  }
2490
+ public function setImage(Forminator_Google_Service_Blogger_PageAuthorImage $image)
2491
  {
2492
  $this->image = $image;
2493
  }
2505
  }
2506
  }
2507
 
2508
+ class Forminator_Google_Service_Blogger_PageAuthorImage extends Forminator_Google_Model
2509
  {
2510
  protected $internal_gapi_mappings = array(
2511
  );
2522
  }
2523
  }
2524
 
2525
+ class Forminator_Google_Service_Blogger_PageBlog extends Forminator_Google_Model
2526
  {
2527
  protected $internal_gapi_mappings = array(
2528
  );
2539
  }
2540
  }
2541
 
2542
+ class Forminator_Google_Service_Blogger_PageList extends Forminator_Google_Collection
2543
  {
2544
  protected $collection_key = 'items';
2545
  protected $internal_gapi_mappings = array(
2546
  );
2547
  public $etag;
2548
+ protected $itemsType = 'Forminator_Google_Service_Blogger_Page';
2549
  protected $itemsDataType = 'array';
2550
  public $kind;
2551
  public $nextPageToken;
2585
  }
2586
  }
2587
 
2588
+ class Forminator_Google_Service_Blogger_Pageviews extends Forminator_Google_Collection
2589
  {
2590
  protected $collection_key = 'counts';
2591
  protected $internal_gapi_mappings = array(
2592
  );
2593
  public $blogId;
2594
+ protected $countsType = 'Forminator_Google_Service_Blogger_PageviewsCounts';
2595
  protected $countsDataType = 'array';
2596
  public $kind;
2597
 
2622
  }
2623
  }
2624
 
2625
+ class Forminator_Google_Service_Blogger_PageviewsCounts extends Forminator_Google_Model
2626
  {
2627
  protected $internal_gapi_mappings = array(
2628
  );
2648
  }
2649
  }
2650
 
2651
+ class Forminator_Google_Service_Blogger_Post extends Forminator_Google_Collection
2652
  {
2653
  protected $collection_key = 'labels';
2654
  protected $internal_gapi_mappings = array(
2655
  );
2656
+ protected $authorType = 'Forminator_Google_Service_Blogger_PostAuthor';
2657
  protected $authorDataType = '';
2658
+ protected $blogType = 'Forminator_Google_Service_Blogger_PostBlog';
2659
  protected $blogDataType = '';
2660
  public $content;
2661
  public $customMetaData;
2662
  public $etag;
2663
  public $id;
2664
+ protected $imagesType = 'Forminator_Google_Service_Blogger_PostImages';
2665
  protected $imagesDataType = 'array';
2666
  public $kind;
2667
  public $labels;
2668
+ protected $locationType = 'Forminator_Google_Service_Blogger_PostLocation';
2669
  protected $locationDataType = '';
2670
  public $published;
2671
  public $readerComments;
2672
+ protected $repliesType = 'Forminator_Google_Service_Blogger_PostReplies';
2673
  protected $repliesDataType = '';
2674
  public $selfLink;
2675
  public $status;
2679
  public $url;
2680
 
2681
 
2682
+ public function setAuthor(Forminator_Google_Service_Blogger_PostAuthor $author)
2683
  {
2684
  $this->author = $author;
2685
  }
2687
  {
2688
  return $this->author;
2689
  }
2690
+ public function setBlog(Forminator_Google_Service_Blogger_PostBlog $blog)
2691
  {
2692
  $this->blog = $blog;
2693
  }
2751
  {
2752
  return $this->labels;
2753
  }
2754
+ public function setLocation(Forminator_Google_Service_Blogger_PostLocation $location)
2755
  {
2756
  $this->location = $location;
2757
  }
2775
  {
2776
  return $this->readerComments;
2777
  }
2778
+ public function setReplies(Forminator_Google_Service_Blogger_PostReplies $replies)
2779
  {
2780
  $this->replies = $replies;
2781
  }
2833
  }
2834
  }
2835
 
2836
+ class Forminator_Google_Service_Blogger_PostAuthor extends Forminator_Google_Model
2837
  {
2838
  protected $internal_gapi_mappings = array(
2839
  );
2840
  public $displayName;
2841
  public $id;
2842
+ protected $imageType = 'Forminator_Google_Service_Blogger_PostAuthorImage';
2843
  protected $imageDataType = '';
2844
  public $url;
2845
 
2860
  {
2861
  return $this->id;
2862
  }
2863
+ public function setImage(Forminator_Google_Service_Blogger_PostAuthorImage $image)
2864
  {
2865
  $this->image = $image;
2866
  }
2878
  }
2879
  }
2880
 
2881
+ class Forminator_Google_Service_Blogger_PostAuthorImage extends Forminator_Google_Model
2882
  {
2883
  protected $internal_gapi_mappings = array(
2884
  );
2895
  }
2896
  }
2897
 
2898
+ class Forminator_Google_Service_Blogger_PostBlog extends Forminator_Google_Model
2899
  {
2900
  protected $internal_gapi_mappings = array(
2901
  );
2912
  }
2913
  }
2914
 
2915
+ class Forminator_Google_Service_Blogger_PostImages extends Forminator_Google_Model
2916
  {
2917
  protected $internal_gapi_mappings = array(
2918
  );
2929
  }
2930
  }
2931
 
2932
+ class Forminator_Google_Service_Blogger_PostList extends Forminator_Google_Collection
2933
  {
2934
  protected $collection_key = 'items';
2935
  protected $internal_gapi_mappings = array(
2936
  );
2937
  public $etag;
2938
+ protected $itemsType = 'Forminator_Google_Service_Blogger_Post';
2939
  protected $itemsDataType = 'array';
2940
  public $kind;
2941
  public $nextPageToken;
2975
  }
2976
  }
2977
 
2978
+ class Forminator_Google_Service_Blogger_PostLocation extends Forminator_Google_Model
2979
  {
2980
  protected $internal_gapi_mappings = array(
2981
  );
3019
  }
3020
  }
3021
 
3022
+ class Forminator_Google_Service_Blogger_PostPerUserInfo extends Forminator_Google_Model
3023
  {
3024
  protected $internal_gapi_mappings = array(
3025
  );
3072
  }
3073
  }
3074
 
3075
+ class Forminator_Google_Service_Blogger_PostReplies extends Forminator_Google_Collection
3076
  {
3077
  protected $collection_key = 'items';
3078
  protected $internal_gapi_mappings = array(
3079
  );
3080
+ protected $itemsType = 'Forminator_Google_Service_Blogger_Comment';
3081
  protected $itemsDataType = 'array';
3082
  public $selfLink;
3083
  public $totalItems;
3109
  }
3110
  }
3111
 
3112
+ class Forminator_Google_Service_Blogger_PostUserInfo extends Forminator_Google_Model
3113
  {
3114
  protected $internal_gapi_mappings = array(
3115
  "postUserInfo" => "post_user_info",
3116
  );
3117
  public $kind;
3118
+ protected $postType = 'Forminator_Google_Service_Blogger_Post';
3119
  protected $postDataType = '';
3120
+ protected $postUserInfoType = 'Forminator_Google_Service_Blogger_PostPerUserInfo';
3121
  protected $postUserInfoDataType = '';
3122
 
3123
 
3129
  {
3130
  return $this->kind;
3131
  }
3132
+ public function setPost(Forminator_Google_Service_Blogger_Post $post)
3133
  {
3134
  $this->post = $post;
3135
  }
3137
  {
3138
  return $this->post;
3139
  }
3140
+ public function setPostUserInfo(Forminator_Google_Service_Blogger_PostPerUserInfo $postUserInfo)
3141
  {
3142
  $this->postUserInfo = $postUserInfo;
3143
  }
3147
  }
3148
  }
3149
 
3150
+ class Forminator_Google_Service_Blogger_PostUserInfosList extends Forminator_Google_Collection
3151
  {
3152
  protected $collection_key = 'items';
3153
  protected $internal_gapi_mappings = array(
3154
  );
3155
+ protected $itemsType = 'Forminator_Google_Service_Blogger_PostUserInfo';
3156
  protected $itemsDataType = 'array';
3157
  public $kind;
3158
  public $nextPageToken;
3184
  }
3185
  }
3186
 
3187
+ class Forminator_Google_Service_Blogger_User extends Forminator_Google_Model
3188
  {
3189
  protected $internal_gapi_mappings = array(
3190
  );
3191
  public $about;
3192
+ protected $blogsType = 'Forminator_Google_Service_Blogger_UserBlogs';
3193
  protected $blogsDataType = '';
3194
  public $created;
3195
  public $displayName;
3196
  public $id;
3197
  public $kind;
3198
+ protected $localeType = 'Forminator_Google_Service_Blogger_UserLocale';
3199
  protected $localeDataType = '';
3200
  public $selfLink;
3201
  public $url;
3209
  {
3210
  return $this->about;
3211
  }
3212
+ public function setBlogs(Forminator_Google_Service_Blogger_UserBlogs $blogs)
3213
  {
3214
  $this->blogs = $blogs;
3215
  }
3249
  {
3250
  return $this->kind;
3251
  }
3252
+ public function setLocale(Forminator_Google_Service_Blogger_UserLocale $locale)
3253
  {
3254
  $this->locale = $locale;
3255
  }
3275
  }
3276
  }
3277
 
3278
+ class Forminator_Google_Service_Blogger_UserBlogs extends Forminator_Google_Model
3279
  {
3280
  protected $internal_gapi_mappings = array(
3281
  );
3292
  }
3293
  }
3294
 
3295
+ class Forminator_Google_Service_Blogger_UserLocale extends Forminator_Google_Model
3296
  {
3297
  protected $internal_gapi_mappings = array(
3298
  );
addons/pro/googlesheet/lib/external/Google/Service/Books.php CHANGED
@@ -26,7 +26,7 @@
26
  *
27
  * @author Google, Inc.
28
  */
29
- class Google_Service_Books extends Google_Service
30
  {
31
  /** Manage your books. */
32
  const BOOKS =
@@ -60,9 +60,9 @@ class Google_Service_Books extends Google_Service
60
  /**
61
  * Constructs the internal representation of the Books service.
62
  *
63
- * @param Google_Client $client
64
  */
65
- public function __construct(Google_Client $client)
66
  {
67
  parent::__construct($client);
68
  $this->rootUrl = 'https://www.googleapis.com/';
@@ -70,7 +70,7 @@ class Google_Service_Books extends Google_Service
70
  $this->version = 'v1';
71
  $this->serviceName = 'books';
72
 
73
- $this->bookshelves = new Google_Service_Books_Bookshelves_Resource(
74
  $this,
75
  $this->serviceName,
76
  'bookshelves',
@@ -113,7 +113,7 @@ class Google_Service_Books extends Google_Service
113
  )
114
  )
115
  );
116
- $this->bookshelves_volumes = new Google_Service_Books_BookshelvesVolumes_Resource(
117
  $this,
118
  $this->serviceName,
119
  'volumes',
@@ -154,7 +154,7 @@ class Google_Service_Books extends Google_Service
154
  )
155
  )
156
  );
157
- $this->cloudloading = new Google_Service_Books_Cloudloading_Resource(
158
  $this,
159
  $this->serviceName,
160
  'cloudloading',
@@ -199,7 +199,7 @@ class Google_Service_Books extends Google_Service
199
  )
200
  )
201
  );
202
- $this->dictionary = new Google_Service_Books_Dictionary_Resource(
203
  $this,
204
  $this->serviceName,
205
  'dictionary',
@@ -219,7 +219,7 @@ class Google_Service_Books extends Google_Service
219
  )
220
  )
221
  );
222
- $this->layers = new Google_Service_Books_Layers_Resource(
223
  $this,
224
  $this->serviceName,
225
  'layers',
@@ -278,7 +278,7 @@ class Google_Service_Books extends Google_Service
278
  )
279
  )
280
  );
281
- $this->layers_annotationData = new Google_Service_Books_LayersAnnotationData_Resource(
282
  $this,
283
  $this->serviceName,
284
  'annotationData',
@@ -398,7 +398,7 @@ class Google_Service_Books extends Google_Service
398
  )
399
  )
400
  );
401
- $this->layers_volumeAnnotations = new Google_Service_Books_LayersVolumeAnnotations_Resource(
402
  $this,
403
  $this->serviceName,
404
  'volumeAnnotations',
@@ -504,7 +504,7 @@ class Google_Service_Books extends Google_Service
504
  )
505
  )
506
  );
507
- $this->myconfig = new Google_Service_Books_Myconfig_Resource(
508
  $this,
509
  $this->serviceName,
510
  'myconfig',
@@ -621,7 +621,7 @@ class Google_Service_Books extends Google_Service
621
  )
622
  )
623
  );
624
- $this->mylibrary_annotations = new Google_Service_Books_MylibraryAnnotations_Resource(
625
  $this,
626
  $this->serviceName,
627
  'annotations',
@@ -738,7 +738,7 @@ class Google_Service_Books extends Google_Service
738
  )
739
  )
740
  );
741
- $this->mylibrary_bookshelves = new Google_Service_Books_MylibraryBookshelves_Resource(
742
  $this,
743
  $this->serviceName,
744
  'bookshelves',
@@ -855,7 +855,7 @@ class Google_Service_Books extends Google_Service
855
  )
856
  )
857
  );
858
- $this->mylibrary_bookshelves_volumes = new Google_Service_Books_MylibraryBookshelvesVolumes_Resource(
859
  $this,
860
  $this->serviceName,
861
  'volumes',
@@ -903,7 +903,7 @@ class Google_Service_Books extends Google_Service
903
  )
904
  )
905
  );
906
- $this->mylibrary_readingpositions = new Google_Service_Books_MylibraryReadingpositions_Resource(
907
  $this,
908
  $this->serviceName,
909
  'readingpositions',
@@ -967,7 +967,7 @@ class Google_Service_Books extends Google_Service
967
  )
968
  )
969
  );
970
- $this->notification = new Google_Service_Books_Notification_Resource(
971
  $this,
972
  $this->serviceName,
973
  'notification',
@@ -995,7 +995,7 @@ class Google_Service_Books extends Google_Service
995
  )
996
  )
997
  );
998
- $this->onboarding = new Google_Service_Books_Onboarding_Resource(
999
  $this,
1000
  $this->serviceName,
1001
  'onboarding',
@@ -1040,7 +1040,7 @@ class Google_Service_Books extends Google_Service
1040
  )
1041
  )
1042
  );
1043
- $this->personalizedstream = new Google_Service_Books_Personalizedstream_Resource(
1044
  $this,
1045
  $this->serviceName,
1046
  'personalizedstream',
@@ -1067,7 +1067,7 @@ class Google_Service_Books extends Google_Service
1067
  )
1068
  )
1069
  );
1070
- $this->promooffer = new Google_Service_Books_Promooffer_Resource(
1071
  $this,
1072
  $this->serviceName,
1073
  'promooffer',
@@ -1176,7 +1176,7 @@ class Google_Service_Books extends Google_Service
1176
  )
1177
  )
1178
  );
1179
- $this->series = new Google_Service_Books_Series_Resource(
1180
  $this,
1181
  $this->serviceName,
1182
  'series',
@@ -1197,7 +1197,7 @@ class Google_Service_Books extends Google_Service
1197
  )
1198
  )
1199
  );
1200
- $this->series_membership = new Google_Service_Books_SeriesMembership_Resource(
1201
  $this,
1202
  $this->serviceName,
1203
  'membership',
@@ -1225,7 +1225,7 @@ class Google_Service_Books extends Google_Service
1225
  )
1226
  )
1227
  );
1228
- $this->volumes = new Google_Service_Books_Volumes_Resource(
1229
  $this,
1230
  $this->serviceName,
1231
  'volumes',
@@ -1327,7 +1327,7 @@ class Google_Service_Books extends Google_Service
1327
  )
1328
  )
1329
  );
1330
- $this->volumes_associated = new Google_Service_Books_VolumesAssociated_Resource(
1331
  $this,
1332
  $this->serviceName,
1333
  'associated',
@@ -1363,7 +1363,7 @@ class Google_Service_Books extends Google_Service
1363
  )
1364
  )
1365
  );
1366
- $this->volumes_mybooks = new Google_Service_Books_VolumesMybooks_Resource(
1367
  $this,
1368
  $this->serviceName,
1369
  'mybooks',
@@ -1404,7 +1404,7 @@ class Google_Service_Books extends Google_Service
1404
  )
1405
  )
1406
  );
1407
- $this->volumes_recommended = new Google_Service_Books_VolumesRecommended_Resource(
1408
  $this,
1409
  $this->serviceName,
1410
  'recommended',
@@ -1454,7 +1454,7 @@ class Google_Service_Books extends Google_Service
1454
  )
1455
  )
1456
  );
1457
- $this->volumes_useruploaded = new Google_Service_Books_VolumesUseruploaded_Resource(
1458
  $this,
1459
  $this->serviceName,
1460
  'useruploaded',
@@ -1503,11 +1503,11 @@ class Google_Service_Books extends Google_Service
1503
  * The "bookshelves" collection of methods.
1504
  * Typical usage is:
1505
  * <code>
1506
- * $booksService = new Google_Service_Books(...);
1507
  * $bookshelves = $booksService->bookshelves;
1508
  * </code>
1509
  */
1510
- class Google_Service_Books_Bookshelves_Resource extends Google_Service_Resource
1511
  {
1512
 
1513
  /**
@@ -1519,13 +1519,13 @@ class Google_Service_Books_Bookshelves_Resource extends Google_Service_Resource
1519
  * @param array $optParams Optional parameters.
1520
  *
1521
  * @opt_param string source String to identify the originator of this request.
1522
- * @return Google_Service_Books_Bookshelf
1523
  */
1524
  public function get($userId, $shelf, $optParams = array())
1525
  {
1526
  $params = array('userId' => $userId, 'shelf' => $shelf);
1527
  $params = array_merge($params, $optParams);
1528
- return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
1529
  }
1530
 
1531
  /**
@@ -1536,13 +1536,13 @@ class Google_Service_Books_Bookshelves_Resource extends Google_Service_Resource
1536
  * @param array $optParams Optional parameters.
1537
  *
1538
  * @opt_param string source String to identify the originator of this request.
1539
- * @return Google_Service_Books_Bookshelves
1540
  */
1541
  public function listBookshelves($userId, $optParams = array())
1542
  {
1543
  $params = array('userId' => $userId);
1544
  $params = array_merge($params, $optParams);
1545
- return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
1546
  }
1547
  }
1548
 
@@ -1550,11 +1550,11 @@ class Google_Service_Books_Bookshelves_Resource extends Google_Service_Resource
1550
  * The "volumes" collection of methods.
1551
  * Typical usage is:
1552
  * <code>
1553
- * $booksService = new Google_Service_Books(...);
1554
  * $volumes = $booksService->volumes;
1555
  * </code>
1556
  */
1557
- class Google_Service_Books_BookshelvesVolumes_Resource extends Google_Service_Resource
1558
  {
1559
 
1560
  /**
@@ -1571,13 +1571,13 @@ class Google_Service_Books_BookshelvesVolumes_Resource extends Google_Service_Re
1571
  * @opt_param string source String to identify the originator of this request.
1572
  * @opt_param string startIndex Index of the first element to return (starts at
1573
  * 0)
1574
- * @return Google_Service_Books_Volumes
1575
  */
1576
  public function listBookshelvesVolumes($userId, $shelf, $optParams = array())
1577
  {
1578
  $params = array('userId' => $userId, 'shelf' => $shelf);
1579
  $params = array_merge($params, $optParams);
1580
- return $this->call('list', array($params), "Google_Service_Books_Volumes");
1581
  }
1582
  }
1583
 
@@ -1585,11 +1585,11 @@ class Google_Service_Books_BookshelvesVolumes_Resource extends Google_Service_Re
1585
  * The "cloudloading" collection of methods.
1586
  * Typical usage is:
1587
  * <code>
1588
- * $booksService = new Google_Service_Books(...);
1589
  * $cloudloading = $booksService->cloudloading;
1590
  * </code>
1591
  */
1592
- class Google_Service_Books_Cloudloading_Resource extends Google_Service_Resource
1593
  {
1594
 
1595
  /**
@@ -1604,13 +1604,13 @@ class Google_Service_Books_Cloudloading_Resource extends Google_Service_Resource
1604
  * @opt_param string name The document name. It can be set only if the
1605
  * drive_document_id is set.
1606
  * @opt_param string upload_client_token
1607
- * @return Google_Service_Books_BooksCloudloadingResource
1608
  */
1609
  public function addBook($optParams = array())
1610
  {
1611
  $params = array();
1612
  $params = array_merge($params, $optParams);
1613
- return $this->call('addBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
1614
  }
1615
 
1616
  /**
@@ -1629,15 +1629,15 @@ class Google_Service_Books_Cloudloading_Resource extends Google_Service_Resource
1629
  /**
1630
  * (cloudloading.updateBook)
1631
  *
1632
- * @param Google_BooksCloudloadingResource $postBody
1633
  * @param array $optParams Optional parameters.
1634
- * @return Google_Service_Books_BooksCloudloadingResource
1635
  */
1636
- public function updateBook(Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array())
1637
  {
1638
  $params = array('postBody' => $postBody);
1639
  $params = array_merge($params, $optParams);
1640
- return $this->call('updateBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
1641
  }
1642
  }
1643
 
@@ -1645,11 +1645,11 @@ class Google_Service_Books_Cloudloading_Resource extends Google_Service_Resource
1645
  * The "dictionary" collection of methods.
1646
  * Typical usage is:
1647
  * <code>
1648
- * $booksService = new Google_Service_Books(...);
1649
  * $dictionary = $booksService->dictionary;
1650
  * </code>
1651
  */
1652
- class Google_Service_Books_Dictionary_Resource extends Google_Service_Resource
1653
  {
1654
 
1655
  /**
@@ -1658,13 +1658,13 @@ class Google_Service_Books_Dictionary_Resource extends Google_Service_Resource
1658
  *
1659
  * @param string $cpksver The device/version ID from which to request the data.
1660
  * @param array $optParams Optional parameters.
1661
- * @return Google_Service_Books_Metadata
1662
  */
1663
  public function listOfflineMetadata($cpksver, $optParams = array())
1664
  {
1665
  $params = array('cpksver' => $cpksver);
1666
  $params = array_merge($params, $optParams);
1667
- return $this->call('listOfflineMetadata', array($params), "Google_Service_Books_Metadata");
1668
  }
1669
  }
1670
 
@@ -1672,11 +1672,11 @@ class Google_Service_Books_Dictionary_Resource extends Google_Service_Resource
1672
  * The "layers" collection of methods.
1673
  * Typical usage is:
1674
  * <code>
1675
- * $booksService = new Google_Service_Books(...);
1676
  * $layers = $booksService->layers;
1677
  * </code>
1678
  */
1679
- class Google_Service_Books_Layers_Resource extends Google_Service_Resource
1680
  {
1681
 
1682
  /**
@@ -1689,13 +1689,13 @@ class Google_Service_Books_Layers_Resource extends Google_Service_Resource
1689
  * @opt_param string contentVersion The content version for the requested
1690
  * volume.
1691
  * @opt_param string source String to identify the originator of this request.
1692
- * @return Google_Service_Books_Layersummary
1693
  */
1694
  public function get($volumeId, $summaryId, $optParams = array())
1695
  {
1696
  $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId);
1697
  $params = array_merge($params, $optParams);
1698
- return $this->call('get', array($params), "Google_Service_Books_Layersummary");
1699
  }
1700
 
1701
  /**
@@ -1710,13 +1710,13 @@ class Google_Service_Books_Layers_Resource extends Google_Service_Resource
1710
  * @opt_param string pageToken The value of the nextToken from the previous
1711
  * page.
1712
  * @opt_param string source String to identify the originator of this request.
1713
- * @return Google_Service_Books_Layersummaries
1714
  */
1715
  public function listLayers($volumeId, $optParams = array())
1716
  {
1717
  $params = array('volumeId' => $volumeId);
1718
  $params = array_merge($params, $optParams);
1719
- return $this->call('list', array($params), "Google_Service_Books_Layersummaries");
1720
  }
1721
  }
1722
 
@@ -1724,11 +1724,11 @@ class Google_Service_Books_Layers_Resource extends Google_Service_Resource
1724
  * The "annotationData" collection of methods.
1725
  * Typical usage is:
1726
  * <code>
1727
- * $booksService = new Google_Service_Books(...);
1728
  * $annotationData = $booksService->annotationData;
1729
  * </code>
1730
  */
1731
- class Google_Service_Books_LayersAnnotationData_Resource extends Google_Service_Resource
1732
  {
1733
 
1734
  /**
@@ -1751,13 +1751,13 @@ class Google_Service_Books_LayersAnnotationData_Resource extends Google_Service_
1751
  * @opt_param string source String to identify the originator of this request.
1752
  * @opt_param int w The requested pixel width for any images. If width is
1753
  * provided height must also be provided.
1754
- * @return Google_Service_Books_Annotationdata
1755
  */
1756
  public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array())
1757
  {
1758
  $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion);
1759
  $params = array_merge($params, $optParams);
1760
- return $this->call('get', array($params), "Google_Service_Books_Annotationdata");
1761
  }
1762
 
1763
  /**
@@ -1786,24 +1786,24 @@ class Google_Service_Books_LayersAnnotationData_Resource extends Google_Service_
1786
  * since this timestamp (inclusive).
1787
  * @opt_param int w The requested pixel width for any images. If width is
1788
  * provided height must also be provided.
1789
- * @return Google_Service_Books_Annotationsdata
1790
  */
1791
  public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array())
1792
  {
1793
  $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1794
  $params = array_merge($params, $optParams);
1795
- return $this->call('list', array($params), "Google_Service_Books_Annotationsdata");
1796
  }
1797
  }
1798
  /**
1799
  * The "volumeAnnotations" collection of methods.
1800
  * Typical usage is:
1801
  * <code>
1802
- * $booksService = new Google_Service_Books(...);
1803
  * $volumeAnnotations = $booksService->volumeAnnotations;
1804
  * </code>
1805
  */
1806
- class Google_Service_Books_LayersVolumeAnnotations_Resource extends Google_Service_Resource
1807
  {
1808
 
1809
  /**
@@ -1817,13 +1817,13 @@ class Google_Service_Books_LayersVolumeAnnotations_Resource extends Google_Servi
1817
  * @opt_param string locale The locale information for the data. ISO-639-1
1818
  * language and ISO-3166-1 country code. Ex: 'en_US'.
1819
  * @opt_param string source String to identify the originator of this request.
1820
- * @return Google_Service_Books_Volumeannotation
1821
  */
1822
  public function get($volumeId, $layerId, $annotationId, $optParams = array())
1823
  {
1824
  $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId);
1825
  $params = array_merge($params, $optParams);
1826
- return $this->call('get', array($params), "Google_Service_Books_Volumeannotation");
1827
  }
1828
 
1829
  /**
@@ -1854,13 +1854,13 @@ class Google_Service_Books_LayersVolumeAnnotations_Resource extends Google_Servi
1854
  * since this timestamp (inclusive).
1855
  * @opt_param string volumeAnnotationsVersion The version of the volume
1856
  * annotations that you are requesting.
1857
- * @return Google_Service_Books_Volumeannotations
1858
  */
1859
  public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array())
1860
  {
1861
  $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1862
  $params = array_merge($params, $optParams);
1863
- return $this->call('list', array($params), "Google_Service_Books_Volumeannotations");
1864
  }
1865
  }
1866
 
@@ -1868,24 +1868,24 @@ class Google_Service_Books_LayersVolumeAnnotations_Resource extends Google_Servi
1868
  * The "myconfig" collection of methods.
1869
  * Typical usage is:
1870
  * <code>
1871
- * $booksService = new Google_Service_Books(...);
1872
  * $myconfig = $booksService->myconfig;
1873
  * </code>
1874
  */
1875
- class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource
1876
  {
1877
 
1878
  /**
1879
  * Gets the current settings for the user. (myconfig.getUserSettings)
1880
  *
1881
  * @param array $optParams Optional parameters.
1882
- * @return Google_Service_Books_Usersettings
1883
  */
1884
  public function getUserSettings($optParams = array())
1885
  {
1886
  $params = array();
1887
  $params = array_merge($params, $optParams);
1888
- return $this->call('getUserSettings', array($params), "Google_Service_Books_Usersettings");
1889
  }
1890
 
1891
  /**
@@ -1900,13 +1900,13 @@ class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource
1900
  * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1901
  * localization, i.e. en_US.
1902
  * @opt_param string source String to identify the originator of this request.
1903
- * @return Google_Service_Books_DownloadAccesses
1904
  */
1905
  public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array())
1906
  {
1907
  $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver);
1908
  $params = array_merge($params, $optParams);
1909
- return $this->call('releaseDownloadAccess', array($params), "Google_Service_Books_DownloadAccesses");
1910
  }
1911
 
1912
  /**
@@ -1924,13 +1924,13 @@ class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource
1924
  * specified, the default is BOTH.
1925
  * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1926
  * localization, i.e. en_US.
1927
- * @return Google_Service_Books_RequestAccess
1928
  */
1929
  public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array())
1930
  {
1931
  $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver);
1932
  $params = array_merge($params, $optParams);
1933
- return $this->call('requestAccess', array($params), "Google_Service_Books_RequestAccess");
1934
  }
1935
 
1936
  /**
@@ -1953,13 +1953,13 @@ class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource
1953
  * to false.
1954
  * @opt_param string volumeIds The volume(s) to request download restrictions
1955
  * for.
1956
- * @return Google_Service_Books_Volumes
1957
  */
1958
  public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array())
1959
  {
1960
  $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver);
1961
  $params = array_merge($params, $optParams);
1962
- return $this->call('syncVolumeLicenses', array($params), "Google_Service_Books_Volumes");
1963
  }
1964
 
1965
  /**
@@ -1967,15 +1967,15 @@ class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource
1967
  * overwrite the existing sub-object stored in the server. Unspecified sub-
1968
  * objects will retain the existing value. (myconfig.updateUserSettings)
1969
  *
1970
- * @param Google_Usersettings $postBody
1971
  * @param array $optParams Optional parameters.
1972
- * @return Google_Service_Books_Usersettings
1973
  */
1974
- public function updateUserSettings(Google_Service_Books_Usersettings $postBody, $optParams = array())
1975
  {
1976
  $params = array('postBody' => $postBody);
1977
  $params = array_merge($params, $optParams);
1978
- return $this->call('updateUserSettings', array($params), "Google_Service_Books_Usersettings");
1979
  }
1980
  }
1981
 
@@ -1983,11 +1983,11 @@ class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource
1983
  * The "mylibrary" collection of methods.
1984
  * Typical usage is:
1985
  * <code>
1986
- * $booksService = new Google_Service_Books(...);
1987
  * $mylibrary = $booksService->mylibrary;
1988
  * </code>
1989
  */
1990
- class Google_Service_Books_Mylibrary_Resource extends Google_Service_Resource
1991
  {
1992
  }
1993
 
@@ -1995,11 +1995,11 @@ class Google_Service_Books_Mylibrary_Resource extends Google_Service_Resource
1995
  * The "annotations" collection of methods.
1996
  * Typical usage is:
1997
  * <code>
1998
- * $booksService = new Google_Service_Books(...);
1999
  * $annotations = $booksService->annotations;
2000
  * </code>
2001
  */
2002
- class Google_Service_Books_MylibraryAnnotations_Resource extends Google_Service_Resource
2003
  {
2004
 
2005
  /**
@@ -2020,20 +2020,20 @@ class Google_Service_Books_MylibraryAnnotations_Resource extends Google_Service_
2020
  /**
2021
  * Inserts a new annotation. (annotations.insert)
2022
  *
2023
- * @param Google_Annotation $postBody
2024
  * @param array $optParams Optional parameters.
2025
  *
2026
  * @opt_param string country ISO-3166-1 code to override the IP-based location.
2027
  * @opt_param bool showOnlySummaryInResponse Requests that only the summary of
2028
  * the specified layer be provided in the response.
2029
  * @opt_param string source String to identify the originator of this request.
2030
- * @return Google_Service_Books_Annotation
2031
  */
2032
- public function insert(Google_Service_Books_Annotation $postBody, $optParams = array())
2033
  {
2034
  $params = array('postBody' => $postBody);
2035
  $params = array_merge($params, $optParams);
2036
- return $this->call('insert', array($params), "Google_Service_Books_Annotation");
2037
  }
2038
 
2039
  /**
@@ -2057,13 +2057,13 @@ class Google_Service_Books_MylibraryAnnotations_Resource extends Google_Service_
2057
  * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
2058
  * since this timestamp (inclusive).
2059
  * @opt_param string volumeId The volume to restrict annotations to.
2060
- * @return Google_Service_Books_Annotations
2061
  */
2062
  public function listMylibraryAnnotations($optParams = array())
2063
  {
2064
  $params = array();
2065
  $params = array_merge($params, $optParams);
2066
- return $this->call('list', array($params), "Google_Service_Books_Annotations");
2067
  }
2068
 
2069
  /**
@@ -2072,41 +2072,41 @@ class Google_Service_Books_MylibraryAnnotations_Resource extends Google_Service_
2072
  * @param string $layerIds Array of layer IDs to get the summary for.
2073
  * @param string $volumeId Volume id to get the summary for.
2074
  * @param array $optParams Optional parameters.
2075
- * @return Google_Service_Books_AnnotationsSummary
2076
  */
2077
  public function summary($layerIds, $volumeId, $optParams = array())
2078
  {
2079
  $params = array('layerIds' => $layerIds, 'volumeId' => $volumeId);
2080
  $params = array_merge($params, $optParams);
2081
- return $this->call('summary', array($params), "Google_Service_Books_AnnotationsSummary");
2082
  }
2083
 
2084
  /**
2085
  * Updates an existing annotation. (annotations.update)
2086
  *
2087
  * @param string $annotationId The ID for the annotation to update.
2088
- * @param Google_Annotation $postBody
2089
  * @param array $optParams Optional parameters.
2090
  *
2091
  * @opt_param string source String to identify the originator of this request.
2092
- * @return Google_Service_Books_Annotation
2093
  */
2094
- public function update($annotationId, Google_Service_Books_Annotation $postBody, $optParams = array())
2095
  {
2096
  $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
2097
  $params = array_merge($params, $optParams);
2098
- return $this->call('update', array($params), "Google_Service_Books_Annotation");
2099
  }
2100
  }
2101
  /**
2102
  * The "bookshelves" collection of methods.
2103
  * Typical usage is:
2104
  * <code>
2105
- * $booksService = new Google_Service_Books(...);
2106
  * $bookshelves = $booksService->bookshelves;
2107
  * </code>
2108
  */
2109
- class Google_Service_Books_MylibraryBookshelves_Resource extends Google_Service_Resource
2110
  {
2111
 
2112
  /**
@@ -2150,13 +2150,13 @@ class Google_Service_Books_MylibraryBookshelves_Resource extends Google_Service_
2150
  * @param array $optParams Optional parameters.
2151
  *
2152
  * @opt_param string source String to identify the originator of this request.
2153
- * @return Google_Service_Books_Bookshelf
2154
  */
2155
  public function get($shelf, $optParams = array())
2156
  {
2157
  $params = array('shelf' => $shelf);
2158
  $params = array_merge($params, $optParams);
2159
- return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
2160
  }
2161
 
2162
  /**
@@ -2166,13 +2166,13 @@ class Google_Service_Books_MylibraryBookshelves_Resource extends Google_Service_
2166
  * @param array $optParams Optional parameters.
2167
  *
2168
  * @opt_param string source String to identify the originator of this request.
2169
- * @return Google_Service_Books_Bookshelves
2170
  */
2171
  public function listMylibraryBookshelves($optParams = array())
2172
  {
2173
  $params = array();
2174
  $params = array_merge($params, $optParams);
2175
- return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
2176
  }
2177
 
2178
  /**
@@ -2217,11 +2217,11 @@ class Google_Service_Books_MylibraryBookshelves_Resource extends Google_Service_
2217
  * The "volumes" collection of methods.
2218
  * Typical usage is:
2219
  * <code>
2220
- * $booksService = new Google_Service_Books(...);
2221
  * $volumes = $booksService->volumes;
2222
  * </code>
2223
  */
2224
- class Google_Service_Books_MylibraryBookshelvesVolumes_Resource extends Google_Service_Resource
2225
  {
2226
 
2227
  /**
@@ -2241,24 +2241,24 @@ class Google_Service_Books_MylibraryBookshelvesVolumes_Resource extends Google_S
2241
  * @opt_param string source String to identify the originator of this request.
2242
  * @opt_param string startIndex Index of the first element to return (starts at
2243
  * 0)
2244
- * @return Google_Service_Books_Volumes
2245
  */
2246
  public function listMylibraryBookshelvesVolumes($shelf, $optParams = array())
2247
  {
2248
  $params = array('shelf' => $shelf);
2249
  $params = array_merge($params, $optParams);
2250
- return $this->call('list', array($params), "Google_Service_Books_Volumes");
2251
  }
2252
  }
2253
  /**
2254
  * The "readingpositions" collection of methods.
2255
  * Typical usage is:
2256
  * <code>
2257
- * $booksService = new Google_Service_Books(...);
2258
  * $readingpositions = $booksService->readingpositions;
2259
  * </code>
2260
  */
2261
- class Google_Service_Books_MylibraryReadingpositions_Resource extends Google_Service_Resource
2262
  {
2263
 
2264
  /**
@@ -2272,13 +2272,13 @@ class Google_Service_Books_MylibraryReadingpositions_Resource extends Google_Ser
2272
  * @opt_param string contentVersion Volume content version for which this
2273
  * reading position is requested.
2274
  * @opt_param string source String to identify the originator of this request.
2275
- * @return Google_Service_Books_ReadingPosition
2276
  */
2277
  public function get($volumeId, $optParams = array())
2278
  {
2279
  $params = array('volumeId' => $volumeId);
2280
  $params = array_merge($params, $optParams);
2281
- return $this->call('get', array($params), "Google_Service_Books_ReadingPosition");
2282
  }
2283
 
2284
  /**
@@ -2311,11 +2311,11 @@ class Google_Service_Books_MylibraryReadingpositions_Resource extends Google_Ser
2311
  * The "notification" collection of methods.
2312
  * Typical usage is:
2313
  * <code>
2314
- * $booksService = new Google_Service_Books(...);
2315
  * $notification = $booksService->notification;
2316
  * </code>
2317
  */
2318
- class Google_Service_Books_Notification_Resource extends Google_Service_Resource
2319
  {
2320
 
2321
  /**
@@ -2327,13 +2327,13 @@ class Google_Service_Books_Notification_Resource extends Google_Service_Resource
2327
  * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2328
  * 'en_US'. Used for generating notification title and body.
2329
  * @opt_param string source String to identify the originator of this request.
2330
- * @return Google_Service_Books_Notification
2331
  */
2332
  public function get($notificationId, $optParams = array())
2333
  {
2334
  $params = array('notification_id' => $notificationId);
2335
  $params = array_merge($params, $optParams);
2336
- return $this->call('get', array($params), "Google_Service_Books_Notification");
2337
  }
2338
  }
2339
 
@@ -2341,11 +2341,11 @@ class Google_Service_Books_Notification_Resource extends Google_Service_Resource
2341
  * The "onboarding" collection of methods.
2342
  * Typical usage is:
2343
  * <code>
2344
- * $booksService = new Google_Service_Books(...);
2345
  * $onboarding = $booksService->onboarding;
2346
  * </code>
2347
  */
2348
- class Google_Service_Books_Onboarding_Resource extends Google_Service_Resource
2349
  {
2350
 
2351
  /**
@@ -2355,13 +2355,13 @@ class Google_Service_Books_Onboarding_Resource extends Google_Service_Resource
2355
  *
2356
  * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
2357
  * Default is en-US if unset.
2358
- * @return Google_Service_Books_Category
2359
  */
2360
  public function listCategories($optParams = array())
2361
  {
2362
  $params = array();
2363
  $params = array_merge($params, $optParams);
2364
- return $this->call('listCategories', array($params), "Google_Service_Books_Category");
2365
  }
2366
 
2367
  /**
@@ -2380,13 +2380,13 @@ class Google_Service_Books_Onboarding_Resource extends Google_Service_Resource
2380
  * in the response.
2381
  * @opt_param string pageToken The value of the nextToken from the previous
2382
  * page.
2383
- * @return Google_Service_Books_Volume2
2384
  */
2385
  public function listCategoryVolumes($optParams = array())
2386
  {
2387
  $params = array();
2388
  $params = array_merge($params, $optParams);
2389
- return $this->call('listCategoryVolumes', array($params), "Google_Service_Books_Volume2");
2390
  }
2391
  }
2392
 
@@ -2394,11 +2394,11 @@ class Google_Service_Books_Onboarding_Resource extends Google_Service_Resource
2394
  * The "personalizedstream" collection of methods.
2395
  * Typical usage is:
2396
  * <code>
2397
- * $booksService = new Google_Service_Books(...);
2398
  * $personalizedstream = $booksService->personalizedstream;
2399
  * </code>
2400
  */
2401
- class Google_Service_Books_Personalizedstream_Resource extends Google_Service_Resource
2402
  {
2403
 
2404
  /**
@@ -2412,13 +2412,13 @@ class Google_Service_Books_Personalizedstream_Resource extends Google_Service_Re
2412
  * rating of returned recommendations. Books with a higher maturity rating are
2413
  * filtered out.
2414
  * @opt_param string source String to identify the originator of this request.
2415
- * @return Google_Service_Books_Discoveryclusters
2416
  */
2417
  public function get($optParams = array())
2418
  {
2419
  $params = array();
2420
  $params = array_merge($params, $optParams);
2421
- return $this->call('get', array($params), "Google_Service_Books_Discoveryclusters");
2422
  }
2423
  }
2424
 
@@ -2426,11 +2426,11 @@ class Google_Service_Books_Personalizedstream_Resource extends Google_Service_Re
2426
  * The "promooffer" collection of methods.
2427
  * Typical usage is:
2428
  * <code>
2429
- * $booksService = new Google_Service_Books(...);
2430
  * $promooffer = $booksService->promooffer;
2431
  * </code>
2432
  */
2433
- class Google_Service_Books_Promooffer_Resource extends Google_Service_Resource
2434
  {
2435
 
2436
  /**
@@ -2485,13 +2485,13 @@ class Google_Service_Books_Promooffer_Resource extends Google_Service_Resource
2485
  * @opt_param string model device model
2486
  * @opt_param string product device product
2487
  * @opt_param string serial device serial
2488
- * @return Google_Service_Books_Offers
2489
  */
2490
  public function get($optParams = array())
2491
  {
2492
  $params = array();
2493
  $params = array_merge($params, $optParams);
2494
- return $this->call('get', array($params), "Google_Service_Books_Offers");
2495
  }
2496
  }
2497
 
@@ -2499,11 +2499,11 @@ class Google_Service_Books_Promooffer_Resource extends Google_Service_Resource
2499
  * The "series" collection of methods.
2500
  * Typical usage is:
2501
  * <code>
2502
- * $booksService = new Google_Service_Books(...);
2503
  * $series = $booksService->series;
2504
  * </code>
2505
  */
2506
- class Google_Service_Books_Series_Resource extends Google_Service_Resource
2507
  {
2508
 
2509
  /**
@@ -2511,13 +2511,13 @@ class Google_Service_Books_Series_Resource extends Google_Service_Resource
2511
  *
2512
  * @param string $seriesId String that identifies the series
2513
  * @param array $optParams Optional parameters.
2514
- * @return Google_Service_Books_Series
2515
  */
2516
  public function get($seriesId, $optParams = array())
2517
  {
2518
  $params = array('series_id' => $seriesId);
2519
  $params = array_merge($params, $optParams);
2520
- return $this->call('get', array($params), "Google_Service_Books_Series");
2521
  }
2522
  }
2523
 
@@ -2525,11 +2525,11 @@ class Google_Service_Books_Series_Resource extends Google_Service_Resource
2525
  * The "membership" collection of methods.
2526
  * Typical usage is:
2527
  * <code>
2528
- * $booksService = new Google_Service_Books(...);
2529
  * $membership = $booksService->membership;
2530
  * </code>
2531
  */
2532
- class Google_Service_Books_SeriesMembership_Resource extends Google_Service_Resource
2533
  {
2534
 
2535
  /**
@@ -2542,13 +2542,13 @@ class Google_Service_Books_SeriesMembership_Resource extends Google_Service_Reso
2542
  * in the response.
2543
  * @opt_param string page_token The value of the nextToken from the previous
2544
  * page.
2545
- * @return Google_Service_Books_Seriesmembership
2546
  */
2547
  public function get($seriesId, $optParams = array())
2548
  {
2549
  $params = array('series_id' => $seriesId);
2550
  $params = array_merge($params, $optParams);
2551
- return $this->call('get', array($params), "Google_Service_Books_Seriesmembership");
2552
  }
2553
  }
2554
 
@@ -2556,11 +2556,11 @@ class Google_Service_Books_SeriesMembership_Resource extends Google_Service_Reso
2556
  * The "volumes" collection of methods.
2557
  * Typical usage is:
2558
  * <code>
2559
- * $booksService = new Google_Service_Books(...);
2560
  * $volumes = $booksService->volumes;
2561
  * </code>
2562
  */
2563
- class Google_Service_Books_Volumes_Resource extends Google_Service_Resource
2564
  {
2565
 
2566
  /**
@@ -2577,13 +2577,13 @@ class Google_Service_Books_Volumes_Resource extends Google_Service_Resource
2577
  * selected fields.
2578
  * @opt_param string source String to identify the originator of this request.
2579
  * @opt_param bool user_library_consistent_read
2580
- * @return Google_Service_Books_Volume
2581
  */
2582
  public function get($volumeId, $optParams = array())
2583
  {
2584
  $params = array('volumeId' => $volumeId);
2585
  $params = array_merge($params, $optParams);
2586
- return $this->call('get', array($params), "Google_Service_Books_Volume");
2587
  }
2588
 
2589
  /**
@@ -2608,13 +2608,13 @@ class Google_Service_Books_Volumes_Resource extends Google_Service_Resource
2608
  * @opt_param string source String to identify the originator of this request.
2609
  * @opt_param string startIndex Index of the first result to return (starts at
2610
  * 0)
2611
- * @return Google_Service_Books_Volumes
2612
  */
2613
  public function listVolumes($q, $optParams = array())
2614
  {
2615
  $params = array('q' => $q);
2616
  $params = array_merge($params, $optParams);
2617
- return $this->call('list', array($params), "Google_Service_Books_Volumes");
2618
  }
2619
  }
2620
 
@@ -2622,11 +2622,11 @@ class Google_Service_Books_Volumes_Resource extends Google_Service_Resource
2622
  * The "associated" collection of methods.
2623
  * Typical usage is:
2624
  * <code>
2625
- * $booksService = new Google_Service_Books(...);
2626
  * $associated = $booksService->associated;
2627
  * </code>
2628
  */
2629
- class Google_Service_Books_VolumesAssociated_Resource extends Google_Service_Resource
2630
  {
2631
 
2632
  /**
@@ -2642,24 +2642,24 @@ class Google_Service_Books_VolumesAssociated_Resource extends Google_Service_Res
2642
  * rating of returned recommendations. Books with a higher maturity rating are
2643
  * filtered out.
2644
  * @opt_param string source String to identify the originator of this request.
2645
- * @return Google_Service_Books_Volumes
2646
  */
2647
  public function listVolumesAssociated($volumeId, $optParams = array())
2648
  {
2649
  $params = array('volumeId' => $volumeId);
2650
  $params = array_merge($params, $optParams);
2651
- return $this->call('list', array($params), "Google_Service_Books_Volumes");
2652
  }
2653
  }
2654
  /**
2655
  * The "mybooks" collection of methods.
2656
  * Typical usage is:
2657
  * <code>
2658
- * $booksService = new Google_Service_Books(...);
2659
  * $mybooks = $booksService->mybooks;
2660
  * </code>
2661
  */
2662
- class Google_Service_Books_VolumesMybooks_Resource extends Google_Service_Resource
2663
  {
2664
 
2665
  /**
@@ -2677,24 +2677,24 @@ class Google_Service_Books_VolumesMybooks_Resource extends Google_Service_Resour
2677
  * @opt_param string source String to identify the originator of this request.
2678
  * @opt_param string startIndex Index of the first result to return (starts at
2679
  * 0)
2680
- * @return Google_Service_Books_Volumes
2681
  */
2682
  public function listVolumesMybooks($optParams = array())
2683
  {
2684
  $params = array();
2685
  $params = array_merge($params, $optParams);
2686
- return $this->call('list', array($params), "Google_Service_Books_Volumes");
2687
  }
2688
  }
2689
  /**
2690
  * The "recommended" collection of methods.
2691
  * Typical usage is:
2692
  * <code>
2693
- * $booksService = new Google_Service_Books(...);
2694
  * $recommended = $booksService->recommended;
2695
  * </code>
2696
  */
2697
- class Google_Service_Books_VolumesRecommended_Resource extends Google_Service_Resource
2698
  {
2699
 
2700
  /**
@@ -2709,13 +2709,13 @@ class Google_Service_Books_VolumesRecommended_Resource extends Google_Service_Re
2709
  * rating of returned recommendations. Books with a higher maturity rating are
2710
  * filtered out.
2711
  * @opt_param string source String to identify the originator of this request.
2712
- * @return Google_Service_Books_Volumes
2713
  */
2714
  public function listVolumesRecommended($optParams = array())
2715
  {
2716
  $params = array();
2717
  $params = array_merge($params, $optParams);
2718
- return $this->call('list', array($params), "Google_Service_Books_Volumes");
2719
  }
2720
 
2721
  /**
@@ -2728,24 +2728,24 @@ class Google_Service_Books_VolumesRecommended_Resource extends Google_Service_Re
2728
  * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2729
  * 'en_US'. Used for generating recommendations.
2730
  * @opt_param string source String to identify the originator of this request.
2731
- * @return Google_Service_Books_BooksVolumesRecommendedRateResponse
2732
  */
2733
  public function rate($rating, $volumeId, $optParams = array())
2734
  {
2735
  $params = array('rating' => $rating, 'volumeId' => $volumeId);
2736
  $params = array_merge($params, $optParams);
2737
- return $this->call('rate', array($params), "Google_Service_Books_BooksVolumesRecommendedRateResponse");
2738
  }
2739
  }
2740
  /**
2741
  * The "useruploaded" collection of methods.
2742
  * Typical usage is:
2743
  * <code>
2744
- * $booksService = new Google_Service_Books(...);
2745
  * $useruploaded = $booksService->useruploaded;
2746
  * </code>
2747
  */
2748
- class Google_Service_Books_VolumesUseruploaded_Resource extends Google_Service_Resource
2749
  {
2750
 
2751
  /**
@@ -2764,30 +2764,30 @@ class Google_Service_Books_VolumesUseruploaded_Resource extends Google_Service_R
2764
  * 0)
2765
  * @opt_param string volumeId The ids of the volumes to be returned. If not
2766
  * specified all that match the processingState are returned.
2767
- * @return Google_Service_Books_Volumes
2768
  */
2769
  public function listVolumesUseruploaded($optParams = array())
2770
  {
2771
  $params = array();
2772
  $params = array_merge($params, $optParams);
2773
- return $this->call('list', array($params), "Google_Service_Books_Volumes");
2774
  }
2775
  }
2776
 
2777
 
2778
 
2779
 
2780
- class Google_Service_Books_Annotation extends Google_Collection
2781
  {
2782
  protected $collection_key = 'pageIds';
2783
  protected $internal_gapi_mappings = array(
2784
  );
2785
  public $afterSelectedText;
2786
  public $beforeSelectedText;
2787
- protected $clientVersionRangesType = 'Google_Service_Books_AnnotationClientVersionRanges';
2788
  protected $clientVersionRangesDataType = '';
2789
  public $created;
2790
- protected $currentVersionRangesType = 'Google_Service_Books_AnnotationCurrentVersionRanges';
2791
  protected $currentVersionRangesDataType = '';
2792
  public $data;
2793
  public $deleted;
@@ -2795,7 +2795,7 @@ class Google_Service_Books_Annotation extends Google_Collection
2795
  public $id;
2796
  public $kind;
2797
  public $layerId;
2798
- protected $layerSummaryType = 'Google_Service_Books_AnnotationLayerSummary';
2799
  protected $layerSummaryDataType = '';
2800
  public $pageIds;
2801
  public $selectedText;
@@ -2820,7 +2820,7 @@ class Google_Service_Books_Annotation extends Google_Collection
2820
  {
2821
  return $this->beforeSelectedText;
2822
  }
2823
- public function setClientVersionRanges(Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
2824
  {
2825
  $this->clientVersionRanges = $clientVersionRanges;
2826
  }
@@ -2836,7 +2836,7 @@ class Google_Service_Books_Annotation extends Google_Collection
2836
  {
2837
  return $this->created;
2838
  }
2839
- public function setCurrentVersionRanges(Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
2840
  {
2841
  $this->currentVersionRanges = $currentVersionRanges;
2842
  }
@@ -2892,7 +2892,7 @@ class Google_Service_Books_Annotation extends Google_Collection
2892
  {
2893
  return $this->layerId;
2894
  }
2895
- public function setLayerSummary(Google_Service_Books_AnnotationLayerSummary $layerSummary)
2896
  {
2897
  $this->layerSummary = $layerSummary;
2898
  }
@@ -2942,22 +2942,22 @@ class Google_Service_Books_Annotation extends Google_Collection
2942
  }
2943
  }
2944
 
2945
- class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
2946
  {
2947
  protected $internal_gapi_mappings = array(
2948
  );
2949
- protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2950
  protected $cfiRangeDataType = '';
2951
  public $contentVersion;
2952
- protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2953
  protected $gbImageRangeDataType = '';
2954
- protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2955
  protected $gbTextRangeDataType = '';
2956
- protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2957
  protected $imageCfiRangeDataType = '';
2958
 
2959
 
2960
- public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
2961
  {
2962
  $this->cfiRange = $cfiRange;
2963
  }
@@ -2973,7 +2973,7 @@ class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
2973
  {
2974
  return $this->contentVersion;
2975
  }
2976
- public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
2977
  {
2978
  $this->gbImageRange = $gbImageRange;
2979
  }
@@ -2981,7 +2981,7 @@ class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
2981
  {
2982
  return $this->gbImageRange;
2983
  }
2984
- public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
2985
  {
2986
  $this->gbTextRange = $gbTextRange;
2987
  }
@@ -2989,7 +2989,7 @@ class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
2989
  {
2990
  return $this->gbTextRange;
2991
  }
2992
- public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
2993
  {
2994
  $this->imageCfiRange = $imageCfiRange;
2995
  }
@@ -2999,22 +2999,22 @@ class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
2999
  }
3000
  }
3001
 
3002
- class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
3003
  {
3004
  protected $internal_gapi_mappings = array(
3005
  );
3006
- protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
3007
  protected $cfiRangeDataType = '';
3008
  public $contentVersion;
3009
- protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
3010
  protected $gbImageRangeDataType = '';
3011
- protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
3012
  protected $gbTextRangeDataType = '';
3013
- protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
3014
  protected $imageCfiRangeDataType = '';
3015
 
3016
 
3017
- public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
3018
  {
3019
  $this->cfiRange = $cfiRange;
3020
  }
@@ -3030,7 +3030,7 @@ class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
3030
  {
3031
  return $this->contentVersion;
3032
  }
3033
- public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
3034
  {
3035
  $this->gbImageRange = $gbImageRange;
3036
  }
@@ -3038,7 +3038,7 @@ class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
3038
  {
3039
  return $this->gbImageRange;
3040
  }
3041
- public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
3042
  {
3043
  $this->gbTextRange = $gbTextRange;
3044
  }
@@ -3046,7 +3046,7 @@ class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
3046
  {
3047
  return $this->gbTextRange;
3048
  }
3049
- public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
3050
  {
3051
  $this->imageCfiRange = $imageCfiRange;
3052
  }
@@ -3056,7 +3056,7 @@ class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
3056
  }
3057
  }
3058
 
3059
- class Google_Service_Books_AnnotationLayerSummary extends Google_Model
3060
  {
3061
  protected $internal_gapi_mappings = array(
3062
  );
@@ -3091,7 +3091,7 @@ class Google_Service_Books_AnnotationLayerSummary extends Google_Model
3091
  }
3092
  }
3093
 
3094
- class Google_Service_Books_Annotationdata extends Google_Model
3095
  {
3096
  protected $internal_gapi_mappings = array(
3097
  "encodedData" => "encoded_data",
@@ -3181,12 +3181,12 @@ class Google_Service_Books_Annotationdata extends Google_Model
3181
  }
3182
  }
3183
 
3184
- class Google_Service_Books_Annotations extends Google_Collection
3185
  {
3186
  protected $collection_key = 'items';
3187
  protected $internal_gapi_mappings = array(
3188
  );
3189
- protected $itemsType = 'Google_Service_Books_Annotation';
3190
  protected $itemsDataType = 'array';
3191
  public $kind;
3192
  public $nextPageToken;
@@ -3227,13 +3227,13 @@ class Google_Service_Books_Annotations extends Google_Collection
3227
  }
3228
  }
3229
 
3230
- class Google_Service_Books_AnnotationsSummary extends Google_Collection
3231
  {
3232
  protected $collection_key = 'layers';
3233
  protected $internal_gapi_mappings = array(
3234
  );
3235
  public $kind;
3236
- protected $layersType = 'Google_Service_Books_AnnotationsSummaryLayers';
3237
  protected $layersDataType = 'array';
3238
 
3239
 
@@ -3255,7 +3255,7 @@ class Google_Service_Books_AnnotationsSummary extends Google_Collection
3255
  }
3256
  }
3257
 
3258
- class Google_Service_Books_AnnotationsSummaryLayers extends Google_Model
3259
  {
3260
  protected $internal_gapi_mappings = array(
3261
  );
@@ -3308,12 +3308,12 @@ class Google_Service_Books_AnnotationsSummaryLayers extends Google_Model
3308
  }
3309
  }
3310
 
3311
- class Google_Service_Books_Annotationsdata extends Google_Collection
3312
  {
3313
  protected $collection_key = 'items';
3314
  protected $internal_gapi_mappings = array(
3315
  );
3316
- protected $itemsType = 'Google_Service_Books_Annotationdata';
3317
  protected $itemsDataType = 'array';
3318
  public $kind;
3319
  public $nextPageToken;
@@ -3354,7 +3354,7 @@ class Google_Service_Books_Annotationsdata extends Google_Collection
3354
  }
3355
  }
3356
 
3357
- class Google_Service_Books_BooksAnnotationsRange extends Google_Model
3358
  {
3359
  protected $internal_gapi_mappings = array(
3360
  );
@@ -3398,7 +3398,7 @@ class Google_Service_Books_BooksAnnotationsRange extends Google_Model
3398
  }
3399
  }
3400
 
3401
- class Google_Service_Books_BooksCloudloadingResource extends Google_Model
3402
  {
3403
  protected $internal_gapi_mappings = array(
3404
  );
@@ -3442,7 +3442,7 @@ class Google_Service_Books_BooksCloudloadingResource extends Google_Model
3442
  }
3443
  }
3444
 
3445
- class Google_Service_Books_BooksVolumesRecommendedRateResponse extends Google_Model
3446
  {
3447
  protected $internal_gapi_mappings = array(
3448
  "consistencyToken" => "consistency_token",
@@ -3460,7 +3460,7 @@ class Google_Service_Books_BooksVolumesRecommendedRateResponse extends Google_Mo
3460
  }
3461
  }
3462
 
3463
- class Google_Service_Books_Bookshelf extends Google_Model
3464
  {
3465
  protected $internal_gapi_mappings = array(
3466
  );
@@ -3558,12 +3558,12 @@ class Google_Service_Books_Bookshelf extends Google_Model
3558
  }
3559
  }
3560
 
3561
- class Google_Service_Books_Bookshelves extends Google_Collection
3562
  {
3563
  protected $collection_key = 'items';
3564
  protected $internal_gapi_mappings = array(
3565
  );
3566
- protected $itemsType = 'Google_Service_Books_Bookshelf';
3567
  protected $itemsDataType = 'array';
3568
  public $kind;
3569
 
@@ -3586,12 +3586,12 @@ class Google_Service_Books_Bookshelves extends Google_Collection
3586
  }
3587
  }
3588
 
3589
- class Google_Service_Books_Category extends Google_Collection
3590
  {
3591
  protected $collection_key = 'items';
3592
  protected $internal_gapi_mappings = array(
3593
  );
3594
- protected $itemsType = 'Google_Service_Books_CategoryItems';
3595
  protected $itemsDataType = 'array';
3596
  public $kind;
3597
 
@@ -3614,7 +3614,7 @@ class Google_Service_Books_Category extends Google_Collection
3614
  }
3615
  }
3616
 
3617
- class Google_Service_Books_CategoryItems extends Google_Model
3618
  {
3619
  protected $internal_gapi_mappings = array(
3620
  );
@@ -3649,7 +3649,7 @@ class Google_Service_Books_CategoryItems extends Google_Model
3649
  }
3650
  }
3651
 
3652
- class Google_Service_Books_ConcurrentAccessRestriction extends Google_Model
3653
  {
3654
  protected $internal_gapi_mappings = array(
3655
  );
@@ -3756,18 +3756,18 @@ class Google_Service_Books_ConcurrentAccessRestriction extends Google_Model
3756
  }
3757
  }
3758
 
3759
- class Google_Service_Books_Dictlayerdata extends Google_Model
3760
  {
3761
  protected $internal_gapi_mappings = array(
3762
  );
3763
- protected $commonType = 'Google_Service_Books_DictlayerdataCommon';
3764
  protected $commonDataType = '';
3765
- protected $dictType = 'Google_Service_Books_DictlayerdataDict';
3766
  protected $dictDataType = '';
3767
  public $kind;
3768
 
3769
 
3770
- public function setCommon(Google_Service_Books_DictlayerdataCommon $common)
3771
  {
3772
  $this->common = $common;
3773
  }
@@ -3775,7 +3775,7 @@ class Google_Service_Books_Dictlayerdata extends Google_Model
3775
  {
3776
  return $this->common;
3777
  }
3778
- public function setDict(Google_Service_Books_DictlayerdataDict $dict)
3779
  {
3780
  $this->dict = $dict;
3781
  }
@@ -3793,7 +3793,7 @@ class Google_Service_Books_Dictlayerdata extends Google_Model
3793
  }
3794
  }
3795
 
3796
- class Google_Service_Books_DictlayerdataCommon extends Google_Model
3797
  {
3798
  protected $internal_gapi_mappings = array(
3799
  );
@@ -3810,18 +3810,18 @@ class Google_Service_Books_DictlayerdataCommon extends Google_Model
3810
  }
3811
  }
3812
 
3813
- class Google_Service_Books_DictlayerdataDict extends Google_Collection
3814
  {
3815
  protected $collection_key = 'words';
3816
  protected $internal_gapi_mappings = array(
3817
  );
3818
- protected $sourceType = 'Google_Service_Books_DictlayerdataDictSource';
3819
  protected $sourceDataType = '';
3820
- protected $wordsType = 'Google_Service_Books_DictlayerdataDictWords';
3821
  protected $wordsDataType = 'array';
3822
 
3823
 
3824
- public function setSource(Google_Service_Books_DictlayerdataDictSource $source)
3825
  {
3826
  $this->source = $source;
3827
  }
@@ -3839,7 +3839,7 @@ class Google_Service_Books_DictlayerdataDict extends Google_Collection
3839
  }
3840
  }
3841
 
3842
- class Google_Service_Books_DictlayerdataDictSource extends Google_Model
3843
  {
3844
  protected $internal_gapi_mappings = array(
3845
  );
@@ -3865,18 +3865,18 @@ class Google_Service_Books_DictlayerdataDictSource extends Google_Model
3865
  }
3866
  }
3867
 
3868
- class Google_Service_Books_DictlayerdataDictWords extends Google_Collection
3869
  {
3870
  protected $collection_key = 'senses';
3871
  protected $internal_gapi_mappings = array(
3872
  );
3873
- protected $derivativesType = 'Google_Service_Books_DictlayerdataDictWordsDerivatives';
3874
  protected $derivativesDataType = 'array';
3875
- protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsExamples';
3876
  protected $examplesDataType = 'array';
3877
- protected $sensesType = 'Google_Service_Books_DictlayerdataDictWordsSenses';
3878
  protected $sensesDataType = 'array';
3879
- protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSource';
3880
  protected $sourceDataType = '';
3881
 
3882
 
@@ -3904,7 +3904,7 @@ class Google_Service_Books_DictlayerdataDictWords extends Google_Collection
3904
  {
3905
  return $this->senses;
3906
  }
3907
- public function setSource(Google_Service_Books_DictlayerdataDictWordsSource $source)
3908
  {
3909
  $this->source = $source;
3910
  }
@@ -3914,16 +3914,16 @@ class Google_Service_Books_DictlayerdataDictWords extends Google_Collection
3914
  }
3915
  }
3916
 
3917
- class Google_Service_Books_DictlayerdataDictWordsDerivatives extends Google_Model
3918
  {
3919
  protected $internal_gapi_mappings = array(
3920
  );
3921
- protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsDerivativesSource';
3922
  protected $sourceDataType = '';
3923
  public $text;
3924
 
3925
 
3926
- public function setSource(Google_Service_Books_DictlayerdataDictWordsDerivativesSource $source)
3927
  {
3928
  $this->source = $source;
3929
  }
@@ -3941,7 +3941,7 @@ class Google_Service_Books_DictlayerdataDictWordsDerivatives extends Google_Mode
3941
  }
3942
  }
3943
 
3944
- class Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Google_Model
3945
  {
3946
  protected $internal_gapi_mappings = array(
3947
  );
@@ -3967,16 +3967,16 @@ class Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Googl
3967
  }
3968
  }
3969
 
3970
- class Google_Service_Books_DictlayerdataDictWordsExamples extends Google_Model
3971
  {
3972
  protected $internal_gapi_mappings = array(
3973
  );
3974
- protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsExamplesSource';
3975
  protected $sourceDataType = '';
3976
  public $text;
3977
 
3978
 
3979
- public function setSource(Google_Service_Books_DictlayerdataDictWordsExamplesSource $source)
3980
  {
3981
  $this->source = $source;
3982
  }
@@ -3994,7 +3994,7 @@ class Google_Service_Books_DictlayerdataDictWordsExamples extends Google_Model
3994
  }
3995
  }
3996
 
3997
- class Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Google_Model
3998
  {
3999
  protected $internal_gapi_mappings = array(
4000
  );
@@ -4020,22 +4020,22 @@ class Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Google_M
4020
  }
4021
  }
4022
 
4023
- class Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collection
4024
  {
4025
  protected $collection_key = 'synonyms';
4026
  protected $internal_gapi_mappings = array(
4027
  );
4028
- protected $conjugationsType = 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations';
4029
  protected $conjugationsDataType = 'array';
4030
- protected $definitionsType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions';
4031
  protected $definitionsDataType = 'array';
4032
  public $partOfSpeech;
4033
  public $pronunciation;
4034
  public $pronunciationUrl;
4035
- protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSource';
4036
  protected $sourceDataType = '';
4037
  public $syllabification;
4038
- protected $synonymsType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonyms';
4039
  protected $synonymsDataType = 'array';
4040
 
4041
 
@@ -4079,7 +4079,7 @@ class Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collectio
4079
  {
4080
  return $this->pronunciationUrl;
4081
  }
4082
- public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSource $source)
4083
  {
4084
  $this->source = $source;
4085
  }
@@ -4105,7 +4105,7 @@ class Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collectio
4105
  }
4106
  }
4107
 
4108
- class Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Google_Model
4109
  {
4110
  protected $internal_gapi_mappings = array(
4111
  );
@@ -4131,13 +4131,13 @@ class Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Goog
4131
  }
4132
  }
4133
 
4134
- class Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Google_Collection
4135
  {
4136
  protected $collection_key = 'examples';
4137
  protected $internal_gapi_mappings = array(
4138
  );
4139
  public $definition;
4140
- protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
4141
  protected $examplesDataType = 'array';
4142
 
4143
 
@@ -4159,16 +4159,16 @@ class Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Googl
4159
  }
4160
  }
4161
 
4162
- class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends Google_Model
4163
  {
4164
  protected $internal_gapi_mappings = array(
4165
  );
4166
- protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
4167
  protected $sourceDataType = '';
4168
  public $text;
4169
 
4170
 
4171
- public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
4172
  {
4173
  $this->source = $source;
4174
  }
@@ -4186,7 +4186,7 @@ class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples exten
4186
  }
4187
  }
4188
 
4189
- class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends Google_Model
4190
  {
4191
  protected $internal_gapi_mappings = array(
4192
  );
@@ -4212,7 +4212,7 @@ class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource
4212
  }
4213
  }
4214
 
4215
- class Google_Service_Books_DictlayerdataDictWordsSensesSource extends Google_Model
4216
  {
4217
  protected $internal_gapi_mappings = array(
4218
  );
@@ -4238,16 +4238,16 @@ class Google_Service_Books_DictlayerdataDictWordsSensesSource extends Google_Mod
4238
  }
4239
  }
4240
 
4241
- class Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Google_Model
4242
  {
4243
  protected $internal_gapi_mappings = array(
4244
  );
4245
- protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
4246
  protected $sourceDataType = '';
4247
  public $text;
4248
 
4249
 
4250
- public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source)
4251
  {
4252
  $this->source = $source;
4253
  }
@@ -4265,7 +4265,7 @@ class Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Google_M
4265
  }
4266
  }
4267
 
4268
- class Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Google_Model
4269
  {
4270
  protected $internal_gapi_mappings = array(
4271
  );
@@ -4291,7 +4291,7 @@ class Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Go
4291
  }
4292
  }
4293
 
4294
- class Google_Service_Books_DictlayerdataDictWordsSource extends Google_Model
4295
  {
4296
  protected $internal_gapi_mappings = array(
4297
  );
@@ -4317,12 +4317,12 @@ class Google_Service_Books_DictlayerdataDictWordsSource extends Google_Model
4317
  }
4318
  }
4319
 
4320
- class Google_Service_Books_Discoveryclusters extends Google_Collection
4321
  {
4322
  protected $collection_key = 'clusters';
4323
  protected $internal_gapi_mappings = array(
4324
  );
4325
- protected $clustersType = 'Google_Service_Books_DiscoveryclustersClusters';
4326
  protected $clustersDataType = 'array';
4327
  public $kind;
4328
  public $totalClusters;
@@ -4354,23 +4354,23 @@ class Google_Service_Books_Discoveryclusters extends Google_Collection
4354
  }
4355
  }
4356
 
4357
- class Google_Service_Books_DiscoveryclustersClusters extends Google_Collection
4358
  {
4359
  protected $collection_key = 'volumes';
4360
  protected $internal_gapi_mappings = array(
4361
  "bannerWithContentContainer" => "banner_with_content_container",
4362
  );
4363
- protected $bannerWithContentContainerType = 'Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer';
4364
  protected $bannerWithContentContainerDataType = '';
4365
  public $subTitle;
4366
  public $title;
4367
  public $totalVolumes;
4368
  public $uid;
4369
- protected $volumesType = 'Google_Service_Books_Volume';
4370
  protected $volumesDataType = 'array';
4371
 
4372
 
4373
- public function setBannerWithContentContainer(Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer $bannerWithContentContainer)
4374
  {
4375
  $this->bannerWithContentContainer = $bannerWithContentContainer;
4376
  }
@@ -4420,7 +4420,7 @@ class Google_Service_Books_DiscoveryclustersClusters extends Google_Collection
4420
  }
4421
  }
4422
 
4423
- class Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer extends Google_Model
4424
  {
4425
  protected $internal_gapi_mappings = array(
4426
  );
@@ -4482,7 +4482,7 @@ class Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer e
4482
  }
4483
  }
4484
 
4485
- class Google_Service_Books_DownloadAccessRestriction extends Google_Model
4486
  {
4487
  protected $internal_gapi_mappings = array(
4488
  );
@@ -4598,12 +4598,12 @@ class Google_Service_Books_DownloadAccessRestriction extends Google_Model
4598
  }
4599
  }
4600
 
4601
- class Google_Service_Books_DownloadAccesses extends Google_Collection
4602
  {
4603
  protected $collection_key = 'downloadAccessList';
4604
  protected $internal_gapi_mappings = array(
4605
  );
4606
- protected $downloadAccessListType = 'Google_Service_Books_DownloadAccessRestriction';
4607
  protected $downloadAccessListDataType = 'array';
4608
  public $kind;
4609
 
@@ -4626,18 +4626,18 @@ class Google_Service_Books_DownloadAccesses extends Google_Collection
4626
  }
4627
  }
4628
 
4629
- class Google_Service_Books_Geolayerdata extends Google_Model
4630
  {
4631
  protected $internal_gapi_mappings = array(
4632
  );
4633
- protected $commonType = 'Google_Service_Books_GeolayerdataCommon';
4634
  protected $commonDataType = '';
4635
- protected $geoType = 'Google_Service_Books_GeolayerdataGeo';
4636
  protected $geoDataType = '';
4637
  public $kind;
4638
 
4639
 
4640
- public function setCommon(Google_Service_Books_GeolayerdataCommon $common)
4641
  {
4642
  $this->common = $common;
4643
  }
@@ -4645,7 +4645,7 @@ class Google_Service_Books_Geolayerdata extends Google_Model
4645
  {
4646
  return $this->common;
4647
  }
4648
- public function setGeo(Google_Service_Books_Geolaye
26
  *
27
  * @author Google, Inc.
28
  */
29
+ class Forminator_Google_Service_Books extends Forminator_Google_Service
30
  {
31
  /** Manage your books. */
32
  const BOOKS =
60
  /**
61
  * Constructs the internal representation of the Books service.
62
  *
63
+ * @param Forminator_Google_Client $client
64
  */
65
+ public function __construct(Forminator_Google_Client $client)
66
  {
67
  parent::__construct($client);
68
  $this->rootUrl = 'https://www.googleapis.com/';
70
  $this->version = 'v1';
71
  $this->serviceName = 'books';
72
 
73
+ $this->bookshelves = new Forminator_Google_Service_Books_Bookshelves_Resource(
74
  $this,
75
  $this->serviceName,
76
  'bookshelves',
113
  )
114
  )
115
  );
116
+ $this->bookshelves_volumes = new Forminator_Google_Service_Books_BookshelvesVolumes_Resource(
117
  $this,
118
  $this->serviceName,
119
  'volumes',
154
  )
155
  )
156
  );
157
+ $this->cloudloading = new Forminator_Google_Service_Books_Cloudloading_Resource(
158
  $this,
159
  $this->serviceName,
160
  'cloudloading',
199
  )
200
  )
201
  );
202
+ $this->dictionary = new Forminator_Google_Service_Books_Dictionary_Resource(
203
  $this,
204
  $this->serviceName,
205
  'dictionary',
219
  )
220
  )
221
  );
222
+ $this->layers = new Forminator_Google_Service_Books_Layers_Resource(
223
  $this,
224
  $this->serviceName,
225
  'layers',
278
  )
279
  )
280
  );
281
+ $this->layers_annotationData = new Forminator_Google_Service_Books_LayersAnnotationData_Resource(
282
  $this,
283
  $this->serviceName,
284
  'annotationData',
398
  )
399
  )
400
  );
401
+ $this->layers_volumeAnnotations = new Forminator_Google_Service_Books_LayersVolumeAnnotations_Resource(
402
  $this,
403
  $this->serviceName,
404
  'volumeAnnotations',
504
  )
505
  )
506
  );
507
+ $this->myconfig = new Forminator_Google_Service_Books_Myconfig_Resource(
508
  $this,
509
  $this->serviceName,
510
  'myconfig',
621
  )
622
  )
623
  );
624
+ $this->mylibrary_annotations = new Forminator_Google_Service_Books_MylibraryAnnotations_Resource(
625
  $this,
626
  $this->serviceName,
627
  'annotations',
738
  )
739
  )
740
  );
741
+ $this->mylibrary_bookshelves = new Forminator_Google_Service_Books_MylibraryBookshelves_Resource(
742
  $this,
743
  $this->serviceName,
744
  'bookshelves',
855
  )
856
  )
857
  );
858
+ $this->mylibrary_bookshelves_volumes = new Forminator_Google_Service_Books_MylibraryBookshelvesVolumes_Resource(
859
  $this,
860
  $this->serviceName,
861
  'volumes',
903
  )
904
  )
905
  );
906
+ $this->mylibrary_readingpositions = new Forminator_Google_Service_Books_MylibraryReadingpositions_Resource(
907
  $this,
908
  $this->serviceName,
909
  'readingpositions',
967
  )
968
  )
969
  );
970
+ $this->notification = new Forminator_Google_Service_Books_Notification_Resource(
971
  $this,
972
  $this->serviceName,
973
  'notification',
995
  )
996
  )
997
  );
998
+ $this->onboarding = new Forminator_Google_Service_Books_Onboarding_Resource(
999
  $this,
1000
  $this->serviceName,
1001
  'onboarding',
1040
  )
1041
  )
1042
  );
1043
+ $this->personalizedstream = new Forminator_Google_Service_Books_Personalizedstream_Resource(
1044
  $this,
1045
  $this->serviceName,
1046
  'personalizedstream',
1067
  )
1068
  )
1069
  );
1070
+ $this->promooffer = new Forminator_Google_Service_Books_Promooffer_Resource(
1071
  $this,
1072
  $this->serviceName,
1073
  'promooffer',
1176
  )
1177
  )
1178
  );
1179
+ $this->series = new Forminator_Google_Service_Books_Series_Resource(
1180
  $this,
1181
  $this->serviceName,
1182
  'series',
1197
  )
1198
  )
1199
  );
1200
+ $this->series_membership = new Forminator_Google_Service_Books_SeriesMembership_Resource(
1201
  $this,
1202
  $this->serviceName,
1203
  'membership',
1225
  )
1226
  )
1227
  );
1228
+ $this->volumes = new Forminator_Google_Service_Books_Volumes_Resource(
1229
  $this,
1230
  $this->serviceName,
1231
  'volumes',
1327
  )
1328
  )
1329
  );
1330
+ $this->volumes_associated = new Forminator_Google_Service_Books_VolumesAssociated_Resource(
1331
  $this,
1332
  $this->serviceName,
1333
  'associated',
1363
  )
1364
  )
1365
  );
1366
+ $this->volumes_mybooks = new Forminator_Google_Service_Books_VolumesMybooks_Resource(
1367
  $this,
1368
  $this->serviceName,
1369
  'mybooks',
1404
  )
1405
  )
1406
  );
1407
+ $this->volumes_recommended = new Forminator_Google_Service_Books_VolumesRecommended_Resource(
1408
  $this,
1409
  $this->serviceName,
1410
  'recommended',
1454
  )
1455
  )
1456
  );
1457
+ $this->volumes_useruploaded = new Forminator_Google_Service_Books_VolumesUseruploaded_Resource(
1458
  $this,
1459
  $this->serviceName,
1460
  'useruploaded',
1503
  * The "bookshelves" collection of methods.
1504
  * Typical usage is:
1505
  * <code>
1506
+ * $booksService = new Forminator_Google_Service_Books(...);
1507
  * $bookshelves = $booksService->bookshelves;
1508
  * </code>
1509
  */
1510
+ class Forminator_Google_Service_Books_Bookshelves_Resource extends Forminator_Google_Service_Resource
1511
  {
1512
 
1513
  /**
1519
  * @param array $optParams Optional parameters.
1520
  *
1521
  * @opt_param string source String to identify the originator of this request.
1522
+ * @return Forminator_Google_Service_Books_Bookshelf
1523
  */
1524
  public function get($userId, $shelf, $optParams = array())
1525
  {
1526
  $params = array('userId' => $userId, 'shelf' => $shelf);
1527
  $params = array_merge($params, $optParams);
1528
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Bookshelf");
1529
  }
1530
 
1531
  /**
1536
  * @param array $optParams Optional parameters.
1537
  *
1538
  * @opt_param string source String to identify the originator of this request.
1539
+ * @return Forminator_Google_Service_Books_Bookshelves
1540
  */
1541
  public function listBookshelves($userId, $optParams = array())
1542
  {
1543
  $params = array('userId' => $userId);
1544
  $params = array_merge($params, $optParams);
1545
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Bookshelves");
1546
  }
1547
  }
1548
 
1550
  * The "volumes" collection of methods.
1551
  * Typical usage is:
1552
  * <code>
1553
+ * $booksService = new Forminator_Google_Service_Books(...);
1554
  * $volumes = $booksService->volumes;
1555
  * </code>
1556
  */
1557
+ class Forminator_Google_Service_Books_BookshelvesVolumes_Resource extends Forminator_Google_Service_Resource
1558
  {
1559
 
1560
  /**
1571
  * @opt_param string source String to identify the originator of this request.
1572
  * @opt_param string startIndex Index of the first element to return (starts at
1573
  * 0)
1574
+ * @return Forminator_Google_Service_Books_Volumes
1575
  */
1576
  public function listBookshelvesVolumes($userId, $shelf, $optParams = array())
1577
  {
1578
  $params = array('userId' => $userId, 'shelf' => $shelf);
1579
  $params = array_merge($params, $optParams);
1580
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Volumes");
1581
  }
1582
  }
1583
 
1585
  * The "cloudloading" collection of methods.
1586
  * Typical usage is:
1587
  * <code>
1588
+ * $booksService = new Forminator_Google_Service_Books(...);
1589
  * $cloudloading = $booksService->cloudloading;
1590
  * </code>
1591
  */
1592
+ class Forminator_Google_Service_Books_Cloudloading_Resource extends Forminator_Google_Service_Resource
1593
  {
1594
 
1595
  /**
1604
  * @opt_param string name The document name. It can be set only if the
1605
  * drive_document_id is set.
1606
  * @opt_param string upload_client_token
1607
+ * @return Forminator_Google_Service_Books_BooksCloudloadingResource
1608
  */
1609
  public function addBook($optParams = array())
1610
  {
1611
  $params = array();
1612
  $params = array_merge($params, $optParams);
1613
+ return $this->call('addBook', array($params), "Forminator_Google_Service_Books_BooksCloudloadingResource");
1614
  }
1615
 
1616
  /**
1629
  /**
1630
  * (cloudloading.updateBook)
1631
  *
1632
+ * @param Forminator_Google_BooksCloudloadingResource $postBody
1633
  * @param array $optParams Optional parameters.
1634
+ * @return Forminator_Google_Service_Books_BooksCloudloadingResource
1635
  */
1636
+ public function updateBook(Forminator_Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array())
1637
  {
1638
  $params = array('postBody' => $postBody);
1639
  $params = array_merge($params, $optParams);
1640
+ return $this->call('updateBook', array($params), "Forminator_Google_Service_Books_BooksCloudloadingResource");
1641
  }
1642
  }
1643
 
1645
  * The "dictionary" collection of methods.
1646
  * Typical usage is:
1647
  * <code>
1648
+ * $booksService = new Forminator_Google_Service_Books(...);
1649
  * $dictionary = $booksService->dictionary;
1650
  * </code>
1651
  */
1652
+ class Forminator_Google_Service_Books_Dictionary_Resource extends Forminator_Google_Service_Resource
1653
  {
1654
 
1655
  /**
1658
  *
1659
  * @param string $cpksver The device/version ID from which to request the data.
1660
  * @param array $optParams Optional parameters.
1661
+ * @return Forminator_Google_Service_Books_Metadata
1662
  */
1663
  public function listOfflineMetadata($cpksver, $optParams = array())
1664
  {
1665
  $params = array('cpksver' => $cpksver);
1666
  $params = array_merge($params, $optParams);
1667
+ return $this->call('listOfflineMetadata', array($params), "Forminator_Google_Service_Books_Metadata");
1668
  }
1669
  }
1670
 
1672
  * The "layers" collection of methods.
1673
  * Typical usage is:
1674
  * <code>
1675
+ * $booksService = new Forminator_Google_Service_Books(...);
1676
  * $layers = $booksService->layers;
1677
  * </code>
1678
  */
1679
+ class Forminator_Google_Service_Books_Layers_Resource extends Forminator_Google_Service_Resource
1680
  {
1681
 
1682
  /**
1689
  * @opt_param string contentVersion The content version for the requested
1690
  * volume.
1691
  * @opt_param string source String to identify the originator of this request.
1692
+ * @return Forminator_Google_Service_Books_Layersummary
1693
  */
1694
  public function get($volumeId, $summaryId, $optParams = array())
1695
  {
1696
  $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId);
1697
  $params = array_merge($params, $optParams);
1698
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Layersummary");
1699
  }
1700
 
1701
  /**
1710
  * @opt_param string pageToken The value of the nextToken from the previous
1711
  * page.
1712
  * @opt_param string source String to identify the originator of this request.
1713
+ * @return Forminator_Google_Service_Books_Layersummaries
1714
  */
1715
  public function listLayers($volumeId, $optParams = array())
1716
  {
1717
  $params = array('volumeId' => $volumeId);
1718
  $params = array_merge($params, $optParams);
1719
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Layersummaries");
1720
  }
1721
  }
1722
 
1724
  * The "annotationData" collection of methods.
1725
  * Typical usage is:
1726
  * <code>
1727
+ * $booksService = new Forminator_Google_Service_Books(...);
1728
  * $annotationData = $booksService->annotationData;
1729
  * </code>
1730
  */
1731
+ class Forminator_Google_Service_Books_LayersAnnotationData_Resource extends Forminator_Google_Service_Resource
1732
  {
1733
 
1734
  /**
1751
  * @opt_param string source String to identify the originator of this request.
1752
  * @opt_param int w The requested pixel width for any images. If width is
1753
  * provided height must also be provided.
1754
+ * @return Forminator_Google_Service_Books_Annotationdata
1755
  */
1756
  public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array())
1757
  {
1758
  $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion);
1759
  $params = array_merge($params, $optParams);
1760
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Annotationdata");
1761
  }
1762
 
1763
  /**
1786
  * since this timestamp (inclusive).
1787
  * @opt_param int w The requested pixel width for any images. If width is
1788
  * provided height must also be provided.
1789
+ * @return Forminator_Google_Service_Books_Annotationsdata
1790
  */
1791
  public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array())
1792
  {
1793
  $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1794
  $params = array_merge($params, $optParams);
1795
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Annotationsdata");
1796
  }
1797
  }
1798
  /**
1799
  * The "volumeAnnotations" collection of methods.
1800
  * Typical usage is:
1801
  * <code>
1802
+ * $booksService = new Forminator_Google_Service_Books(...);
1803
  * $volumeAnnotations = $booksService->volumeAnnotations;
1804
  * </code>
1805
  */
1806
+ class Forminator_Google_Service_Books_LayersVolumeAnnotations_Resource extends Forminator_Google_Service_Resource
1807
  {
1808
 
1809
  /**
1817
  * @opt_param string locale The locale information for the data. ISO-639-1
1818
  * language and ISO-3166-1 country code. Ex: 'en_US'.
1819
  * @opt_param string source String to identify the originator of this request.
1820
+ * @return Forminator_Google_Service_Books_Volumeannotation
1821
  */
1822
  public function get($volumeId, $layerId, $annotationId, $optParams = array())
1823
  {
1824
  $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId);
1825
  $params = array_merge($params, $optParams);
1826
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Volumeannotation");
1827
  }
1828
 
1829
  /**
1854
  * since this timestamp (inclusive).
1855
  * @opt_param string volumeAnnotationsVersion The version of the volume
1856
  * annotations that you are requesting.
1857
+ * @return Forminator_Google_Service_Books_Volumeannotations
1858
  */
1859
  public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array())
1860
  {
1861
  $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1862
  $params = array_merge($params, $optParams);
1863
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Volumeannotations");
1864
  }
1865
  }
1866
 
1868
  * The "myconfig" collection of methods.
1869
  * Typical usage is:
1870
  * <code>
1871
+ * $booksService = new Forminator_Google_Service_Books(...);
1872
  * $myconfig = $booksService->myconfig;
1873
  * </code>
1874
  */
1875
+ class Forminator_Google_Service_Books_Myconfig_Resource extends Forminator_Google_Service_Resource
1876
  {
1877
 
1878
  /**
1879
  * Gets the current settings for the user. (myconfig.getUserSettings)
1880
  *
1881
  * @param array $optParams Optional parameters.
1882
+ * @return Forminator_Google_Service_Books_Usersettings
1883
  */
1884
  public function getUserSettings($optParams = array())
1885
  {
1886
  $params = array();
1887
  $params = array_merge($params, $optParams);
1888
+ return $this->call('getUserSettings', array($params), "Forminator_Google_Service_Books_Usersettings");
1889
  }
1890
 
1891
  /**
1900
  * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1901
  * localization, i.e. en_US.
1902
  * @opt_param string source String to identify the originator of this request.
1903
+ * @return Forminator_Google_Service_Books_DownloadAccesses
1904
  */
1905
  public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array())
1906
  {
1907
  $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver);
1908
  $params = array_merge($params, $optParams);
1909
+ return $this->call('releaseDownloadAccess', array($params), "Forminator_Google_Service_Books_DownloadAccesses");
1910
  }
1911
 
1912
  /**
1924
  * specified, the default is BOTH.
1925
  * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1926
  * localization, i.e. en_US.
1927
+ * @return Forminator_Google_Service_Books_RequestAccess
1928
  */
1929
  public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array())
1930
  {
1931
  $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver);
1932
  $params = array_merge($params, $optParams);
1933
+ return $this->call('requestAccess', array($params), "Forminator_Google_Service_Books_RequestAccess");
1934
  }
1935
 
1936
  /**
1953
  * to false.
1954
  * @opt_param string volumeIds The volume(s) to request download restrictions
1955
  * for.
1956
+ * @return Forminator_Google_Service_Books_Volumes
1957
  */
1958
  public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array())
1959
  {
1960
  $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver);
1961
  $params = array_merge($params, $optParams);
1962
+ return $this->call('syncVolumeLicenses', array($params), "Forminator_Google_Service_Books_Volumes");
1963
  }
1964
 
1965
  /**
1967
  * overwrite the existing sub-object stored in the server. Unspecified sub-
1968
  * objects will retain the existing value. (myconfig.updateUserSettings)
1969
  *
1970
+ * @param Forminator_Google_Usersettings $postBody
1971
  * @param array $optParams Optional parameters.
1972
+ * @return Forminator_Google_Service_Books_Usersettings
1973
  */
1974
+ public function updateUserSettings(Forminator_Google_Service_Books_Usersettings $postBody, $optParams = array())
1975
  {
1976
  $params = array('postBody' => $postBody);
1977
  $params = array_merge($params, $optParams);
1978
+ return $this->call('updateUserSettings', array($params), "Forminator_Google_Service_Books_Usersettings");
1979
  }
1980
  }
1981
 
1983
  * The "mylibrary" collection of methods.
1984
  * Typical usage is:
1985
  * <code>
1986
+ * $booksService = new Forminator_Google_Service_Books(...);
1987
  * $mylibrary = $booksService->mylibrary;
1988
  * </code>
1989
  */
1990
+ class Forminator_Google_Service_Books_Mylibrary_Resource extends Forminator_Google_Service_Resource
1991
  {
1992
  }
1993
 
1995
  * The "annotations" collection of methods.
1996
  * Typical usage is:
1997
  * <code>
1998
+ * $booksService = new Forminator_Google_Service_Books(...);
1999
  * $annotations = $booksService->annotations;
2000
  * </code>
2001
  */
2002
+ class Forminator_Google_Service_Books_MylibraryAnnotations_Resource extends Forminator_Google_Service_Resource
2003
  {
2004
 
2005
  /**
2020
  /**
2021
  * Inserts a new annotation. (annotations.insert)
2022
  *
2023
+ * @param Forminator_Google_Annotation $postBody
2024
  * @param array $optParams Optional parameters.
2025
  *
2026
  * @opt_param string country ISO-3166-1 code to override the IP-based location.
2027
  * @opt_param bool showOnlySummaryInResponse Requests that only the summary of
2028
  * the specified layer be provided in the response.
2029
  * @opt_param string source String to identify the originator of this request.
2030
+ * @return Forminator_Google_Service_Books_Annotation
2031
  */
2032
+ public function insert(Forminator_Google_Service_Books_Annotation $postBody, $optParams = array())
2033
  {
2034
  $params = array('postBody' => $postBody);
2035
  $params = array_merge($params, $optParams);
2036
+ return $this->call('insert', array($params), "Forminator_Google_Service_Books_Annotation");
2037
  }
2038
 
2039
  /**
2057
  * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
2058
  * since this timestamp (inclusive).
2059
  * @opt_param string volumeId The volume to restrict annotations to.
2060
+ * @return Forminator_Google_Service_Books_Annotations
2061
  */
2062
  public function listMylibraryAnnotations($optParams = array())
2063
  {
2064
  $params = array();
2065
  $params = array_merge($params, $optParams);
2066
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Annotations");
2067
  }
2068
 
2069
  /**
2072
  * @param string $layerIds Array of layer IDs to get the summary for.
2073
  * @param string $volumeId Volume id to get the summary for.
2074
  * @param array $optParams Optional parameters.
2075
+ * @return Forminator_Google_Service_Books_AnnotationsSummary
2076
  */
2077
  public function summary($layerIds, $volumeId, $optParams = array())
2078
  {
2079
  $params = array('layerIds' => $layerIds, 'volumeId' => $volumeId);
2080
  $params = array_merge($params, $optParams);
2081
+ return $this->call('summary', array($params), "Forminator_Google_Service_Books_AnnotationsSummary");
2082
  }
2083
 
2084
  /**
2085
  * Updates an existing annotation. (annotations.update)
2086
  *
2087
  * @param string $annotationId The ID for the annotation to update.
2088
+ * @param Forminator_Google_Annotation $postBody
2089
  * @param array $optParams Optional parameters.
2090
  *
2091
  * @opt_param string source String to identify the originator of this request.
2092
+ * @return Forminator_Google_Service_Books_Annotation
2093
  */
2094
+ public function update($annotationId, Forminator_Google_Service_Books_Annotation $postBody, $optParams = array())
2095
  {
2096
  $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
2097
  $params = array_merge($params, $optParams);
2098
+ return $this->call('update', array($params), "Forminator_Google_Service_Books_Annotation");
2099
  }
2100
  }
2101
  /**
2102
  * The "bookshelves" collection of methods.
2103
  * Typical usage is:
2104
  * <code>
2105
+ * $booksService = new Forminator_Google_Service_Books(...);
2106
  * $bookshelves = $booksService->bookshelves;
2107
  * </code>
2108
  */
2109
+ class Forminator_Google_Service_Books_MylibraryBookshelves_Resource extends Forminator_Google_Service_Resource
2110
  {
2111
 
2112
  /**
2150
  * @param array $optParams Optional parameters.
2151
  *
2152
  * @opt_param string source String to identify the originator of this request.
2153
+ * @return Forminator_Google_Service_Books_Bookshelf
2154
  */
2155
  public function get($shelf, $optParams = array())
2156
  {
2157
  $params = array('shelf' => $shelf);
2158
  $params = array_merge($params, $optParams);
2159
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Bookshelf");
2160
  }
2161
 
2162
  /**
2166
  * @param array $optParams Optional parameters.
2167
  *
2168
  * @opt_param string source String to identify the originator of this request.
2169
+ * @return Forminator_Google_Service_Books_Bookshelves
2170
  */
2171
  public function listMylibraryBookshelves($optParams = array())
2172
  {
2173
  $params = array();
2174
  $params = array_merge($params, $optParams);
2175
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Bookshelves");
2176
  }
2177
 
2178
  /**
2217
  * The "volumes" collection of methods.
2218
  * Typical usage is:
2219
  * <code>
2220
+ * $booksService = new Forminator_Google_Service_Books(...);
2221
  * $volumes = $booksService->volumes;
2222
  * </code>
2223
  */
2224
+ class Forminator_Google_Service_Books_MylibraryBookshelvesVolumes_Resource extends Forminator_Google_Service_Resource
2225
  {
2226
 
2227
  /**
2241
  * @opt_param string source String to identify the originator of this request.
2242
  * @opt_param string startIndex Index of the first element to return (starts at
2243
  * 0)
2244
+ * @return Forminator_Google_Service_Books_Volumes
2245
  */
2246
  public function listMylibraryBookshelvesVolumes($shelf, $optParams = array())
2247
  {
2248
  $params = array('shelf' => $shelf);
2249
  $params = array_merge($params, $optParams);
2250
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Volumes");
2251
  }
2252
  }
2253
  /**
2254
  * The "readingpositions" collection of methods.
2255
  * Typical usage is:
2256
  * <code>
2257
+ * $booksService = new Forminator_Google_Service_Books(...);
2258
  * $readingpositions = $booksService->readingpositions;
2259
  * </code>
2260
  */
2261
+ class Forminator_Google_Service_Books_MylibraryReadingpositions_Resource extends Forminator_Google_Service_Resource
2262
  {
2263
 
2264
  /**
2272
  * @opt_param string contentVersion Volume content version for which this
2273
  * reading position is requested.
2274
  * @opt_param string source String to identify the originator of this request.
2275
+ * @return Forminator_Google_Service_Books_ReadingPosition
2276
  */
2277
  public function get($volumeId, $optParams = array())
2278
  {
2279
  $params = array('volumeId' => $volumeId);
2280
  $params = array_merge($params, $optParams);
2281
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_ReadingPosition");
2282
  }
2283
 
2284
  /**
2311
  * The "notification" collection of methods.
2312
  * Typical usage is:
2313
  * <code>
2314
+ * $booksService = new Forminator_Google_Service_Books(...);
2315
  * $notification = $booksService->notification;
2316
  * </code>
2317
  */
2318
+ class Forminator_Google_Service_Books_Notification_Resource extends Forminator_Google_Service_Resource
2319
  {
2320
 
2321
  /**
2327
  * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2328
  * 'en_US'. Used for generating notification title and body.
2329
  * @opt_param string source String to identify the originator of this request.
2330
+ * @return Forminator_Google_Service_Books_Notification
2331
  */
2332
  public function get($notificationId, $optParams = array())
2333
  {
2334
  $params = array('notification_id' => $notificationId);
2335
  $params = array_merge($params, $optParams);
2336
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Notification");
2337
  }
2338
  }
2339
 
2341
  * The "onboarding" collection of methods.
2342
  * Typical usage is:
2343
  * <code>
2344
+ * $booksService = new Forminator_Google_Service_Books(...);
2345
  * $onboarding = $booksService->onboarding;
2346
  * </code>
2347
  */
2348
+ class Forminator_Google_Service_Books_Onboarding_Resource extends Forminator_Google_Service_Resource
2349
  {
2350
 
2351
  /**
2355
  *
2356
  * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
2357
  * Default is en-US if unset.
2358
+ * @return Forminator_Google_Service_Books_Category
2359
  */
2360
  public function listCategories($optParams = array())
2361
  {
2362
  $params = array();
2363
  $params = array_merge($params, $optParams);
2364
+ return $this->call('listCategories', array($params), "Forminator_Google_Service_Books_Category");
2365
  }
2366
 
2367
  /**
2380
  * in the response.
2381
  * @opt_param string pageToken The value of the nextToken from the previous
2382
  * page.
2383
+ * @return Forminator_Google_Service_Books_Volume2
2384
  */
2385
  public function listCategoryVolumes($optParams = array())
2386
  {
2387
  $params = array();
2388
  $params = array_merge($params, $optParams);
2389
+ return $this->call('listCategoryVolumes', array($params), "Forminator_Google_Service_Books_Volume2");
2390
  }
2391
  }
2392
 
2394
  * The "personalizedstream" collection of methods.
2395
  * Typical usage is:
2396
  * <code>
2397
+ * $booksService = new Forminator_Google_Service_Books(...);
2398
  * $personalizedstream = $booksService->personalizedstream;
2399
  * </code>
2400
  */
2401
+ class Forminator_Google_Service_Books_Personalizedstream_Resource extends Forminator_Google_Service_Resource
2402
  {
2403
 
2404
  /**
2412
  * rating of returned recommendations. Books with a higher maturity rating are
2413
  * filtered out.
2414
  * @opt_param string source String to identify the originator of this request.
2415
+ * @return Forminator_Google_Service_Books_Discoveryclusters
2416
  */
2417
  public function get($optParams = array())
2418
  {
2419
  $params = array();
2420
  $params = array_merge($params, $optParams);
2421
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Discoveryclusters");
2422
  }
2423
  }
2424
 
2426
  * The "promooffer" collection of methods.
2427
  * Typical usage is:
2428
  * <code>
2429
+ * $booksService = new Forminator_Google_Service_Books(...);
2430
  * $promooffer = $booksService->promooffer;
2431
  * </code>
2432
  */
2433
+ class Forminator_Google_Service_Books_Promooffer_Resource extends Forminator_Google_Service_Resource
2434
  {
2435
 
2436
  /**
2485
  * @opt_param string model device model
2486
  * @opt_param string product device product
2487
  * @opt_param string serial device serial
2488
+ * @return Forminator_Google_Service_Books_Offers
2489
  */
2490
  public function get($optParams = array())
2491
  {
2492
  $params = array();
2493
  $params = array_merge($params, $optParams);
2494
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Offers");
2495
  }
2496
  }
2497
 
2499
  * The "series" collection of methods.
2500
  * Typical usage is:
2501
  * <code>
2502
+ * $booksService = new Forminator_Google_Service_Books(...);
2503
  * $series = $booksService->series;
2504
  * </code>
2505
  */
2506
+ class Forminator_Google_Service_Books_Series_Resource extends Forminator_Google_Service_Resource
2507
  {
2508
 
2509
  /**
2511
  *
2512
  * @param string $seriesId String that identifies the series
2513
  * @param array $optParams Optional parameters.
2514
+ * @return Forminator_Google_Service_Books_Series
2515
  */
2516
  public function get($seriesId, $optParams = array())
2517
  {
2518
  $params = array('series_id' => $seriesId);
2519
  $params = array_merge($params, $optParams);
2520
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Series");
2521
  }
2522
  }
2523
 
2525
  * The "membership" collection of methods.
2526
  * Typical usage is:
2527
  * <code>
2528
+ * $booksService = new Forminator_Google_Service_Books(...);
2529
  * $membership = $booksService->membership;
2530
  * </code>
2531
  */
2532
+ class Forminator_Google_Service_Books_SeriesMembership_Resource extends Forminator_Google_Service_Resource
2533
  {
2534
 
2535
  /**
2542
  * in the response.
2543
  * @opt_param string page_token The value of the nextToken from the previous
2544
  * page.
2545
+ * @return Forminator_Google_Service_Books_Seriesmembership
2546
  */
2547
  public function get($seriesId, $optParams = array())
2548
  {
2549
  $params = array('series_id' => $seriesId);
2550
  $params = array_merge($params, $optParams);
2551
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Seriesmembership");
2552
  }
2553
  }
2554
 
2556
  * The "volumes" collection of methods.
2557
  * Typical usage is:
2558
  * <code>
2559
+ * $booksService = new Forminator_Google_Service_Books(...);
2560
  * $volumes = $booksService->volumes;
2561
  * </code>
2562
  */
2563
+ class Forminator_Google_Service_Books_Volumes_Resource extends Forminator_Google_Service_Resource
2564
  {
2565
 
2566
  /**
2577
  * selected fields.
2578
  * @opt_param string source String to identify the originator of this request.
2579
  * @opt_param bool user_library_consistent_read
2580
+ * @return Forminator_Google_Service_Books_Volume
2581
  */
2582
  public function get($volumeId, $optParams = array())
2583
  {
2584
  $params = array('volumeId' => $volumeId);
2585
  $params = array_merge($params, $optParams);
2586
+ return $this->call('get', array($params), "Forminator_Google_Service_Books_Volume");
2587
  }
2588
 
2589
  /**
2608
  * @opt_param string source String to identify the originator of this request.
2609
  * @opt_param string startIndex Index of the first result to return (starts at
2610
  * 0)
2611
+ * @return Forminator_Google_Service_Books_Volumes
2612
  */
2613
  public function listVolumes($q, $optParams = array())
2614
  {
2615
  $params = array('q' => $q);
2616
  $params = array_merge($params, $optParams);
2617
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Volumes");
2618
  }
2619
  }
2620
 
2622
  * The "associated" collection of methods.
2623
  * Typical usage is:
2624
  * <code>
2625
+ * $booksService = new Forminator_Google_Service_Books(...);
2626
  * $associated = $booksService->associated;
2627
  * </code>
2628
  */
2629
+ class Forminator_Google_Service_Books_VolumesAssociated_Resource extends Forminator_Google_Service_Resource
2630
  {
2631
 
2632
  /**
2642
  * rating of returned recommendations. Books with a higher maturity rating are
2643
  * filtered out.
2644
  * @opt_param string source String to identify the originator of this request.
2645
+ * @return Forminator_Google_Service_Books_Volumes
2646
  */
2647
  public function listVolumesAssociated($volumeId, $optParams = array())
2648
  {
2649
  $params = array('volumeId' => $volumeId);
2650
  $params = array_merge($params, $optParams);
2651
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Volumes");
2652
  }
2653
  }
2654
  /**
2655
  * The "mybooks" collection of methods.
2656
  * Typical usage is:
2657
  * <code>
2658
+ * $booksService = new Forminator_Google_Service_Books(...);
2659
  * $mybooks = $booksService->mybooks;
2660
  * </code>
2661
  */
2662
+ class Forminator_Google_Service_Books_VolumesMybooks_Resource extends Forminator_Google_Service_Resource
2663
  {
2664
 
2665
  /**
2677
  * @opt_param string source String to identify the originator of this request.
2678
  * @opt_param string startIndex Index of the first result to return (starts at
2679
  * 0)
2680
+ * @return Forminator_Google_Service_Books_Volumes
2681
  */
2682
  public function listVolumesMybooks($optParams = array())
2683
  {
2684
  $params = array();
2685
  $params = array_merge($params, $optParams);
2686
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Volumes");
2687
  }
2688
  }
2689
  /**
2690
  * The "recommended" collection of methods.
2691
  * Typical usage is:
2692
  * <code>
2693
+ * $booksService = new Forminator_Google_Service_Books(...);
2694
  * $recommended = $booksService->recommended;
2695
  * </code>
2696
  */
2697
+ class Forminator_Google_Service_Books_VolumesRecommended_Resource extends Forminator_Google_Service_Resource
2698
  {
2699
 
2700
  /**
2709
  * rating of returned recommendations. Books with a higher maturity rating are
2710
  * filtered out.
2711
  * @opt_param string source String to identify the originator of this request.
2712
+ * @return Forminator_Google_Service_Books_Volumes
2713
  */
2714
  public function listVolumesRecommended($optParams = array())
2715
  {
2716
  $params = array();
2717
  $params = array_merge($params, $optParams);
2718
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Volumes");
2719
  }
2720
 
2721
  /**
2728
  * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2729
  * 'en_US'. Used for generating recommendations.
2730
  * @opt_param string source String to identify the originator of this request.
2731
+ * @return Forminator_Google_Service_Books_BooksVolumesRecommendedRateResponse
2732
  */
2733
  public function rate($rating, $volumeId, $optParams = array())
2734
  {
2735
  $params = array('rating' => $rating, 'volumeId' => $volumeId);
2736
  $params = array_merge($params, $optParams);
2737
+ return $this->call('rate', array($params), "Forminator_Google_Service_Books_BooksVolumesRecommendedRateResponse");
2738
  }
2739
  }
2740
  /**
2741
  * The "useruploaded" collection of methods.
2742
  * Typical usage is:
2743
  * <code>
2744
+ * $booksService = new Forminator_Google_Service_Books(...);
2745
  * $useruploaded = $booksService->useruploaded;
2746
  * </code>
2747
  */
2748
+ class Forminator_Google_Service_Books_VolumesUseruploaded_Resource extends Forminator_Google_Service_Resource
2749
  {
2750
 
2751
  /**
2764
  * 0)
2765
  * @opt_param string volumeId The ids of the volumes to be returned. If not
2766
  * specified all that match the processingState are returned.
2767
+ * @return Forminator_Google_Service_Books_Volumes
2768
  */
2769
  public function listVolumesUseruploaded($optParams = array())
2770
  {
2771
  $params = array();
2772
  $params = array_merge($params, $optParams);
2773
+ return $this->call('list', array($params), "Forminator_Google_Service_Books_Volumes");
2774
  }
2775
  }
2776
 
2777
 
2778
 
2779
 
2780
+ class Forminator_Google_Service_Books_Annotation extends Forminator_Google_Collection
2781
  {
2782
  protected $collection_key = 'pageIds';
2783
  protected $internal_gapi_mappings = array(
2784
  );
2785
  public $afterSelectedText;
2786
  public $beforeSelectedText;
2787
+ protected $clientVersionRangesType = 'Forminator_Google_Service_Books_AnnotationClientVersionRanges';
2788
  protected $clientVersionRangesDataType = '';
2789
  public $created;
2790
+ protected $currentVersionRangesType = 'Forminator_Google_Service_Books_AnnotationCurrentVersionRanges';
2791
  protected $currentVersionRangesDataType = '';
2792
  public $data;
2793
  public $deleted;
2795
  public $id;
2796
  public $kind;
2797
  public $layerId;
2798
+ protected $layerSummaryType = 'Forminator_Google_Service_Books_AnnotationLayerSummary';
2799
  protected $layerSummaryDataType = '';
2800
  public $pageIds;
2801
  public $selectedText;
2820
  {
2821
  return $this->beforeSelectedText;
2822
  }
2823
+ public function setClientVersionRanges(Forminator_Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
2824
  {
2825
  $this->clientVersionRanges = $clientVersionRanges;
2826
  }
2836
  {
2837
  return $this->created;
2838
  }
2839
+ public function setCurrentVersionRanges(Forminator_Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
2840
  {
2841
  $this->currentVersionRanges = $currentVersionRanges;
2842
  }
2892
  {
2893
  return $this->layerId;
2894
  }
2895
+ public function setLayerSummary(Forminator_Google_Service_Books_AnnotationLayerSummary $layerSummary)
2896
  {
2897
  $this->layerSummary = $layerSummary;
2898
  }
2942
  }
2943
  }
2944
 
2945
+ class Forminator_Google_Service_Books_AnnotationClientVersionRanges extends Forminator_Google_Model
2946
  {
2947
  protected $internal_gapi_mappings = array(
2948
  );
2949
+ protected $cfiRangeType = 'Forminator_Google_Service_Books_BooksAnnotationsRange';
2950
  protected $cfiRangeDataType = '';
2951
  public $contentVersion;
2952
+ protected $gbImageRangeType = 'Forminator_Google_Service_Books_BooksAnnotationsRange';
2953
  protected $gbImageRangeDataType = '';
2954
+ protected $gbTextRangeType = 'Forminator_Google_Service_Books_BooksAnnotationsRange';
2955
  protected $gbTextRangeDataType = '';
2956
+ protected $imageCfiRangeType = 'Forminator_Google_Service_Books_BooksAnnotationsRange';
2957
  protected $imageCfiRangeDataType = '';
2958
 
2959
 
2960
+ public function setCfiRange(Forminator_Google_Service_Books_BooksAnnotationsRange $cfiRange)
2961
  {
2962
  $this->cfiRange = $cfiRange;
2963
  }
2973
  {
2974
  return $this->contentVersion;
2975
  }
2976
+ public function setGbImageRange(Forminator_Google_Service_Books_BooksAnnotationsRange $gbImageRange)
2977
  {
2978
  $this->gbImageRange = $gbImageRange;
2979
  }
2981
  {
2982
  return $this->gbImageRange;
2983
  }
2984
+ public function setGbTextRange(Forminator_Google_Service_Books_BooksAnnotationsRange $gbTextRange)
2985
  {
2986
  $this->gbTextRange = $gbTextRange;
2987
  }
2989
  {
2990
  return $this->gbTextRange;
2991
  }
2992
+ public function setImageCfiRange(Forminator_Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
2993
  {
2994
  $this->imageCfiRange = $imageCfiRange;
2995
  }
2999
  }
3000
  }
3001
 
3002
+ class Forminator_Google_Service_Books_AnnotationCurrentVersionRanges extends Forminator_Google_Model
3003
  {
3004
  protected $internal_gapi_mappings = array(
3005
  );
3006
+ protected $cfiRangeType = 'Forminator_Google_Service_Books_BooksAnnotationsRange';
3007
  protected $cfiRangeDataType = '';
3008
  public $contentVersion;
3009
+ protected $gbImageRangeType = 'Forminator_Google_Service_Books_BooksAnnotationsRange';
3010
  protected $gbImageRangeDataType = '';
3011
+ protected $gbTextRangeType = 'Forminator_Google_Service_Books_BooksAnnotationsRange';
3012
  protected $gbTextRangeDataType = '';
3013
+ protected $imageCfiRangeType = 'Forminator_Google_Service_Books_BooksAnnotationsRange';
3014
  protected $imageCfiRangeDataType = '';
3015
 
3016
 
3017
+ public function setCfiRange(Forminator_Google_Service_Books_BooksAnnotationsRange $cfiRange)
3018
  {
3019
  $this->cfiRange = $cfiRange;
3020
  }
3030
  {
3031
  return $this->contentVersion;
3032
  }
3033
+ public function setGbImageRange(Forminator_Google_Service_Books_BooksAnnotationsRange $gbImageRange)
3034
  {
3035
  $this->gbImageRange = $gbImageRange;
3036
  }
3038
  {
3039
  return $this->gbImageRange;
3040
  }
3041
+ public function setGbTextRange(Forminator_Google_Service_Books_BooksAnnotationsRange $gbTextRange)
3042
  {
3043
  $this->gbTextRange = $gbTextRange;
3044
  }
3046
  {
3047
  return $this->gbTextRange;
3048
  }
3049
+ public function setImageCfiRange(Forminator_Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
3050
  {
3051
  $this->imageCfiRange = $imageCfiRange;
3052
  }
3056
  }
3057
  }
3058
 
3059
+ class Forminator_Google_Service_Books_AnnotationLayerSummary extends Forminator_Google_Model
3060
  {
3061
  protected $internal_gapi_mappings = array(
3062
  );
3091
  }
3092
  }
3093
 
3094
+ class Forminator_Google_Service_Books_Annotationdata extends Forminator_Google_Model
3095
  {
3096
  protected $internal_gapi_mappings = array(
3097
  "encodedData" => "encoded_data",
3181
  }
3182
  }
3183
 
3184
+ class Forminator_Google_Service_Books_Annotations extends Forminator_Google_Collection
3185
  {
3186
  protected $collection_key = 'items';
3187
  protected $internal_gapi_mappings = array(
3188
  );
3189
+ protected $itemsType = 'Forminator_Google_Service_Books_Annotation';
3190
  protected $itemsDataType = 'array';
3191
  public $kind;
3192
  public $nextPageToken;
3227
  }
3228
  }
3229
 
3230
+ class Forminator_Google_Service_Books_AnnotationsSummary extends Forminator_Google_Collection
3231
  {
3232
  protected $collection_key = 'layers';
3233
  protected $internal_gapi_mappings = array(
3234
  );
3235
  public $kind;
3236
+ protected $layersType = 'Forminator_Google_Service_Books_AnnotationsSummaryLayers';
3237
  protected $layersDataType = 'array';
3238
 
3239
 
3255
  }
3256
  }
3257
 
3258
+ class Forminator_Google_Service_Books_AnnotationsSummaryLayers extends Forminator_Google_Model
3259
  {
3260
  protected $internal_gapi_mappings = array(
3261
  );
3308
  }
3309
  }
3310
 
3311
+ class Forminator_Google_Service_Books_Annotationsdata extends Forminator_Google_Collection
3312
  {
3313
  protected $collection_key = 'items';
3314
  protected $internal_gapi_mappings = array(
3315
  );
3316
+ protected $itemsType = 'Forminator_Google_Service_Books_Annotationdata';
3317
  protected $itemsDataType = 'array';
3318
  public $kind;
3319
  public $nextPageToken;
3354
  }
3355
  }
3356
 
3357
+ class Forminator_Google_Service_Books_BooksAnnotationsRange extends Forminator_Google_Model
3358
  {
3359
  protected $internal_gapi_mappings = array(
3360
  );
3398
  }
3399
  }
3400
 
3401
+ class Forminator_Google_Service_Books_BooksCloudloadingResource extends Forminator_Google_Model
3402
  {
3403
  protected $internal_gapi_mappings = array(
3404
  );
3442
  }
3443
  }
3444
 
3445
+ class Forminator_Google_Service_Books_BooksVolumesRecommendedRateResponse extends Forminator_Google_Model
3446
  {
3447
  protected $internal_gapi_mappings = array(
3448
  "consistencyToken" => "consistency_token",
3460
  }
3461
  }
3462
 
3463
+ class Forminator_Google_Service_Books_Bookshelf extends Forminator_Google_Model
3464
  {
3465
  protected $internal_gapi_mappings = array(
3466
  );
3558
  }
3559
  }
3560
 
3561
+ class Forminator_Google_Service_Books_Bookshelves extends Forminator_Google_Collection
3562
  {
3563
  protected $collection_key = 'items';
3564
  protected $internal_gapi_mappings = array(
3565
  );
3566
+ protected $itemsType = 'Forminator_Google_Service_Books_Bookshelf';
3567
  protected $itemsDataType = 'array';
3568
  public $kind;
3569
 
3586
  }
3587
  }
3588
 
3589
+ class Forminator_Google_Service_Books_Category extends Forminator_Google_Collection
3590
  {
3591
  protected $collection_key = 'items';
3592
  protected $internal_gapi_mappings = array(
3593
  );
3594
+ protected $itemsType = 'Forminator_Google_Service_Books_CategoryItems';
3595
  protected $itemsDataType = 'array';
3596
  public $kind;
3597
 
3614
  }
3615
  }
3616
 
3617
+ class Forminator_Google_Service_Books_CategoryItems extends Forminator_Google_Model
3618
  {
3619
  protected $internal_gapi_mappings = array(
3620
  );
3649
  }
3650
  }
3651
 
3652
+ class Forminator_Google_Service_Books_ConcurrentAccessRestriction extends Forminator_Google_Model
3653
  {
3654
  protected $internal_gapi_mappings = array(
3655
  );
3756
  }
3757
  }
3758
 
3759
+ class Forminator_Google_Service_Books_Dictlayerdata extends Forminator_Google_Model
3760
  {
3761
  protected $internal_gapi_mappings = array(
3762
  );
3763
+ protected $commonType = 'Forminator_Google_Service_Books_DictlayerdataCommon';
3764
  protected $commonDataType = '';
3765
+ protected $dictType = 'Forminator_Google_Service_Books_DictlayerdataDict';
3766
  protected $dictDataType = '';
3767
  public $kind;
3768
 
3769
 
3770
+ public function setCommon(Forminator_Google_Service_Books_DictlayerdataCommon $common)
3771
  {
3772
  $this->common = $common;
3773
  }
3775
  {
3776
  return $this->common;
3777
  }
3778
+ public function setDict(Forminator_Google_Service_Books_DictlayerdataDict $dict)
3779
  {
3780
  $this->dict = $dict;
3781
  }
3793
  }
3794
  }
3795
 
3796
+ class Forminator_Google_Service_Books_DictlayerdataCommon extends Forminator_Google_Model
3797
  {
3798
  protected $internal_gapi_mappings = array(
3799
  );
3810
  }
3811
  }
3812
 
3813
+ class Forminator_Google_Service_Books_DictlayerdataDict extends Forminator_Google_Collection
3814
  {
3815
  protected $collection_key = 'words';
3816
  protected $internal_gapi_mappings = array(
3817
  );
3818
+ protected $sourceType = 'Forminator_Google_Service_Books_DictlayerdataDictSource';
3819
  protected $sourceDataType = '';
3820
+ protected $wordsType = 'Forminator_Google_Service_Books_DictlayerdataDictWords';
3821
  protected $wordsDataType = 'array';
3822
 
3823
 
3824
+ public function setSource(Forminator_Google_Service_Books_DictlayerdataDictSource $source)
3825
  {
3826
  $this->source = $source;
3827
  }
3839
  }
3840
  }
3841
 
3842
+ class Forminator_Google_Service_Books_DictlayerdataDictSource extends Forminator_Google_Model
3843
  {
3844
  protected $internal_gapi_mappings = array(
3845
  );
3865
  }
3866
  }
3867
 
3868
+ class Forminator_Google_Service_Books_DictlayerdataDictWords extends Forminator_Google_Collection
3869
  {
3870
  protected $collection_key = 'senses';
3871
  protected $internal_gapi_mappings = array(
3872
  );
3873
+ protected $derivativesType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsDerivatives';
3874
  protected $derivativesDataType = 'array';
3875
+ protected $examplesType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsExamples';
3876
  protected $examplesDataType = 'array';
3877
+ protected $sensesType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsSenses';
3878
  protected $sensesDataType = 'array';
3879
+ protected $sourceType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsSource';
3880
  protected $sourceDataType = '';
3881
 
3882
 
3904
  {
3905
  return $this->senses;
3906
  }
3907
+ public function setSource(Forminator_Google_Service_Books_DictlayerdataDictWordsSource $source)
3908
  {
3909
  $this->source = $source;
3910
  }
3914
  }
3915
  }
3916
 
3917
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsDerivatives extends Forminator_Google_Model
3918
  {
3919
  protected $internal_gapi_mappings = array(
3920
  );
3921
+ protected $sourceType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsDerivativesSource';
3922
  protected $sourceDataType = '';
3923
  public $text;
3924
 
3925
 
3926
+ public function setSource(Forminator_Google_Service_Books_DictlayerdataDictWordsDerivativesSource $source)
3927
  {
3928
  $this->source = $source;
3929
  }
3941
  }
3942
  }
3943
 
3944
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Forminator_Google_Model
3945
  {
3946
  protected $internal_gapi_mappings = array(
3947
  );
3967
  }
3968
  }
3969
 
3970
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsExamples extends Forminator_Google_Model
3971
  {
3972
  protected $internal_gapi_mappings = array(
3973
  );
3974
+ protected $sourceType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsExamplesSource';
3975
  protected $sourceDataType = '';
3976
  public $text;
3977
 
3978
 
3979
+ public function setSource(Forminator_Google_Service_Books_DictlayerdataDictWordsExamplesSource $source)
3980
  {
3981
  $this->source = $source;
3982
  }
3994
  }
3995
  }
3996
 
3997
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Forminator_Google_Model
3998
  {
3999
  protected $internal_gapi_mappings = array(
4000
  );
4020
  }
4021
  }
4022
 
4023
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsSenses extends Forminator_Google_Collection
4024
  {
4025
  protected $collection_key = 'synonyms';
4026
  protected $internal_gapi_mappings = array(
4027
  );
4028
+ protected $conjugationsType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsSensesConjugations';
4029
  protected $conjugationsDataType = 'array';
4030
+ protected $definitionsType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsSensesDefinitions';
4031
  protected $definitionsDataType = 'array';
4032
  public $partOfSpeech;
4033
  public $pronunciation;
4034
  public $pronunciationUrl;
4035
+ protected $sourceType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsSensesSource';
4036
  protected $sourceDataType = '';
4037
  public $syllabification;
4038
+ protected $synonymsType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsSensesSynonyms';
4039
  protected $synonymsDataType = 'array';
4040
 
4041
 
4079
  {
4080
  return $this->pronunciationUrl;
4081
  }
4082
+ public function setSource(Forminator_Google_Service_Books_DictlayerdataDictWordsSensesSource $source)
4083
  {
4084
  $this->source = $source;
4085
  }
4105
  }
4106
  }
4107
 
4108
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Forminator_Google_Model
4109
  {
4110
  protected $internal_gapi_mappings = array(
4111
  );
4131
  }
4132
  }
4133
 
4134
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Forminator_Google_Collection
4135
  {
4136
  protected $collection_key = 'examples';
4137
  protected $internal_gapi_mappings = array(
4138
  );
4139
  public $definition;
4140
+ protected $examplesType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
4141
  protected $examplesDataType = 'array';
4142
 
4143
 
4159
  }
4160
  }
4161
 
4162
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends Forminator_Google_Model
4163
  {
4164
  protected $internal_gapi_mappings = array(
4165
  );
4166
+ protected $sourceType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
4167
  protected $sourceDataType = '';
4168
  public $text;
4169
 
4170
 
4171
+ public function setSource(Forminator_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
4172
  {
4173
  $this->source = $source;
4174
  }
4186
  }
4187
  }
4188
 
4189
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends Forminator_Google_Model
4190
  {
4191
  protected $internal_gapi_mappings = array(
4192
  );
4212
  }
4213
  }
4214
 
4215
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsSensesSource extends Forminator_Google_Model
4216
  {
4217
  protected $internal_gapi_mappings = array(
4218
  );
4238
  }
4239
  }
4240
 
4241
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Forminator_Google_Model
4242
  {
4243
  protected $internal_gapi_mappings = array(
4244
  );
4245
+ protected $sourceType = 'Forminator_Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
4246
  protected $sourceDataType = '';
4247
  public $text;
4248
 
4249
 
4250
+ public function setSource(Forminator_Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source)
4251
  {
4252
  $this->source = $source;
4253
  }
4265
  }
4266
  }
4267
 
4268
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Forminator_Google_Model
4269
  {
4270
  protected $internal_gapi_mappings = array(
4271
  );
4291
  }
4292
  }
4293
 
4294
+ class Forminator_Google_Service_Books_DictlayerdataDictWordsSource extends Forminator_Google_Model
4295
  {
4296
  protected $internal_gapi_mappings = array(
4297
  );
4317
  }
4318
  }
4319
 
4320
+ class Forminator_Google_Service_Books_Discoveryclusters extends Forminator_Google_Collection
4321
  {
4322
  protected $collection_key = 'clusters';
4323
  protected $internal_gapi_mappings = array(
4324
  );
4325
+ protected $clustersType = 'Forminator_Google_Service_Books_DiscoveryclustersClusters';
4326
  protected $clustersDataType = 'array';
4327
  public $kind;
4328
  public $totalClusters;
4354
  }
4355
  }
4356
 
4357
+ class Forminator_Google_Service_Books_DiscoveryclustersClusters extends Forminator_Google_Collection
4358
  {
4359
  protected $collection_key = 'volumes';
4360
  protected $internal_gapi_mappings = array(
4361
  "bannerWithContentContainer" => "banner_with_content_container",
4362
  );
4363
+ protected $bannerWithContentContainerType = 'Forminator_Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer';
4364
  protected $bannerWithContentContainerDataType = '';
4365
  public $subTitle;
4366
  public $title;
4367
  public $totalVolumes;
4368
  public $uid;
4369
+ protected $volumesType = 'Forminator_Google_Service_Books_Volume';
4370
  protected $volumesDataType = 'array';
4371
 
4372
 
4373
+ public function setBannerWithContentContainer(Forminator_Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer $bannerWithContentContainer)
4374
  {
4375
  $this->bannerWithContentContainer = $bannerWithContentContainer;
4376
  }
4420
  }
4421
  }
4422
 
4423
+ class Forminator_Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer extends Forminator_Google_Model
4424
  {
4425
  protected $internal_gapi_mappings = array(
4426
  );
4482
  }
4483
  }
4484
 
4485
+ class Forminator_Google_Service_Books_DownloadAccessRestriction extends Forminator_Google_Model
4486
  {
4487
  protected $internal_gapi_mappings = array(
4488
  );
4598
  }
4599
  }
4600
 
4601
+ class Forminator_Google_Service_Books_DownloadAccesses extends Forminator_Google_Collection
4602
  {
4603
  protected $collection_key = 'downloadAccessList';
4604
  protected $internal_gapi_mappings = array(
4605
  );
4606
+ protected $downloadAccessListType = 'Forminator_Google_Service_Books_DownloadAccessRestriction';
4607
  protected $downloadAccessListDataType = 'array';
4608
  public $kind;
4609
 
4626
  }
4627
  }
4628
 
4629
+ class Forminator_Google_Service_Books_Geolayerdata extends Forminator_Google_Model
4630
  {
4631
  protected $internal_gapi_mappings = array(
4632
  );
4633
+ protected $commonType = 'Forminator_Google_Service_Books_GeolayerdataCommon';
4634
  protected $commonDataType = '';
4635
+ protected $geoType = 'Forminator_Google_Service_Books_GeolayerdataGeo';
4636
  protected $geoDataType = '';
4637
  public $kind;
4638
 
4639
 
4640
+ public function setCommon(Forminator_Google_Service_Books_GeolayerdataCommon $common)
4641
  {
4642
  $this->common = $common;
4643
  }
4645
  {
4646
  return $this->common;
4647
  }