google-apis-docs_v1 0.39.0 → 0.40.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: 2feb90a7bc8f8159f0b2298b801dfb8508ceddf5fcb91c22f828bffdaaf7ca36
4
- data.tar.gz: 8c8d9744eb1124458740f0cb752ee1f186a41aba0f89cbce49106e47bf9c6a89
3
+ metadata.gz: 8b05b0bf23f7d41464d100469cd1b749eab4b19466a1ddec73cad977c5b36804
4
+ data.tar.gz: 1dc4b2d467528c373e5e81aa2eea2c007a7fc73c4abbbc48eade31515e02344f
5
5
  SHA512:
6
- metadata.gz: 2d4f10d0e6fc32da1509429fa74690b33d607e6d5ec630ce8aa2b24add279e1c86b3a92156070f35ab5f6738155c4e6b9b1a6da9650f40650be87767326a4c1e
7
- data.tar.gz: 5e2b78143c4673ede192a3a11987d2f83df541145aad1f28bd7f9eefeecff70db9e6d5b9e937986dee02f7164c3e129cb4e70a41593f4881ee7846012fc64796
6
+ metadata.gz: 8e5be470b2d0436082b496f3aa7ecde673fe60399fc1ea44b8a410fb21985dc308fe9513b7044ac11fa85b307e002421bbfba8e4c34de9c555acbd223fcd120f
7
+ data.tar.gz: 4798ae4741d3a2e3249c90d0a2e671f6ddccffe7609d7c4d6e506d4f2f101d9e5b7df162120e6f277588a202de3063e411be44970b33146ec8153d9e14c7b9a5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.40.0 (2025-12-21)
4
+
5
+ * Regenerated from discovery document revision 20251215
6
+
3
7
  ### v0.39.0 (2025-12-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20251124
@@ -692,6 +692,75 @@ module Google
692
692
  end
693
693
  end
694
694
 
695
+ # A date instance mentioned in a document.
696
+ class DateElement
697
+ include Google::Apis::Core::Hashable
698
+
699
+ # Properties of a DateElement.
700
+ # Corresponds to the JSON property `dateElementProperties`
701
+ # @return [Google::Apis::DocsV1::DateElementProperties]
702
+ attr_accessor :date_element_properties
703
+
704
+ # Output only. The unique ID of this date.
705
+ # Corresponds to the JSON property `dateId`
706
+ # @return [String]
707
+ attr_accessor :date_id
708
+
709
+ # The suggested changes to the date element properties, keyed by suggestion ID.
710
+ # Corresponds to the JSON property `suggestedDateElementPropertiesChanges`
711
+ # @return [Hash<String,Google::Apis::DocsV1::SuggestedDateElementProperties>]
712
+ attr_accessor :suggested_date_element_properties_changes
713
+
714
+ # IDs for suggestions that remove this date from the document. A DateElement
715
+ # might have multiple deletion IDs if, for example, multiple users suggest
716
+ # deleting it. If empty, then this date isn't suggested for deletion.
717
+ # Corresponds to the JSON property `suggestedDeletionIds`
718
+ # @return [Array<String>]
719
+ attr_accessor :suggested_deletion_ids
720
+
721
+ # IDs for suggestions that insert this date into the document. A DateElement
722
+ # might have multiple insertion IDs if it's a nested suggested change (a
723
+ # suggestion within a suggestion made by a different user, for example). If
724
+ # empty, then this date isn't a suggested insertion.
725
+ # Corresponds to the JSON property `suggestedInsertionIds`
726
+ # @return [Array<String>]
727
+ attr_accessor :suggested_insertion_ids
728
+
729
+ # The suggested text style changes to this DateElement, keyed by suggestion ID.
730
+ # Corresponds to the JSON property `suggestedTextStyleChanges`
731
+ # @return [Hash<String,Google::Apis::DocsV1::SuggestedTextStyle>]
732
+ attr_accessor :suggested_text_style_changes
733
+
734
+ # Represents the styling that can be applied to text. Inherited text styles are
735
+ # represented as unset fields in this message. A text style's parent depends on
736
+ # where the text style is defined: * The TextStyle of text in a Paragraph
737
+ # inherits from the paragraph's corresponding named style type. * The TextStyle
738
+ # on a named style inherits from the normal text named style. * The TextStyle of
739
+ # the normal text named style inherits from the default text style in the Docs
740
+ # editor. * The TextStyle on a Paragraph element that's contained in a table may
741
+ # inherit its text style from the table style. If the text style does not
742
+ # inherit from a parent, unsetting fields will revert the style to a value
743
+ # matching the defaults in the Docs editor.
744
+ # Corresponds to the JSON property `textStyle`
745
+ # @return [Google::Apis::DocsV1::TextStyle]
746
+ attr_accessor :text_style
747
+
748
+ def initialize(**args)
749
+ update!(**args)
750
+ end
751
+
752
+ # Update properties of this object
753
+ def update!(**args)
754
+ @date_element_properties = args[:date_element_properties] if args.key?(:date_element_properties)
755
+ @date_id = args[:date_id] if args.key?(:date_id)
756
+ @suggested_date_element_properties_changes = args[:suggested_date_element_properties_changes] if args.key?(:suggested_date_element_properties_changes)
757
+ @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids)
758
+ @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids)
759
+ @suggested_text_style_changes = args[:suggested_text_style_changes] if args.key?(:suggested_text_style_changes)
760
+ @text_style = args[:text_style] if args.key?(:text_style)
761
+ end
762
+ end
763
+
695
764
  # Properties of a DateElement.
