google-apis-docs_v1 0.13.0 → 0.16.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: 7238e05c33d56290e613f3227b424c388b87a824dba0be1e64f04a75837e6bb0
4
- data.tar.gz: 47020cc3aa63f35cd0e46a8f54d6f2b341dc0c05c21f1f04a8aa87d2e91b697b
3
+ metadata.gz: '029e66c7506a0a39d3ac66e0e6acb63c5724e6c03cacca161423aa749ae68ca4'
4
+ data.tar.gz: '091f8bd966b74eec0c280e18c24e81aaf4976aaa660f868a37649a5ecbd26415'
5
5
  SHA512:
6
- metadata.gz: fd42e20df20150dd7f167f859412656f86ffe775532b130137d6fa7c6b30219c82e6c605bb52ffcc33bb3048d25ed02b7bc7487621632d405e7137110b3bd71d
7
- data.tar.gz: b30f90438e8e3401ee8650afff92328be50a74c5a56c48db5fca9c8059a1181018cb5022f4b781afcfef1b2bef7c2725606818e4b926bbc71390a969a5d9a002
6
+ metadata.gz: 9ec4776ca6cde293960d212ecb0f602265ce8e1c91b5e96035497a14a215657f3734c40ebf41b6e54b13f49fae3b4fc1c15fec098d0df4924ed520bc8c12546b
7
+ data.tar.gz: d79e747956ee007e98874763ad0984b98ee855ea32505c3ffb36a3601b1ebffc2b571528178a06ce0f0f84f5d483eab38f91d6c8e4c00db033227ad2a011b6b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.16.0 (2022-06-03)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.15.0 (2022-05-25)
8
+
9
+ * Regenerated from discovery document revision 20220520
10
+
11
+ ### v0.14.0 (2022-05-10)
12
+
13
+ * Regenerated from discovery document revision 20220505
14
+
3
15
  ### v0.13.0 (2022-04-05)
4
16
 
5
17
  * Regenerated from discovery document revision 20220331
@@ -3312,6 +3312,13 @@ module Google
3312
3312
  # @return [String]
3313
3313
  attr_accessor :named_style_type
3314
3314
 
3315
+ # Whether the current paragraph should always start at the beginning of a page.
3316
+ # If unset, the value is inherited from the parent.
3317
+ # Corresponds to the JSON property `pageBreakBefore`
3318
+ # @return [Boolean]
3319
+ attr_accessor :page_break_before
3320
+ alias_method :page_break_before?, :page_break_before
3321
+
3315
3322
  # The shading of a paragraph.
3316
3323
  # Corresponds to the JSON property `shading`
3317
3324
  # @return [Google::Apis::DocsV1::Shading]
@@ -3360,6 +3367,7 @@ module Google
3360
3367
  @keep_with_next = args[:keep_with_next] if args.key?(:keep_with_next)
3361
3368
  @line_spacing = args[:line_spacing] if args.key?(:line_spacing)
3362
3369
  @named_style_type = args[:named_style_type] if args.key?(:named_style_type)
3370
+ @page_break_before = args[:page_break_before] if args.key?(:page_break_before)
3363
3371
  @shading = args[:shading] if args.key?(:shading)
3364
3372
  @space_above = args[:space_above] if args.key?(:space_above)
3365
3373
  @space_below = args[:space_below] if args.key?(:space_below)
@@ -3470,6 +3478,12 @@ module Google
3470
3478
  attr_accessor :named_style_type_suggested
3471
3479
  alias_method :named_style_type_suggested?, :named_style_type_suggested
3472
3480
 
3481
+ # Indicates if there was a suggested change to page_break_before.
3482
+ # Corresponds to the JSON property `pageBreakBeforeSuggested`
3483
+ # @return [Boolean]
3484
+ attr_accessor :page_break_before_suggested
3485
+ alias_method :page_break_before_suggested?, :page_break_before_suggested
3486
+
3473
3487
  # A mask that indicates which of the fields on the base Shading have been
3474
3488
  # changed in this suggested change. For any field set to true, there is a new
3475
3489
  # suggested value.
@@ -3517,6 +3531,7 @@ module Google
3517
3531
  @keep_with_next_suggested = args[:keep_with_next_suggested] if args.key?(:keep_with_next_suggested)
