google-apis-docs_v1 0.33.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 828c4398e57728b0de0eb197b7e7ec3cbb0da1f05c9b046a373874fcbcb0e469
4
- data.tar.gz: 0fc27fbf642a86b46751ae571d71e49139dc22038f5b7e93a850bfe7c5ff29ea
3
+ metadata.gz: 9ac8de843da8226b2b8d7d621e579234017a8254b144cbab74749815c51a0176
4
+ data.tar.gz: 6bb5fae3e2463ef2b0b3ff81818c5dffd1fb17904ecde1d636fe6007d7692405
5
5
  SHA512:
6
- metadata.gz: b4fb540920096160bc348b2c2a2486268c0926d26728385f45309a2416494e6dbf1982f4c8a726ae209c1264598e2338c35d45670dca4775a04f96e8ff0f6548
7
- data.tar.gz: 76e446d1c997c3e73dd2a109ce5d504d00ae99bd583ed3165bd6aae8372220b741e2bdc74d1b5ac60beedc25759077340d0b9e40d58f3ac2dea23b6b356d2547
6
+ metadata.gz: ebf0481e551a42aaa02734eecd03f3bb3b0a88e999b2dc4c53f707c5edfcdac35331ae51aa61764076106d51c5c25d4a71c59af56b072f34f2080550625c050f
7
+ data.tar.gz: bd80e724c3fdffe85d6d10e3ceae9a03363bffc3951a588090b4c1f6a90f2554045ba2424dc7f332ef3a6b7db00b822ea9faec1f60c98ca2b64d3f5e26f97f96
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.35.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250925
6
+
7
+ ### v0.34.0 (2025-09-28)
8
+
9
+ * Regenerated from discovery document revision 20250917
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.33.0 (2025-05-04)
4
13
 
5
14
  * Regenerated using generator version 0.17.0
@@ -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
@@ -3901,14 +3933,13 @@ module Google
3901
3933
  class PersonProperties
3902
3934
  include Google::Apis::Core::Hashable
3903
3935
 
3904
- # Output only. The email address linked to this Person. This field is always
3905
- # present.
3936
+ # The email address linked to this Person. This field is always present.
3906
3937
  # Corresponds to the JSON property `email`
3907
3938
  # @return [String]
3908
3939
  attr_accessor :email
3909
3940
 
3910
- # Output only. The name of the person if it's displayed in the link text instead
3911
- # of the person's email address.
3941
+ # The name of the person if it's displayed in the link text instead of the
3942
+ # person's email address.
3912
3943
  # Corresponds to the JSON property `name`
3913
3944
  # @return [String]
3914
3945
  attr_accessor :name
@@ -4408,6 +4439,11 @@ module Google
4408
4439
  # @return [Google::Apis::DocsV1::InsertPageBreakRequest]
4409
4440
  attr_accessor :insert_page_break
4410
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
+
4411
4447
  # Inserts a section break at the given location. A newline character will be
4412
4448
  # inserted before the section break.
4413
4449
  # Corresponds to the JSON property `insertSectionBreak`
@@ -4528,6 +4564,7 @@ module Google
4528
4564
  @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
4529
4565
  @insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
4530
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)
4531
4568
  @insert_section_break = args[:insert_section_break] if args.key?(:insert_section_break)
4532
4569
  @insert_table = args[:insert_table] if args.key?(:insert_table)
4533
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.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250325"
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.33.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.33.0
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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Google Docs API V1
79
79
  test_files: []