google-apis-docs_v1 0.29.0 → 0.31.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: 704502fd6bfc9050077dd1bbad35c991f4e7f747ffd65a8fb3434bee92e504e4
4
- data.tar.gz: 9668a97556336a7fc07f84c8aa1bcdb0f291a541b8ac9326d60d633b3632fae4
3
+ metadata.gz: ba4f52a680ff8b0543a4df250d82425f9b5d2c1b931924e841aec80313d5431e
4
+ data.tar.gz: 65c77eb3d787df2dc582665f92618fc15ffdfada060d52006e2fa41d5879becc
5
5
  SHA512:
6
- metadata.gz: 5a4288300f6c9e3fc6907e4ac246e4dcece090aa7dc73f3f081a7004ee0e6fe0aec7699557e638006cc1b45787a806461fbcfbf1f173a820f20e829a6bbc006f
7
- data.tar.gz: 2fd16ccee4f2b9851b5fe64306d82b4ae4b94eb948bc39ff853d5795b2d11f233f69e20d49f9dcc05e0bb68bca773afcce6eb3660b35d850b5ac6600b1a5e514
6
+ metadata.gz: a17d32530e941d9204e8f8394a9b9e71b70c45f987925056843067b69c539e4cfa53531bae3731dd7e8a26c7ce89a929e3df3f311fee8dba20fed36d4f95c340
7
+ data.tar.gz: 5ba86a733c08ef86e8e62e27cd3c89bdfc17be4bf1f1edc75a3500314f350cb0d39f6ac1954e8a42b4d04928949b8c52ea870d50dab9df720f36903628d7f06f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.31.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250218
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.30.0 (2024-08-11)
9
+
10
+ * Regenerated from discovery document revision 20240730
11
+
3
12
  ### v0.29.0 (2024-08-04)
4
13
 
5
14
  * Regenerated from discovery document revision 20240726
@@ -590,7 +590,7 @@ module Google
590
590
  # inside of the image's original bounding rectangle. - If the offset is negative
591
591
  # or greater than 1, the corresponding edge of crop rectangle is positioned
592
592
  # outside of the image's original bounding rectangle. - If all offsets and
593
- # rotation angle are 0, the image is not cropped.
593
+ # rotation angles are 0, the image is not cropped.
594
594
  class CropProperties
595
595
  include Google::Apis::Core::Hashable
596
596
 
@@ -945,32 +945,56 @@ module Google
945
945
  # @return [Google::Apis::DocsV1::DocumentStyle]
946
946
  attr_accessor :document_style
947
947
 
948
- # Output only. The footers in the document, keyed by footer ID.
948
+ # Output only. The footers in the document, keyed by footer ID. Legacy field:
949
+ # Instead, use Document.tabs.documentTab.footers, which exposes the actual
950
+ # document content from all tabs when the includeTabsContent parameter is set to
951
+ # `true`. If `false` or unset, this field contains information about the first
952
+ # tab in the document.
949
953
  # Corresponds to the JSON property `footers`
950
954
  # @return [Hash<String,Google::Apis::DocsV1::Footer>]
951
955
  attr_accessor :footers
952
956
 
953
- # Output only. The footnotes in the document, keyed by footnote ID.
957
+ # Output only. The footnotes in the document, keyed by footnote ID. Legacy field:
958
+ # Instead, use Document.tabs.documentTab.footnotes, which exposes the actual
959
+ # document content from all tabs when the includeTabsContent parameter is set to
960
+ # `true`. If `false` or unset, this field contains information about the first
961
+ # tab in the document.
954
962
  # Corresponds to the JSON property `footnotes`
955
963
  # @return [Hash<String,Google::Apis::DocsV1::Footnote>]
956
964
  attr_accessor :footnotes
957
965
 
958
- # Output only. The headers in the document, keyed by header ID.
966
+ # Output only. The headers in the document, keyed by header ID. Legacy field:
967
+ # Instead, use Document.tabs.documentTab.headers, which exposes the actual
968
+ # document content from all tabs when the includeTabsContent parameter is set to
969
+ # `true`. If `false` or unset, this field contains information about the first
970
+ # tab in the document.
959
971
  # Corresponds to the JSON property `headers`
960
972
  # @return [Hash<String,Google::Apis::DocsV1::Header>]
961
973
  attr_accessor :headers
962
974
 
963
- # Output only. The inline objects in the document, keyed by object ID.
975
+ # Output only. The inline objects in the document, keyed by object ID. Legacy
976
+ # field: Instead, use Document.tabs.documentTab.inlineObjects, which exposes the
977
+ # actual document content from all tabs when the includeTabsContent parameter is
978
+ # set to `true`. If `false` or unset, this field contains information about the
979
+ # first tab in the document.
964
980
  # Corresponds to the JSON property `inlineObjects`
