google-apis-sheets_v4 0.29.0 → 0.31.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ef24b82d969a761c382765af3f73e298322b9cfec8e72876ce0f8646df16bf8
4
- data.tar.gz: 7f2473dfcddff9febd181cc2876c922d13f9cc92e025fee7b484abe3f8b05464
3
+ metadata.gz: 53eb53d8771048e1fbf464da220dbfb4aa53f7a4bd23a9182ef7051e08bff2dc
4
+ data.tar.gz: b8cddbe3d1be68ee301d5d6c7f88a350f2d6cb7b1e790a4d5ba3a60a8b80f6cf
5
5
  SHA512:
6
- metadata.gz: 28184b7ce9f93c6ae9551e7e338bb2483942c508954c4a50c5950b4144262dc4789c6204f600e8eb4a5ea23eadc44d427116046f7f3415384908910b9eedbacb
7
- data.tar.gz: 3949a081d46348e25621c78e4d4ee053c00de04f471cac68c922cfb44633f1e71e14fd8470d0a7bb2b33c8d5d7ced0e439150dcbfd0d692a664f12a55c73d703
6
+ metadata.gz: 0e5778d4eda5041b5d62b5ca7703411367f08dde158851d160432cf9c195f8d34e4f83803867ac7c2fac451d0067ebd6aff22c3eb54b49093ee86a71cd83ef5a
7
+ data.tar.gz: c1d57c3eead46a2d51915b61845c1e33bdde2b2556ff43ebe8de0aa8957add0bc1ba8dbf25b5e5daef51e678e7a09ebed2ce18dbeed701e4c6e3dafd61d0e0d2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sheets_v4
2
2
 
3
+ ### v0.31.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240423
6
+
7
+ ### v0.30.0 (2024-04-28)
8
+
9
+ * Regenerated from discovery document revision 20240416
10
+
3
11
  ### v0.29.0 (2024-03-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240312
@@ -2354,6 +2354,89 @@ module Google
2354
2354
  end
2355
2355
  end
2356
2356
 
2357
+ # Cancels one or multiple refreshes of data source objects in the spreadsheet by
2358
+ # the specified references.
2359
+ class CancelDataSourceRefreshRequest
2360
+ include Google::Apis::Core::Hashable
2361
+
2362
+ # Reference to a DataSource. If specified, cancels all associated data source
2363
+ # object refreshes for this data source.
2364
+ # Corresponds to the JSON property `dataSourceId`
2365
+ # @return [String]
2366
+ attr_accessor :data_source_id
2367
+
2368
+ # Cancels all existing data source object refreshes for all data sources in the
2369
+ # spreadsheet.
2370
+ # Corresponds to the JSON property `isAll`
2371
+ # @return [Boolean]
2372
+ attr_accessor :is_all
2373
+ alias_method :is_all?, :is_all
2374
+
2375
+ # A list of references to data source objects.
2376
+ # Corresponds to the JSON property `references`
2377
+ # @return [Google::Apis::SheetsV4::DataSourceObjectReferences]
2378
+ attr_accessor :references
2379
+
2380
+ def initialize(**args)
2381
+ update!(**args)
2382
+ end
2383
+
2384
+ # Update properties of this object
2385
+ def update!(**args)
2386
+ @data_source_id = args[:data_source_id] if args.key?(:data_source_id)
2387
+ @is_all = args[:is_all] if args.key?(:is_all)
2388
+ @references = args[:references] if args.key?(:references)
2389
+ end
2390
+ end
2391
+
2392
+ # The response from cancelling one or multiple data source object refreshes.
2393
+ class CancelDataSourceRefreshResponse
2394
+ include Google::Apis::Core::Hashable
2395
+
2396
+ # The cancellation statuses of refreshes of all data source objects specified in
2397
+ # the request. If is_all is specified, the field contains only those in failure
2398
+ # status. Refreshing and canceling refresh the same data source object is also
2399
+ # not allowed in the same `batchUpdate`.
2400
+ # Corresponds to the JSON property `statuses`
2401
+ # @return [Array<Google::Apis::SheetsV4::CancelDataSourceRefreshStatus>]
2402
+ attr_accessor :statuses
2403
+
2404
+ def initialize(**args)
2405
+ update!(**args)
2406
+ end
2407
+
2408
+ # Update properties of this object
2409
+ def update!(**args)
2410
+ @statuses = args[:statuses] if args.key?(:statuses)
2411
+ end
2412
+ end
2413
+
2414
+ # The status of cancelling a single data source object refresh.
2415
+ class CancelDataSourceRefreshStatus
2416
+ include Google::Apis::Core::Hashable
2417
+
2418
+ # Reference to a data source object.
2419
+ # Corresponds to the JSON property `reference`
2420
+ # @return [Google::Apis::SheetsV4::DataSourceObjectReference]
2421
+ attr_accessor :reference
2422
+
2423
+ # The status of a refresh cancellation. You can send cancel request to
2424
+ # explicitly cancel one or multiple data source object refreshes.
2425
+ # Corresponds to the JSON property `refreshCancellationStatus`
2426
+ # @return [Google::Apis::SheetsV4::RefreshCancellationStatus]
2427
+ attr_accessor :refresh_cancellation_status
2428
+
2429
+ def initialize(**args)
2430
+ update!(**args)
2431
+ end
2432
+
2433
+ # Update properties of this object
2434
+ def update!(**args)
2435
+ @reference = args[:reference] if args.key?(:reference)
2436
+ @refresh_cancellation_status = args[:refresh_cancellation_status] if args.key?(:refresh_cancellation_status)
2437
+ end
2438
+ end
2439
+
2357
2440
  # A candlestick chart.
