google-api-client 0.30.7 → 0.30.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -0
  3. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  4. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  5. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  6. data/generated/google/apis/analyticsreporting_v4/classes.rb +1 -1
  7. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  8. data/generated/google/apis/androidmanagement_v1/classes.rb +9 -4
  9. data/generated/google/apis/cloudasset_v1.rb +1 -1
  10. data/generated/google/apis/cloudasset_v1/classes.rb +456 -0
  11. data/generated/google/apis/cloudasset_v1/representations.rb +145 -0
  12. data/generated/google/apis/cloudshell_v1.rb +1 -1
  13. data/generated/google/apis/cloudshell_v1/classes.rb +7 -0
  14. data/generated/google/apis/cloudshell_v1/representations.rb +1 -0
  15. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  16. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +7 -0
  17. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
  18. data/generated/google/apis/container_v1beta1.rb +1 -1
  19. data/generated/google/apis/container_v1beta1/classes.rb +75 -0
  20. data/generated/google/apis/container_v1beta1/representations.rb +36 -0
  21. data/generated/google/apis/docs_v1.rb +1 -1
  22. data/generated/google/apis/docs_v1/classes.rb +51 -4
  23. data/generated/google/apis/docs_v1/representations.rb +17 -0
  24. data/generated/google/apis/genomics_v1.rb +1 -1
  25. data/generated/google/apis/genomics_v1/classes.rb +6 -0
  26. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  27. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  28. data/generated/google/apis/genomics_v1alpha2/classes.rb +6 -0
  29. data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
  30. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  31. data/generated/google/apis/genomics_v2alpha1/classes.rb +6 -0
  32. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  33. data/generated/google/apis/jobs_v3.rb +1 -1
  34. data/generated/google/apis/jobs_v3/classes.rb +1 -1
  35. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  36. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1 -1
  37. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  38. data/generated/google/apis/remotebuildexecution_v1/classes.rb +22 -14
  39. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  40. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +22 -14
  41. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +20 -12
  42. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  43. data/generated/google/apis/remotebuildexecution_v2/classes.rb +22 -14
  44. data/generated/google/apis/sheets_v4.rb +1 -1
  45. data/generated/google/apis/sheets_v4/classes.rb +173 -0
  46. data/generated/google/apis/sheets_v4/representations.rb +64 -0
  47. data/generated/google/apis/vision_v1.rb +1 -1
  48. data/generated/google/apis/vision_v1/classes.rb +100 -2015
  49. data/generated/google/apis/vision_v1/representations.rb +866 -1703
  50. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  51. data/generated/google/apis/vision_v1p1beta1/classes.rb +100 -2015
  52. data/generated/google/apis/vision_v1p1beta1/representations.rb +938 -1775
  53. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  54. data/generated/google/apis/vision_v1p2beta1/classes.rb +100 -2015
  55. data/generated/google/apis/vision_v1p2beta1/representations.rb +990 -1827
  56. data/lib/google/apis/version.rb +1 -1
  57. metadata +2 -2
@@ -291,18 +291,26 @@ module Google
291
291
  # Resource name of the instance.
292
292
  # Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
293
293
  # @param [String] filter
294
- # Optional. A filter to constrain the pools returned. Filters have the form:
295
- # <field> <operator> <value> [[AND|OR] <field> <operator> <value>]...
296
- # <field> is the path for a field or map key in the Pool proto message.
297
- # e.g. "configuration.disk_size_gb" or "configuration.labels.key".
298
- # <operator> can be one of "<", "<=", ">=", ">", "=", "!=", ":".
299
- # ":" is a HAS operation for strings and repeated primitive fields.
300
- # <value> is the value to test, case-insensitive for strings. "*" stands for
301
- # any value and can be used to test for key presence.
302
- # Parenthesis determine AND/OR precedence. In space separated restrictions,
303
- # AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y".
304
- # Example filter:
305
- # configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING)
294
+ # Optional. A filter expression that filters resources listed in
295
+ # the response. The expression must specify the field name, a comparison
296
+ # operator, and the value that you want to use for filtering. The value
297
+ # must be a string, a number, or a boolean. String values are
298
+ # case-insensitive.
299
+ # The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or
300
+ # `<`.
301
+ # The `:` operator can be used with string fields to match substrings.
302
+ # For non-string fields it is equivalent to the `=` operator.
303
+ # The `:*` comparison can be used to test whether a key has been defined.
304
+ # You can also filter on nested fields.
305
+ # To filter on multiple expressions, you can separate expression using
306
+ # `AND` and `OR` operators, using parentheses to specify precedence. If
307
+ # neither operator is specified, `AND` is assumed.
308
+ # Examples:
309
+ # Include only pools with more than 100 reserved workers:
310
+ # `(worker_count > 100) (worker_config.reserved = true)`
311
+ # Include only pools with a certain label or machines of the n1-standard
312
+ # family:
313
+ # `worker_config.labels.key1 : * OR worker_config.machine_type: n1-standard`
306
314
  # @param [String] fields
