google-apis-docs_v1 0.38.0 → 0.39.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 +103 -0
- 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: 2feb90a7bc8f8159f0b2298b801dfb8508ceddf5fcb91c22f828bffdaaf7ca36
|
|
4
|
+
data.tar.gz: 8c8d9744eb1124458740f0cb752ee1f186a41aba0f89cbce49106e47bf9c6a89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d4f10d0e6fc32da1509429fa74690b33d607e6d5ec630ce8aa2b24add279e1c86b3a92156070f35ab5f6738155c4e6b9b1a6da9650f40650be87767326a4c1e
|
|
7
|
+
data.tar.gz: 5e2b78143c4673ede192a3a11987d2f83df541145aad1f28bd7f9eefeecff70db9e6d5b9e937986dee02f7164c3e129cb4e70a41593f4881ee7846012fc64796
|
data/CHANGELOG.md
CHANGED
|
@@ -692,6 +692,71 @@ module Google
|
|
|
692
692
|
end
|
|
693
693
|
end
|
|
694
694
|
|
|
695
|
+
# Properties of a DateElement.
|
|
696
|
+
class DateElementProperties
|
|
697
|
+
include Google::Apis::Core::Hashable
|
|
698
|
+
|
|
699
|
+
# Determines how the date part of the DateElement will be displayed in the
|
|
700
|
+
# document. If unset, the default value is
|
|
701
|
+
# DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, indicating the DateElement will be
|
|
702
|
+
# formatted as `MMM d, y` in `en_US`, or locale specific equivalent.
|
|
703
|
+
# Corresponds to the JSON property `dateFormat`
|
|
704
|
+
# @return [String]
|
|
705
|
+
attr_accessor :date_format
|
|
706
|
+
|
|
707
|
+
# Output only. Indicates how the DateElement is displayed in the document.
|
|
708
|
+
# Corresponds to the JSON property `displayText`
|
|
709
|
+
# @return [String]
|
|
710
|
+
attr_accessor :display_text
|
|
711
|
+
|
|
712
|
+
# The locale of the document, as defined by the Unicode Common Locale Data
|
|
713
|
+
# Repository (CLDR) project. For example, `en_US`. If unset, the default locale
|
|
714
|
+
# is `en_US`.
|
|
715
|
+
# Corresponds to the JSON property `locale`
|
|
716
|
+
# @return [String]
|
|
717
|
+
attr_accessor :locale
|
|
718
|
+
|
|
719
|
+
# Determines how the time part of the DateElement will be displayed in the
|
|
720
|
+
# document. If unset, the default value is TIME_FORMAT_DISABLED, indicating no
|
|
721
|
+
# time should be shown.
|
|
722
|
+
# Corresponds to the JSON property `timeFormat`
|
|
723
|
+
# @return [String]
|
|
724
|
+
attr_accessor :time_format
|
|
725
|
+
|
|
726
|
+
# The time zone of the DateElement, as defined by the Unicode Common Locale Data
|
|
727
|
+
# Repository (CLDR) project. For example, `America/New York`. If unset, the
|
|
728
|
+
# default time zone is `etc/UTC`.
|
|
729
|
+
# Corresponds to the JSON property `timeZoneId`
|
|
730
|
+
# @return [String]
|
|
731
|
+
attr_accessor :time_zone_id
|
|
732
|
+
|
|
733
|
+
# The point in time to represent, in seconds and nanoseconds since Unix epoch:
|
|
734
|
+
# January 1, 1970 at midnight UTC. Timestamp is expected to be in UTC. If
|
|
735
|
+
# time_zone_id is set, the timestamp is adjusted according to the time zone. For
|
|
736
|
+
# example, a timestamp of `18000` with a date format of `DATE_FORMAT_ISO8601`
|
|
737
|
+
# and time format of `TIME_FORMAT_HOUR_MINUTE` would be displayed as `1970-01-01
|
|
738
|
+
# 5:00 AM`. A timestamp of `18000` with date format of `DATE_FORMAT_8SO8601`,
|
|
739
|
+
# time format of `TIME_FORMAT_HOUR_MINUTE`, and time zone set to `America/
|
|
740
|
+
# New_York` will instead be `1970-01-01 12:00 AM`.
|
|
741
|
+
# Corresponds to the JSON property `timestamp`
|
|
742
|
+
# @return [String]
|
|
743
|
+
attr_accessor :timestamp
|
|
744
|
+
|
|
745
|
+
def initialize(**args)
|
|
746
|
+
update!(**args)
|
|
747
|
+
end
|
|
748
|
+
|
|
749
|
+
# Update properties of this object
|
|
750
|
+
def update!(**args)
|
|
751
|
+
@date_format = args[:date_format] if args.key?(:date_format)
|
|
752
|
+
@display_text = args[:display_text] if args.key?(:display_text)
|
|
753
|
+
@locale = args[:locale] if args.key?(:locale)
|
|
754
|
+
@time_format = args[:time_format] if args.key?(:time_format)
|
|
755
|
+
@time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id)
|
|
756
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
757
|
+
end
|
|
758
|
+
end
|
|
759
|
+
|
|
695
760
|
# Deletes content from the document.
|
|
696
761
|
class DeleteContentRangeRequest
|
|
697
762
|
include Google::Apis::Core::Hashable
|
|
@@ -2354,6 +2419,38 @@ module Google
|
|
|
2354
2419
|
end
|
|
2355
2420
|
end
|
|
2356
2421
|
|
|
2422
|
+
# Inserts a date at the specified location.
|
|
2423
|
+
class InsertDateRequest
|
|
2424
|
+
include Google::Apis::Core::Hashable
|
|
2425
|
+
|
|
2426
|
+
# Properties of a DateElement.
|
|
2427
|
+
# Corresponds to the JSON property `dateElementProperties`
|
|
2428
|
+
# @return [Google::Apis::DocsV1::DateElementProperties]
|
|
2429
|
+
attr_accessor :date_element_properties
|
|
2430
|
+
|
|
2431
|
+
# Location at the end of a body, header, footer or footnote. The location is
|
|
2432
|
+
# immediately before the last newline in the document segment.
|
|
2433
|
+
# Corresponds to the JSON property `endOfSegmentLocation`
|
|
2434
|
+
# @return [Google::Apis::DocsV1::EndOfSegmentLocation]
|
|
2435
|
+
attr_accessor :end_of_segment_location
|
|
2436
|
+
|
|
2437
|
+
# A particular location in the document.
|
|
2438
|
+
# Corresponds to the JSON property `location`
|
|
2439
|
+
# @return [Google::Apis::DocsV1::Location]
|
|
2440
|
+
attr_accessor :location
|
|
2441
|
+
|
|
2442
|
+
def initialize(**args)
|
|
2443
|
+
update!(**args)
|
|
2444
|
+
end
|
|
2445
|
+
|
|
2446
|
+
# Update properties of this object
|
|
2447
|
+
def update!(**args)
|
|
2448
|
+
@date_element_properties = args[:date_element_properties] if args.key?(:date_element_properties)
|
|
2449
|
+
@end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location)
|
|
2450
|
+
@location = args[:location] if args.key?(:location)
|
|
2451
|
+
end
|
|
2452
|
+
end
|
|
2453
|
+
|
|
2357
2454
|
# Inserts an InlineObject containing an image at the given location.
|
|
2358
2455
|
class InsertInlineImageRequest
|
|
2359
2456
|
include Google::Apis::Core::Hashable
|
|
@@ -4465,6 +4562,11 @@ module Google
|
|
|
4465
4562
|
# @return [Google::Apis::DocsV1::DeleteTableRowRequest]
|
|
4466
4563
|
attr_accessor :delete_table_row
|
|
4467
4564
|
|
|
4565
|
+
# Inserts a date at the specified location.
|
|
4566
|
+
# Corresponds to the JSON property `insertDate`
|
|
4567
|
+
# @return [Google::Apis::DocsV1::InsertDateRequest]
|
|
4568
|
+
attr_accessor :insert_date
|
|
4569
|
+
|
|
4468
4570
|
# Inserts an InlineObject containing an image at the given location.
|
|
4469
4571
|
# Corresponds to the JSON property `insertInlineImage`
|
|
4470
4572
|
# @return [Google::Apis::DocsV1::InsertInlineImageRequest]
|
|
@@ -4598,6 +4700,7 @@ module Google
|
|
|
4598
4700
|
@delete_positioned_object = args[:delete_positioned_object] if args.key?(:delete_positioned_object)
|
|
4599
4701
|
@delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column)
|
|
4600
4702
|
@delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
|
|
4703
|
+
@insert_date = args[:insert_date] if args.key?(:insert_date)
|
|
4601
4704
|
@insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
|
|
4602
4705
|
@insert_page_break = args[:insert_page_break] if args.key?(:insert_page_break)
|
|
4603
4706
|
@insert_person = args[:insert_person] if args.key?(:insert_person)
|
|
@@ -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.39.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 = "20251124"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -154,6 +154,12 @@ module Google
|
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
+
class DateElementProperties
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
157
163
|
class DeleteContentRangeRequest
|
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
165
|
|
|
@@ -358,6 +364,12 @@ module Google
|
|
|
358
364
|
include Google::Apis::Core::JsonObjectSupport
|
|
359
365
|
end
|
|
360
366
|
|
|
367
|
+
class InsertDateRequest
|
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
|
+
|
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
371
|
+
end
|
|
372
|
+
|
|
361
373
|
class InsertInlineImageRequest
|
|
362
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
375
|
|
|
@@ -1177,6 +1189,18 @@ module Google
|
|
|
1177
1189
|
end
|
|
1178
1190
|
end
|
|
1179
1191
|
|
|
1192
|
+
class DateElementProperties
|
|
1193
|
+
# @private
|
|
1194
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1195
|
+
property :date_format, as: 'dateFormat'
|
|
1196
|
+
property :display_text, as: 'displayText'
|
|
1197
|
+
property :locale, as: 'locale'
|
|
1198
|
+
property :time_format, as: 'timeFormat'
|
|
1199
|
+
property :time_zone_id, as: 'timeZoneId'
|
|
1200
|
+
property :timestamp, as: 'timestamp'
|
|
1201
|
+
end
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1180
1204
|
class DeleteContentRangeRequest
|
|
1181
1205
|
# @private
|
|
1182
1206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1615,6 +1639,18 @@ module Google
|
|
|
1615
1639
|
end
|
|
1616
1640
|
end
|
|
1617
1641
|
|
|
1642
|
+
class InsertDateRequest
|
|
1643
|
+
# @private
|
|
1644
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1645
|
+
property :date_element_properties, as: 'dateElementProperties', class: Google::Apis::DocsV1::DateElementProperties, decorator: Google::Apis::DocsV1::DateElementProperties::Representation
|
|
1646
|
+
|
|
1647
|
+
property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation
|
|
1648
|
+
|
|
1649
|
+
property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
|
|
1650
|
+
|
|
1651
|
+
end
|
|
1652
|
+
end
|
|
1653
|
+
|
|
1618
1654
|
class InsertInlineImageRequest
|
|
1619
1655
|
# @private
|
|
1620
1656
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2198,6 +2234,8 @@ module Google
|
|
|
2198
2234
|
|
|
2199
2235
|
property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::DocsV1::DeleteTableRowRequest, decorator: Google::Apis::DocsV1::DeleteTableRowRequest::Representation
|
|
2200
2236
|
|
|
2237
|
+
property :insert_date, as: 'insertDate', class: Google::Apis::DocsV1::InsertDateRequest, decorator: Google::Apis::DocsV1::InsertDateRequest::Representation
|
|
2238
|
+
|
|
2201
2239
|
property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageRequest, decorator: Google::Apis::DocsV1::InsertInlineImageRequest::Representation
|
|
2202
2240
|
|
|
2203
2241
|
property :insert_page_break, as: 'insertPageBreak', class: Google::Apis::DocsV1::InsertPageBreakRequest, decorator: Google::Apis::DocsV1::InsertPageBreakRequest::Representation
|
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.39.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.39.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:
|