696
765
  class DateElementProperties
697
766
  include Google::Apis::Core::Hashable
@@ -757,6 +826,56 @@ module Google
757
826
  end
758
827
  end
759
828
 
829
+ # A mask that indicates which of the fields on the base DateElementProperties
830
+ # have been changed in this suggestion. For any field set to true, there's a new
831
+ # suggested value.
832
+ class DateElementPropertiesSuggestionState
833
+ include Google::Apis::Core::Hashable
834
+
835
+ # Indicates if there was a suggested change to date_format.
836
+ # Corresponds to the JSON property `dateFormatSuggested`
837
+ # @return [Boolean]
838
+ attr_accessor :date_format_suggested
839
+ alias_method :date_format_suggested?, :date_format_suggested
840
+
841
+ # Indicates if there was a suggested change to locale.
842
+ # Corresponds to the JSON property `localeSuggested`
843
+ # @return [Boolean]
844
+ attr_accessor :locale_suggested
845
+ alias_method :locale_suggested?, :locale_suggested
846
+
847
+ # Indicates if there was a suggested change to time_format.
848
+ # Corresponds to the JSON property `timeFormatSuggested`
849
+ # @return [Boolean]
850
+ attr_accessor :time_format_suggested
851
+ alias_method :time_format_suggested?, :time_format_suggested
852
+
853
+ # Indicates if there was a suggested change to time_zone_id.
854
+ # Corresponds to the JSON property `timeZoneIdSuggested`
855
+ # @return [Boolean]
856
+ attr_accessor :time_zone_id_suggested
857
+ alias_method :time_zone_id_suggested?, :time_zone_id_suggested
858
+
859
+ # Indicates if there was a suggested change to timestamp.
860
+ # Corresponds to the JSON property `timestampSuggested`
861
+ # @return [Boolean]
862
+ attr_accessor :timestamp_suggested
863
+ alias_method :timestamp_suggested?, :timestamp_suggested
864
+
865
+ def initialize(**args)
866
+ update!(**args)
867
+ end
868
+
869
+ # Update properties of this object
870
+ def update!(**args)
871
+ @date_format_suggested = args[:date_format_suggested] if args.key?(:date_format_suggested)
872
+ @locale_suggested = args[:locale_suggested] if args.key?(:locale_suggested)
873
+ @time_format_suggested = args[:time_format_suggested] if args.key?(:time_format_suggested)
874
+ @time_zone_id_suggested = args[:time_zone_id_suggested] if args.key?(:time_zone_id_suggested)
875
+ @timestamp_suggested = args[:timestamp_suggested] if args.key?(:timestamp_suggested)
876
+ end
877
+ end
878
+
760
879
  # Deletes content from the document.