307
315
  # Selector specifying which fields to include in a partial response.
308
316
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190618'
28
+ REVISION = '20190723'
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'
@@ -2520,18 +2520,26 @@ module Google
2520
2520
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
2521
2521
  include Google::Apis::Core::Hashable
2522
2522
 
2523
- # Optional. A filter to constrain the pools returned. Filters have the form:
2524
- # <field> <operator> <value> [[AND|OR] <field> <operator> <value>]...
2525
- # <field> is the path for a field or map key in the Pool proto message.
2526
- # e.g. "configuration.disk_size_gb" or "configuration.labels.key".
2527
- # <operator> can be one of "<", "<=", ">=", ">", "=", "!=", ":".
2528
- # ":" is a HAS operation for strings and repeated primitive fields.
2529
- # <value> is the value to test, case-insensitive for strings. "*" stands for
2530
- # any value and can be used to test for key presence.
2531
- # Parenthesis determine AND/OR precedence. In space separated restrictions,
2532
- # AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y".
2533
- # Example filter:
2534
- # configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING)
2523
+ # Optional. A filter expression that filters resources listed in
2524
+ # the response. The expression must specify the field name, a comparison
2525
+ # operator, and the value that you want to use for filtering. The value
2526
+ # must be a string, a number, or a boolean. String values are
2527
+ # case-insensitive.
2528
+ # The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or
2529
+ # `<`.
2530
+ # The `:` operator can be used with string fields to match substrings.
2531
+ # For non-string fields it is equivalent to the `=` operator.
2532
+ # The `:*` comparison can be used to test whether a key has been defined.
2533
+ # You can also filter on nested fields.
2534
+ # To filter on multiple expressions, you can separate expression using
2535
+ # `AND` and `OR` operators, using parentheses to specify precedence. If
2536
+ # neither operator is specified, `AND` is assumed.
2537
+ # Examples:
2538
+ # Include only pools with more than 100 reserved workers:
2539
+ # `(worker_count > 100) (worker_config.reserved = true)`
2540
+ # Include only pools with a certain label or machines of the n1-standard
2541
+ # family:
2542
+ # `worker_config.labels.key1 : * OR worker_config.machine_type: n1-standard`
2535
2543
  # Corresponds to the JSON property `filter`
2536
2544
  # @return [String]
2537
2545
  attr_accessor :filter
@@ -2626,8 +2634,8 @@ module Google
2626
2634
  # Labels associated with the workers.
2627
2635
  # Label keys and values can be no longer than 63 characters, can only contain
2628
2636
  # lowercase letters, numeric characters, underscores and dashes.
2629
- # International letters are permitted. Keys must start with a letter but
2630
- # values are optional.
2637
+ # International letters are permitted. Label keys must start with a letter.
2638
+ # Label values are optional.
2631
2639
  # There can not be more than 64 labels per resource.
2632
2640
  # Corresponds to the JSON property `labels`
2633
2641
  # @return [Hash<String,String>]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/sheets/
26
26
  module SheetsV4
27
27
  VERSION = 'V4'
28
- REVISION = '20190708'
28
+ REVISION = '20190715'
29
29
 
30
30
  # See, edit, create, and delete all of your Google Drive files
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -3838,6 +3838,79 @@ module Google
3838
3838
  end
3839
3839
  end
3840
3840
 
