google-apis-sheets_v4 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 662bd6d22a36875a6282bc3a0f2d4cf0aa1557cc7f21b4096dcf1e53e03bbb4c
4
- data.tar.gz: 7b401c6ff3e098904f8f8e39d3b51585704921e362a72d8955429b918881f9b3
3
+ metadata.gz: e003268e72257941213d759866adfd25c811e9dd3e639bcc9f1b383dc8e6b549
4
+ data.tar.gz: faec813b63615ba688d29e3de76f413c1070952a12e842c2ce8425356d9d2e22
5
5
  SHA512:
6
- metadata.gz: 1bf00fcb7b37c9893e0fcade36d377f6c37cadaaf8472544c27eac0de7569fb2b3cac8e7a360dda735367f52b02e7506a93f363871f69d88589ca4301dc74b3a
7
- data.tar.gz: 89dc66badfdea9aad810a25415d7c5aee0d88d50758a20da7fec3b1ccbc342c118cd49f0fa314108ba645ab956369ef214c2d58104e39f112e8f388e7a3a598e
6
+ metadata.gz: 4dc9e6be29c740eecf6ff9cb21fc3059e365425204484ecd33235a1795878c10b90b40202a30040618398b0399633a6a4b79382954cab707320ccfd5030aebee
7
+ data.tar.gz: 79302ec51d4c70ee2fd1520e88c9f96d2fd3b93a146998d7c05b801560e5a04a53534fb8660e0f12fc59a2f3f42d3a152e3e6d06a190c6a2288d5c93f9bce66d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sheets_v4
2
2
 
3
+ ### v0.5.0 (2021-05-12)
4
+
5
+ * Regenerated from discovery document revision 20210504
6
+
3
7
  ### v0.4.0 (2021-03-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20210316
@@ -32,7 +32,7 @@ module Google
32
32
  # See, edit, create, and delete all of your Google Drive files
33
33
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
34
34
 
35
- # View and manage Google Drive files and folders that you have opened or created with this app
35
+ # See, edit, create, and delete only the specific Google Drive files you use with this app
36
36
  AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'
37
37
 
38
38
  # See and download all your Google Drive files
@@ -1595,7 +1595,7 @@ module Google
1595
1595
 
1596
1596
  # How dates, times, and durations should be represented in the output. This is
1597
1597
  # ignored if value_render_option is FORMATTED_VALUE. The default dateTime render
1598
- # option is [DateTimeRenderOption.SERIAL_NUMBER].
1598
+ # option is SERIAL_NUMBER.
1599
1599
  # Corresponds to the JSON property `dateTimeRenderOption`
1600
1600
  # @return [String]
1601
1601
  attr_accessor :date_time_render_option
@@ -1609,7 +1609,7 @@ module Google
1609
1609
  attr_accessor :major_dimension
1610
1610
 
1611
1611
  # How values should be represented in the output. The default render option is
1612
- # ValueRenderOption.FORMATTED_VALUE.
1612
+ # FORMATTED_VALUE.
1613
1613
  # Corresponds to the JSON property `valueRenderOption`
1614
1614
  # @return [String]
1615
1615
  attr_accessor :value_render_option
@@ -1779,13 +1779,13 @@ module Google
1779
1779
 
1780
1780
  # Determines how dates, times, and durations in the response should be rendered.
1781
1781
  # This is ignored if response_value_render_option is FORMATTED_VALUE. The
1782
- # default dateTime render option is DateTimeRenderOption.SERIAL_NUMBER.
1782
+ # default dateTime render option is SERIAL_NUMBER.
1783
1783
  # Corresponds to the JSON property `responseDateTimeRenderOption`
1784
1784
  # @return [String]
1785
1785
  attr_accessor :response_date_time_render_option
1786
1786
 
1787
1787
  # Determines how values in the response should be rendered. The default render
1788
- # option is ValueRenderOption.FORMATTED_VALUE.
1788
+ # option is FORMATTED_VALUE.
1789
1789
  # Corresponds to the JSON property `responseValueRenderOption`
1790
1790
  # @return [String]
1791
1791
  attr_accessor :response_value_render_option
@@ -1880,13 +1880,13 @@ module Google
1880
1880
 
1881
1881
  # Determines how dates, times, and durations in the response should be rendered.
1882
1882
  # This is ignored if response_value_render_option is FORMATTED_VALUE. The