761
880
  class DeleteContentRangeRequest
762
881
  include Google::Apis::Core::Hashable
@@ -3586,6 +3705,11 @@ module Google
3586
3705
  # @return [Google::Apis::DocsV1::ColumnBreak]
3587
3706
  attr_accessor :column_break
3588
3707
 
3708
+ # A date instance mentioned in a document.
3709
+ # Corresponds to the JSON property `dateElement`
3710
+ # @return [Google::Apis::DocsV1::DateElement]
3711
+ attr_accessor :date_element
3712
+
3589
3713
  # The zero-base end index of this paragraph element, exclusive, in UTF-16 code
3590
3714
  # units.
3591
3715
  # Corresponds to the JSON property `endIndex`
@@ -3649,6 +3773,7 @@ module Google
3649
3773
  def update!(**args)
3650
3774
  @auto_text = args[:auto_text] if args.key?(:auto_text)
3651
3775
  @column_break = args[:column_break] if args.key?(:column_break)
3776
+ @date_element = args[:date_element] if args.key?(:date_element)
3652
3777
  @end_index = args[:end_index] if args.key?(:end_index)
3653
3778
  @equation = args[:equation] if args.key?(:equation)
3654
3779
  @footnote_reference = args[:footnote_reference] if args.key?(:footnote_reference)
@@ -5422,6 +5547,33 @@ module Google
5422
5547
  end
5423
5548
  end
5424
5549
 
5550
+ # A suggested change to a DateElementProperties.
5551
+ class SuggestedDateElementProperties
5552
+ include Google::Apis::Core::Hashable
5553
+
5554
+ # Properties of a DateElement.
5555
+ # Corresponds to the JSON property `dateElementProperties`
5556
+ # @return [Google::Apis::DocsV1::DateElementProperties]
5557
+ attr_accessor :date_element_properties
5558
+
5559
+ # A mask that indicates which of the fields on the base DateElementProperties
5560
+ # have been changed in this suggestion. For any field set to true, there's a new
5561
+ # suggested value.
5562
+ # Corresponds to the JSON property `dateElementPropertiesSuggestionState`
5563
+ # @return [Google::Apis::DocsV1::DateElementPropertiesSuggestionState]
5564
+ attr_accessor :date_element_properties_suggestion_state
5565
+
5566
+ def initialize(**args)
5567
+ update!(**args)
5568
+ end
5569
+
5570
+ # Update properties of this object
5571
+ def update!(**args)
5572
+ @date_element_properties = args[:date_element_properties] if args.key?(:date_element_properties)
5573
+ @date_element_properties_suggestion_state = args[:date_element_properties_suggestion_state] if args.key?(:date_element_properties_suggestion_state)
5574
+ end
5575
+ end
5576
+
5425
5577
  # A suggested change to the DocumentStyle.
5426
5578
  class SuggestedDocumentStyle
5427
5579
  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.39.0"
19
+ GEM_VERSION = "0.40.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 = "20251124"
25
+ REVISION = "20251215"
26
26
  end
27
27
  end
28
28
  end
@@ -154,12 +154,24 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class DateElement
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class DateElementProperties
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
169
+ class DateElementPropertiesSuggestionState
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
163
175
  class DeleteContentRangeRequest
164
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
177
 
@@ -754,6 +766,12 @@ module Google
754
766
  include Google::Apis::Core::JsonObjectSupport
755
767
  end
756
768
 
769
+ class SuggestedDateElementProperties
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
757
775
  class SuggestedDocumentStyle
758
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
777
 