3841
+ # Removes rows within this range containing duplicate values in the specified
3842
+ # columns. Rows with identical values but different letter cases, formatting,
3843
+ # or formulas are considered to be duplicates.
3844
+ # This request also removes duplicate rows hidden from view (for example, due
3845
+ # to a filter). When removing duplicates, the first instance of each duplicate
3846
+ # row scanning from the top downwards is kept in the resulting range. Content
3847
+ # outside of the specified range isn't removed, and rows considered duplicates
3848
+ # do not have to be adjacent to each other in the range.
3849
+ class DeleteDuplicatesRequest
3850
+ include Google::Apis::Core::Hashable
3851
+
3852
+ # The columns in the range to analyze for duplicate values. If no columns are
3853
+ # selected then all columns are analyzed for duplicates.
3854
+ # Corresponds to the JSON property `comparisonColumns`
3855
+ # @return [Array<Google::Apis::SheetsV4::DimensionRange>]
3856
+ attr_accessor :comparison_columns
3857
+
3858
+ # A range on a sheet.
3859
+ # All indexes are zero-based.
3860
+ # Indexes are half open, e.g the start index is inclusive
3861
+ # and the end index is exclusive -- [start_index, end_index).
3862
+ # Missing indexes indicate the range is unbounded on that side.
3863
+ # For example, if `"Sheet1"` is sheet ID 0, then:
3864
+ # `Sheet1!A1:A1 == sheet_id: 0,
3865
+ # start_row_index: 0, end_row_index: 1,
3866
+ # start_column_index: 0, end_column_index: 1`
3867
+ # `Sheet1!A3:B4 == sheet_id: 0,
3868
+ # start_row_index: 2, end_row_index: 4,
3869
+ # start_column_index: 0, end_column_index: 2`
3870
+ # `Sheet1!A:B == sheet_id: 0,
3871
+ # start_column_index: 0, end_column_index: 2`
3872
+ # `Sheet1!A5:B == sheet_id: 0,
3873
+ # start_row_index: 4,
3874
+ # start_column_index: 0, end_column_index: 2`
3875
+ # `Sheet1 == sheet_id:0`
3876
+ # The start index must always be less than or equal to the end index.
3877
+ # If the start index equals the end index, then the range is empty.
3878
+ # Empty ranges are typically not meaningful and are usually rendered in the
3879
+ # UI as `#REF!`.
3880
+ # Corresponds to the JSON property `range`
3881
+ # @return [Google::Apis::SheetsV4::GridRange]
3882
+ attr_accessor :range
3883
+
3884
+ def initialize(**args)
3885
+ update!(**args)
3886
+ end
3887
+
3888
+ # Update properties of this object
3889
+ def update!(**args)
3890
+ @comparison_columns = args[:comparison_columns] if args.key?(:comparison_columns)
3891
+ @range = args[:range] if args.key?(:range)
3892
+ end
3893
+ end
3894
+
3895
+ # The result of removing duplicates in a range.
3896
+ class DeleteDuplicatesResponse
3897
+ include Google::Apis::Core::Hashable
3898
+
3899
+ # The number of duplicate rows removed.
3900
+ # Corresponds to the JSON property `duplicatesRemovedCount`
3901
+ # @return [Fixnum]
3902
+ attr_accessor :duplicates_removed_count
3903
+
3904
+ def initialize(**args)
3905
+ update!(**args)
3906
+ end
3907
+
3908
+ # Update properties of this object
3909
+ def update!(**args)
3910
+ @duplicates_removed_count = args[:duplicates_removed_count] if args.key?(:duplicates_removed_count)
3911
+ end
3912
+ end
3913
+
3841
3914
  # Deletes the embedded object with the given ID.
3842
3915
  class DeleteEmbeddedObjectRequest
3843
3916
  include Google::Apis::Core::Hashable
@@ -7099,6 +7172,18 @@ module Google
7099
7172
  # @return [Google::Apis::SheetsV4::DeleteDimensionGroupRequest]
7100
7173
  attr_accessor :delete_dimension_group
7101
7174
 
7175
+ # Removes rows within this range containing duplicate values in the specified
7176
+ # columns. Rows with identical values but different letter cases, formatting,
7177
+ # or formulas are considered to be duplicates.
7178
+ # This request also removes duplicate rows hidden from view (for example, due
7179
+ # to a filter). When removing duplicates, the first instance of each duplicate
7180
+ # row scanning from the top downwards is kept in the resulting range. Content
7181
+ # outside of the specified range isn't removed, and rows considered duplicates
7182
+ # do not have to be adjacent to each other in the range.
7183
+ # Corresponds to the JSON property `deleteDuplicates`
7184
+ # @return [Google::Apis::SheetsV4::DeleteDuplicatesRequest]
7185
+ attr_accessor :delete_duplicates
7186
+
7102
7187
  # Deletes the embedded object with the given ID.
7103
7188
  # Corresponds to the JSON property `deleteEmbeddedObject`
7104
7189
  # @return [Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest]
@@ -7211,6 +7296,16 @@ module Google
7211
7296
  # @return [Google::Apis::SheetsV4::TextToColumnsRequest]
