google-apis-docs_v1 0.14.0 → 0.17.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: 97b9627e0ff54742e69253027eda1dff7ad10f9b2e4cf078b9874c0aa550974d
4
- data.tar.gz: 2274b58c442c29fd304a8a60dd6491ba0efc2f5106e974f42e4488f8a8eba157
3
+ metadata.gz: c2f90b16cc30603b706567cae9e53a00274f7a44267eb3355181a6766f9b5140
4
+ data.tar.gz: 95a7d4973ae92c5c4512b9cbccc220f48d759f7f84fa3acfa99081f9e32aacc8
5
5
  SHA512:
6
- metadata.gz: ad379d08b43ba8a83d9ac2a014e86a47807ce8e1f9caef4efb0e542d20d7ba5c7b0df0a31a08c9ad53b78aa1a7d6d038fec47a42c5c9e9a5fefa5b23284eb487
7
- data.tar.gz: 1a1efc3224b29c66b8ca8ce1161e1f21b9183799c1d50db77383370d31837097ead0108db431aed47d5107e6eaab50f9ef48c639b1c561fd378e9416500174ed
6
+ metadata.gz: 49c7173cbb87005b436da5c08c2098703ac7ab99a010c93c32ddaf0085063a0b5a4709b30346302591a99e8b34a519f24d7b24d48d275857d46e6f718ee82613
7
+ data.tar.gz: ef49034107d99daa3f93d9f4eb1fdace64daf19b2f3cfd224462e22dea748ce7278a82a7c5d75db3cbcf390af44316067bcb5d3e824fb17eb624c681324702fd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.17.0 (2022-06-19)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+ * Regenerated from discovery document revision 20220609
7
+
8
+ ### v0.16.0 (2022-06-03)
9
+
10
+ * Regenerated using generator version 0.5.0
11
+
12
+ ### v0.15.0 (2022-05-25)
13
+
14
+ * Regenerated from discovery document revision 20220520
15
+
3
16
  ### v0.14.0 (2022-05-10)
4
17
 
5
18
  * Regenerated from discovery document revision 20220505
@@ -3313,7 +3313,10 @@ module Google
3313
3313
  attr_accessor :named_style_type
3314
3314
 
3315
3315
  # Whether the current paragraph should always start at the beginning of a page.
3316
- # If unset, the value is inherited from the parent.
3316
+ # If unset, the value is inherited from the parent. Attempting to update
3317
+ # page_break_before for paragraphs in unsupported regions, including Table,
3318
+ # Header, Footer and Footnote, can result in an invalid document state which
3319
+ # returns a 400 bad request error.
3317
3320
  # Corresponds to the JSON property `pageBreakBefore`
3318
3321
  # @return [Boolean]
3319
3322
  attr_accessor :page_break_before
@@ -3630,6 +3633,31 @@ module Google
3630
3633
  end
3631
3634
  end
3632
3635
 
3636
+ # Updates the number of pinned table header rows in a table.
3637
+ class PinTableHeaderRowsRequest
3638
+ include Google::Apis::Core::Hashable
3639
+
3640
+ # The number of table rows to pin, where 0 implies that all rows are unpinned.
3641
+ # Corresponds to the JSON property `pinnedHeaderRowsCount`
3642
+ # @return [Fixnum]
3643
+ attr_accessor :pinned_header_rows_count
3644
+
3645
+ # A particular location in the document.
3646
+ # Corresponds to the JSON property `tableStartLocation`
3647
+ # @return [Google::Apis::DocsV1::Location]
3648
+ attr_accessor :table_start_location
3649
+
3650
+ def initialize(**args)
3651
+ update!(**args)
3652
+ end
3653
+
3654
+ # Update properties of this object
3655
+ def update!(**args)
3656
+ @pinned_header_rows_count = args[:pinned_header_rows_count] if args.key?(:pinned_header_rows_count)
3657
+ @table_start_location = args[:table_start_location] if args.key?(:table_start_location)
3658
+ end
3659
+ end
3660
+
3633
3661
  # An object that is tethered to a Paragraph and positioned relative to the
3634
3662
  # beginning of the paragraph. A PositionedObject contains an EmbeddedObject such
3635
3663
  # as an image.
@@ -4087,6 +4115,11 @@ module Google
4087
4115
  # @return [Google::Apis::DocsV1::MergeTableCellsRequest]
4088
4116
  attr_accessor :merge_table_cells
4089
4117
 
4118
+ # Updates the number of pinned table header rows in a table.
4119
+ # Corresponds to the JSON property `pinTableHeaderRows`
4120
+ # @return [Google::Apis::DocsV1::PinTableHeaderRowsRequest]
4121
+ attr_accessor :pin_table_header_rows
4122
+
4090
4123
  # Replaces all instances of text matching a criteria with replace text.
4091
4124
  # Corresponds to the JSON property `replaceAllText`
