google-api-client 0.9.18 → 0.9.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -1
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +3 -3
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -2
  5. data/generated/google/apis/adsense_v1_4.rb +1 -1
  6. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  7. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -0
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  10. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  11. data/generated/google/apis/androidpublisher_v2/classes.rb +38 -0
  12. data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
  13. data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
  14. data/generated/google/apis/appsactivity_v1.rb +1 -1
  15. data/generated/google/apis/calendar_v3.rb +1 -1
  16. data/generated/google/apis/civicinfo_v2.rb +1 -1
  17. data/generated/google/apis/civicinfo_v2/classes.rb +118 -1
  18. data/generated/google/apis/civicinfo_v2/representations.rb +83 -0
  19. data/generated/google/apis/civicinfo_v2/service.rb +20 -5
  20. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  21. data/generated/google/apis/compute_beta.rb +1 -1
  22. data/generated/google/apis/compute_beta/classes.rb +4 -5
  23. data/generated/google/apis/compute_beta/service.rb +3 -1
  24. data/generated/google/apis/compute_v1.rb +1 -1
  25. data/generated/google/apis/compute_v1/classes.rb +4 -5
  26. data/generated/google/apis/datastore_v1.rb +1 -1
  27. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  28. data/generated/google/apis/genomics_v1/classes.rb +25 -25
  29. data/generated/google/apis/genomics_v1/representations.rb +11 -11
  30. data/generated/google/apis/genomics_v1/service.rb +30 -30
  31. data/generated/google/apis/logging_v2beta1.rb +1 -1
  32. data/generated/google/apis/logging_v2beta1/classes.rb +46 -31
  33. data/generated/google/apis/logging_v2beta1/representations.rb +5 -3
  34. data/generated/google/apis/monitoring_v3.rb +1 -1
  35. data/generated/google/apis/plus_domains_v1.rb +1 -1
  36. data/generated/google/apis/plus_v1.rb +1 -1
  37. data/generated/google/apis/sheets_v4.rb +1 -1
  38. data/generated/google/apis/sheets_v4/classes.rb +89 -1
  39. data/generated/google/apis/sheets_v4/representations.rb +53 -0
  40. data/generated/google/apis/sheets_v4/service.rb +164 -89
  41. data/generated/google/apis/speech_v1beta1.rb +1 -1
  42. data/generated/google/apis/storage_v1.rb +1 -1
  43. data/generated/google/apis/storage_v1/classes.rb +21 -5
  44. data/generated/google/apis/storage_v1/representations.rb +2 -0
  45. data/lib/google/apis/version.rb +1 -1
  46. metadata +2 -2
@@ -176,29 +176,15 @@ module Google
176
176
  execute_or_queue_command(command, &block)
177
177
  end
178
178
 
179
- # Appends values to a spreadsheet. The input range is used to search for
180
- # existing data and find a "table" within that range. Values will be
181
- # appended to the next row of the table, starting with the first column of
182
- # the table. See the
183
- # [guide](/sheets/guides/values#appending_values)
184
- # and
185
- # [sample code](/sheets/samples/writing#append_values)
186
- # for specific details of how tables are detected and data is appended.
187
- # The caller must specify the spreadsheet ID, range, and
188
- # a valueInputOption. The `valueInputOption` only
189
- # controls how the input data will be added to the sheet (column-wise or
190
- # row-wise), it does not influence what cell the data starts being written
191
- # to.
179
+ # Clears values from a spreadsheet.
180
+ # The caller must specify the spreadsheet ID and range.
181
+ # Only values are cleared -- all other properties of the cell (such as
182
+ # formatting, data validation, etc..) are kept.
192
183
  # @param [String] spreadsheet_id
193
184
  # The ID of the spreadsheet to update.
194
185
  # @param [String] range
195
- # The A1 notation of a range to search for a logical table of data.
196
- # Values will be appended after the last row of the table.
197
- # @param [Google::Apis::SheetsV4::ValueRange] value_range_object
198
- # @param [String] value_input_option
199
- # How the input data should be interpreted.
200
- # @param [String] insert_data_option
201
- # How the input data should be inserted.
186
+ # The A1 notation of the values to clear.
187
+ # @param [Google::Apis::SheetsV4::ClearValuesRequest] clear_values_request_object
202
188
  # @param [String] quota_user