3518
3532
  @line_spacing_suggested = args[:line_spacing_suggested] if args.key?(:line_spacing_suggested)
3519
3533
  @named_style_type_suggested = args[:named_style_type_suggested] if args.key?(:named_style_type_suggested)
3534
+ @page_break_before_suggested = args[:page_break_before_suggested] if args.key?(:page_break_before_suggested)
3520
3535
  @shading_suggestion_state = args[:shading_suggestion_state] if args.key?(:shading_suggestion_state)
3521
3536
  @space_above_suggested = args[:space_above_suggested] if args.key?(:space_above_suggested)
3522
3537
  @space_below_suggested = args[:space_below_suggested] if args.key?(:space_below_suggested)
@@ -3615,6 +3630,31 @@ module Google
3615
3630
  end
3616
3631
  end
3617
3632
 
3633
+ # Updates the number of pinned table header rows in a table.
3634
+ class PinTableHeaderRowsRequest
3635
+ include Google::Apis::Core::Hashable
3636
+
3637
+ # The number of table rows to pin, where 0 implies that all rows are unpinned.
3638
+ # Corresponds to the JSON property `pinnedHeaderRowsCount`
3639
+ # @return [Fixnum]
3640
+ attr_accessor :pinned_header_rows_count
3641
+
3642
+ # A particular location in the document.
3643
+ # Corresponds to the JSON property `tableStartLocation`
3644
+ # @return [Google::Apis::DocsV1::Location]
3645
+ attr_accessor :table_start_location
3646
+
3647
+ def initialize(**args)
3648
+ update!(**args)
3649
+ end
3650
+
3651
+ # Update properties of this object
3652
+ def update!(**args)
3653
+ @pinned_header_rows_count = args[:pinned_header_rows_count] if args.key?(:pinned_header_rows_count)
3654
+ @table_start_location = args[:table_start_location] if args.key?(:table_start_location)
3655
+ end
3656
+ end
3657
+
3618
3658
  # An object that is tethered to a Paragraph and positioned relative to the
3619
3659
  # beginning of the paragraph. A PositionedObject contains an EmbeddedObject such
3620
3660
  # as an image.
@@ -4072,6 +4112,11 @@ module Google
4072
4112
  # @return [Google::Apis::DocsV1::MergeTableCellsRequest]
4073
4113
  attr_accessor :merge_table_cells
4074
4114
 
4115
+ # Updates the number of pinned table header rows in a table.
4116
+ # Corresponds to the JSON property `pinTableHeaderRows`
4117
+ # @return [Google::Apis::DocsV1::PinTableHeaderRowsRequest]
4118
+ attr_accessor :pin_table_header_rows
4119
+
4075
4120
  # Replaces all instances of text matching a criteria with replace text.
4076
4121
  # Corresponds to the JSON property `replaceAllText`
4077
4122
  # @return [Google::Apis::DocsV1::ReplaceAllTextRequest]
@@ -4161,6 +4206,7 @@ module Google
4161
4206
  @insert_table_row = args[:insert_table_row] if args.key?(:insert_table_row)
4162
4207
  @insert_text = args[:insert_text] if args.key?(:insert_text)
4163
4208
  @merge_table_cells = args[:merge_table_cells] if args.key?(:merge_table_cells)
4209
+ @pin_table_header_rows = args[:pin_table_header_rows] if args.key?(:pin_table_header_rows)
4164
4210
  @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
4165
4211
  @replace_image = args[:replace_image] if args.key?(:replace_image)
4166
4212
  @replace_named_range_content = args[:replace_named_range_content] if args.key?(:replace_named_range_content)
@@ -5658,6 +5704,18 @@ module Google
5658
5704
  # @return [Google::Apis::DocsV1::Dimension]
5659
5705
  attr_accessor :min_row_height
5660
5706
 
5707
+ # Whether the row cannot overflow across page or column boundaries.
5708
+ # Corresponds to the JSON property `preventOverflow`
5709
+ # @return [Boolean]
5710
+ attr_accessor :prevent_overflow
5711
+ alias_method :prevent_overflow?, :prevent_overflow
5712
+
5713
+ # Whether the row is a table header.
5714
+ # Corresponds to the JSON property `tableHeader`
5715
+ # @return [Boolean]
5716
+ attr_accessor :table_header
5717
+ alias_method :table_header?, :table_header
5718
+
5661
5719
  def initialize(**args)
