google-apis-sheets_v4 0.30.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/sheets_v4/classes.rb +122 -0
- data/lib/google/apis/sheets_v4/gem_version.rb +3 -3
- data/lib/google/apis/sheets_v4/representations.rb +64 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ed12962927fc4ddf8100ec0f875a594efedc9016237c91a88ad7388766b1f1b
|
4
|
+
data.tar.gz: ab66f98bb0cb18c96b2c90518c336bcbfa06b224287c341cde90501bc9bbf854
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 383de88557577fedf57af51eeb87d029e93e92e8edb020c06ea662909d09671784cbddb2849197e1e7ba450452b560ae853376b4bc065e1023f91b36bac11688
|
7
|
+
data.tar.gz: 4bc59adfa0cb7a482b50fd96f9664c86c2cfcf3b3c5ff266680f6668b5294f46ece8a393993607a990fd66d72999c8aac56a24c3e66aa40674f5355acda10c60
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-sheets_v4
|
2
2
|
|
3
|
+
### v0.32.0 (2024-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240514
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
8
|
+
### v0.31.0 (2024-05-05)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240423
|
11
|
+
|
3
12
|
### v0.30.0 (2024-04-28)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240416
|
@@ -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 a 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 a 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)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240514"
|
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.
|
4
|
+
version: 0.32.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-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sheets_v4/v0.32.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: []
|