203
189
  # Available to use for quota purposes for server-side applications. Can be any
204
190
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -208,39 +194,84 @@ module Google
208
194
  # Request-specific options
209
195
  #
210
196
  # @yield [result, err] Result & error if block supplied
211
- # @yieldparam result [Google::Apis::SheetsV4::AppendValuesResponse] parsed result object
197
+ # @yieldparam result [Google::Apis::SheetsV4::ClearValuesResponse] parsed result object
212
198
  # @yieldparam err [StandardError] error object if request failed
213
199
  #
214
- # @return [Google::Apis::SheetsV4::AppendValuesResponse]
200
+ # @return [Google::Apis::SheetsV4::ClearValuesResponse]
215
201
  #
216
202
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
217
203
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
218
204
  # @raise [Google::Apis::AuthorizationError] Authorization is required
219
- def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, insert_data_option: nil, quota_user: nil, fields: nil, options: nil, &block)
220
- command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options)
221
- command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
222
- command.request_object = value_range_object
223
- command.response_representation = Google::Apis::SheetsV4::AppendValuesResponse::Representation
224
- command.response_class = Google::Apis::SheetsV4::AppendValuesResponse
205
+ def clear_values(spreadsheet_id, range, clear_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
206
+ command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:clear', options)
207
+ command.request_representation = Google::Apis::SheetsV4::ClearValuesRequest::Representation
208
+ command.request_object = clear_values_request_object
209
+ command.response_representation = Google::Apis::SheetsV4::ClearValuesResponse::Representation
210
+ command.response_class = Google::Apis::SheetsV4::ClearValuesResponse
225
211
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
226
212
  command.params['range'] = range unless range.nil?
227
- command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
228
- command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil?
229
213
  command.query['quotaUser'] = quota_user unless quota_user.nil?
230
214
  command.query['fields'] = fields unless fields.nil?
231
215
  execute_or_queue_command(command, &block)
232
216
  end
233
217
 
234
- # Sets values in a range of a spreadsheet.
235
- # The caller must specify the spreadsheet ID, range, and
236
- # a valueInputOption.
218
+ # Returns one or more ranges of values from a spreadsheet.
219
+ # The caller must specify the spreadsheet ID and one or more ranges.
220
+ # @param [String] spreadsheet_id
221
+ # The ID of the spreadsheet to retrieve data from.
222
+ # @param [Array<String>, String] ranges
223
+ # The A1 notation of the values to retrieve.
224
+ # @param [String] value_render_option
225
+ # How values should be represented in the output.
226
+ # @param [String] date_time_render_option
227
+ # How dates, times, and durations should be represented in the output.
228
+ # This is ignored if value_render_option is
229
+ # FORMATTED_VALUE.
230
+ # @param [String] major_dimension
231
+ # The major dimension that results should use.
232
+ # For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
233
+ # then requesting `range=A1:B2,majorDimension=ROWS` will return
234
+ # `[[1,2],[3,4]]`,
235
+ # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
236
+ # `[[1,3],[2,4]]`.
237
+ # @param [String] quota_user
238
+ # Available to use for quota purposes for server-side applications. Can be any
239
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
240
+ # @param [String] fields
241
+ # Selector specifying which fields to include in a partial response.
242
+ # @param [Google::Apis::RequestOptions] options
243
+ # Request-specific options
244
+ #
245
+ # @yield [result, err] Result & error if block supplied
246
+ # @yieldparam result [Google::Apis::SheetsV4::BatchGetValuesResponse] parsed result object
247
+ # @yieldparam err [StandardError] error object if request failed
248
+ #
249
+ # @return [Google::Apis::SheetsV4::BatchGetValuesResponse]
250
+ #
251
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
252
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
253
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
254
+ def batch_get_spreadsheet_values(spreadsheet_id, ranges: nil, value_render_option: nil, date_time_render_option: nil, major_dimension: nil, quota_user: nil, fields: nil, options: nil, &block)
255
+ command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values:batchGet', options)
256
+ command.response_representation = Google::Apis::SheetsV4::BatchGetValuesResponse::Representation
257
+ command.response_class = Google::Apis::SheetsV4::BatchGetValuesResponse
258
+ command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
259
+ command.query['ranges'] = ranges unless ranges.nil?
260
+ command.query['valueRenderOption'] = value_render_option unless value_render_option.nil?
261
+ command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil?
262
+ command.query['majorDimension'] = major_dimension unless major_dimension.nil?
263
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
264
+ command.query['fields'] = fields unless fields.nil?
265
+ execute_or_queue_command(command, &block)
266
+ end
267
+
268
+ # Sets values in one or more ranges of a spreadsheet.
269
+ # The caller must specify the spreadsheet ID,
270
+ # a valueInputOption, and one or more
271
+ # ValueRanges.
237
272
  # @param [String] spreadsheet_id
238
273
  # The ID of the spreadsheet to update.
239
- # @param [String] range
240
- # The A1 notation of the values to update.
241
- # @param [Google::Apis::SheetsV4::ValueRange] value_range_object
242
- # @param [String] value_input_option
243
- # How the input data should be interpreted.
274
+ # @param [Google::Apis::SheetsV4::BatchUpdateValuesRequest] batch_update_values_request_object
244
275
  # @param [String] quota_user
245
276
  # Available to use for quota purposes for server-side applications. Can be any
246
277
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -250,23 +281,21 @@ module Google
250
281
  # Request-specific options
251
282
  #
252
283
  # @yield [result, err] Result & error if block supplied
253
- # @yieldparam result [Google::Apis::SheetsV4::UpdateValuesResponse] parsed result object
284
+ # @yieldparam result [Google::Apis::SheetsV4::BatchUpdateValuesResponse] parsed result object
254
285
  # @yieldparam err [StandardError] error object if request failed
255
286
  #
256
- # @return [Google::Apis::SheetsV4::UpdateValuesResponse]
287
+ # @return [Google::Apis::SheetsV4::BatchUpdateValuesResponse]
257
288
  #
258
289
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
259
290
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
260
291
  # @raise [Google::Apis::AuthorizationError] Authorization is required
261
- def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, quota_user: nil, fields: nil, options: nil, &block)
262
- command = make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options)
263
- command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
264
- command.request_object = value_range_object
265
- command.response_representation = Google::Apis::SheetsV4::UpdateValuesResponse::Representation
266
- command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse
292
+ def batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
293
+ command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate', options)
294
+ command.request_representation = Google::Apis::SheetsV4::BatchUpdateValuesRequest::Representation
295
+ command.request_object = batch_update_values_request_object
296
+ command.response_representation = Google::Apis::SheetsV4::BatchUpdateValuesResponse::Representation
297
+ command.response_class = Google::Apis::SheetsV4::BatchUpdateValuesResponse
267
298
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
268
- command.params['range'] = range unless range.nil?
269
- command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
270
299
  command.query['quotaUser'] = quota_user unless quota_user.nil?