@@ -1189,6 +1207,23 @@ module Google
1189
1207
  end
1190
1208
  end
1191
1209
 
1210
+ class DateElement
1211
+ # @private
1212
+ class Representation < Google::Apis::Core::JsonRepresentation
1213
+ property :date_element_properties, as: 'dateElementProperties', class: Google::Apis::DocsV1::DateElementProperties, decorator: Google::Apis::DocsV1::DateElementProperties::Representation
1214
+
1215
+ property :date_id, as: 'dateId'
1216
+ hash :suggested_date_element_properties_changes, as: 'suggestedDateElementPropertiesChanges', class: Google::Apis::DocsV1::SuggestedDateElementProperties, decorator: Google::Apis::DocsV1::SuggestedDateElementProperties::Representation
1217
+
1218
+ collection :suggested_deletion_ids, as: 'suggestedDeletionIds'
1219
+ collection :suggested_insertion_ids, as: 'suggestedInsertionIds'
1220
+ hash :suggested_text_style_changes, as: 'suggestedTextStyleChanges', class: Google::Apis::DocsV1::SuggestedTextStyle, decorator: Google::Apis::DocsV1::SuggestedTextStyle::Representation
1221
+
1222
+ property :text_style, as: 'textStyle', class: Google::Apis::DocsV1::TextStyle, decorator: Google::Apis::DocsV1::TextStyle::Representation
1223
+
1224
+ end
1225
+ end
1226
+
1192
1227
  class DateElementProperties
1193
1228
  # @private
1194
1229
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1201,6 +1236,17 @@ module Google
1201
1236
  end
1202
1237
  end
1203
1238
 
1239
+ class DateElementPropertiesSuggestionState
1240
+ # @private
1241
+ class Representation < Google::Apis::Core::JsonRepresentation
1242
+ property :date_format_suggested, as: 'dateFormatSuggested'
1243
+ property :locale_suggested, as: 'localeSuggested'
1244
+ property :time_format_suggested, as: 'timeFormatSuggested'
1245
+ property :time_zone_id_suggested, as: 'timeZoneIdSuggested'
1246
+ property :timestamp_suggested, as: 'timestampSuggested'
1247
+ end
1248
+ end
1249
+
1204
1250
  class DeleteContentRangeRequest
1205
1251
  # @private
1206
1252
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1982,6 +2028,8 @@ module Google
1982
2028
 
1983
2029
  property :column_break, as: 'columnBreak', class: Google::Apis::DocsV1::ColumnBreak, decorator: Google::Apis::DocsV1::ColumnBreak::Representation
1984
2030
 
2031
+ property :date_element, as: 'dateElement', class: Google::Apis::DocsV1::DateElement, decorator: Google::Apis::DocsV1::DateElement::Representation
2032
+
1985
2033
  property :end_index, as: 'endIndex'
1986
2034
  property :equation, as: 'equation', class: Google::Apis::DocsV1::Equation, decorator: Google::Apis::DocsV1::Equation::Representation
1987
2035
 
@@ -2470,6 +2518,16 @@ module Google
2470
2518
  end
2471
2519
  end
2472
2520
 
2521
+ class SuggestedDateElementProperties
2522
+ # @private
2523
+ class Representation < Google::Apis::Core::JsonRepresentation
2524
+ property :date_element_properties, as: 'dateElementProperties', class: Google::Apis::DocsV1::DateElementProperties, decorator: Google::Apis::DocsV1::DateElementProperties::Representation
2525
+
2526
+ property :date_element_properties_suggestion_state, as: 'dateElementPropertiesSuggestionState', class: Google::Apis::DocsV1::DateElementPropertiesSuggestionState, decorator: Google::Apis::DocsV1::DateElementPropertiesSuggestionState::Representation
2527
+
2528
+ end
2529
+ end
2530
+
2473
2531
  class SuggestedDocumentStyle
2474
2532
  # @private
2475
2533
  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.39.0
4
+ version: 0.40.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.39.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.40.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: