google-apis-docs_v1 0.42.0 → 0.43.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/docs_v1/classes.rb +95 -9
- data/lib/google/apis/docs_v1/gem_version.rb +2 -2
- data/lib/google/apis/docs_v1/representations.rb +38 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e14e780d424e4baa6b2d58baf9a1e47f63e46825afe116ce41efc4444c50f3ce
|
|
4
|
+
data.tar.gz: ec2e89a19f33f3b503f1e4875d6e35048fe868587fbe9896533135eb5c9b9595
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a175678128b848c4efdab5f0452dec0ea94de1bf0f61c07e790b0e1dc1df0e928a96891b6086e1ea4040af3c7fe41a5f4a928f94cac8d4c4d4094756a686f54c
|
|
7
|
+
data.tar.gz: 5f63f2da5b4aed570ce1cfc4bb065e1e7d99f04e2d8fcc3de5c2a0f7f11f027c364cb6f5d358273f3eb6bc3f2e1f62cf2377ab4237fe4ae1603d4cae12bf4ee7
|
data/CHANGELOG.md
CHANGED
|
@@ -818,13 +818,14 @@ module Google
|
|
|
818
818
|
attr_accessor :display_text
|
|
819
819
|
|
|
820
820
|
# The language code of the DateElement. For example, `en`. If unset, the default
|
|
821
|
-
# locale is `en`. Limited to the following locales: `af`, `am`, `ar`, `
|
|
822
|
-
# `bg`, `bn`, `ca`, `cs`, `da`, `de`, `el`, `en`, `en-CA`, `en-GB`, `es`,
|
|
823
|
-
# 419`, `et`, `eu`, `fa`, `fi`, `fil`, `fr`, `fr-CA`, `gl`, `gu`, `hi`, `hr`,
|
|
824
|
-
# hu`, `hy`, `id`, `is`, `it`, `iw`, `ja`, `ka`, `kk`, `km`, `kn`, `ko`, `lo`,
|
|
825
|
-
# lt`, `lv`, `ml`, `mn`, `mr`, `ms`, `ne`, `nl`, `no`, `
|
|
826
|
-
# PT`, `ro`, `ru`, `si`, `sk`, `sl`, `sr`, `sv`, `sw`, `ta`, `
|
|
827
|
-
# uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`, `zu`, `cy`,
|
|
821
|
+
# locale is `en`. Limited to the following locales: `af`, `am`, `ar`, `as`, `az`,
|
|
822
|
+
# `be`, `bg`, `bn`, `ca`, `cs`, `da`, `de`, `el`, `en`, `en-CA`, `en-GB`, `es`,
|
|
823
|
+
# `es-419`, `et`, `eu`, `fa`, `fi`, `fil`, `fr`, `fr-CA`, `gl`, `gu`, `hi`, `hr`,
|
|
824
|
+
# `hu`, `hy`, `id`, `is`, `it`, `iw`, `ja`, `ka`, `kk`, `km`, `kn`, `ko`, `lo`,
|
|
825
|
+
# `lt`, `lv`, `mk`, `ml`, `mn`, `mr`, `ms`, `ne`, `nl`, `no`, `or`, `pa`, `pl`, `
|
|
826
|
+
# pt-BR`, `pt-PT`, `ro`, `ru`, `si`, `sk`, `sl`, `sq`, `sr`, `sv`, `sw`, `ta`, `
|
|
827
|
+
# te`, `th`, `tr`, `uk`, `ur`, `uz`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`, `zu`, `cy`,
|
|
828
|
+
# `my`.
|
|
828
829
|
# Corresponds to the JSON property `locale`
|
|
829
830
|
# @return [String]
|
|
830
831
|
attr_accessor :locale
|
|
@@ -837,7 +838,7 @@ module Google
|
|
|
837
838
|
attr_accessor :time_format
|
|
838
839
|
|
|
839
840
|
# The time zone of the DateElement, as defined by the Unicode Common Locale Data
|
|
840
|
-
# Repository (CLDR) project. For example, `America/
|
|
841
|
+
# Repository (CLDR) project. For example, `America/New_York`. If unset, the
|
|
841
842
|
# default time zone is `etc/UTC`.
|
|
842
843
|
# Corresponds to the JSON property `timeZoneId`
|
|
843
844
|
# @return [String]
|
|
@@ -848,7 +849,7 @@ module Google
|
|
|
848
849
|
# time_zone_id is set, the timestamp is adjusted according to the time zone. For
|
|
849
850
|
# example, a timestamp of `18000` with a date format of `DATE_FORMAT_ISO8601`
|
|
850
851
|
# and time format of `TIME_FORMAT_HOUR_MINUTE` would be displayed as `1970-01-01
|
|
851
|
-
# 5:00 AM`. A timestamp of `18000` with date format of `
|
|
852
|
+
# 5:00 AM`. A timestamp of `18000` with date format of `DATE_FORMAT_ISO8601`,
|
|
852
853
|
# time format of `TIME_FORMAT_HOUR_MINUTE`, and time zone set to `America/
|
|
853
854
|
# New_York` will instead be `1970-01-01 12:00 AM`.
|
|
854
855
|
# Corresponds to the JSON property `timestamp`
|
|
@@ -2772,6 +2773,38 @@ module Google
|
|
|
2772
2773
|
end
|
|
2773
2774
|
end
|
|
2774
2775
|
|
|
2776
|
+
# Inserts a RichLink at the specified location.
|
|
2777
|
+
class InsertRichLinkRequest
|
|
2778
|
+
include Google::Apis::Core::Hashable
|
|
2779
|
+
|
|
2780
|
+
# Location at the end of a body, header, footer or footnote. The location is
|
|
2781
|
+
# immediately before the last newline in the document segment.
|
|
2782
|
+
# Corresponds to the JSON property `endOfSegmentLocation`
|
|
2783
|
+
# @return [Google::Apis::DocsV1::EndOfSegmentLocation]
|
|
2784
|
+
attr_accessor :end_of_segment_location
|
|
2785
|
+
|
|
2786
|
+
# A particular location in the document.
|
|
2787
|
+
# Corresponds to the JSON property `location`
|
|
2788
|
+
# @return [Google::Apis::DocsV1::Location]
|
|
2789
|
+
attr_accessor :location
|
|
2790
|
+
|
|
2791
|
+
# Properties specific to a RichLink.
|
|
2792
|
+
# Corresponds to the JSON property `richLinkProperties`
|
|
2793
|
+
# @return [Google::Apis::DocsV1::RichLinkProperties]
|
|
2794
|
+
attr_accessor :rich_link_properties
|
|
2795
|
+
|
|
2796
|
+
def initialize(**args)
|
|
2797
|
+
update!(**args)
|
|
2798
|
+
end
|
|
2799
|
+
|
|
2800
|
+
# Update properties of this object
|
|
2801
|
+
def update!(**args)
|
|
2802
|
+
@end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location)
|
|
2803
|
+
@location = args[:location] if args.key?(:location)
|
|
2804
|
+
@rich_link_properties = args[:rich_link_properties] if args.key?(:rich_link_properties)
|
|
2805
|
+
end
|
|
2806
|
+
end
|
|
2807
|
+
|
|
2775
2808
|
# Inserts a section break at the given location. A newline character will be
|
|
2776
2809
|
# inserted before the section break.
|
|
2777
2810
|
class InsertSectionBreakRequest
|
|
@@ -4781,6 +4814,11 @@ module Google
|
|
|
4781
4814
|
# @return [Google::Apis::DocsV1::InsertPersonRequest]
|
|
4782
4815
|
attr_accessor :insert_person
|
|
4783
4816
|
|
|
4817
|
+
# Inserts a RichLink at the specified location.
|
|
4818
|
+
# Corresponds to the JSON property `insertRichLink`
|
|
4819
|
+
# @return [Google::Apis::DocsV1::InsertRichLinkRequest]
|
|
4820
|
+
attr_accessor :insert_rich_link
|
|
4821
|
+
|
|
4784
4822
|
# Inserts a section break at the given location. A newline character will be
|
|
4785
4823
|
# inserted before the section break.
|
|
4786
4824
|
# Corresponds to the JSON property `insertSectionBreak`
|
|
@@ -4855,6 +4893,11 @@ module Google
|
|
|
4855
4893
|
# @return [Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest]
|
|
4856
4894
|
attr_accessor :update_document_tab_properties
|
|
4857
4895
|
|
|
4896
|
+
# Updates a named style.
|
|
4897
|
+
# Corresponds to the JSON property `updateNamedStyle`
|
|
4898
|
+
# @return [Google::Apis::DocsV1::UpdateNamedStyleRequest]
|
|
4899
|
+
attr_accessor :update_named_style
|
|
4900
|
+
|
|
4858
4901
|
# Update the styling of all paragraphs that overlap with the given range.
|
|
4859
4902
|
# Corresponds to the JSON property `updateParagraphStyle`
|
|
4860
4903
|
# @return [Google::Apis::DocsV1::UpdateParagraphStyleRequest]
|
|
@@ -4910,6 +4953,7 @@ module Google
|
|
|
4910
4953
|
@insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
|
|
4911
4954
|
@insert_page_break = args[:insert_page_break] if args.key?(:insert_page_break)
|
|
4912
4955
|
@insert_person = args[:insert_person] if args.key?(:insert_person)
|
|
4956
|
+
@insert_rich_link = args[:insert_rich_link] if args.key?(:insert_rich_link)
|
|
4913
4957
|
@insert_section_break = args[:insert_section_break] if args.key?(:insert_section_break)
|
|
4914
4958
|
@insert_table = args[:insert_table] if args.key?(:insert_table)
|
|
4915
4959
|
@insert_table_column = args[:insert_table_column] if args.key?(:insert_table_column)
|
|
@@ -4923,6 +4967,7 @@ module Google
|
|
|
4923
4967
|
@unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
|
|
4924
4968
|
@update_document_style = args[:update_document_style] if args.key?(:update_document_style)
|
|
4925
4969
|
@update_document_tab_properties = args[:update_document_tab_properties] if args.key?(:update_document_tab_properties)
|
|
4970
|
+
@update_named_style = args[:update_named_style] if args.key?(:update_named_style)
|
|
4926
4971
|
@update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
|
|
4927
4972
|
@update_section_style = args[:update_section_style] if args.key?(:update_section_style)
|
|
4928
4973
|
@update_table_cell_style = args[:update_table_cell_style] if args.key?(:update_table_cell_style)
|
|
@@ -6983,6 +7028,47 @@ module Google
|
|
|
6983
7028
|
end
|
|
6984
7029
|
end
|
|
6985
7030
|
|
|
7031
|
+
# Updates a named style.
|
|
7032
|
+
class UpdateNamedStyleRequest
|
|
7033
|
+
include Google::Apis::Core::Hashable
|
|
7034
|
+
|
|
7035
|
+
# The NamedStyle fields that should be updated. At least `named_style_type must
|
|
7036
|
+
# be specified. The root `named_style` is implied and should not be specified. A
|
|
7037
|
+
# single `"*"` can be used as short-hand for listing every field. For example,
|
|
7038
|
+
# to update the text style to bold, set `fields` to include `"text_style"` and `"
|
|
7039
|
+
# text_style.bold"`. To update the paragraph style's alignment property, set `
|
|
7040
|
+
# fields` to include `"paragraph_style"` and `"paragraph_style.alignment"`. To
|
|
7041
|
+
# reset a property to its default value, include its field name in the field
|
|
7042
|
+
# mask but leave the field itself unset. Specifying `"text_style"` or `"
|
|
7043
|
+
# paragraph_style"` with an empty TextStyle or ParagraphStyle will reset all of
|
|
7044
|
+
# its nested fields.
|
|
7045
|
+
# Corresponds to the JSON property `fields`
|
|
7046
|
+
# @return [String]
|
|
7047
|
+
attr_accessor :fields
|
|
7048
|
+
|
|
7049
|
+
# A named style. Paragraphs in the document can inherit their TextStyle and
|
|
7050
|
+
# ParagraphStyle from this named style when they have the same named style type.
|
|
7051
|
+
# Corresponds to the JSON property `namedStyle`
|
|
7052
|
+
# @return [Google::Apis::DocsV1::NamedStyle]
|
|
7053
|
+
attr_accessor :named_style
|
|
7054
|
+
|
|
7055
|
+
# The document tab to update. By default, the update is applied to the first tab.
|
|
7056
|
+
# Corresponds to the JSON property `tabId`
|
|
7057
|
+
# @return [String]
|
|
7058
|
+
attr_accessor :tab_id
|
|
7059
|
+
|
|
7060
|
+
def initialize(**args)
|
|
7061
|
+
update!(**args)
|
|
7062
|
+
end
|
|
7063
|
+
|
|
7064
|
+
# Update properties of this object
|
|
7065
|
+
def update!(**args)
|
|
7066
|
+
@fields = args[:fields] if args.key?(:fields)
|
|
7067
|
+
@named_style = args[:named_style] if args.key?(:named_style)
|
|
7068
|
+
@tab_id = args[:tab_id] if args.key?(:tab_id)
|
|
7069
|
+
end
|
|
7070
|
+
end
|
|
7071
|
+
|
|
6986
7072
|
# Update the styling of all paragraphs that overlap with the given range.
|
|
6987
7073
|
class UpdateParagraphStyleRequest
|
|
6988
7074
|
include Google::Apis::Core::Hashable
|
|
@@ -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.43.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260415"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -430,6 +430,12 @@ module Google
|
|
|
430
430
|
include Google::Apis::Core::JsonObjectSupport
|
|
431
431
|
end
|
|
432
432
|
|
|
433
|
+
class InsertRichLinkRequest
|
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
|
+
|
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
437
|
+
end
|
|
438
|
+
|
|
433
439
|
class InsertSectionBreakRequest
|
|
434
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
441
|
|
|
@@ -982,6 +988,12 @@ module Google
|
|
|
982
988
|
include Google::Apis::Core::JsonObjectSupport
|
|
983
989
|
end
|
|
984
990
|
|
|
991
|
+
class UpdateNamedStyleRequest
|
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
993
|
+
|
|
994
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
995
|
+
end
|
|
996
|
+
|
|
985
997
|
class UpdateParagraphStyleRequest
|
|
986
998
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
987
999
|
|
|
@@ -1793,6 +1805,18 @@ module Google
|
|
|
1793
1805
|
end
|
|
1794
1806
|
end
|
|
1795
1807
|
|
|
1808
|
+
class InsertRichLinkRequest
|
|
1809
|
+
# @private
|
|
1810
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1811
|
+
property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation
|
|
1812
|
+
|
|
1813
|
+
property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
|
|
1814
|
+
|
|
1815
|
+
property :rich_link_properties, as: 'richLinkProperties', class: Google::Apis::DocsV1::RichLinkProperties, decorator: Google::Apis::DocsV1::RichLinkProperties::Representation
|
|
1816
|
+
|
|
1817
|
+
end
|
|
1818
|
+
end
|
|
1819
|
+
|
|
1796
1820
|
class InsertSectionBreakRequest
|
|
1797
1821
|
# @private
|
|
1798
1822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2341,6 +2365,8 @@ module Google
|
|
|
2341
2365
|
|
|
2342
2366
|
property :insert_person, as: 'insertPerson', class: Google::Apis::DocsV1::InsertPersonRequest, decorator: Google::Apis::DocsV1::InsertPersonRequest::Representation
|
|
2343
2367
|
|
|
2368
|
+
property :insert_rich_link, as: 'insertRichLink', class: Google::Apis::DocsV1::InsertRichLinkRequest, decorator: Google::Apis::DocsV1::InsertRichLinkRequest::Representation
|
|
2369
|
+
|
|
2344
2370
|
property :insert_section_break, as: 'insertSectionBreak', class: Google::Apis::DocsV1::InsertSectionBreakRequest, decorator: Google::Apis::DocsV1::InsertSectionBreakRequest::Representation
|
|
2345
2371
|
|
|
2346
2372
|
property :insert_table, as: 'insertTable', class: Google::Apis::DocsV1::InsertTableRequest, decorator: Google::Apis::DocsV1::InsertTableRequest::Representation
|
|
@@ -2367,6 +2393,8 @@ module Google
|
|
|
2367
2393
|
|
|
2368
2394
|
property :update_document_tab_properties, as: 'updateDocumentTabProperties', class: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest::Representation
|
|
2369
2395
|
|
|
2396
|
+
property :update_named_style, as: 'updateNamedStyle', class: Google::Apis::DocsV1::UpdateNamedStyleRequest, decorator: Google::Apis::DocsV1::UpdateNamedStyleRequest::Representation
|
|
2397
|
+
|
|
2370
2398
|
property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::DocsV1::UpdateParagraphStyleRequest, decorator: Google::Apis::DocsV1::UpdateParagraphStyleRequest::Representation
|
|
2371
2399
|
|
|
2372
2400
|
property :update_section_style, as: 'updateSectionStyle', class: Google::Apis::DocsV1::UpdateSectionStyleRequest, decorator: Google::Apis::DocsV1::UpdateSectionStyleRequest::Representation
|
|
@@ -2958,6 +2986,16 @@ module Google
|
|
|
2958
2986
|
end
|
|
2959
2987
|
end
|
|
2960
2988
|
|
|
2989
|
+
class UpdateNamedStyleRequest
|
|
2990
|
+
# @private
|
|
2991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2992
|
+
property :fields, as: 'fields'
|
|
2993
|
+
property :named_style, as: 'namedStyle', class: Google::Apis::DocsV1::NamedStyle, decorator: Google::Apis::DocsV1::NamedStyle::Representation
|
|
2994
|
+
|
|
2995
|
+
property :tab_id, as: 'tabId'
|
|
2996
|
+
end
|
|
2997
|
+
end
|
|
2998
|
+
|
|
2961
2999
|
class UpdateParagraphStyleRequest
|
|
2962
3000
|
# @private
|
|
2963
3001
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.43.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.43.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|