google-apis-docs_v1 0.34.0 → 0.35.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 +38 -0
- data/lib/google/apis/docs_v1/gem_version.rb +2 -2
- data/lib/google/apis/docs_v1/representations.rb +20 -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: 9ac8de843da8226b2b8d7d621e579234017a8254b144cbab74749815c51a0176
|
4
|
+
data.tar.gz: 6bb5fae3e2463ef2b0b3ff81818c5dffd1fb17904ecde1d636fe6007d7692405
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebf0481e551a42aaa02734eecd03f3bb3b0a88e999b2dc4c53f707c5edfcdac35331ae51aa61764076106d51c5c25d4a71c59af56b072f34f2080550625c050f
|
7
|
+
data.tar.gz: bd80e724c3fdffe85d6d10e3ceae9a03363bffc3951a588090b4c1f6a90f2554045ba2424dc7f332ef3a6b7db00b822ea9faec1f60c98ca2b64d3f5e26f97f96
|
data/CHANGELOG.md
CHANGED
@@ -2425,6 +2425,38 @@ module Google
|
|
2425
2425
|
end
|
2426
2426
|
end
|
2427
2427
|
|
2428
|
+
# Inserts a person mention.
|
2429
|
+
class InsertPersonRequest
|
2430
|
+
include Google::Apis::Core::Hashable
|
2431
|
+
|
2432
|
+
# Location at the end of a body, header, footer or footnote. The location is
|
2433
|
+
# immediately before the last newline in the document segment.
|
2434
|
+
# Corresponds to the JSON property `endOfSegmentLocation`
|
2435
|
+
# @return [Google::Apis::DocsV1::EndOfSegmentLocation]
|
2436
|
+
attr_accessor :end_of_segment_location
|
2437
|
+
|
2438
|
+
# A particular location in the document.
|
2439
|
+
# Corresponds to the JSON property `location`
|
2440
|
+
# @return [Google::Apis::DocsV1::Location]
|
2441
|
+
attr_accessor :location
|
2442
|
+
|
2443
|
+
# Properties specific to a linked Person.
|
2444
|
+
# Corresponds to the JSON property `personProperties`
|
2445
|
+
# @return [Google::Apis::DocsV1::PersonProperties]
|
2446
|
+
attr_accessor :person_properties
|
2447
|
+
|
2448
|
+
def initialize(**args)
|
2449
|
+
update!(**args)
|
2450
|
+
end
|
2451
|
+
|
2452
|
+
# Update properties of this object
|
2453
|
+
def update!(**args)
|
2454
|
+
@end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location)
|
2455
|
+
@location = args[:location] if args.key?(:location)
|
2456
|
+
@person_properties = args[:person_properties] if args.key?(:person_properties)
|
2457
|
+
end
|
2458
|
+
end
|
2459
|
+
|
2428
2460
|
# Inserts a section break at the given location. A newline character will be
|
2429
2461
|
# inserted before the section break.
|
2430
2462
|
class InsertSectionBreakRequest
|
@@ -4407,6 +4439,11 @@ module Google
|
|
4407
4439
|
# @return [Google::Apis::DocsV1::InsertPageBreakRequest]
|
4408
4440
|
attr_accessor :insert_page_break
|
4409
4441
|
|
4442
|
+
# Inserts a person mention.
|
4443
|
+
# Corresponds to the JSON property `insertPerson`
|
4444
|
+
# @return [Google::Apis::DocsV1::InsertPersonRequest]
|
4445
|
+
attr_accessor :insert_person
|
4446
|
+
|
4410
4447
|
# Inserts a section break at the given location. A newline character will be
|
4411
4448
|
# inserted before the section break.
|
4412
4449
|
# Corresponds to the JSON property `insertSectionBreak`
|
@@ -4527,6 +4564,7 @@ module Google
|
|
4527
4564
|
@delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
|
4528
4565
|
@insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
|
4529
4566
|
@insert_page_break = args[:insert_page_break] if args.key?(:insert_page_break)
|
4567
|
+
@insert_person = args[:insert_person] if args.key?(:insert_person)
|
4530
4568
|
@insert_section_break = args[:insert_section_break] if args.key?(:insert_section_break)
|
4531
4569
|
@insert_table = args[:insert_table] if args.key?(:insert_table)
|
4532
4570
|
@insert_table_column = args[:insert_table_column] if args.key?(:insert_table_column)
|
@@ -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.35.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 = "20250925"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -376,6 +376,12 @@ module Google
|
|
376
376
|
include Google::Apis::Core::JsonObjectSupport
|
377
377
|
end
|
378
378
|
|
379
|
+
class InsertPersonRequest
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
379
385
|
class InsertSectionBreakRequest
|
380
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
387
|
|
@@ -1631,6 +1637,18 @@ module Google
|
|
1631
1637
|
end
|
1632
1638
|
end
|
1633
1639
|
|
1640
|
+
class InsertPersonRequest
|
1641
|
+
# @private
|
1642
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1643
|
+
property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation
|
1644
|
+
|
1645
|
+
property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
|
1646
|
+
|
1647
|
+
property :person_properties, as: 'personProperties', class: Google::Apis::DocsV1::PersonProperties, decorator: Google::Apis::DocsV1::PersonProperties::Representation
|
1648
|
+
|
1649
|
+
end
|
1650
|
+
end
|
1651
|
+
|
1634
1652
|
class InsertSectionBreakRequest
|
1635
1653
|
# @private
|
1636
1654
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2169,6 +2187,8 @@ module Google
|
|
2169
2187
|
|
2170
2188
|
property :insert_page_break, as: 'insertPageBreak', class: Google::Apis::DocsV1::InsertPageBreakRequest, decorator: Google::Apis::DocsV1::InsertPageBreakRequest::Representation
|
2171
2189
|
|
2190
|
+
property :insert_person, as: 'insertPerson', class: Google::Apis::DocsV1::InsertPersonRequest, decorator: Google::Apis::DocsV1::InsertPersonRequest::Representation
|
2191
|
+
|
2172
2192
|
property :insert_section_break, as: 'insertSectionBreak', class: Google::Apis::DocsV1::InsertSectionBreakRequest, decorator: Google::Apis::DocsV1::InsertSectionBreakRequest::Representation
|
2173
2193
|
|
2174
2194
|
property :insert_table, as: 'insertTable', class: Google::Apis::DocsV1::InsertTableRequest, decorator: Google::Apis::DocsV1::InsertTableRequest::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.35.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.35.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:
|