1883
- # default dateTime render option is DateTimeRenderOption.SERIAL_NUMBER.
1883
+ # default dateTime render option is SERIAL_NUMBER.
1884
1884
  # Corresponds to the JSON property `responseDateTimeRenderOption`
1885
1885
  # @return [String]
1886
1886
  attr_accessor :response_date_time_render_option
1887
1887
 
1888
1888
  # Determines how values in the response should be rendered. The default render
1889
- # option is ValueRenderOption.FORMATTED_VALUE.
1889
+ # option is FORMATTED_VALUE.
1890
1890
  # Corresponds to the JSON property `responseValueRenderOption`
1891
1891
  # @return [String]
1892
1892
  attr_accessor :response_value_render_option
@@ -2498,7 +2498,10 @@ module Google
2498
2498
 
2499
2499
  # A hyperlink this cell points to, if any. If the cell contains multiple
2500
2500
  # hyperlinks, this field will be empty. This field is read-only. To set it, use
2501
- # a `=HYPERLINK` formula in the userEnteredValue.formulaValue field.
2501
+ # a `=HYPERLINK` formula in the userEnteredValue.formulaValue field. A cell-
2502
+ # level link can also be set from the userEnteredFormat.textFormat field.
2503
+ # Alternatively, set a hyperlink in the textFormatRun.format.link field that
2504
+ # spans the entire cell.
2502
2505
  # Corresponds to the JSON property `hyperlink`
2503
2506
  # @return [String]
2504
2507
  attr_accessor :hyperlink
@@ -4747,8 +4750,8 @@ module Google
4747
4750
  class DeleteSheetRequest
4748
4751
  include Google::Apis::Core::Hashable
4749
4752
 
4750
- # The ID of the sheet to delete. If the sheet is of SheetType.DATA_SOURCE type,
4751
- # the associated DataSource is also deleted.
4753
+ # The ID of the sheet to delete. If the sheet is of DATA_SOURCE type, the
4754
+ # associated DataSource is also deleted.
4752
4755
  # Corresponds to the JSON property `sheetId`
4753
4756
  # @return [Fixnum]
4754
4757
  attr_accessor :sheet_id
@@ -5383,7 +5386,7 @@ module Google
5383
5386
  attr_accessor :formula_value
5384
5387
 
5385
5388
  # Represents a double value. Note: Dates, Times and DateTimes are represented as
5386
- # doubles in "serial number" format.
5389
+ # doubles in SERIAL_NUMBER format.
5387
5390
  # Corresponds to the JSON property `numberValue`
5388
5391
  # @return [Float]
5389
5392
  attr_accessor :number_value
@@ -6488,6 +6491,25 @@ module Google
6488
6491
  end
6489
6492
  end
6490
6493
 
6494
+ # An external or local reference.
6495
+ class Link
6496
+ include Google::Apis::Core::Hashable
6497
+
6498
+ # The link identifier.
6499
+ # Corresponds to the JSON property `uri`
6500
+ # @return [String]
6501
+ attr_accessor :uri
6502
+
6503
+ def initialize(**args)
6504
+ update!(**args)
6505
+ end
6506
+
6507
+ # Update properties of this object
6508
+ def update!(**args)
6509
+ @uri = args[:uri] if args.key?(:uri)
6510
+ end
6511
+ end
6512
+
6491
6513
  # Allows you to manually organize the values in a source data column into
6492
6514
  # buckets with names of your choosing. For example, a pivot table that
6493
6515
  # aggregates population by state: +-------+-------------------+ | State | SUM of
@@ -9490,6 +9512,11 @@ module Google
9490
9512
  attr_accessor :italic
9491
9513
  alias_method :italic?, :italic
9492
9514
 
9515
+ # An external or local reference.
9516
+ # Corresponds to the JSON property `link`
9517
+ # @return [Google::Apis::SheetsV4::Link]
9518
+ attr_accessor :link
9519
+
9493
9520
  # True if the text has a strikethrough.
9494
9521
  # Corresponds to the JSON property `strikethrough`
9495
9522
  # @return [Boolean]
@@ -9514,6 +9541,7 @@ module Google
9514
9541
  @foreground_color = args[:foreground_color] if args.key?(:foreground_color)
9515
9542
  @foreground_color_style = args[:foreground_color_style] if args.key?(:foreground_color_style)
9516
9543
  @italic = args[:italic] if args.key?(:italic)
9544
+ @link = args[:link] if args.key?(:link)
9517
9545
  @strikethrough = args[:strikethrough] if args.key?(:strikethrough)