271
300
  command.query['fields'] = fields unless fields.nil?
272
301
  execute_or_queue_command(command, &block)
@@ -322,25 +351,29 @@ module Google
322
351
  execute_or_queue_command(command, &block)
323
352
  end
324
353
 
325
- # Returns one or more ranges of values from a spreadsheet.
326
- # The caller must specify the spreadsheet ID and one or more ranges.
354
+ # Appends values to a spreadsheet. The input range is used to search for
355
+ # existing data and find a "table" within that range. Values will be
356
+ # appended to the next row of the table, starting with the first column of
357
+ # the table. See the
358
+ # [guide](/sheets/guides/values#appending_values)
359
+ # and
360
+ # [sample code](/sheets/samples/writing#append_values)
361
+ # for specific details of how tables are detected and data is appended.
362
+ # The caller must specify the spreadsheet ID, range, and
363
+ # a valueInputOption. The `valueInputOption` only
364
+ # controls how the input data will be added to the sheet (column-wise or
365
+ # row-wise), it does not influence what cell the data starts being written
366
+ # to.
327
367
  # @param [String] spreadsheet_id
328
- # The ID of the spreadsheet to retrieve data from.
329
- # @param [Array<String>, String] ranges
330
- # The A1 notation of the values to retrieve.
331
- # @param [String] value_render_option
332
- # How values should be represented in the output.
333
- # @param [String] date_time_render_option
334
- # How dates, times, and durations should be represented in the output.
335
- # This is ignored if value_render_option is
336
- # FORMATTED_VALUE.
337
- # @param [String] major_dimension
338
- # The major dimension that results should use.
339
- # For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
340
- # then requesting `range=A1:B2,majorDimension=ROWS` will return
341
- # `[[1,2],[3,4]]`,
342
- # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
343
- # `[[1,3],[2,4]]`.
368
+ # The ID of the spreadsheet to update.
369
+ # @param [String] range
370
+ # The A1 notation of a range to search for a logical table of data.
371
+ # Values will be appended after the last row of the table.
372
+ # @param [Google::Apis::SheetsV4::ValueRange] value_range_object
373
+ # @param [String] value_input_option
374
+ # How the input data should be interpreted.
375
+ # @param [String] insert_data_option
376
+ # How the input data should be inserted.
344
377
  # @param [String] quota_user