5662
5720
  update!(**args)
5663
5721
  end
@@ -5665,6 +5723,8 @@ module Google
5665
5723
  # Update properties of this object
5666
5724
  def update!(**args)
5667
5725
  @min_row_height = args[:min_row_height] if args.key?(:min_row_height)
5726
+ @prevent_overflow = args[:prevent_overflow] if args.key?(:prevent_overflow)
5727
+ @table_header = args[:table_header] if args.key?(:table_header)
5668
5728
  end
5669
5729
  end
5670
5730
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocsV1
18
18
  # Version of the google-apis-docs_v1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220331"
25
+ REVISION = "20220520"
26
26
  end
27
27
  end
28
28
  end
@@ -544,6 +544,12 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
+ class PinTableHeaderRowsRequest
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
547
553
  class PositionedObject
548
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
555
 
@@ -1857,6 +1863,7 @@ module Google
1857
1863
  property :keep_with_next, as: 'keepWithNext'
1858
1864
  property :line_spacing, as: 'lineSpacing'
1859
1865
  property :named_style_type, as: 'namedStyleType'
1866
+ property :page_break_before, as: 'pageBreakBefore'
1860
1867
  property :shading, as: 'shading', class: Google::Apis::DocsV1::Shading, decorator: Google::Apis::DocsV1::Shading::Representation
1861
1868
 
1862
1869
  property :space_above, as: 'spaceAbove', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
@@ -1888,6 +1895,7 @@ module Google
1888
1895
  property :keep_with_next_suggested, as: 'keepWithNextSuggested'
1889
1896
  property :line_spacing_suggested, as: 'lineSpacingSuggested'
1890
1897
  property :named_style_type_suggested, as: 'namedStyleTypeSuggested'
1898
+ property :page_break_before_suggested, as: 'pageBreakBeforeSuggested'
1891
1899
  property :shading_suggestion_state, as: 'shadingSuggestionState', class: Google::Apis::DocsV1::ShadingSuggestionState, decorator: Google::Apis::DocsV1::ShadingSuggestionState::Representation
1892
1900
 
1893
1901
  property :space_above_suggested, as: 'spaceAboveSuggested'
@@ -1919,6 +1927,15 @@ module Google
1919
1927
  end
1920
1928
  end
1921
1929
 
1930
+ class PinTableHeaderRowsRequest
1931
+ # @private
1932
+ class Representation < Google::Apis::Core::JsonRepresentation
1933
+ property :pinned_header_rows_count, as: 'pinnedHeaderRowsCount'
1934
+ property :table_start_location, as: 'tableStartLocation', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
1935
+
1936
+ end
1937
+ end
1938
+
1922
1939
  class PositionedObject
1923
1940
  # @private
1924
1941
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2060,6 +2077,8 @@ module Google
2060
2077
 
2061
2078
  property :merge_table_cells, as: 'mergeTableCells', class: Google::Apis::DocsV1::MergeTableCellsRequest, decorator: Google::Apis::DocsV1::MergeTableCellsRequest::Representation
2062
2079
 
2080
+ property :pin_table_header_rows, as: 'pinTableHeaderRows', class: Google::Apis::DocsV1::PinTableHeaderRowsRequest, decorator: Google::Apis::DocsV1::PinTableHeaderRowsRequest::Representation
2081
+
2063
2082
  property :replace_all_text, as: 'replaceAllText', class: Google::Apis::DocsV1::ReplaceAllTextRequest, decorator: Google::Apis::DocsV1::ReplaceAllTextRequest::Representation
2064
2083
 
2065
2084
  property :replace_image, as: 'replaceImage', class: Google::Apis::DocsV1::ReplaceImageRequest, decorator: Google::Apis::DocsV1::ReplaceImageRequest::Representation
@@ -2517,6 +2536,8 @@ module Google
2517
2536
  class Representation < Google::Apis::Core::JsonRepresentation
2518
2537
  property :min_row_height, as: 'minRowHeight', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
2519
2538
 
2539
+ property :prevent_overflow, as: 'preventOverflow'
2540
+ property :table_header, as: 'tableHeader'
2520
2541
  end
2521
2542
  end
2522
2543
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-docs_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.16.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: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.4'
19
+ version: '0.5'
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.4'
29
+ version: '0.5'
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-docs_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Docs API V1