2358
2441
  class CandlestickChartSpec
2359
2442
  include Google::Apis::Core::Hashable
@@ -7716,6 +7799,32 @@ module Google
7716
7799
  end
7717
7800
  end
7718
7801
 
7802
+ # The status of a refresh cancellation. You can send cancel request to
7803
+ # explicitly cancel one or multiple data source object refreshes.
7804
+ class RefreshCancellationStatus
7805
+ include Google::Apis::Core::Hashable
7806
+
7807
+ # The error code.
7808
+ # Corresponds to the JSON property `errorCode`
7809
+ # @return [String]
7810
+ attr_accessor :error_code
7811
+
7812
+ # The state of a call to cancel a refresh in Sheets.
7813
+ # Corresponds to the JSON property `state`
7814
+ # @return [String]
7815
+ attr_accessor :state
7816
+
7817
+ def initialize(**args)
7818
+ update!(**args)
7819
+ end
7820
+
7821
+ # Update properties of this object
7822
+ def update!(**args)
7823
+ @error_code = args[:error_code] if args.key?(:error_code)
7824
+ @state = args[:state] if args.key?(:state)
7825
+ end
7826
+ end
7827
+
7719
7828
  # The execution status of refreshing one data source object.
7720
7829
  class RefreshDataSourceObjectExecutionStatus
7721
7830
  include Google::Apis::Core::Hashable
@@ -7963,6 +8072,12 @@ module Google
7963
8072
  # @return [Google::Apis::SheetsV4::AutoResizeDimensionsRequest]
7964
8073
  attr_accessor :auto_resize_dimensions
7965
8074
 
8075
+ # Cancels one or multiple refreshes of data source objects in the spreadsheet by
8076
+ # the specified references.
8077
+ # Corresponds to the JSON property `cancelDataSourceRefresh`
8078
+ # @return [Google::Apis::SheetsV4::CancelDataSourceRefreshRequest]
8079
+ attr_accessor :cancel_data_source_refresh
8080
+
7966
8081
  # Clears the basic filter, if any exists on the sheet.
7967
8082
  # Corresponds to the JSON property `clearBasicFilter`
7968
8083
  # @return [Google::Apis::SheetsV4::ClearBasicFilterRequest]
@@ -8284,6 +8399,7 @@ module Google
8284
8399
  @append_dimension = args[:append_dimension] if args.key?(:append_dimension)
