google-apis-docs_v1 0.41.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04e0aab71085d2d91e24ff7b32fc706d80d1bd2b75d4a31a837b7f9c24ec8aa3
4
- data.tar.gz: 5c244b262947489f1b047da90eff341e7d11afc69fce3e189e677ef2c6793d14
3
+ metadata.gz: e14e780d424e4baa6b2d58baf9a1e47f63e46825afe116ce41efc4444c50f3ce
4
+ data.tar.gz: ec2e89a19f33f3b503f1e4875d6e35048fe868587fbe9896533135eb5c9b9595
5
5
  SHA512:
6
- metadata.gz: 6be7f53d465b298e9b63d7201fac0dc599f5ae1979498f02ce4907f1b56e7492f584e695760dffe94e2b5be6853db09b12526e8de295dddd94c9dbc2dcd4c0ba
7
- data.tar.gz: '09ac19b704556c64e24130bc0614b23412aa260c1d8b480704c26a3f83ec527b9d14c2b9ec82c33e86a378c956c694bb99d644cf73474aa45d4e8bc072b1ce20'
6
+ metadata.gz: a175678128b848c4efdab5f0452dec0ea94de1bf0f61c07e790b0e1dc1df0e928a96891b6086e1ea4040af3c7fe41a5f4a928f94cac8d4c4d4094756a686f54c
7
+ data.tar.gz: 5f63f2da5b4aed570ce1cfc4bb065e1e7d99f04e2d8fcc3de5c2a0f7f11f027c364cb6f5d358273f3eb6bc3f2e1f62cf2377ab4237fe4ae1603d4cae12bf4ee7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.43.0 (2026-04-19)
4
+
5
+ * Regenerated from discovery document revision 20260415
6
+
7
+ ### v0.42.0 (2026-03-15)
8
+
9
+ * Regenerated from discovery document revision 20260309
10
+
3
11
  ### v0.41.0 (2026-01-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20251222
@@ -807,7 +807,7 @@ module Google
807
807
  # Determines how the date part of the DateElement will be displayed in the
808
808
  # document. If unset, the default value is
809
809
  # DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, indicating the DateElement will be
810
- # formatted as `MMM d, y` in `en_US`, or locale specific equivalent.
810
+ # formatted as `MMM d, y` in `en`, or locale specific equivalent.
811
811
  # Corresponds to the JSON property `dateFormat`
812
812
  # @return [String]
813
813
  attr_accessor :date_format
@@ -817,9 +817,15 @@ module Google
817
817
  # @return [String]
818
818
  attr_accessor :display_text
819
819
 
820
- # The locale of the document, as defined by the Unicode Common Locale Data
821
- # Repository (CLDR) project. For example, `en_US`. If unset, the default locale
822
- # is `en_US`.
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`, `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`.
823
829
  # Corresponds to the JSON property `locale`
824
830
  # @return [String]
825
831
  attr_accessor :locale
@@ -832,7 +838,7 @@ module Google
832
838
  attr_accessor :time_format
833
839
 
834
840
  # The time zone of the DateElement, as defined by the Unicode Common Locale Data
835
- # Repository (CLDR) project. For example, `America/New York`. If unset, the
841
+ # Repository (CLDR) project. For example, `America/New_York`. If unset, the
836
842
  # default time zone is `etc/UTC`.
837
843
  # Corresponds to the JSON property `timeZoneId`
838
844
  # @return [String]
@@ -843,7 +849,7 @@ module Google
843
849
  # time_zone_id is set, the timestamp is adjusted according to the time zone. For
844
850
  # example, a timestamp of `18000` with a date format of `DATE_FORMAT_ISO8601`
845
851
  # and time format of `TIME_FORMAT_HOUR_MINUTE` would be displayed as `1970-01-01
846
- # 5:00 AM`. A timestamp of `18000` with date format of `DATE_FORMAT_8SO8601`,
852
+ # 5:00 AM`. A timestamp of `18000` with date format of `DATE_FORMAT_ISO8601`,
847
853
  # time format of `TIME_FORMAT_HOUR_MINUTE`, and time zone set to `America/
848
854
  # New_York` will instead be `1970-01-01 12:00 AM`.
849
855
  # Corresponds to the JSON property `timestamp`
@@ -2767,6 +2773,38 @@ module Google
2767
2773
  end
2768
2774
  end
2769
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
+
2770
2808
  # Inserts a section break at the given location. A newline character will be
2771
2809
  # inserted before the section break.
2772
2810
  class InsertSectionBreakRequest
@@ -4776,6 +4814,11 @@ module Google
4776
4814
  # @return [Google::Apis::DocsV1::InsertPersonRequest]
4777
4815
  attr_accessor :insert_person
4778
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
+
4779
4822
  # Inserts a section break at the given location. A newline character will be
4780
4823
  # inserted before the section break.
4781
4824
  # Corresponds to the JSON property `insertSectionBreak`
@@ -4850,6 +4893,11 @@ module Google
4850
4893
  # @return [Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest]
4851
4894
  attr_accessor :update_document_tab_properties
4852
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
+
4853
4901
  # Update the styling of all paragraphs that overlap with the given range.
4854
4902
  # Corresponds to the JSON property `updateParagraphStyle`
4855
4903
  # @return [Google::Apis::DocsV1::UpdateParagraphStyleRequest]
@@ -4905,6 +4953,7 @@ module Google
4905
4953
  @insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
4906
4954
  @insert_page_break = args[:insert_page_break] if args.key?(:insert_page_break)
4907
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)
4908
4957
  @insert_section_break = args[:insert_section_break] if args.key?(:insert_section_break)
4909
4958
  @insert_table = args[:insert_table] if args.key?(:insert_table)
4910
4959
  @insert_table_column = args[:insert_table_column] if args.key?(:insert_table_column)
@@ -4918,6 +4967,7 @@ module Google
4918
4967
  @unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
4919
4968
  @update_document_style = args[:update_document_style] if args.key?(:update_document_style)
4920
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)
4921
4971
  @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
4922
4972
  @update_section_style = args[:update_section_style] if args.key?(:update_section_style)
4923
4973
  @update_table_cell_style = args[:update_table_cell_style] if args.key?(:update_table_cell_style)
@@ -6978,6 +7028,47 @@ module Google
6978
7028
  end
6979
7029
  end
6980
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
+
6981
7072
  # Update the styling of all paragraphs that overlap with the given range.
6982
7073
  class UpdateParagraphStyleRequest
6983
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.41.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 = "20251222"
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.41.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.41.0
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: