google-apis-docs_v1 0.11.0 → 0.14.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: 75729d863ddbb1f9b95da9c0dd900caa4a52093578d96fe0ad32169cca386ad9
4
- data.tar.gz: fe4a516e0ad3c986acf9513ff094a34b08cb55be871a93eb93336d0c18d218c9
3
+ metadata.gz: 97b9627e0ff54742e69253027eda1dff7ad10f9b2e4cf078b9874c0aa550974d
4
+ data.tar.gz: 2274b58c442c29fd304a8a60dd6491ba0efc2f5106e974f42e4488f8a8eba157
5
5
  SHA512:
6
- metadata.gz: 90f7d87fafb2f4e81978fccf5553184b3e4847c683996a3c21d2458add34b37165d1843a207d33b318779615a8b8e22d1e3dfd7aec6fee4b008c42e9e0701c40
7
- data.tar.gz: 916f6706931ef9b9ed48debaae6260ce7aff8031fe54002196c8411ca3dfc5fec0c63f43d5068c2d8117dcd8f2c11d30371c4edc373c1bce3032e6df819026f2
6
+ metadata.gz: ad379d08b43ba8a83d9ac2a014e86a47807ce8e1f9caef4efb0e542d20d7ba5c7b0df0a31a08c9ad53b78aa1a7d6d038fec47a42c5c9e9a5fefa5b23284eb487
7
+ data.tar.gz: 1a1efc3224b29c66b8ca8ce1161e1f21b9183799c1d50db77383370d31837097ead0108db431aed47d5107e6eaab50f9ef48c639b1c561fd378e9416500174ed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.14.0 (2022-05-10)
4
+
5
+ * Regenerated from discovery document revision 20220505
6
+
7
+ ### v0.13.0 (2022-04-05)
8
+
9
+ * Regenerated from discovery document revision 20220331
10
+
11
+ ### v0.12.0 (2022-03-29)
12
+
13
+ * Regenerated from discovery document revision 20220325
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.11.0 (2021-12-14)
4
17
 
5
18
  * Unspecified changes
@@ -342,7 +342,7 @@ module Google
342
342
  end
343
343
 
344
344
  # Creates a Footer. The new footer is applied to the SectionStyle at the
345
- # location of the SectionBreak if specificed, otherwise it is applied to the
345
+ # location of the SectionBreak if specified, otherwise it is applied to the
346
346
  # DocumentStyle. If a footer of the specified type already exists, a 400 bad
347
347
  # request error is returned.
348
348
  class CreateFooterRequest
@@ -436,7 +436,7 @@ module Google
436
436
  end
437
437
 
438
438
  # Creates a Header. The new header is applied to the SectionStyle at the
439
- # location of the SectionBreak if specificed, otherwise it is applied to the
439
+ # location of the SectionBreak if specified, otherwise it is applied to the
440
440
  # DocumentStyle. If a header of the specified type already exists, a 400 bad
441
441
  # request error is returned.
442
442
  class CreateHeaderRequest
@@ -925,14 +925,14 @@ module Google
925
925
  # Output only. The revision ID of the document. Can be used in update requests
926
926
  # to specify which revision of a document to apply updates to and how the
927
927
  # request should behave if the document has been edited since that revision.
928
- # Only populated if the user has edit access to the document. The format of the
929
- # revision ID may change over time, so it should be treated opaquely. A returned
930
- # revision ID is only guaranteed to be valid for 24 hours after it has been
931
- # returned and cannot be shared across users. If the revision ID is unchanged
932
- # between calls, then the document has not changed. Conversely, a changed ID (
933
- # for the same document and user) usually means the document has been updated;
934
- # however, a changed ID can also be due to internal factors such as ID format
935
- # changes.
928
+ # Only populated if the user has edit access to the document. The revision ID is
929
+ # not a sequential number but an opaque string. The format of the revision ID
930
+ # might change over time. A returned revision ID is only guaranteed to be valid
931
+ # for 24 hours after it has been returned and cannot be shared across users. If
932
+ # the revision ID is unchanged between calls, then the document has not changed.
933
+ # Conversely, a changed ID (for the same document and user) usually means the
934
+ # document has been updated. However, a changed ID can also be due to internal
935
+ # factors such as ID format changes.
936
936
  # Corresponds to the JSON property `revisionId`
937
937
  # @return [String]
938
938
  attr_accessor :revision_id
@@ -1938,7 +1938,7 @@ module Google
1938
1938
  # @return [Google::Apis::DocsV1::InlineObjectProperties]
1939
1939
  attr_accessor :inline_object_properties
1940
1940
 
1941
- # The ID of this inline object.
1941
+ # The ID of this inline object. Can be used to update an object’s properties.
1942
1942
  # Corresponds to the JSON property `objectId`
1943
1943
  # @return [String]
1944
1944
  attr_accessor :object_id_prop