7212
7297
  attr_accessor :text_to_columns
7213
7298
 
7299
+ # Trims the whitespace (such as spaces, tabs, or new lines) in every cell in
7300
+ # the specified range. This request removes all whitespace from the start and
7301
+ # end of each cell's text, and reduces any sub-sequence of remaining whitespace
7302
+ # characters to a single space. If the resulting trimmed text starts with a '+'
7303
+ # or '=' character, the text remains as a string value and is not interpreted
7304
+ # as a formula.
7305
+ # Corresponds to the JSON property `trimWhitespace`
7306
+ # @return [Google::Apis::SheetsV4::TrimWhitespaceRequest]
7307
+ attr_accessor :trim_whitespace
7308
+
7214
7309
  # Unmerges cells in the given range.
7215
7310
  # Corresponds to the JSON property `unmergeCells`
7216
7311
  # @return [Google::Apis::SheetsV4::UnmergeCellsRequest]
@@ -7333,6 +7428,7 @@ module Google
7333
7428
  @delete_developer_metadata = args[:delete_developer_metadata] if args.key?(:delete_developer_metadata)
7334
7429
  @delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension)
7335
7430
  @delete_dimension_group = args[:delete_dimension_group] if args.key?(:delete_dimension_group)
7431
+ @delete_duplicates = args[:delete_duplicates] if args.key?(:delete_duplicates)
7336
7432
  @delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object)
7337
7433
  @delete_filter_view = args[:delete_filter_view] if args.key?(:delete_filter_view)
7338
7434
  @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range)
@@ -7353,6 +7449,7 @@ module Google
7353
7449
  @set_data_validation = args[:set_data_validation] if args.key?(:set_data_validation)
7354
7450
  @sort_range = args[:sort_range] if args.key?(:sort_range)
7355
7451
  @text_to_columns = args[:text_to_columns] if args.key?(:text_to_columns)
7452
+ @trim_whitespace = args[:trim_whitespace] if args.key?(:trim_whitespace)
7356
7453
  @unmerge_cells = args[:unmerge_cells] if args.key?(:unmerge_cells)
7357
7454
  @update_banding = args[:update_banding] if args.key?(:update_banding)
7358
7455
  @update_borders = args[:update_borders] if args.key?(:update_borders)
@@ -7430,6 +7527,11 @@ module Google
7430
7527
  # @return [Google::Apis::SheetsV4::DeleteDimensionGroupResponse]
7431
7528
  attr_accessor :delete_dimension_group
7432
7529
 
7530
+ # The result of removing duplicates in a range.
7531
+ # Corresponds to the JSON property `deleteDuplicates`
7532
+ # @return [Google::Apis::SheetsV4::DeleteDuplicatesResponse]
7533
+ attr_accessor :delete_duplicates
7534
+
7433
7535
  # The result of a filter view being duplicated.
7434
7536
  # Corresponds to the JSON property `duplicateFilterView`
7435
7537
  # @return [Google::Apis::SheetsV4::DuplicateFilterViewResponse]
@@ -7445,6 +7547,11 @@ module Google
7445
7547
  # @return [Google::Apis::SheetsV4::FindReplaceResponse]
7446
7548
  attr_accessor :find_replace
7447
7549
 
7550
+ # The result of trimming whitespace in cells.
7551
+ # Corresponds to the JSON property `trimWhitespace`
7552
+ # @return [Google::Apis::SheetsV4::TrimWhitespaceResponse]
7553
+ attr_accessor :trim_whitespace
7554
+
7448
7555
  # The result of updating a conditional format rule.
7449
7556
  # Corresponds to the JSON property `updateConditionalFormatRule`
7450
7557
  # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse]
@@ -7477,9 +7584,11 @@ module Google
7477
7584
  @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule)
7478
7585
  @delete_developer_metadata = args[:delete_developer_metadata] if args.key?(:delete_developer_metadata)
7479
7586
  @delete_dimension_group = args[:delete_dimension_group] if args.key?(:delete_dimension_group)
7587
+ @delete_duplicates = args[:delete_duplicates] if args.key?(:delete_duplicates)
7480
7588
  @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view)
7481
7589
  @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet)
7482
7590
  @find_replace = args[:find_replace] if args.key?(:find_replace)
7591
+ @trim_whitespace = args[:trim_whitespace] if args.key?(:trim_whitespace)
7483
7592
  @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule)