345
378
  # Available to use for quota purposes for server-side applications. Can be any
346
379
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -350,35 +383,39 @@ module Google
350
383
  # Request-specific options
351
384
  #
352
385
  # @yield [result, err] Result & error if block supplied
353
- # @yieldparam result [Google::Apis::SheetsV4::BatchGetValuesResponse] parsed result object
386
+ # @yieldparam result [Google::Apis::SheetsV4::AppendValuesResponse] parsed result object
354
387
  # @yieldparam err [StandardError] error object if request failed
355
388
  #
356
- # @return [Google::Apis::SheetsV4::BatchGetValuesResponse]
389
+ # @return [Google::Apis::SheetsV4::AppendValuesResponse]
357
390
  #
358
391
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
359
392
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
360
393
  # @raise [Google::Apis::AuthorizationError] Authorization is required
361
- def batch_get_spreadsheet_values(spreadsheet_id, ranges: nil, value_render_option: nil, date_time_render_option: nil, major_dimension: nil, quota_user: nil, fields: nil, options: nil, &block)
362
- command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values:batchGet', options)
363
- command.response_representation = Google::Apis::SheetsV4::BatchGetValuesResponse::Representation
364
- command.response_class = Google::Apis::SheetsV4::BatchGetValuesResponse
394
+ def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, insert_data_option: nil, quota_user: nil, fields: nil, options: nil, &block)
395
+ command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options)
396
+ command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
397
+ command.request_object = value_range_object
398
+ command.response_representation = Google::Apis::SheetsV4::AppendValuesResponse::Representation
399
+ command.response_class = Google::Apis::SheetsV4::AppendValuesResponse
365
400
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
366
- command.query['ranges'] = ranges unless ranges.nil?
367
- command.query['valueRenderOption'] = value_render_option unless value_render_option.nil?
368
- command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil?
369
- command.query['majorDimension'] = major_dimension unless major_dimension.nil?
401
+ command.params['range'] = range unless range.nil?
402
+ command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
403
+ command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil?
370
404
  command.query['quotaUser'] = quota_user unless quota_user.nil?
371
405
  command.query['fields'] = fields unless fields.nil?
372
406
  execute_or_queue_command(command, &block)
373
407
  end
374
408
 
375
- # Sets values in one or more ranges of a spreadsheet.
376
- # The caller must specify the spreadsheet ID,
377
- # a valueInputOption, and one or more
378
- # ValueRanges.
409
+ # Sets values in a range of a spreadsheet.
410
+ # The caller must specify the spreadsheet ID, range, and
411
+ # a valueInputOption.
379
412
  # @param [String] spreadsheet_id