9518
9546
  @underline = args[:underline] if args.key?(:underline)
9519
9547
  end
@@ -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.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210316"
25
+ REVISION = "20210504"
26
26
  end
27
27
  end
28
28
  end
@@ -958,6 +958,12 @@ module Google
958
958
  include Google::Apis::Core::JsonObjectSupport
959
959
  end
960
960
 
961
+ class Link
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
961
967
  class ManualRule
962
968
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
969
 
@@ -3146,6 +3152,13 @@ module Google
3146
3152
  end
3147
3153
  end
3148
3154
 
3155
+ class Link
3156
+ # @private
3157
+ class Representation < Google::Apis::Core::JsonRepresentation
3158
+ property :uri, as: 'uri'
3159
+ end
3160
+ end
3161
+
3149
3162
  class ManualRule
3150
3163
  # @private
3151
3164
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3902,6 +3915,8 @@ module Google
3902
3915
  property :foreground_color_style, as: 'foregroundColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
3903
3916
 
3904
3917
  property :italic, as: 'italic'
3918
+ property :link, as: 'link', class: Google::Apis::SheetsV4::Link, decorator: Google::Apis::SheetsV4::Link::Representation
3919
+
3905
3920
  property :strikethrough, as: 'strikethrough'
3906
3921
  property :underline, as: 'underline'
3907
3922
  end
@@ -344,10 +344,10 @@ module Google
344
344
  # @param [String] response_date_time_render_option
345
345
  # Determines how dates, times, and durations in the response should be rendered.
346
346
  # This is ignored if response_value_render_option is FORMATTED_VALUE. The
347
- # default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
347
+ # default dateTime render option is SERIAL_NUMBER.
348
348
  # @param [String] response_value_render_option
349
349
  # Determines how values in the response should be rendered. The default render
350
- # option is ValueRenderOption.FORMATTED_VALUE.
350
+ # option is FORMATTED_VALUE.
351
351
  # @param [String] value_input_option
352
352
  # How the input data should be interpreted.
353
353
  # @param [String] fields
@@ -465,7 +465,7 @@ module Google
465
465
  # @param [String] date_time_render_option
466
466
  # How dates, times, and durations should be represented in the output. This is
467
467
  # ignored if value_render_option is FORMATTED_VALUE. The default dateTime render
468
- # option is [DateTimeRenderOption.SERIAL_NUMBER].
468
+ # option is SERIAL_NUMBER.
469
469
  # @param [String] major_dimension
470
470
  # The major dimension that results should use. For example, if the spreadsheet
471
471
  # data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=
@@ -657,7 +657,7 @@ module Google
657
657
  # @param [String] date_time_render_option
658
658
  # How dates, times, and durations should be represented in the output. This is
659
659
  # ignored if value_render_option is FORMATTED_VALUE. The default dateTime render
660
- # option is [DateTimeRenderOption.SERIAL_NUMBER].
660
+ # option is SERIAL_NUMBER.
661
661
  # @param [String] major_dimension
662
662
  # The major dimension that results should use. For example, if the spreadsheet
663
663
  # data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=
@@ -665,7 +665,7 @@ module Google
665
665
  # COLUMNS` returns `[[1,3],[2,4]]`.
666
666
  # @param [String] value_render_option
667
667
  # How values should be represented in the output. The default render option is
668
- # ValueRenderOption.FORMATTED_VALUE.
668
+ # FORMATTED_VALUE.
669
669
  # @param [String] fields
670
670
  # Selector specifying which fields to include in a partial response.
671
671
  # @param [String] quota_user
@@ -713,10 +713,10 @@ module Google
713
713
  # @param [String] response_date_time_render_option
714
714
  # Determines how dates, times, and durations in the response should be rendered.
715
715
  # This is ignored if response_value_render_option is FORMATTED_VALUE. The
716
- # default dateTime render option is DateTimeRenderOption.SERIAL_NUMBER.
716
+ # default dateTime render option is SERIAL_NUMBER.
717
717
  # @param [String] response_value_render_option
718
718
  # Determines how values in the response should be rendered. The default render
719
- # option is ValueRenderOption.FORMATTED_VALUE.
719
+ # option is FORMATTED_VALUE.
720
720
  # @param [String] value_input_option
721
721
  # How the input data should be interpreted.
722
722
  # @param [String] fields
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.0
4
+ version: 0.5.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: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sheets_v4/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-sheets_v4/v0.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sheets_v4/v0.5.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sheets_v4
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Google Sheets API V4