8285
8400
  @auto_fill = args[:auto_fill] if args.key?(:auto_fill)
8286
8401
  @auto_resize_dimensions = args[:auto_resize_dimensions] if args.key?(:auto_resize_dimensions)
8402
+ @cancel_data_source_refresh = args[:cancel_data_source_refresh] if args.key?(:cancel_data_source_refresh)
8287
8403
  @clear_basic_filter = args[:clear_basic_filter] if args.key?(:clear_basic_filter)
8288
8404
  @copy_paste = args[:copy_paste] if args.key?(:copy_paste)
8289
8405
  @create_developer_metadata = args[:create_developer_metadata] if args.key?(:create_developer_metadata)
@@ -8387,6 +8503,11 @@ module Google
8387
8503
  # @return [Google::Apis::SheetsV4::AddSlicerResponse]
8388
8504
  attr_accessor :add_slicer
8389
8505
 
8506
+ # The response from cancelling one or multiple data source object refreshes.
8507
+ # Corresponds to the JSON property `cancelDataSourceRefresh`
8508
+ # @return [Google::Apis::SheetsV4::CancelDataSourceRefreshResponse]
8509
+ attr_accessor :cancel_data_source_refresh
8510
+
8390
8511
  # The response from creating developer metadata.
8391
8512
  # Corresponds to the JSON property `createDeveloperMetadata`
8392
8513
  # @return [Google::Apis::SheetsV4::CreateDeveloperMetadataResponse]
@@ -8472,6 +8593,7 @@ module Google
8472
8593
  @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range)
8473
8594
  @add_sheet = args[:add_sheet] if args.key?(:add_sheet)
8474
8595
  @add_slicer = args[:add_slicer] if args.key?(:add_slicer)
8596
+ @cancel_data_source_refresh = args[:cancel_data_source_refresh] if args.key?(:cancel_data_source_refresh)
8475
8597
  @create_developer_metadata = args[:create_developer_metadata] if args.key?(:create_developer_metadata)
8476
8598
  @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule)
8477
8599
  @delete_developer_metadata = args[:delete_developer_metadata] if args.key?(:delete_developer_metadata)
@@ -9361,7 +9483,7 @@ module Google
9361
9483
  # @return [Google::Apis::SheetsV4::CellFormat]
9362
9484
  attr_accessor :default_format
9363
9485
 
9364
- # Whether to allow external url access for image and import functions. Read only
9486
+ # Whether to allow external URL access for image and import functions. Read only
9365
9487
  # when true. When false, you can set to true.
9366
9488
  # Corresponds to the JSON property `importFunctionsExternalUrlAccessAllowed`
9367
9489
  # @return [Boolean]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SheetsV4
18
18
  # Version of the google-apis-sheets_v4 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240312"
25
+ REVISION = "20240423"
26
26
  end
27
27
  end
28
28
  end
@@ -346,6 +346,24 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
+ class CancelDataSourceRefreshRequest
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class CancelDataSourceRefreshResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class CancelDataSourceRefreshStatus
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
349
367
  class CandlestickChartSpec
350
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
369
 
@@ -1114,6 +1132,12 @@ module Google
1114
1132
  include Google::Apis::Core::JsonObjectSupport
1115
1133
  end
1116
1134
 
1135
+ class RefreshCancellationStatus
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1117
1141
  class RefreshDataSourceObjectExecutionStatus
1118
1142
  class Representation < Google::Apis::Core::JsonRepresentation; end
1119
1143
 
@@ -2076,6 +2100,34 @@ module Google
2076
2100
  end
2077
2101
  end
2078
2102
 