380
413
  # The ID of the spreadsheet to update.
381
- # @param [Google::Apis::SheetsV4::BatchUpdateValuesRequest] batch_update_values_request_object
414
+ # @param [String] range
415
+ # The A1 notation of the values to update.
416
+ # @param [Google::Apis::SheetsV4::ValueRange] value_range_object
417
+ # @param [String] value_input_option
418
+ # How the input data should be interpreted.
382
419
  # @param [String] quota_user
383
420
  # Available to use for quota purposes for server-side applications. Can be any
384
421
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -388,20 +425,58 @@ module Google
388
425
  # Request-specific options
389
426
  #
390
427
  # @yield [result, err] Result & error if block supplied
391
- # @yieldparam result [Google::Apis::SheetsV4::BatchUpdateValuesResponse] parsed result object
428
+ # @yieldparam result [Google::Apis::SheetsV4::UpdateValuesResponse] parsed result object
392
429
  # @yieldparam err [StandardError] error object if request failed
393
430
  #
394
- # @return [Google::Apis::SheetsV4::BatchUpdateValuesResponse]
431
+ # @return [Google::Apis::SheetsV4::UpdateValuesResponse]
395
432
  #
396
433
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
397
434
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
398
435
  # @raise [Google::Apis::AuthorizationError] Authorization is required
