google-apis-docs_v1 0.14.0 → 0.15.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 +4 -0
- data/lib/google/apis/docs_v1/classes.rb +45 -0
- data/lib/google/apis/docs_v1/gem_version.rb +2 -2
- data/lib/google/apis/docs_v1/representations.rb +19 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d153c39d4cca9f74396eab4ef16d2b9c626e0f0d5969cfab2ba82866effe29c
|
4
|
+
data.tar.gz: d482b5005048422997b9348f322375ec3809cfa3d218a8317a0494d945d0d1ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22ddea0127e759869889975a96bea0ba342fc443ffa709143753344f540d63fceffdd2f8cde919f7332b242c2b531e92c983cc4220e3bf0e6764174bdd300f13
|
7
|
+
data.tar.gz: 7b0539e521cfaae18d2316f53ef30896453cfcaed73df0666e37eca2640f08300768b4a94de3ca6964d98fc233f79c04149ffc51be8aa1f9fd6e18d0b2b5242e
|
data/CHANGELOG.md
CHANGED
@@ -3630,6 +3630,31 @@ module Google
|
|
3630
3630
|
end
|
3631
3631
|
end
|
3632
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
|
+
|
3633
3658
|
# An object that is tethered to a Paragraph and positioned relative to the
|
3634
3659
|
# beginning of the paragraph. A PositionedObject contains an EmbeddedObject such
|
3635
3660
|
# as an image.
|
@@ -4087,6 +4112,11 @@ module Google
|
|
4087
4112
|
# @return [Google::Apis::DocsV1::MergeTableCellsRequest]
|
4088
4113
|
attr_accessor :merge_table_cells
|
4089
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
|
+
|
4090
4120
|
# Replaces all instances of text matching a criteria with replace text.
|
4091
4121
|
# Corresponds to the JSON property `replaceAllText`
|
4092
4122
|
# @return [Google::Apis::DocsV1::ReplaceAllTextRequest]
|
@@ -4176,6 +4206,7 @@ module Google
|
|
4176
4206
|
@insert_table_row = args[:insert_table_row] if args.key?(:insert_table_row)
|
4177
4207
|
@insert_text = args[:insert_text] if args.key?(:insert_text)
|
4178
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)
|
4179
4210
|
@replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
|
4180
4211
|
@replace_image = args[:replace_image] if args.key?(:replace_image)
|
4181
4212
|
@replace_named_range_content = args[:replace_named_range_content] if args.key?(:replace_named_range_content)
|
@@ -5673,6 +5704,18 @@ module Google
|
|
5673
5704
|
# @return [Google::Apis::DocsV1::Dimension]
|
5674
5705
|
attr_accessor :min_row_height
|
5675
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
|
+
|
5676
5719
|
def initialize(**args)
|
5677
5720
|
update!(**args)
|
5678
5721
|
end
|
@@ -5680,6 +5723,8 @@ module Google
|
|
5680
5723
|
# Update properties of this object
|
5681
5724
|
def update!(**args)
|
5682
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)
|
5683
5728
|
end
|
5684
5729
|
end
|
5685
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.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
|
@@ -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.
|
4
|
+
version: 0.15.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-
|
11
|
+
date: 2022-05-30 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-docs_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.15.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.
|
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
|