google-apis-docs_v1 0.38.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/docs_v1/classes.rb +255 -0
- data/lib/google/apis/docs_v1/gem_version.rb +2 -2
- data/lib/google/apis/docs_v1/representations.rb +96 -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: 8b05b0bf23f7d41464d100469cd1b749eab4b19466a1ddec73cad977c5b36804
|
|
4
|
+
data.tar.gz: 1dc4b2d467528c373e5e81aa2eea2c007a7fc73c4abbbc48eade31515e02344f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e5be470b2d0436082b496f3aa7ecde673fe60399fc1ea44b8a410fb21985dc308fe9513b7044ac11fa85b307e002421bbfba8e4c34de9c555acbd223fcd120f
|
|
7
|
+
data.tar.gz: 4798ae4741d3a2e3249c90d0a2e671f6ddccffe7609d7c4d6e506d4f2f101d9e5b7df162120e6f277588a202de3063e411be44970b33146ec8153d9e14c7b9a5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
7
|
+
### v0.39.0 (2025-12-07)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251124
|
|
10
|
+
|
|
3
11
|
### v0.38.0 (2025-11-16)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251110
|
|
@@ -692,6 +692,190 @@ 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
|
+
|
|
764
|
+
# Properties of a DateElement.
|
|
765
|
+
class DateElementProperties
|
|
766
|
+
include Google::Apis::Core::Hashable
|
|
767
|
+
|
|
768
|
+
# Determines how the date part of the DateElement will be displayed in the
|
|
769
|
+
# document. If unset, the default value is
|
|
770
|
+
# DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, indicating the DateElement will be
|
|
771
|
+
# formatted as `MMM d, y` in `en_US`, or locale specific equivalent.
|
|
772
|
+
# Corresponds to the JSON property `dateFormat`
|
|
773
|
+
# @return [String]
|
|
774
|
+
attr_accessor :date_format
|
|
775
|
+
|
|
776
|
+
# Output only. Indicates how the DateElement is displayed in the document.
|
|
777
|
+
# Corresponds to the JSON property `displayText`
|
|
778
|
+
# @return [String]
|
|
779
|
+
attr_accessor :display_text
|
|
780
|
+
|
|
781
|
+
# The locale of the document, as defined by the Unicode Common Locale Data
|
|
782
|
+
# Repository (CLDR) project. For example, `en_US`. If unset, the default locale
|
|
783
|
+
# is `en_US`.
|
|
784
|
+
# Corresponds to the JSON property `locale`
|
|
785
|
+
# @return [String]
|
|
786
|
+
attr_accessor :locale
|
|
787
|
+
|
|
788
|
+
# Determines how the time part of the DateElement will be displayed in the
|
|
789
|
+
# document. If unset, the default value is TIME_FORMAT_DISABLED, indicating no
|
|
790
|
+
# time should be shown.
|
|
791
|
+
# Corresponds to the JSON property `timeFormat`
|
|
792
|
+
# @return [String]
|
|
793
|
+
attr_accessor :time_format
|
|
794
|
+
|
|
795
|
+
# The time zone of the DateElement, as defined by the Unicode Common Locale Data
|
|
796
|
+
# Repository (CLDR) project. For example, `America/New York`. If unset, the
|
|
797
|
+
# default time zone is `etc/UTC`.
|
|
798
|
+
# Corresponds to the JSON property `timeZoneId`
|
|
799
|
+
# @return [String]
|
|
800
|
+
attr_accessor :time_zone_id
|
|
801
|
+
|
|
802
|
+
# The point in time to represent, in seconds and nanoseconds since Unix epoch:
|
|
803
|
+
# January 1, 1970 at midnight UTC. Timestamp is expected to be in UTC. If
|
|
804
|
+
# time_zone_id is set, the timestamp is adjusted according to the time zone. For
|
|
805
|
+
# example, a timestamp of `18000` with a date format of `DATE_FORMAT_ISO8601`
|
|
806
|
+
# and time format of `TIME_FORMAT_HOUR_MINUTE` would be displayed as `1970-01-01
|
|
807
|
+
# 5:00 AM`. A timestamp of `18000` with date format of `DATE_FORMAT_8SO8601`,
|
|
808
|
+
# time format of `TIME_FORMAT_HOUR_MINUTE`, and time zone set to `America/
|
|
809
|
+
# New_York` will instead be `1970-01-01 12:00 AM`.
|
|
810
|
+
# Corresponds to the JSON property `timestamp`
|
|
811
|
+
# @return [String]
|
|
812
|
+
attr_accessor :timestamp
|
|
813
|
+
|
|
814
|
+
def initialize(**args)
|
|
815
|
+
update!(**args)
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# Update properties of this object
|
|
819
|
+
def update!(**args)
|
|
820
|
+
@date_format = args[:date_format] if args.key?(:date_format)
|
|
821
|
+
@display_text = args[:display_text] if args.key?(:display_text)
|
|
822
|
+
@locale = args[:locale] if args.key?(:locale)
|
|
823
|
+
@time_format = args[:time_format] if args.key?(:time_format)
|
|
824
|
+
@time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id)
|
|
825
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
826
|
+
end
|
|
827
|
+
end
|
|
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
|
+
|
|
695
879
|
# Deletes content from the document.
|
|
696
880
|
class DeleteContentRangeRequest
|
|
697
881
|
include Google::Apis::Core::Hashable
|
|
@@ -2354,6 +2538,38 @@ module Google
|
|
|
2354
2538
|
end
|
|
2355
2539
|
end
|
|
2356
2540
|
|
|
2541
|
+
# Inserts a date at the specified location.
|
|
2542
|
+
class InsertDateRequest
|
|
2543
|
+
include Google::Apis::Core::Hashable
|
|
2544
|
+
|
|
2545
|
+
# Properties of a DateElement.
|
|
2546
|
+
# Corresponds to the JSON property `dateElementProperties`
|
|
2547
|
+
# @return [Google::Apis::DocsV1::DateElementProperties]
|
|
2548
|
+
attr_accessor :date_element_properties
|
|
2549
|
+
|
|
2550
|
+
# Location at the end of a body, header, footer or footnote. The location is
|
|
2551
|
+
# immediately before the last newline in the document segment.
|
|
2552
|
+
# Corresponds to the JSON property `endOfSegmentLocation`
|
|
2553
|
+
# @return [Google::Apis::DocsV1::EndOfSegmentLocation]
|
|
2554
|
+
attr_accessor :end_of_segment_location
|
|
2555
|
+
|
|
2556
|
+
# A particular location in the document.
|
|
2557
|
+
# Corresponds to the JSON property `location`
|
|
2558
|
+
# @return [Google::Apis::DocsV1::Location]
|
|
2559
|
+
attr_accessor :location
|
|
2560
|
+
|
|
2561
|
+
def initialize(**args)
|
|
2562
|
+
update!(**args)
|
|
2563
|
+
end
|
|
2564
|
+
|
|
2565
|
+
# Update properties of this object
|
|
2566
|
+
def update!(**args)
|
|
2567
|
+
@date_element_properties = args[:date_element_properties] if args.key?(:date_element_properties)
|
|
2568
|
+
@end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location)
|
|
2569
|
+
@location = args[:location] if args.key?(:location)
|
|
2570
|
+
end
|
|
2571
|
+
end
|
|
2572
|
+
|
|
2357
2573
|
# Inserts an InlineObject containing an image at the given location.
|
|
2358
2574
|
class InsertInlineImageRequest
|
|
2359
2575
|
include Google::Apis::Core::Hashable
|
|
@@ -3489,6 +3705,11 @@ module Google
|
|
|
3489
3705
|
# @return [Google::Apis::DocsV1::ColumnBreak]
|
|
3490
3706
|
attr_accessor :column_break
|
|
3491
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
|
+
|
|
3492
3713
|
# The zero-base end index of this paragraph element, exclusive, in UTF-16 code
|
|
3493
3714
|
# units.
|
|
3494
3715
|
# Corresponds to the JSON property `endIndex`
|
|
@@ -3552,6 +3773,7 @@ module Google
|
|
|
3552
3773
|
def update!(**args)
|
|
3553
3774
|
@auto_text = args[:auto_text] if args.key?(:auto_text)
|
|
3554
3775
|
@column_break = args[:column_break] if args.key?(:column_break)
|
|
3776
|
+
@date_element = args[:date_element] if args.key?(:date_element)
|
|
3555
3777
|
@end_index = args[:end_index] if args.key?(:end_index)
|
|
3556
3778
|
@equation = args[:equation] if args.key?(:equation)
|
|
3557
3779
|
@footnote_reference = args[:footnote_reference] if args.key?(:footnote_reference)
|
|
@@ -4465,6 +4687,11 @@ module Google
|
|
|
4465
4687
|
# @return [Google::Apis::DocsV1::DeleteTableRowRequest]
|
|
4466
4688
|
attr_accessor :delete_table_row
|
|
4467
4689
|
|
|
4690
|
+
# Inserts a date at the specified location.
|
|
4691
|
+
# Corresponds to the JSON property `insertDate`
|
|
4692
|
+
# @return [Google::Apis::DocsV1::InsertDateRequest]
|
|
4693
|
+
attr_accessor :insert_date
|
|
4694
|
+
|
|
4468
4695
|
# Inserts an InlineObject containing an image at the given location.
|
|
4469
4696
|
# Corresponds to the JSON property `insertInlineImage`
|
|
4470
4697
|
# @return [Google::Apis::DocsV1::InsertInlineImageRequest]
|
|
@@ -4598,6 +4825,7 @@ module Google
|
|
|
4598
4825
|
@delete_positioned_object = args[:delete_positioned_object] if args.key?(:delete_positioned_object)
|
|
4599
4826
|
@delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column)
|
|
4600
4827
|
@delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
|
|
4828
|
+
@insert_date = args[:insert_date] if args.key?(:insert_date)
|
|
4601
4829
|
@insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
|
|
4602
4830
|
@insert_page_break = args[:insert_page_break] if args.key?(:insert_page_break)
|
|
4603
4831
|
@insert_person = args[:insert_person] if args.key?(:insert_person)
|
|
@@ -5319,6 +5547,33 @@ module Google
|
|
|
5319
5547
|
end
|
|
5320
5548
|
end
|
|
5321
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
|
+
|
|
5322
5577
|
# A suggested change to the DocumentStyle.
|
|
5323
5578
|
class SuggestedDocumentStyle
|
|
5324
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.
|
|
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 = "
|
|
25
|
+
REVISION = "20251215"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -154,6 +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
|
+
|
|
163
|
+
class DateElementProperties
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
class DateElementPropertiesSuggestionState
|
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
+
end
|
|
174
|
+
|
|
157
175
|
class DeleteContentRangeRequest
|
|
158
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
177
|
|
|
@@ -358,6 +376,12 @@ module Google
|
|
|
358
376
|
include Google::Apis::Core::JsonObjectSupport
|
|
359
377
|
end
|
|
360
378
|
|
|
379
|
+
class InsertDateRequest
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
+
|
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
+
end
|
|
384
|
+
|
|
361
385
|
class InsertInlineImageRequest
|
|
362
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
387
|
|
|
@@ -742,6 +766,12 @@ module Google
|
|
|
742
766
|
include Google::Apis::Core::JsonObjectSupport
|
|
743
767
|
end
|
|
744
768
|
|
|
769
|
+
class SuggestedDateElementProperties
|
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
771
|
+
|
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
773
|
+
end
|
|
774
|
+
|
|
745
775
|
class SuggestedDocumentStyle
|
|
746
776
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
747
777
|
|
|
@@ -1177,6 +1207,46 @@ module Google
|
|
|
1177
1207
|
end
|
|
1178
1208
|
end
|
|
1179
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
|
+
|
|
1227
|
+
class DateElementProperties
|
|
1228
|
+
# @private
|
|
1229
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1230
|
+
property :date_format, as: 'dateFormat'
|
|
1231
|
+
property :display_text, as: 'displayText'
|
|
1232
|
+
property :locale, as: 'locale'
|
|
1233
|
+
property :time_format, as: 'timeFormat'
|
|
1234
|
+
property :time_zone_id, as: 'timeZoneId'
|
|
1235
|
+
property :timestamp, as: 'timestamp'
|
|
1236
|
+
end
|
|
1237
|
+
end
|
|
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
|
+
|
|
1180
1250
|
class DeleteContentRangeRequest
|
|
1181
1251
|
# @private
|
|
1182
1252
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1615,6 +1685,18 @@ module Google
|
|
|
1615
1685
|
end
|
|
1616
1686
|
end
|
|
1617
1687
|
|
|
1688
|
+
class InsertDateRequest
|
|
1689
|
+
# @private
|
|
1690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1691
|
+
property :date_element_properties, as: 'dateElementProperties', class: Google::Apis::DocsV1::DateElementProperties, decorator: Google::Apis::DocsV1::DateElementProperties::Representation
|
|
1692
|
+
|
|
1693
|
+
property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation
|
|
1694
|
+
|
|
1695
|
+
property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
|
|
1696
|
+
|
|
1697
|
+
end
|
|
1698
|
+
end
|
|
1699
|
+
|
|
1618
1700
|
class InsertInlineImageRequest
|
|
1619
1701
|
# @private
|
|
1620
1702
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1946,6 +2028,8 @@ module Google
|
|
|
1946
2028
|
|
|
1947
2029
|
property :column_break, as: 'columnBreak', class: Google::Apis::DocsV1::ColumnBreak, decorator: Google::Apis::DocsV1::ColumnBreak::Representation
|
|
1948
2030
|
|
|
2031
|
+
property :date_element, as: 'dateElement', class: Google::Apis::DocsV1::DateElement, decorator: Google::Apis::DocsV1::DateElement::Representation
|
|
2032
|
+
|
|
1949
2033
|
property :end_index, as: 'endIndex'
|
|
1950
2034
|
property :equation, as: 'equation', class: Google::Apis::DocsV1::Equation, decorator: Google::Apis::DocsV1::Equation::Representation
|
|
1951
2035
|
|
|
@@ -2198,6 +2282,8 @@ module Google
|
|
|
2198
2282
|
|
|
2199
2283
|
property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::DocsV1::DeleteTableRowRequest, decorator: Google::Apis::DocsV1::DeleteTableRowRequest::Representation
|
|
2200
2284
|
|
|
2285
|
+
property :insert_date, as: 'insertDate', class: Google::Apis::DocsV1::InsertDateRequest, decorator: Google::Apis::DocsV1::InsertDateRequest::Representation
|
|
2286
|
+
|
|
2201
2287
|
property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageRequest, decorator: Google::Apis::DocsV1::InsertInlineImageRequest::Representation
|
|
2202
2288
|
|
|
2203
2289
|
property :insert_page_break, as: 'insertPageBreak', class: Google::Apis::DocsV1::InsertPageBreakRequest, decorator: Google::Apis::DocsV1::InsertPageBreakRequest::Representation
|
|
@@ -2432,6 +2518,16 @@ module Google
|
|
|
2432
2518
|
end
|
|
2433
2519
|
end
|
|
2434
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
|
+
|
|
2435
2531
|
class SuggestedDocumentStyle
|
|
2436
2532
|
# @private
|
|
2437
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.
|
|
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.
|
|
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:
|