965
981
  # @return [Hash<String,Google::Apis::DocsV1::InlineObject>]
966
982
  attr_accessor :inline_objects
967
983
 
968
- # Output only. The lists in the document, keyed by list ID.
984
+ # Output only. The lists in the document, keyed by list ID. Legacy field:
985
+ # Instead, use Document.tabs.documentTab.lists, which exposes the actual
986
+ # document content from all tabs when the includeTabsContent parameter is set to
987
+ # `true`. If `false` or unset, this field contains information about the first
988
+ # tab in the document.
969
989
  # Corresponds to the JSON property `lists`
970
990
  # @return [Hash<String,Google::Apis::DocsV1::List>]
971
991
  attr_accessor :lists
972
992
 
973
- # Output only. The named ranges in the document, keyed by name.
993
+ # Output only. The named ranges in the document, keyed by name. Legacy field:
994
+ # Instead, use Document.tabs.documentTab.namedRanges, which exposes the actual
995
+ # document content from all tabs when the includeTabsContent parameter is set to
996
+ # `true`. If `false` or unset, this field contains information about the first
997
+ # tab in the document.
974
998
  # Corresponds to the JSON property `namedRanges`
975
999
  # @return [Hash<String,Google::Apis::DocsV1::NamedRanges>]
976
1000
  attr_accessor :named_ranges
@@ -982,6 +1006,10 @@ module Google
982
1006
  attr_accessor :named_styles
983
1007
 
984
1008
  # Output only. The positioned objects in the document, keyed by object ID.
1009
+ # Legacy field: Instead, use Document.tabs.documentTab.positionedObjects, which
1010
+ # exposes the actual document content from all tabs when the includeTabsContent
1011
+ # parameter is set to `true`. If `false` or unset, this field contains
1012
+ # information about the first tab in the document.
985
1013
  # Corresponds to the JSON property `positionedObjects`
986
1014
  # @return [Hash<String,Google::Apis::DocsV1::PositionedObject>]
987
1015
  attr_accessor :positioned_objects
@@ -1002,13 +1030,19 @@ module Google
1002
1030
  attr_accessor :revision_id
1003
1031
 
1004
1032
  # Output only. The suggested changes to the style of the document, keyed by
1005
- # suggestion ID.
1033
+ # suggestion ID. Legacy field: Instead, use Document.tabs.documentTab.
1034
+ # suggestedDocumentStyleChanges, which exposes the actual document content from
1035
+ # all tabs when the includeTabsContent parameter is set to `true`. If `false` or
1036
+ # unset, this field contains information about the first tab in the document.
1006
1037
  # Corresponds to the JSON property `suggestedDocumentStyleChanges`
1007
1038
  # @return [Hash<String,Google::Apis::DocsV1::SuggestedDocumentStyle>]
1008
1039
  attr_accessor :suggested_document_style_changes
1009
1040
 
1010
1041
  # Output only. The suggested changes to the named styles of the document, keyed
1011
- # by suggestion ID.
1042
+ # by suggestion ID. Legacy field: Instead, use Document.tabs.documentTab.
1043
+ # suggestedNamedStylesChanges, which exposes the actual document content from
1044
+ # all tabs when the includeTabsContent parameter is set to `true`. If `false` or
1045
+ # unset, this field contains information about the first tab in the document.
1012
1046
  # Corresponds to the JSON property `suggestedNamedStylesChanges`
1013
1047
  # @return [Hash<String,Google::Apis::DocsV1::SuggestedNamedStyles>]
1014
1048
  attr_accessor :suggested_named_styles_changes
@@ -1021,7 +1055,7 @@ module Google
1021
1055
  attr_accessor :suggestions_view_mode
1022
1056
 
1023
1057
  # Tabs that are part of a document. Tabs can contain child tabs, a tab nested
1024
- # within another tab. Child tabs are represented by the Tab.child_tabs field.
1058
+ # within another tab. Child tabs are represented by the Tab.childTabs field.
1025
1059
  # Corresponds to the JSON property `tabs`
1026
1060
  # @return [Array<Google::Apis::DocsV1::Tab>]
1027
1061
  attr_accessor :tabs
@@ -1161,7 +1195,7 @@ module Google
1161
1195
 
1162
1196
  # Indicates whether DocumentStyle margin_header, SectionStyle margin_header and
1163
1197
  # DocumentStyle margin_footer, SectionStyle margin_footer are respected. When
1164
- # false, the default values in the Docs editor for header and footer margin are
1198
+ # false, the default values in the Docs editor for header and footer margin is
1165
1199
  # used. This property is read-only.
1166
1200
  # Corresponds to the JSON property `useCustomHeaderFooterMargins`
1167
1201
  # @return [Boolean]