7484
7593
  @update_developer_metadata = args[:update_developer_metadata] if args.key?(:update_developer_metadata)
7485
7594
  @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position)
@@ -9064,6 +9173,70 @@ module Google
9064
9173
  end
9065
9174
  end
9066
9175
 
9176
+ # Trims the whitespace (such as spaces, tabs, or new lines) in every cell in
9177
+ # the specified range. This request removes all whitespace from the start and
9178
+ # end of each cell's text, and reduces any sub-sequence of remaining whitespace
9179
+ # characters to a single space. If the resulting trimmed text starts with a '+'
9180
+ # or '=' character, the text remains as a string value and is not interpreted
9181
+ # as a formula.
9182
+ class TrimWhitespaceRequest
9183
+ include Google::Apis::Core::Hashable
9184
+
9185
+ # A range on a sheet.
9186
+ # All indexes are zero-based.
9187
+ # Indexes are half open, e.g the start index is inclusive
9188
+ # and the end index is exclusive -- [start_index, end_index).
9189
+ # Missing indexes indicate the range is unbounded on that side.
9190
+ # For example, if `"Sheet1"` is sheet ID 0, then:
9191
+ # `Sheet1!A1:A1 == sheet_id: 0,
9192
+ # start_row_index: 0, end_row_index: 1,
9193
+ # start_column_index: 0, end_column_index: 1`
9194
+ # `Sheet1!A3:B4 == sheet_id: 0,
9195
+ # start_row_index: 2, end_row_index: 4,
9196
+ # start_column_index: 0, end_column_index: 2`
9197
+ # `Sheet1!A:B == sheet_id: 0,
9198
+ # start_column_index: 0, end_column_index: 2`
9199
+ # `Sheet1!A5:B == sheet_id: 0,
9200
+ # start_row_index: 4,
9201
+ # start_column_index: 0, end_column_index: 2`
9202
+ # `Sheet1 == sheet_id:0`
9203
+ # The start index must always be less than or equal to the end index.
9204
+ # If the start index equals the end index, then the range is empty.
9205
+ # Empty ranges are typically not meaningful and are usually rendered in the
9206
+ # UI as `#REF!`.
9207
+ # Corresponds to the JSON property `range`
9208
+ # @return [Google::Apis::SheetsV4::GridRange]
9209
+ attr_accessor :range
9210
+
9211
+ def initialize(**args)
9212
+ update!(**args)
9213
+ end
9214
+
9215
+ # Update properties of this object
9216
+ def update!(**args)
9217
+ @range = args[:range] if args.key?(:range)
9218
+ end
9219
+ end
9220
+
9221
+ # The result of trimming whitespace in cells.
9222
+ class TrimWhitespaceResponse
9223
+ include Google::Apis::Core::Hashable
9224
+
9225
+ # The number of cells that were trimmed of whitespace.
9226
+ # Corresponds to the JSON property `cellsChangedCount`
9227
+ # @return [Fixnum]
9228
+ attr_accessor :cells_changed_count
9229
+
9230
+ def initialize(**args)
9231
+ update!(**args)
9232
+ end
9233
+
9234
+ # Update properties of this object
9235
+ def update!(**args)
9236
+ @cells_changed_count = args[:cells_changed_count] if args.key?(:cells_changed_count)
9237
+ end
9238
+ end
9239
+
9067
9240
  # Unmerges cells in the given range.
9068
9241
  class UnmergeCellsRequest
9069
9242
  include Google::Apis::Core::Hashable
@@ -484,6 +484,18 @@ module Google
484
484
  include Google::Apis::Core::JsonObjectSupport
485
485
  end
486
486
 
487
+ class DeleteDuplicatesRequest
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class DeleteDuplicatesResponse
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
487
499
  class DeleteEmbeddedObjectRequest
488
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
501
 
@@ -982,6 +994,18 @@ module Google
982
994
  include Google::Apis::Core::JsonObjectSupport
983
995
  end
984
996
 
997
+ class TrimWhitespaceRequest
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
1003
+ class TrimWhitespaceResponse
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
985
1009
  class UnmergeCellsRequest
986
1010
  class Representation < Google::Apis::Core::JsonRepresentation; end
987
1011
 
@@ -1944,6 +1968,23 @@ module Google
1944
1968
  end
1945
1969
  end
1946
1970
 