2103
+ class CancelDataSourceRefreshRequest
2104
+ # @private
2105
+ class Representation < Google::Apis::Core::JsonRepresentation
2106
+ property :data_source_id, as: 'dataSourceId'
2107
+ property :is_all, as: 'isAll'
2108
+ property :references, as: 'references', class: Google::Apis::SheetsV4::DataSourceObjectReferences, decorator: Google::Apis::SheetsV4::DataSourceObjectReferences::Representation
2109
+
2110
+ end
2111
+ end
2112
+
2113
+ class CancelDataSourceRefreshResponse
2114
+ # @private
2115
+ class Representation < Google::Apis::Core::JsonRepresentation
2116
+ collection :statuses, as: 'statuses', class: Google::Apis::SheetsV4::CancelDataSourceRefreshStatus, decorator: Google::Apis::SheetsV4::CancelDataSourceRefreshStatus::Representation
2117
+
2118
+ end
2119
+ end
2120
+
2121
+ class CancelDataSourceRefreshStatus
2122
+ # @private
2123
+ class Representation < Google::Apis::Core::JsonRepresentation
2124
+ property :reference, as: 'reference', class: Google::Apis::SheetsV4::DataSourceObjectReference, decorator: Google::Apis::SheetsV4::DataSourceObjectReference::Representation
2125
+
2126
+ property :refresh_cancellation_status, as: 'refreshCancellationStatus', class: Google::Apis::SheetsV4::RefreshCancellationStatus, decorator: Google::Apis::SheetsV4::RefreshCancellationStatus::Representation
2127
+
2128
+ end
2129
+ end
2130
+
2079
2131
  class CandlestickChartSpec
2080
2132
  # @private
2081
2133
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3449,6 +3501,14 @@ module Google
3449
3501
  end
3450
3502
  end
3451
3503
 
3504
+ class RefreshCancellationStatus
3505
+ # @private
3506
+ class Representation < Google::Apis::Core::JsonRepresentation
3507
+ property :error_code, as: 'errorCode'
3508
+ property :state, as: 'state'
3509
+ end
3510
+ end
3511
+
3452
3512
  class RefreshDataSourceObjectExecutionStatus
3453
3513
  # @private
3454
3514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3520,6 +3580,8 @@ module Google
3520
3580
 
3521
3581
  property :auto_resize_dimensions, as: 'autoResizeDimensions', class: Google::Apis::SheetsV4::AutoResizeDimensionsRequest, decorator: Google::Apis::SheetsV4::AutoResizeDimensionsRequest::Representation
3522
3582
 
3583
+ property :cancel_data_source_refresh, as: 'cancelDataSourceRefresh', class: Google::Apis::SheetsV4::CancelDataSourceRefreshRequest, decorator: Google::Apis::SheetsV4::CancelDataSourceRefreshRequest::Representation
3584
+
3523
3585
  property :clear_basic_filter, as: 'clearBasicFilter', class: Google::Apis::SheetsV4::ClearBasicFilterRequest, decorator: Google::Apis::SheetsV4::ClearBasicFilterRequest::Representation
3524
3586
 
3525
3587
  property :copy_paste, as: 'copyPaste', class: Google::Apis::SheetsV4::CopyPasteRequest, decorator: Google::Apis::SheetsV4::CopyPasteRequest::Representation
@@ -3646,6 +3708,8 @@ module Google
3646
3708
 
3647
3709
  property :add_slicer, as: 'addSlicer', class: Google::Apis::SheetsV4::AddSlicerResponse, decorator: Google::Apis::SheetsV4::AddSlicerResponse::Representation
3648
3710
 
3711
+ property :cancel_data_source_refresh, as: 'cancelDataSourceRefresh', class: Google::Apis::SheetsV4::CancelDataSourceRefreshResponse, decorator: Google::Apis::SheetsV4::CancelDataSourceRefreshResponse::Representation
3712
+
3649
3713
  property :create_developer_metadata, as: 'createDeveloperMetadata', class: Google::Apis::SheetsV4::CreateDeveloperMetadataResponse, decorator: Google::Apis::SheetsV4::CreateDeveloperMetadataResponse::Representation
3650
3714
 
3651
3715
  property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sheets_v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sheets_v4/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sheets_v4/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sheets_v4/v0.31.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sheets_v4
63
63
  post_install_message:
64
64
  rdoc_options: []