@@ -2044,7 +2078,7 @@ module Google
2044
2078
  # inside of the image's original bounding rectangle. - If the offset is negative
2045
2079
  # or greater than 1, the corresponding edge of crop rectangle is positioned
2046
2080
  # outside of the image's original bounding rectangle. - If all offsets and
2047
- # rotation angle are 0, the image is not cropped.
2081
+ # rotation angles are 0, the image is not cropped.
2048
2082
  # Corresponds to the JSON property `cropProperties`
2049
2083
  # @return [Google::Apis::DocsV1::CropProperties]
2050
2084
  attr_accessor :crop_properties
@@ -2566,7 +2600,14 @@ module Google
2566
2600
  # @return [Google::Apis::DocsV1::BookmarkLink]
2567
2601
  attr_accessor :bookmark
2568
2602
 
2569
- # The ID of a bookmark in this document.
2603
+ # The ID of a bookmark in this document. Legacy field: Instead, set
2604
+ # includeTabsContent to `true` and use Link.bookmark for read and write
2605
+ # operations. This field is only returned when includeTabsContent is set to `
2606
+ # false` in documents containing a single tab and links to a bookmark within the
2607
+ # singular tab. Otherwise, Link.bookmark is returned. If this field is used in a
2608
+ # write request, the bookmark is considered to be from the tab ID specified in
2609
+ # the request. If a tab ID is not specified in the request, it is considered to
2610
+ # be from the first tab in the document.
2570
2611
  # Corresponds to the JSON property `bookmarkId`
2571
2612
  # @return [String]
2572
2613
  attr_accessor :bookmark_id
@@ -2576,7 +2617,14 @@ module Google
2576
2617
  # @return [Google::Apis::DocsV1::HeadingLink]
2577
2618
  attr_accessor :heading
2578
2619
 
2579
- # The ID of a heading in this document.
2620
+ # The ID of a heading in this document. Legacy field: Instead, set
2621
+ # includeTabsContent to `true` and use Link.heading for read and write
2622
+ # operations. This field is only returned when includeTabsContent is set to `
2623
+ # false` in documents containing a single tab and links to a heading within the
2624
+ # singular tab. Otherwise, Link.heading is returned. If this field is used in a
2625
+ # write request, the heading is considered to be from the tab ID specified in
2626
+ # the request. If a tab ID is not specified in the request, it is considered to
2627
+ # be from the first tab in the document.
2580
2628
  # Corresponds to the JSON property `headingId`
2581
2629
  # @return [String]
2582
2630
  attr_accessor :heading_id
@@ -3025,7 +3073,7 @@ module Google
3025
3073
  attr_accessor :glyph_format
3026
3074
 
3027
3075
  # A custom glyph symbol used by bullets when paragraphs at this level of nesting
3028
- # are unordered. The glyph symbol replaces placeholders within the glyph_format.
3076
+ # is unordered. The glyph symbol replaces placeholders within the glyph_format.
3029
3077
  # For example, if the glyph_symbol is the solid circle corresponding to Unicode
3030
3078
  # U+25cf code point and the glyph_format is `%0`, the rendered glyph would be
3031
3079
  # the solid circle.
@@ -3033,13 +3081,13 @@ module Google
3033
3081
  # @return [String]
3034
3082
  attr_accessor :glyph_symbol
3035
3083
 
3036
- # The type of glyph used by bullets when paragraphs at this level of nesting are
3084
+ # The type of glyph used by bullets when paragraphs at this level of nesting is
3037
3085
  # ordered. The glyph type determines the type of glyph used to replace
3038
3086
  # placeholders within the glyph_format when paragraphs at this level of nesting
3039
3087
  # are ordered. For example, if the nesting level is 0, the glyph_format is `%0.`
3040
3088
  # and the glyph type is DECIMAL, then the rendered glyph would replace the
3041
- # placeholder `%0` in the glyph format with a number corresponding to list item'
3042
- # s order within the list.
3089
+ # placeholder `%0` in the glyph format with a number corresponding to the list
3090
+ # item's order within the list.
3043
3091
  # Corresponds to the JSON property `glyphType`
3044
3092
  # @return [String]
3045
3093
  attr_accessor :glyph_type
@@ -5478,7 +5526,7 @@ module Google
5478
5526
  class TabProperties
5479
5527
  include Google::Apis::Core::Hashable
5480
5528
 
5481
- # The index of the tab within the parent.
5529
+ # The zero-based index of the tab within the parent.
5482
5530
  # Corresponds to the JSON property `index`
5483
5531
  # @return [Fixnum]
5484
5532
  attr_accessor :index
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240726"
25
+ REVISION = "20250218"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-docs_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-08-04 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.29.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.31.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Google Docs API V1
82
79
  test_files: []