1971
+ class DeleteDuplicatesRequest
1972
+ # @private
1973
+ class Representation < Google::Apis::Core::JsonRepresentation
1974
+ collection :comparison_columns, as: 'comparisonColumns', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
1975
+
1976
+ property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
1977
+
1978
+ end
1979
+ end
1980
+
1981
+ class DeleteDuplicatesResponse
1982
+ # @private
1983
+ class Representation < Google::Apis::Core::JsonRepresentation
1984
+ property :duplicates_removed_count, as: 'duplicatesRemovedCount'
1985
+ end
1986
+ end
1987
+
1947
1988
  class DeleteEmbeddedObjectRequest
1948
1989
  # @private
1949
1990
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2634,6 +2675,8 @@ module Google
2634
2675
 
2635
2676
  property :delete_dimension_group, as: 'deleteDimensionGroup', class: Google::Apis::SheetsV4::DeleteDimensionGroupRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionGroupRequest::Representation
2636
2677
 
2678
+ property :delete_duplicates, as: 'deleteDuplicates', class: Google::Apis::SheetsV4::DeleteDuplicatesRequest, decorator: Google::Apis::SheetsV4::DeleteDuplicatesRequest::Representation
2679
+
2637
2680
  property :delete_embedded_object, as: 'deleteEmbeddedObject', class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest, decorator: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest::Representation
2638
2681
 
2639
2682
  property :delete_filter_view, as: 'deleteFilterView', class: Google::Apis::SheetsV4::DeleteFilterViewRequest, decorator: Google::Apis::SheetsV4::DeleteFilterViewRequest::Representation
@@ -2674,6 +2717,8 @@ module Google
2674
2717
 
2675
2718
  property :text_to_columns, as: 'textToColumns', class: Google::Apis::SheetsV4::TextToColumnsRequest, decorator: Google::Apis::SheetsV4::TextToColumnsRequest::Representation
2676
2719
 
2720
+ property :trim_whitespace, as: 'trimWhitespace', class: Google::Apis::SheetsV4::TrimWhitespaceRequest, decorator: Google::Apis::SheetsV4::TrimWhitespaceRequest::Representation
2721
+
2677
2722
  property :unmerge_cells, as: 'unmergeCells', class: Google::Apis::SheetsV4::UnmergeCellsRequest, decorator: Google::Apis::SheetsV4::UnmergeCellsRequest::Representation
2678
2723
 
2679
2724
  property :update_banding, as: 'updateBanding', class: Google::Apis::SheetsV4::UpdateBandingRequest, decorator: Google::Apis::SheetsV4::UpdateBandingRequest::Representation
@@ -2732,12 +2777,16 @@ module Google
2732
2777
 
2733
2778
  property :delete_dimension_group, as: 'deleteDimensionGroup', class: Google::Apis::SheetsV4::DeleteDimensionGroupResponse, decorator: Google::Apis::SheetsV4::DeleteDimensionGroupResponse::Representation
2734
2779
 
2780
+ property :delete_duplicates, as: 'deleteDuplicates', class: Google::Apis::SheetsV4::DeleteDuplicatesResponse, decorator: Google::Apis::SheetsV4::DeleteDuplicatesResponse::Representation
2781
+
2735
2782
  property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation
2736
2783
 
2737
2784
  property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation
2738
2785
 
2739
2786
  property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceResponse, decorator: Google::Apis::SheetsV4::FindReplaceResponse::Representation
2740
2787
 
2788
+ property :trim_whitespace, as: 'trimWhitespace', class: Google::Apis::SheetsV4::TrimWhitespaceResponse, decorator: Google::Apis::SheetsV4::TrimWhitespaceResponse::Representation
2789
+
2741
2790
  property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation
2742
2791
 
2743
2792
  property :update_developer_metadata, as: 'updateDeveloperMetadata', class: Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse, decorator: Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse::Representation
@@ -2980,6 +3029,21 @@ module Google
2980
3029
  end
2981
3030
  end
2982
3031
 
3032
+ class TrimWhitespaceRequest
3033
+ # @private
3034
+ class Representation < Google::Apis::Core::JsonRepresentation
3035
+ property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
3036
+
3037
+ end
3038
+ end
3039
+
3040
+ class TrimWhitespaceResponse
3041
+ # @private
3042
+ class Representation < Google::Apis::Core::JsonRepresentation
3043
+ property :cells_changed_count, as: 'cellsChangedCount'
3044
+ end
3045
+ end
3046
+
2983
3047
  class UnmergeCellsRequest
2984
3048
  # @private
2985
3049
  class Representation < Google::Apis::Core::JsonRepresentation