@@ -3312,6 +3312,13 @@ module Google
3312
3312
  # @return [String]
3313
3313
  attr_accessor :named_style_type
3314
3314
 
3315
+ # Whether the current paragraph should always start at the beginning of a page.
3316
+ # If unset, the value is inherited from the parent.
3317
+ # Corresponds to the JSON property `pageBreakBefore`
3318
+ # @return [Boolean]
3319
+ attr_accessor :page_break_before
3320
+ alias_method :page_break_before?, :page_break_before
3321
+
3315
3322
  # The shading of a paragraph.
3316
3323
  # Corresponds to the JSON property `shading`
3317
3324
  # @return [Google::Apis::DocsV1::Shading]
@@ -3360,6 +3367,7 @@ module Google
3360
3367
  @keep_with_next = args[:keep_with_next] if args.key?(:keep_with_next)
3361
3368
  @line_spacing = args[:line_spacing] if args.key?(:line_spacing)
3362
3369
  @named_style_type = args[:named_style_type] if args.key?(:named_style_type)
3370
+ @page_break_before = args[:page_break_before] if args.key?(:page_break_before)
3363
3371
  @shading = args[:shading] if args.key?(:shading)
3364
3372
  @space_above = args[:space_above] if args.key?(:space_above)
3365
3373
  @space_below = args[:space_below] if args.key?(:space_below)
@@ -3470,6 +3478,12 @@ module Google
3470
3478
  attr_accessor :named_style_type_suggested
3471
3479
  alias_method :named_style_type_suggested?, :named_style_type_suggested
3472
3480
 
3481
+ # Indicates if there was a suggested change to page_break_before.
3482
+ # Corresponds to the JSON property `pageBreakBeforeSuggested`
3483
+ # @return [Boolean]
3484
+ attr_accessor :page_break_before_suggested
3485
+ alias_method :page_break_before_suggested?, :page_break_before_suggested
3486
+
3473
3487
  # A mask that indicates which of the fields on the base Shading have been
3474
3488
  # changed in this suggested change. For any field set to true, there is a new
3475
3489
  # suggested value.
@@ -3517,6 +3531,7 @@ module Google
3517
3531
  @keep_with_next_suggested = args[:keep_with_next_suggested] if args.key?(:keep_with_next_suggested)
3518
3532
  @line_spacing_suggested = args[:line_spacing_suggested] if args.key?(:line_spacing_suggested)
3519
3533
  @named_style_type_suggested = args[:named_style_type_suggested] if args.key?(:named_style_type_suggested)
3534
+ @page_break_before_suggested = args[:page_break_before_suggested] if args.key?(:page_break_before_suggested)
3520
3535
  @shading_suggestion_state = args[:shading_suggestion_state] if args.key?(:shading_suggestion_state)
3521
3536
  @space_above_suggested = args[:space_above_suggested] if args.key?(:space_above_suggested)
3522
3537
  @space_below_suggested = args[:space_below_suggested] if args.key?(:space_below_suggested)
@@ -3873,7 +3888,8 @@ module Google
3873
3888
  class ReplaceImageRequest
3874
3889
  include Google::Apis::Core::Hashable
3875
3890
 
3876
- # The ID of the existing image that will be replaced.
3891
+ # The ID of the existing image that will be replaced. The ID can be retrieved
3892
+ # from the response of a get request.
3877
3893
  # Corresponds to the JSON property `imageObjectId`
3878
3894
  # @return [String]
3879
3895
  attr_accessor :image_object_id
@@ -3884,10 +3900,10 @@ module Google
3884
3900
  attr_accessor :image_replace_method
3885
3901
 
3886
3902
  # The URI of the new image. The image is fetched once at insertion time and a
3887
- # copy is stored for display inside the document. Images must be less than 50MB
3888
- # in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF
3889
- # format. The provided URI can be at most 2 kB in length. The URI itself is
3890
- # saved with the image, and exposed via the ImageProperties.source_uri field.
3903
+ # copy is stored for display inside the document. Images must be less than 50MB,
3904
+ # cannot exceed 25 megapixels, and must be in PNG, JPEG, or GIF format. The
3905
+ # provided URI can't surpass 2 KB in length. The URI is saved with the image,
3906
+ # and exposed through the ImageProperties.source_uri field.
3891
3907
  # Corresponds to the JSON property `uri`
3892
3908
  # @return [String]
3893
3909
  attr_accessor :uri
@@ -3949,7 +3965,7 @@ module Google
3949
3965
  include Google::Apis::Core::Hashable
3950
3966
 
3951
3967
  # Creates a Footer. The new footer is applied to the SectionStyle at the
3952
- # location of the SectionBreak if specificed, otherwise it is applied to the
3968
+ # location of the SectionBreak if specified, otherwise it is applied to the
3953
3969
  # DocumentStyle. If a footer of the specified type already exists, a 400 bad
3954
3970
  # request error is returned.
3955
3971
  # Corresponds to the JSON property `createFooter`
@@ -3964,7 +3980,7 @@ module Google
3964
3980
  attr_accessor :create_footnote
3965
3981
 
3966
3982
  # Creates a Header. The new header is applied to the SectionStyle at the
3967
- # location of the SectionBreak if specificed, otherwise it is applied to the
3983
+ # location of the SectionBreak if specified, otherwise it is applied to the
3968
3984
  # DocumentStyle. If a header of the specified type already exists, a 400 bad
3969
3985
  # request error is returned.
3970
3986
  # Corresponds to the JSON property `createHeader`
@@ -6302,29 +6318,29 @@ module Google
6302
6318
  class WriteControl
6303
6319
  include Google::Apis::Core::Hashable
6304
6320
 
6305
- # The revision ID of the document that the write request will be applied to. If
6306
- # this is not the latest revision of the document, the request will not be
6307
- # processed and will return a 400 bad request error. When a required revision ID
6308
- # is returned in a response, it indicates the revision ID of the document after
6309
- # the request was applied.
6321
+ # The optional revision ID of the document the write request is applied to. If
6322
+ # this is not the latest revision of the document, the request is not processed
6323
+ # and returns a 400 bad request error. When a required revision ID is returned
6324
+ # in a response, it indicates the revision ID of the document after the request
6325
+ # was applied.
6310
6326
  # Corresponds to the JSON property `requiredRevisionId`
6311
6327
  # @return [String]
6312
6328
  attr_accessor :required_revision_id
6313
6329
 
6314
- # The target revision ID of the document that the write request will be applied
6330
+ # The optional target revision ID of the document the write request is applied
6315
6331
  # to. If collaborator changes have occurred after the document was read using
6316
- # the API, the changes produced by this write request will be transformed
6317
- # against the collaborator changes. This results in a new revision of the
6318
- # document which incorporates both the changes in the request and the
6319
- # collaborator changes, and the Docs server will resolve conflicting changes.
6320
- # When using `target_revision_id`, the API client can be thought of as another
6321
- # collaborator of the document. The target revision ID may only be used to write
6322
- # to recent versions of a document. If the target revision is too far behind the
6323
- # latest revision, the request will not be processed and will return a 400 bad
6324
- # request error and the request should be retried after reading the latest
6325
- # version of the document. In most cases a `revision_id` will remain valid for
6326
- # use as a target revision for several minutes after it is read, but for
6327
- # frequently-edited documents this window may be shorter.
6332
+ # the API, the changes produced by this write request are applied against the
6333
+ # collaborator changes. This results in a new revision of the document that
6334
+ # incorporates both the collaborator changes and the changes in the request,
6335
+ # with the Docs server resolving conflicting changes. When using target revision
6336
+ # ID, the API client can be thought of as another collaborator of the document.
6337
+ # The target revision ID can only be used to write to recent versions of a
6338
+ # document. If the target revision is too far behind the latest revision, the
6339
+ # request is not processed and returns a 400 bad request error. The request
6340
+ # should be tried again after retrieving the latest version of the document.
6341
+ # Usually a revision ID remains valid for use as a target revision for several
6342
+ # minutes after it's read, but for frequently edited documents this window might
6343
+ # be shorter.
6328
6344
  # Corresponds to the JSON property `targetRevisionId`
6329
6345
  # @return [String]
6330
6346
  attr_accessor :target_revision_id
@@ -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.11.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210707"
25
+ REVISION = "20220505"
26
26
  end
27
27
  end
28
28
  end
@@ -1857,6 +1857,7 @@ module Google
1857
1857
  property :keep_with_next, as: 'keepWithNext'
1858
1858
  property :line_spacing, as: 'lineSpacing'
1859
1859
  property :named_style_type, as: 'namedStyleType'
1860
+ property :page_break_before, as: 'pageBreakBefore'
1860
1861
  property :shading, as: 'shading', class: Google::Apis::DocsV1::Shading, decorator: Google::Apis::DocsV1::Shading::Representation
1861
1862
 
1862
1863
  property :space_above, as: 'spaceAbove', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
@@ -1888,6 +1889,7 @@ module Google
1888
1889
  property :keep_with_next_suggested, as: 'keepWithNextSuggested'
1889
1890
  property :line_spacing_suggested, as: 'lineSpacingSuggested'
1890
1891
  property :named_style_type_suggested, as: 'namedStyleTypeSuggested'
1892
+ property :page_break_before_suggested, as: 'pageBreakBeforeSuggested'
1891
1893
  property :shading_suggestion_state, as: 'shadingSuggestionState', class: Google::Apis::DocsV1::ShadingSuggestionState, decorator: Google::Apis::DocsV1::ShadingSuggestionState::Representation
1892
1894
 
1893
1895
  property :space_above_suggested, as: 'spaceAboveSuggested'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-docs_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Docs API V1