4092
4125
  # @return [Google::Apis::DocsV1::ReplaceAllTextRequest]
@@ -4176,6 +4209,7 @@ module Google
4176
4209
  @insert_table_row = args[:insert_table_row] if args.key?(:insert_table_row)
4177
4210
  @insert_text = args[:insert_text] if args.key?(:insert_text)
4178
4211
  @merge_table_cells = args[:merge_table_cells] if args.key?(:merge_table_cells)
4212
+ @pin_table_header_rows = args[:pin_table_header_rows] if args.key?(:pin_table_header_rows)
4179
4213
  @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
4180
4214
  @replace_image = args[:replace_image] if args.key?(:replace_image)
4181
4215
  @replace_named_range_content = args[:replace_named_range_content] if args.key?(:replace_named_range_content)
@@ -5673,6 +5707,18 @@ module Google
5673
5707
  # @return [Google::Apis::DocsV1::Dimension]
5674
5708
  attr_accessor :min_row_height
5675
5709
 
5710
+ # Whether the row cannot overflow across page or column boundaries.
5711
+ # Corresponds to the JSON property `preventOverflow`
5712
+ # @return [Boolean]
5713
+ attr_accessor :prevent_overflow
5714
+ alias_method :prevent_overflow?, :prevent_overflow
5715
+
5716
+ # Whether the row is a table header.
5717
+ # Corresponds to the JSON property `tableHeader`
5718
+ # @return [Boolean]
5719
+ attr_accessor :table_header
5720
+ alias_method :table_header?, :table_header
5721
+
5676
5722
  def initialize(**args)
5677
5723
  update!(**args)
5678
5724
  end
@@ -5680,6 +5726,8 @@ module Google
5680
5726
  # Update properties of this object
5681
5727
  def update!(**args)
5682
5728
  @min_row_height = args[:min_row_height] if args.key?(:min_row_height)
5729
+ @prevent_overflow = args[:prevent_overflow] if args.key?(:prevent_overflow)
5730
+ @table_header = args[:table_header] if args.key?(:table_header)
5683
5731
  end
5684
5732
  end
5685
5733
 
@@ -6026,10 +6074,11 @@ module Google
6026
6074
  include Google::Apis::Core::Hashable
6027
6075
 
6028
6076
  # The fields that should be updated. At least one field must be specified. The
6029
- # root `paragraph_style` is implied and should not be specified. For example, to
6030
- # update the paragraph style's alignment property, set `fields` to `"alignment"`.
6031
- # To reset a property to its default value, include its field name in the field
6032
- # mask but leave the field itself unset.
6077
+ # root `paragraph_style` is implied and should not be specified. A single `"*"`
6078
+ # can be used as short-hand for listing every field. For example, to update the
6079
+ # paragraph style's alignment property, set `fields` to `"alignment"`. To reset
6080
+ # a property to its default value, include its field name in the field mask but
6081
+ # leave the field itself unset.
6033
6082
  # Corresponds to the JSON property `fields`
6034
6083
  # @return [String]
6035
6084
  attr_accessor :fields
@@ -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.14.0"
19
+ GEM_VERSION = "0.17.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.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220505"
25
+ REVISION = "20220609"
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
 
@@ -1921,6 +1927,15 @@ module Google
1921
1927
  end
1922
1928
  end
1923
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
+
1924
1939
  class PositionedObject
1925
1940
  # @private
1926
1941
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2062,6 +2077,8 @@ module Google
2062
2077
 
2063
2078
  property :merge_table_cells, as: 'mergeTableCells', class: Google::Apis::DocsV1::MergeTableCellsRequest, decorator: Google::Apis::DocsV1::MergeTableCellsRequest::Representation
2064
2079
 
2080
+ property :pin_table_header_rows, as: 'pinTableHeaderRows', class: Google::Apis::DocsV1::PinTableHeaderRowsRequest, decorator: Google::Apis::DocsV1::PinTableHeaderRowsRequest::Representation
2081
+
2065
2082
  property :replace_all_text, as: 'replaceAllText', class: Google::Apis::DocsV1::ReplaceAllTextRequest, decorator: Google::Apis::DocsV1::ReplaceAllTextRequest::Representation
2066
2083
 
2067
2084
  property :replace_image, as: 'replaceImage', class: Google::Apis::DocsV1::ReplaceImageRequest, decorator: Google::Apis::DocsV1::ReplaceImageRequest::Representation
@@ -2519,6 +2536,8 @@ module Google
2519
2536
  class Representation < Google::Apis::Core::JsonRepresentation
2520
2537
  property :min_row_height, as: 'minRowHeight', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
2521
2538
 
2539
+ property :prevent_overflow, as: 'preventOverflow'
2540
+ property :table_header, as: 'tableHeader'
2522
2541
  end
2523
2542
  end
2524
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.14.0
4
+ version: 0.17.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-06-20 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.6'
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.6'
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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.17.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