399
- def batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
400
- command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate', options)
401
- command.request_representation = Google::Apis::SheetsV4::BatchUpdateValuesRequest::Representation
402
- command.request_object = batch_update_values_request_object
403
- command.response_representation = Google::Apis::SheetsV4::BatchUpdateValuesResponse::Representation
404
- command.response_class = Google::Apis::SheetsV4::BatchUpdateValuesResponse
436
+ def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, quota_user: nil, fields: nil, options: nil, &block)
437
+ command = make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options)
438
+ command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
439
+ command.request_object = value_range_object
440
+ command.response_representation = Google::Apis::SheetsV4::UpdateValuesResponse::Representation
441
+ command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse
442
+ command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
443
+ command.params['range'] = range unless range.nil?
444
+ command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
445
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
446
+ command.query['fields'] = fields unless fields.nil?
447
+ execute_or_queue_command(command, &block)
448
+ end
449
+
450
+ # Clears one or more ranges of values from a spreadsheet.
451
+ # The caller must specify the spreadsheet ID and one or more ranges.
452
+ # Only values are cleared -- all other properties of the cell (such as
453
+ # formatting, data validation, etc..) are kept.
454
+ # @param [String] spreadsheet_id
455
+ # The ID of the spreadsheet to update.
456
+ # @param [Google::Apis::SheetsV4::BatchClearValuesRequest] batch_clear_values_request_object
457
+ # @param [String] quota_user
458
+ # Available to use for quota purposes for server-side applications. Can be any
459
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
460
+ # @param [String] fields
461
+ # Selector specifying which fields to include in a partial response.
462
+ # @param [Google::Apis::RequestOptions] options
463
+ # Request-specific options
464
+ #
465
+ # @yield [result, err] Result & error if block supplied
466
+ # @yieldparam result [Google::Apis::SheetsV4::BatchClearValuesResponse] parsed result object
467
+ # @yieldparam err [StandardError] error object if request failed
468
+ #
469
+ # @return [Google::Apis::SheetsV4::BatchClearValuesResponse]
470
+ #
471
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
472
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
473
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
474
+ def batch_clear_values(spreadsheet_id, batch_clear_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
475
+ command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchClear', options)
476
+ command.request_representation = Google::Apis::SheetsV4::BatchClearValuesRequest::Representation
477
+ command.request_object = batch_clear_values_request_object
478
+ command.response_representation = Google::Apis::SheetsV4::BatchClearValuesResponse::Representation
479
+ command.response_class = Google::Apis::SheetsV4::BatchClearValuesResponse
405
480
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
406
481
  command.query['quotaUser'] = quota_user unless quota_user.nil?
407
482
  command.query['fields'] = fields unless fields.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech/
26
26
  module SpeechV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20161010'
28
+ REVISION = '20161017'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1
27
27
  VERSION = 'V1'
28
- REVISION = '20161005'
28
+ REVISION = '20161019'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -100,10 +100,12 @@ module Google
100
100
  # @return [String]
101
101
  attr_accessor :self_link
102
102
 
103
- # The bucket's storage class. This defines how objects in the bucket are stored
104
- # and determines the SLA and the cost of storage. Values include STANDARD,
105
- # NEARLINE and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. For more
106
- # information, see storage classes.
103
+ # The bucket's default storage class, used whenever no storageClass is specified
104
+ # for a newly-created object. This defines how objects in the bucket are stored
105
+ # and determines the SLA and the cost of storage. Values include MULTI_REGIONAL,
106
+ # REGIONAL, STANDARD, NEARLINE, COLDLINE, and DURABLE_REDUCED_AVAILABILITY. If
107
+ # this value is not specified when the bucket is created, it will default to
108
+ # STANDARD. For more information, see storage classes.
107
109
  # Corresponds to the JSON property `storageClass`
108
110
  # @return [String]
109
111
  attr_accessor :storage_class
@@ -247,7 +249,12 @@ module Google
247
249
  class Action
248
250
  include Google::Apis::Core::Hashable
249
251
 
250
- # Type of the action. Currently, only Delete is supported.
252
+ # Target storage class. Required iff the type of the action is SetStorageClass.
253
+ # Corresponds to the JSON property `storageClass`
254
+ # @return [String]
255
+ attr_accessor :storage_class
256
+
257
+ # Type of the action. Currently, only Delete and SetStorageClass are supported.
251
258
  # Corresponds to the JSON property `type`
252
259
  # @return [String]
253
260
  attr_accessor :type
@@ -258,6 +265,7 @@ module Google
258
265
 
259
266
  # Update properties of this object
260
267
  def update!(**args)
268
+ @storage_class = args[:storage_class] if args.key?(:storage_class)
261
269
  @type = args[:type] if args.key?(:type)
262
270
  end
263
271
  end
@@ -286,6 +294,13 @@ module Google
286
294
  attr_accessor :is_live
287
295
  alias_method :is_live?, :is_live
288
296
 
297
+ # Objects having any of the storage classes specified by this condition will be
298
+ # matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, STANDARD,
299
+ # and DURABLE_REDUCED_AVAILABILITY.
300
+ # Corresponds to the JSON property `matchesStorageClass`
301
+ # @return [Array<String>]
302
+ attr_accessor :matches_storage_class
303
+
289
304
  # Relevant only for versioned objects. If the value is N, this condition is
290
305
  # satisfied when there are at least N versions (including the live version)
291
306
  # newer than this version of the object.
@@ -302,6 +317,7 @@ module Google
302
317
  @age = args[:age] if args.key?(:age)
303
318
  @created_before = args[:created_before] if args.key?(:created_before)
304
319
  @is_live = args[:is_live] if args.key?(:is_live)
320
+ @matches_storage_class = args[:matches_storage_class] if args.key?(:matches_storage_class)
305
321
  @num_newer_versions = args[:num_newer_versions] if args.key?(:num_newer_versions)
306
322
  end
307
323
  end
@@ -241,6 +241,7 @@ module Google
241
241
  class Action
242
242
  # @private
243
243
  class Representation < Google::Apis::Core::JsonRepresentation
244
+ property :storage_class, as: 'storageClass'
244
245
  property :type, as: 'type'
245
246
  end
246
247
  end
@@ -252,6 +253,7 @@ module Google
252
253
  property :created_before, as: 'createdBefore', type: Date
253
254
 
254
255
  property :is_live, as: 'isLive'
256
+ collection :matches_storage_class, as: 'matchesStorageClass'
255
257
  property :num_newer_versions, as: 'numNewerVersions'
256
258
  end
257
259
  end
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.9.18'
18
+ VERSION = '0.9.19'
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.18
4
+ version: 0.9.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-10-17 00:00:00.000000000 Z
14
+ date: 2016-10-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable